Function at 0x5bcaa0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x418], 0
push 0x400
push 0
lea eax, [ebp - 0x417]
push eax
call fcn.005336b0
add esp, 0xc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x420], 0
cmp dword [ebp + 8], 0
je 0x5bcb17
push 0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.00528c70
add esp, 0x10
jmp 0x5bcb3c
cmp dword [ebp + 8], 0
jne 0x5bcb3c
push 0x400
lea eax, [ebp - 0x418]
push eax
call fcn.005a49e0
add esp, 8
test eax, eax
je 0x5bcb3c
xor eax, eax
jmp 0x5bcd4a
push 1
call fcn.005be420
add esp, 4
test eax, eax
jne 0x5bcb51
xor eax, eax
jmp 0x5bcd4a
push 0x400
lea ecx, [ebp - 0x418]
push ecx
call fcn.00596150
add esp, 8
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.005a35a0
add esp, 8
mov dword [ebp - 0x41c], eax
push 0
push 0x20
push 0
lea ecx, [ebp - 0x448]
push ecx
call fcn.005298c0
add esp, 0x10
mov dword [ebp - 0x448], 2
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x444], 0x17
cmp dword [ebp - 0x41c], 0
je 0x5bcbc8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x44c], edx
jmp 0x5bcbd4
lea eax, [ebp - 0x418]
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x448]
push edx
push 0
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x5bcbfe
cmp dword [ebp - 0x428], 0
jne 0x5bcc1d
cmp dword [ebp - 0x41c], 0
je 0x5bcc16
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.005844f0
add esp, 4
xor eax, eax
jmp 0x5bcd4a
mov edx, dword [ebp - 0x428]
mov dword [ebp - 0x424], edx
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005298c0
add esp, 0x10
push 2
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5bcc95
cmp dword [ebp - 0x428], 0
je 0x5bcc84
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x428], 0
xor eax, eax
jmp 0x5bcd4a
mov eax, dword [ebp - 0x424]
cmp dword [eax + 4], 0x17
je 0x5bccad
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 4], 0x17
jne 0x5bccdc
push 4
push 0x69bd00
mov edx, dword [ebp + 0xc]
push edx
call fcn.005366d3
add esp, 0xc
test eax, eax
je 0x5bccc8
jmp 0x5bccf8
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005298c0
add esp, 0x10
mov edx, dword [ebp - 0x424]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x5bcc3d
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x5bcd0c
mov dword [ebp - 0x420], 1
cmp dword [ebp - 0x428], 0
je 0x5bcd22
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x428], 0
cmp dword [ebp - 0x41c], 0
je 0x5bcd44
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.005844f0
add esp, 4
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret