Function at 0x43cc00
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x50a760
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54b708]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x68]
push ebp
call fcn.0040b2c0
add esp, 4
mov edi, eax
call fcn.0043c640
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add eax, 0x18
push eax
call esi
call fcn.0043c640
mov ebx, eax
cmp byte [ebx + 0x68], 0
mov eax, dword [edi]
mov ecx, edi
je 0x43cc68
mov edx, dword [eax + 0x18]
jmp 0x43cc6b
mov edx, dword [eax + 0x14]
call edx
cmp dword [ebx + 0x50], 0
je 0x43cc94
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x43cc94
call fcn.0043c640
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x43cf78
call fcn.0043c640
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043c6f0
add eax, 0x18
push eax
call esi
call fcn.0043c6f0
mov ebx, eax
cmp byte [ebx + 0x70], 0
mov eax, dword [edi]
mov ecx, edi
je 0x43ccc4
mov edx, dword [eax + 0x18]
jmp 0x43ccc7
mov edx, dword [eax + 0x14]
call edx
cmp dword [ebx + 0x50], 0
je 0x43cd0a
push eax
call fcn.0043b040
mov eax, dword [eax]
test eax, eax
je 0x43cd0a
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov esi, dword [edi]
mov edx, dword [eax + 0x50]
add esi, 0x200
call edx
push eax
mov eax, dword [esi]
mov ecx, edi
call eax
call fcn.0043c6f0
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x43cf78
call fcn.0043c6f0
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0040a930
mov ebx, eax
mov dword [esp + 0x18], ebx
call fcn.00469d40
mov esi, eax
call fcn.00469c80
test al, al
je 0x43cf76
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 2
push ebp
mov dword [esp + 0x30], 0x10
mov word [esp + 0x38], 2
call dword [sym.imp.WS2_32.dll_WSAStringToAddressW]
test eax, eax
je 0x43cd68
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x43cdc7
push 4
push 0
push 0
push 0x20
lea eax, [esp + 0x44]
push eax
push 0x10
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x43cdc7
lea ecx, [esp + 0x14]
call fcn.0040da50
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0
call fcn.0043d420
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x200]
push ecx
mov ecx, ebx
call edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], 0xffffffff
call fcn.0040dab0
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
mov ecx, ebx
call edx
test eax, eax
jne 0x43cea6
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cde0
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
jle 0x43ce0f
jmp 0x43ce00
mov dl, byte [ebp + eax*2]
mov byte [esp + eax + 0x34], dl
add eax, 1
cmp eax, ecx
jl 0x43ce00
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
push 4
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
je 0x43cea6
call fcn.004a4cfc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43ce4d
push 0x80004005
call fcn.0040bb70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 1
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x18]
call fcn.0043d420
mov edx, dword [ebx]
mov esi, dword [esp + 0x14]
mov eax, dword [edx + 0x200]
push esi
mov ecx, ebx
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
test eax, eax
jne 0x43cef8
call fcn.0043c640
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0043c640
mov edx, dword [edi]
mov esi, eax
cmp byte [esi + 0x68], 0
mov ecx, edi
je 0x43ced8
mov eax, dword [edx + 0x18]
jmp 0x43cedb
mov eax, dword [edx + 0x14]
call eax
push eax
mov eax, edi
mov ecx, esi
call fcn.0041b390
call fcn.0043c640
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x43cf76
call fcn.0043c6f0
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0043c6f0
mov edx, dword [edi]
mov ebx, eax
cmp byte [ebx + 0x70], 0
mov ecx, edi
je 0x43cf1d
mov eax, dword [edx + 0x18]
jmp 0x43cf20
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x43cf33
push eax
call fcn.0043b040
cmp dword [eax], 0
jne 0x43cf58
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
push eax
call fcn.0040b2c0
add esp, 4
push eax
call fcn.0043c6f0
mov esi, edi
mov edi, eax
call fcn.0043d240
jmp 0x43cf63
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [edi + 4]
call eax
call fcn.0043c6f0
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x18]
mov eax, ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004b8e16
add esp, 0x50
ret