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

Disassembly:
push 0xffffffffffffffff
push 0x637ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp dword [0x7101a8], ebx
jne 0x54d205
mov eax, dword [0x7101b0]
cmp eax, ebx
jne 0x54d1d3
push str.Ws2_32.dll
call fcn.00445b00
add esp, 4
mov dword [0x7101b0], eax
cmp eax, ebx
je 0x54d1f9
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetAddrInfoW
push eax
call ebp
mov edx, dword [0x7101b0]
push str.FreeAddrInfoW
push edx
mov dword [0x7101a8], eax
call ebp
mov dword [0x7101ac], eax
cmp dword [0x7101a8], ebx
je 0x54d340
xor eax, eax
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ebp, 0x17
push esi
lea ecx, [esp + 0x54]
mov dword [edi], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 6
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x58], ax
call fcn.00401960
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x14]
call fcn.004024e0
mov byte [esp + 0x64], 1
mov ecx, dword [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
push 0x64f53c
push edx
call fcn.00402f60
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
xor eax, eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov word [esp + 0x4c], ax
call fcn.00401960
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x54d2b2
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
jne 0x54d2be
lea ecx, [esp + 0x50]
push edi
lea edx, [esp + 0x24]
push edx
push eax
push ecx
call dword [0x7101a8]
mov esi, eax
cmp esi, ebx
je 0x54d302
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x40]
call fcn.004011f0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x14]
call fcn.00402550
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004011f0
mov eax, esi
jmp 0x54d345
mov eax, dword [edi]
cmp eax, ebx
je 0x54d314
cmp dword [eax + 4], ebp
je 0x54d364
mov eax, dword [eax + 0x1c]
cmp eax, ebx
jne 0x54d308
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x40]
call fcn.004011f0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x14]
call fcn.00402550
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004011f0
mov eax, 0x2afc
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.005f85e7
add esp, 0x54
ret
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x40]
call fcn.004011f0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x14]
call fcn.00402550
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004011f0
xor eax, eax
jmp 0x54d345