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

Disassembly:
push 0xffffffffffffffff
push 0x45d171
mov eax, dword fs:[0]
push eax
mov eax, 0x1a9c
call fcn.00439c50
mov eax, dword [0x483ca0]
xor eax, esp
mov dword [esp + 0x1a98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483ca0]
xor eax, esp
push eax
lea eax, [esp + 0x1ab0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1ac0]
mov edi, dword [esp + 0x1ac4]
push 0x2e
push esi
call fcn.0043c4d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40c573
sub ebx, esi
lea eax, [esp + 0xaac]
push ebx
push esi
push eax
call fcn.004384c0
add esp, 0xc
cmp ebx, 0x1000
jae 0x40c64a
lea eax, [esp + 0xaac]
mov byte [esp + ebx + 0xaac], 0
push eax
call fcn.0043a280
add esp, 4
test eax, eax
je 0x40c573
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
push 0x463664
lea ecx, [esp + 0x98]
mov dword [esp + 0x1abc], 0
call fcn.00401403
push esi
lea ecx, [esp + 0x80]
mov byte [esp + 0x1abc], 1
call fcn.00401403
lea eax, [esp + 0x1c]
mov byte [esp + 0x1ab8], 2
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0040ddd0
add esp, 0xc
cmp dword [esp + 0x90], 0x10
jb 0x40c4e6
push dword [esp + 0x7c]
call fcn.004167f4
add esp, 4
cmp dword [esp + 0xa8], 0x10
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x1ab8], 0
jb 0x40c522
push dword [esp + 0x94]
call fcn.004167f4
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
sub ecx, dword [esp + 0x1c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jne 0x40c55f
sub edi, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [edi + esi - 1], al
test al, al
jne 0x40c542
lea ecx, [esp + 0x1c]
call fcn.0040b290
mov al, 1
jmp 0x40c6e9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1ab8], 0xffffffff
call fcn.0040b290
push edi
push esi
call fcn.0040c160
add esp, 8
test al, al
jne 0x40c558
push 0x3c
mov byte [esp + 0x1b], al
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00438b10
xor eax, eax
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2b8]
push 0x200
push eax
push esi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x84], 0x2a800
mov dword [esp + 0x8c], 0xc0
mov dword [esp + 0x90], 0x46000000
call fcn.0040fa60
add esp, 0x18
lea eax, [esp + 0x2ac]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
push 0x110
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.WS2_32.dll_WSALookupServiceBeginW]
cmp eax, 0xffffffff
jne 0x40c64f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004031d0
add esp, 4
lea ecx, [esp + 0x94]
push eax
call fcn.00401403
xor bl, bl
cmp dword [esp + 0xa8], 0x10
jb 0x40c6e7
push dword [esp + 0x94]
call fcn.004167f4
jmp 0x40c6e4
call fcn.004383dd
push 0x400
mov dword [esp + 0x30], 0x400
call fcn.004167eb
add esp, 4
mov ebp, eax
lea eax, [esp + 0x2c]
push ebp
push eax
push 0x110
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_WSALookupServiceNextW]
cmp eax, 0xffffffff
jne 0x40c684
xor bl, bl
jmp 0x40c6d4
mov esi, dword [ebp + 0x30]
xor ebx, ebx
cmp dword [ebp + 0x2c], ebx
jbe 0x40c6d0
xor al, al
add esi, 8
mov byte [esp + 0x17], al
jmp 0x40c6a0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x200
push eax
lea eax, [esp + 0x6b0]
push eax
push 0
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAAddressToStringW]
cmp eax, 0xffffffff
jne 0x40c711
inc ebx
add esi, 0x18
cmp ebx, dword [ebp + 0x2c]
jb 0x40c6a0
mov bl, byte [esp + 0x17]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_WSALookupServiceEnd]
push ebp
call fcn.004167f4
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1ab0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a98]
xor ecx, esp
call fcn.004396df
add esp, 0x1aa8
ret
push 0x200
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x6b4]
push eax
call fcn.0040f9f0
lea ecx, [esp + 0xb8]
add esp, 0xc
mov eax, ecx
sub edi, eax
lea esp, [esp]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x40c740
mov bl, 1
jmp 0x40c6d4