Function at 0x413c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5856c8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
push 1
mov ecx, ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
call fcn.0040a0c0
mov byte [esp + 0x1f], al
add esp, 4
mov eax, reloc.WS2_32.dll_closesocket
call fcn.00413760
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], ebx
jmp 0x413ce5
mov esi, dword [esp + 0x3c]
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413d00
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x48]
call fcn.0040e430
mov dword [esp + 0x88], ebx
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push ebx
push ebp
or eax, 0xffffffff
call fcn.0040e1e0
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x656558]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x413d57
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0040e2a0
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x413d7d
lea eax, [ecx - 1]
mov dword [edi + 4], eax
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x413d9a
mov eax, dword [edi + 4]
imul eax, eax, 0x64
xor edx, edx
div ecx
lea ecx, [esp + 0x44]
inc eax
push eax
push ecx
call esi
add esp, 8
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
mov eax, ebp
lea ecx, [esp + 0x4c]
call fcn.0040e380
push 1
mov eax, 0x63132c
lea ecx, [esp + 0x48]
call fcn.0040e2a0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x656558]
mov ecx, eax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov si, word [ecx]
add ecx, 2
cmp si, bx
jne 0x413dd0
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0040e2a0
xor eax, eax
mov word [esp + 0x20], ax
push ebx
mov eax, 0x630230
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
call fcn.0040e430
mov byte [esp + 0x88], 1
mov edx, dword [esp + 0x38]
mov ecx, esi
push ecx
push reloc.WS2_32.dll_closesocket
lea ecx, [esp + 0x4c]
call fcn.004093a0
add esp, 8
mov byte [esp + 0x88], bl
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x413e4a
mov edx, dword [esp + 0x20]
push edx
call fcn.004fdb3f
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x413e7b
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004fdb3f
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 4
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
mov dword [esp + 0x14], eax
cmp eax, 0x38
jb 0x413ce1
mov dword [esp + 0x14], ebx
jmp 0x413eb0
mov esi, dword [esp + 0x3c]
xor eax, eax
mov word [esp + 0x48], ax
mov eax, esi
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413ed0
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x48]
call fcn.0040e430
mov dword [esp + 0x88], 2
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push ebx
push ebp
or eax, 0xffffffff
call fcn.0040e1e0
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x656590]
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x413f30
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x413f30
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0040e2a0
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x413f56
lea edx, [ecx - 1]
mov dword [edi + 4], edx
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x413f73
mov eax, dword [edi + 4]
imul eax, eax, 0x64
xor edx, edx
div ecx
inc eax
push eax
lea eax, [esp + 0x48]
push eax
call esi
add esp, 8
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
mov eax, ebp
lea ecx, [esp + 0x4c]
call fcn.0040e380
push 1
mov eax, 0x63132c
lea ecx, [esp + 0x48]
call fcn.0040e2a0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x656590]
mov ecx, eax
lea edx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
cmp si, bx
jne 0x413fa3
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0040e2a0
xor edx, edx
push ebx
mov eax, 0x630230
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
call fcn.0040e430
mov byte [esp + 0x88], 3
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x44]
push eax
push reloc.WS2_32.dll_closesocket
mov edx, esi
call fcn.00409c70
add esp, 8
mov byte [esp + 0x88], 2
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x41401e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004fdb3f
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x41404f
mov eax, dword [esp + 0x48]
push eax
call fcn.004fdb3f
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 4
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], cx
mov dword [esp + 0x14], eax
cmp eax, 0x3c
jb 0x413eb0
xor edx, edx
mov eax, str.HKEY_USERS
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x414091
sub eax, ecx
sar eax, 1
push eax
mov eax, str.HKEY_USERS
lea esi, [esp + 0x64]
call fcn.0040e430
mov dword [esp + 0x88], 4
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push ebx
push ebp
or eax, 0xffffffff
call fcn.0040e1e0
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push 0x32
mov eax, str.SoftwarePoliciesMicrosoftWindowsSystemScripts
mov ecx, esi
call fcn.0040e2a0
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push 5
mov eax, str.Logon
mov ecx, esi
call fcn.0040e2a0
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x414117
lea eax, [ecx - 1]
mov dword [edi + 4], eax
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x414134
mov eax, dword [edi + 4]
imul eax, eax, 0x64
xor edx, edx
div ecx
lea ecx, [esp + 0x60]
inc eax
push eax
push ecx
call esi
add esp, 8
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
mov eax, ebp
lea ecx, [esp + 0x68]
call fcn.0040e380
push 1
mov eax, 0x63132c
lea ecx, [esp + 0x64]
call fcn.0040e2a0
push 0x32
mov eax, str.SoftwarePoliciesMicrosoftWindowsSystemScripts
lea ecx, [esp + 0x64]
call fcn.0040e2a0
xor edx, edx
push 5
mov eax, str.Logon
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
call fcn.0040e430
mov byte [esp + 0x88], 5
mov edx, dword [esp + 0x38]
mov eax, esi
push eax
push reloc.WS2_32.dll_closesocket
lea ecx, [esp + 0x68]
call fcn.0040a2d0
add esp, 8
mov byte [esp + 0x88], 4
cmp dword [esp + 0x34], 8
jb 0x4141c4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004fdb3f
add esp, 4
xor edx, edx
mov eax, str.HKEY_USERS
mov word [esp + 0x20], dx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4141e0
sub eax, edx
sar eax, 1
push eax
mov eax, str.HKEY_USERS
lea esi, [esp + 0x64]
call fcn.0040e430
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push ebx
push ebp
or eax, 0xffffffff
call fcn.0040e1e0
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push 0x32
mov eax, str.SoftwarePoliciesMicrosoftWindowsSystemScripts
mov ecx, esi
call fcn.0040e2a0
push 1
mov eax, 0x63132c
mov ecx, esi
call fcn.0040e2a0
push 6
mov eax, str.Logoff
mov ecx, esi
call fcn.0040e2a0
mov ecx, dword [edi]
cmp dword [edi + 4], ecx
jb 0x41425b
lea eax, [ecx - 1]
mov dword [edi + 4], eax
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x414278
mov eax, dword [edi + 4]
imul eax, eax, 0x64
xor edx, edx
div ecx
lea ecx, [esp + 0x60]
inc eax
push eax
push ecx
call esi
add esp, 8
inc dword [edi + 4]
push 0xffffffffffffffff
push ebx
mov eax, ebp
lea ecx, [esp + 0x68]
call fcn.0040e380
push 1
mov eax, 0x63132c
lea ecx, [esp + 0x64]
call fcn.0040e2a0
push 0x32
mov eax, str.SoftwarePoliciesMicrosoftWindowsSystemScripts
lea ecx, [esp + 0x64]
call fcn.0040e2a0
xor edx, edx
mov edi, 7
push 6
mov eax, str.Logoff
lea esi, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
call fcn.0040e430
mov byte [esp + 0x88], 6
mov edx, dword [esp + 0x38]
mov eax, esi
push eax
push reloc.WS2_32.dll_closesocket
lea ecx, [esp + 0x68]
call fcn.0040a2d0
add esp, 8
mov byte [esp + 0x88], 4
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x41430d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004fdb3f
add esp, 4
xor edx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
cmp byte [esp + 0x1b], bl
je 0x414331
mov edx, dword [esp + 0x40]
push ebx
mov ecx, ebp
call fcn.0040a0c0
add esp, 4
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x78], esi
jb 0x41434f
mov eax, dword [esp + 0x64]
push eax
call fcn.004fdb3f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004fdb4a
add esp, 0x78
ret