Function at 0x468cf5
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0x10], 0
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x14]
and dword [eax], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x468d2d
mov eax, dword [ebp - 0xc]
jmp 0x468eef
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
jmp 0x468d3e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x468eaa
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 2
jne 0x468d5a
mov dword [ebp - 0x14], 0x10
jmp 0x468d6e
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0x17
jne 0x468d6c
mov dword [ebp - 0x14], 0x1c
jmp 0x468d6e
jmp 0x468d35
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x468d80
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
ja 0x468d82
jmp 0x468d35
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x14]
jae 0x468d8f
jmp 0x468d35
push 0x20
call dword [0x4bfa34]
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x468dad
mov dword [ebp - 0xc], 8
jmp 0x468eaa
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x18], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x1c], 0
push dword [ebp - 0x14]
call dword [0x4bfa34]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x468e28
mov dword [ebp - 0xc], 8
push dword [ebp - 4]
call dword [0x4bfa3c]
pop ecx
jmp 0x468eaa
push dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call fcn.00417b30
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
je 0x468e84
mov eax, dword [ebp - 8]
push dword [eax + 0x14]
call dword [0x4bfa40]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x468e84
mov dword [ebp - 0xc], 8
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call dword [0x4bfa3c]
pop ecx
push dword [ebp - 4]
call dword [0x4bfa3c]
pop ecx
jmp 0x468eaa
cmp dword [ebp - 0x10], 0
jne 0x468e90
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
je 0x468e9f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x468d35
cmp dword [ebp - 0x1c], 0
je 0x468eb9
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 0xc], 0
je 0x468ece
push dword [ebp - 0x10]
call fcn.004690ae
pop ecx
and dword [ebp - 0x10], 0
jmp 0x468ee4
cmp dword [ebp - 0x10], 0
jne 0x468ee4
mov dword [ebp - 0xc], 0x2af9
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret