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

Disassembly:
push 0xffffffffffffffff
push 0x652fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
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 [0x74f658], ebx
jne 0x558755
mov eax, dword [0x74f660]
cmp eax, ebx
jne 0x558723
push str.Ws2_32.dll
call fcn.00446c90
add esp, 4
mov dword [0x74f660], eax
cmp eax, ebx
je 0x558749
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetAddrInfoW
push eax
call ebp
mov edx, dword [0x74f660]
push str.FreeAddrInfoW
push edx
mov dword [0x74f658], eax
call ebp
mov dword [0x74f65c], eax
cmp dword [0x74f658], ebx
je 0x558890
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.00401980
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x64], 1
mov ecx, dword [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
push 0x66b5ec
push edx
call fcn.00402f80
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.00401980
mov byte [esp + 0x64], 2
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x558802
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
jne 0x55880e
lea ecx, [esp + 0x50]
push edi
lea edx, [esp + 0x24]
push edx
push eax
push ecx
call dword [0x74f658]
mov esi, eax
cmp esi, ebx
je 0x558852
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x40]
call fcn.004011f0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x14]
call fcn.00402570
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004011f0
mov eax, esi
jmp 0x558895
mov eax, dword [edi]
cmp eax, ebx
je 0x558864
cmp dword [eax + 4], ebp
je 0x5588b4
mov eax, dword [eax + 0x1c]
cmp eax, ebx
jne 0x558858
mov byte [esp + 0x64], 1
lea ecx, [esp + 0x40]
call fcn.004011f0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x14]
call fcn.00402570
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.00613241
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.00402570
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004011f0
xor eax, eax
jmp 0x558895