Function at 0x44b560
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44b5a4
mov eax, dword [ebp - 0xc]
jmp 0x44b779
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
jmp 0x44b5b5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x44b72c
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 4], 2
jne 0x44b5d1
mov dword [ebp - 0x10], 0x10
jmp 0x44b5d3
jmp 0x44b5ac
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
je 0x44b5e5
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x10], 0
ja 0x44b5e7
jmp 0x44b5ac
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0x10]
jae 0x44b5f4
jmp 0x44b5ac
push 0x20
call dword [0x6252e4]
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44b614
mov dword [ebp - 0xc], 8
jmp 0x44b72c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x6252e4]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x18], 0
jne 0x44b69e
mov dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x14]
push eax
call dword [0x6252e8]
add esp, 4
jmp 0x44b72c
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
call fcn.0057de50
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
je 0x44b706
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
push edx
call dword [0x6252f0]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 0
jne 0x44b706
mov dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x6252e8]
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call dword [0x6252e8]
add esp, 4
jmp 0x44b72c
cmp dword [ebp - 4], 0
jne 0x44b712
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], 0
je 0x44b721
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x44b5ac
cmp dword [ebp - 8], 0
je 0x44b73c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 0xc], 0
je 0x44b757
mov edx, dword [ebp - 4]
push edx
call fcn.0044b4f0
add esp, 4
mov dword [ebp - 4], 0
jmp 0x44b76e
cmp dword [ebp - 4], 0
jne 0x44b76e
mov dword [ebp - 0xc], 0x2af9
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret