sub_40649E
Assembly Code of File sub_40649E
sub_40649E proc near ; CODE XREF: sub_4065CE + 9Ep
; sub_406702:loc_406742p ...
mov ecx, 858h
cmp eax, ecx
ja loc_40654C
jz loc_406545
cmp eax, 7Bh
ja short loc_406511
jz short loc_406507
cmp eax, 5
jz short loc_4064FD
cmp eax, 8
jz short loc_4064F3
cmp eax, 32h
jz short loc_4064E9
cmp eax, 35h
jz short loc_4064DF
cmp eax, 57h
jnz loc_40659B
push offset aInvalidParamet ; \"Invalid parameter.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4064DF: ; CODE XREF: sub_40649E + 2Cj
push offset aServerNameNotF ; \"Server name not found.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4064E9: ; CODE XREF: sub_40649E + 27j
push offset aThisNetworkReq ; \"This network request is not supported.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4064F3: ; CODE XREF: sub_40649E + 22j
push offset aNotEnoughMemor ; \"Not enough memory.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4064FD: ; CODE XREF: sub_40649E + 1Dj
push offset aAccessDenied_ ; \"Access denied.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_406507: ; CODE XREF: sub_40649E + 18j
push offset aTheNameIsInval ; \"The name is invalid.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_406511: ; CODE XREF: sub_40649E + 16j
sub eax, 7Ch
jz short loc_40653E
sub eax, 7C8h
jz short loc_406537
dec eax
jz short loc_40652D
dec eax
jnz short loc_40659B
push offset aDuplicateShare ; \"Duplicate share name.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_40652D: ; CODE XREF: sub_40649E + 80j
push offset aInvalidForRedi ; \"Invalid for redirected resource.\"
jmp loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_406537: ; CODE XREF: sub_40649E + 7Dj
push offset aDeviceOrDirect ; \"Device or directory does not exist.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_40653E: ; CODE XREF: sub_40649E + 76j
push offset aLevelParameter ; \"Level parameter is invalid.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_406545: ; CODE XREF: sub_40649E + Dj
push offset aAGeneralFailur ; \"A general failure occurred in the netwo\"...
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_40654C: ; CODE XREF: sub_40649E + 7j
mov ecx, 8C5h
cmp eax, ecx
ja short loc_406585
jz short loc_40657E
sub eax, 8ADh
jz short loc_4065B0
dec eax
dec eax
jz short loc_406577
dec eax
jz short loc_406570
dec eax
dec eax
jnz short loc_40659B
push offset aTheOperationIs ; \"The operation is allowed only on the pr\"...
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_406570: ; CODE XREF: sub_40649E + C5j
push offset aTheUserAccount ; \"The user account already exists.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_406577: ; CODE XREF: sub_40649E + C2j
push offset aTheGroupAlread ; \"The group already exists.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_40657E: ; CODE XREF: sub_40649E + B7j
push offset aThePasswordIsS ; \"The password is shorter than required (\"...
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_406585: ; CODE XREF: sub_40649E + B5j
sub eax, 8CAh
jz short loc_4065B7
sub eax, 17h
jz short loc_4065B0
sub eax, 25h
jz short loc_4065A9
sub eax, 29h
jz short loc_4065A2
loc_40659B: ; CODE XREF: sub_40649E + 31j
; sub_40649E + 83j ...
push offset aAnUnknownError ; \"An unknown error occurred.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4065A2: ; CODE XREF: sub_40649E + FBj
push offset aTheComputerNam ; \"The computer name is invalid.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4065A9: ; CODE XREF: sub_40649E + F6j
push offset aShareNotFound_ ; \"Share not found.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4065B0: ; CODE XREF: sub_40649E + BEj
; sub_40649E + F1j
push offset aTheUserNameCou ; \"The user name could not be found.\"
jmp short loc_4065BC
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loc_4065B7: ; CODE XREF: sub_40649E + ECj
push offset aNetworkConnect ; \"Network connection not found.\"
loc_4065BC: ; CODE XREF: sub_40649E + 3Cj
; sub_40649E + 46j ...
push offset dword_4338C8
call sub_412BB5
pop ecx
pop ecx
mov eax, offset dword_4338C8
retn
sub_40649E endp