Function at 0x5bbaa0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x6a50f0]
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.00532490
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 0x5bbb17
push 0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.00527a50
add esp, 0x10
jmp 0x5bbb3c
cmp dword [ebp + 8], 0
jne 0x5bbb3c
push 0x400
lea eax, [ebp - 0x418]
push eax
call fcn.005a39e0
add esp, 8
test eax, eax
je 0x5bbb3c
xor eax, eax
jmp 0x5bbd4a
push 1
call fcn.005bd420
add esp, 4
test eax, eax
jne 0x5bbb51
xor eax, eax
jmp 0x5bbd4a
push 0x400
lea ecx, [ebp - 0x418]
push ecx
call fcn.00595150
add esp, 8
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.005a25a0
add esp, 8
mov dword [ebp - 0x41c], eax
push 0
push 0x20
push 0
lea ecx, [ebp - 0x448]
push ecx
call fcn.005286a0
add esp, 0x10
mov dword [ebp - 0x448], 2
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x444], 0x17
cmp dword [ebp - 0x41c], 0
je 0x5bbbc8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x44c], edx
jmp 0x5bbbd4
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 0x5bbbfe
cmp dword [ebp - 0x428], 0
jne 0x5bbc1d
cmp dword [ebp - 0x41c], 0
je 0x5bbc16
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.005834f0
add esp, 4
xor eax, eax
jmp 0x5bbd4a
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.005286a0
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 0x5bbc95
cmp dword [ebp - 0x428], 0
je 0x5bbc84
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x428], 0
xor eax, eax
jmp 0x5bbd4a
mov eax, dword [ebp - 0x424]
cmp dword [eax + 4], 0x17
je 0x5bbcad
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 4], 0x17
jne 0x5bbcdc
push 4
push 0x69ad00
mov edx, dword [ebp + 0xc]
push edx
call fcn.005354b3
add esp, 0xc
test eax, eax
je 0x5bbcc8
jmp 0x5bbcf8
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005286a0
add esp, 0x10
mov edx, dword [ebp - 0x424]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x5bbc3d
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x5bbd0c
mov dword [ebp - 0x420], 1
cmp dword [ebp - 0x428], 0
je 0x5bbd22
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 0x5bbd44
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.005834f0
add esp, 4
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00531ddb
mov esp, ebp
pop ebp
ret