Function at 0x4189b0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x20
push ebx
push ebp
or ebx, 0xffffffff
push esi
test eax, eax
je 0x4189cf
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
jmp 0x4189df
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x38]
mov ebp, dword [esp + 0x30]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
push esi
push ebp
movups xmmword [esp + 0x30], xmm0
call fcn.004197e0
add esp, 0x14
test eax, eax
je 0x418bfd
cmp eax, 8
je 0x418bfd
cmp eax, 0x2af9
je 0x418bfd
cmp dword [0x46a788], 0
jne 0x418a2e
call fcn.0041a9d0
cmp dword [0x46a780], 0
push edi
je 0x418a83
test esi, esi
je 0x418a83
cmp dword [esp + 0x18], 0
jne 0x418a83
push esi
call fcn.0041a870
mov ebx, eax
add esp, 4
mov dword [esp + 0x3c], ebx
test ebx, ebx
js 0x418a83
mov edi, 1
test ebp, ebp
jne 0x418a7f
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
push esi
push ebp
call fcn.004197e0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
xor esi, esi
jmp 0x418a85
xor edi, edi
cmp dword [0x46a788], 0
jne 0x418a93
call fcn.0041a9d0
cmp dword [0x46a784], 0
je 0x418aa9
lea eax, [esp + 0x10]
push eax
call fcn.0041a950
add esp, 4
push dword [esp + 0x40]
and dword [esp + 0x14], 0x7fffffff
lea eax, [esp + 0x14]
push eax
push esi
push ebp
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
test edi, edi
je 0x418b28
mov ecx, dword [ebp]
mov edi, ebp
test ecx, ecx
je 0x418b28
mov ebp, dword [sym.imp.WS2_32.dll_htons]
nop dword [eax]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x418b06
movzx eax, word [esi]
cmp eax, 2
jne 0x418af8
push ebx
call ebp
mov word [esi + 2], ax
jmp 0x418b19
cmp eax, 0x17
jne 0x418b06
push ebx
call ebp
mov word [esi + 2], ax
jmp 0x418b19
mov eax, dword [ecx + 0x1c]
mov dword [edi], eax
push ecx
mov dword [ecx + 0x1c], 0
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edi, dword [edi]
add edi, 0x1c
mov ecx, dword [edi]
test ecx, ecx
jne 0x418ae0
mov ebp, dword [esp + 0x40]
cmp dword [0x46a788], 0
jne 0x418b36
call fcn.0041a9d0
cmp dword [0x46a784], 0
je 0x418bf8
mov esi, dword [ebp]
test esi, esi
je 0x418bf8
nop
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x418b80
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x418b80
cmp ecx, 2
jne 0x418b6f
mov dword [esi + 0xc], 0x11
lea eax, [ecx + 0xf]
jmp 0x418b80
xor eax, eax
cmp ecx, 1
jne 0x418b80
mov dword [esi + 0xc], 6
lea eax, [ecx + 5]
cmp dword [esi + 8], 0
jne 0x418bed
test eax, eax
je 0x418baa
cmp eax, 0x11
jne 0x418b98
mov dword [esi + 8], 2
jmp 0x418bed
cmp eax, 6
jne 0x418ba6
mov dword [esi + 8], 1
jmp 0x418bed
test eax, eax
jne 0x418bed
push 0x20
call fcn.00408540
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x418c04
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ecx + 0x10], xmm0
mov dword [esi + 8], 1
mov dword [esi + 0xc], 6
mov dword [ecx + 8], 2
mov dword [ecx + 0xc], 0x11
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [esi + 0x1c], ecx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x418b50
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push dword [ebp]
call fcn.00418c30
add esp, 4
mov dword [ebp], 0
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret