Function at 0x413be0
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4487cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x470
mov eax, dword [0x45a080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
mov ecx, 0x4690e3
call fcn.00447953
push 0x401
lea eax, [ebp - 0x41f]
mov byte [ebp - 0x420], 0
push 0
push eax
call fcn.00423a10
add esp, 0xc
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x430], xmm0
mov word [ebp - 0x430], ax
lea eax, [ebp - 0x420]
push 4
push 0
push 0
push 0x402
push eax
push 0x10
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
cmp dword [0x464680], 0xf
mov eax, 0x46466c
mov dword [0x46467c], 0
xorps xmm0, xmm0
cmova eax, dword [0x46466c]
movups xmmword [ebp - 0x480], xmm0
mov dword [ebp - 0x478], 1
movups xmmword [ebp - 0x470], xmm0
mov byte [eax], 0
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x480]
mov dword [ebp - 0x47c], 2
push eax
push 0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
xor edi, edi
test eax, eax
cmove edi, dword [ebp - 0x458]
mov eax, dword [edi + 0x18]
mov esi, dword [eax + 4]
nop dword [eax + eax]
mov eax, dword [edi + 0x18]
mov edx, dword [ebp - 0x45c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x454], eax
test edx, edx
je 0x413d27
mov ecx, eax
and ecx, 0xffffff
cmp ecx, edx
cmovne eax, esi
mov esi, eax
jmp 0x413d30
test esi, esi
jne 0x413d30
cmp al, 0xc0
cmove esi, eax
cmp dword [0x46467c], 0
mov eax, 0x45350c
mov edx, 0x4522a0
mov dword [ebp - 0x440], 0
cmovne edx, eax
mov dword [ebp - 0x43c], 0
mov eax, edx
xorps xmm0, xmm0
movups xmmword [ebp - 0x450], xmm0
lea ecx, [eax + 1]
mov dword [ebp - 0x460], ecx
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413d70
sub eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x450]
push eax
push edx
call fcn.00407e40
push dword [ebp - 0x454]
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x454], ecx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x413da8
sub edx, dword [ebp - 0x454]
lea ecx, [ebp - 0x450]
push edx
push eax
call fcn.0040b720
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x438], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x428], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 0xf
push dword [ebp - 0x428]
movd eax, xmm1
cmova ecx, eax
push ecx
mov ecx, 0x46466c
call fcn.0040b720
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x424]
cmp ecx, 0xf
jbe 0x413e51
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413e47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413edb
push ecx
push edx
call fcn.00421cfe
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x43c]
cmp ecx, 0xf
jbe 0x413e8e
mov edx, dword [ebp - 0x450]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413e84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413edb
push ecx
push edx
call fcn.00421cfe
add esp, 8
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x413d00
push edi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
push edi
push 0x4522a0
mov ecx, 0x46466c
call fcn.00407c90
push esi
mov dword [0x4618c4], esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042195a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00430308
int3