Function at 0x3279990
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 0x32799af
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
jmp 0x32799b7
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
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.0327a6b0
add esp, 0x14
test eax, eax
je 0x3279bce
cmp eax, 8
je 0x3279bce
cmp eax, 0x2af9
je 0x3279bce
cmp dword [0x3417570], 0
jne 0x3279a06
call fcn.0327b810
cmp dword [0x3417568], 0
push edi
je 0x3279a5b
test esi, esi
je 0x3279a5b
cmp dword [esp + 0x18], 0
jne 0x3279a5b
push esi
call fcn.0327b6a0
mov ebx, eax
add esp, 4
mov dword [esp + 0x3c], ebx
test ebx, ebx
js 0x3279a5b
mov edi, 1
test ebp, ebp
jne 0x3279a57
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
push esi
push ebp
call fcn.0327a6b0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
xor esi, esi
jmp 0x3279a5d
xor edi, edi
cmp dword [0x3417570], 0
jne 0x3279a6b
call fcn.0327b810
cmp dword [0x341756c], 0
je 0x3279a81
lea eax, [esp + 0x10]
push eax
call fcn.0327b790
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 0x3279aff
mov ecx, dword [ebp]
mov edi, ebp
test ecx, ecx
je 0x3279aff
mov ebp, dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x3279add
movzx eax, word [esi]
mov edx, eax
cmp eax, 2
jne 0x3279acf
push ebx
call ebp
mov word [esi + 2], ax
jmp 0x3279af0
cmp edx, 0x17
jne 0x3279add
push ebx
call ebp
mov word [esi + 2], ax
jmp 0x3279af0
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 0x3279ab5
mov ebp, dword [esp + 0x40]
cmp dword [0x3417570], 0
jne 0x3279b0d
call fcn.0327b810
cmp dword [0x341756c], 0
je 0x3279bc9
mov esi, dword [ebp]
test esi, esi
je 0x3279bc9
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x3279b55
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x3279b55
cmp ecx, 2
jne 0x3279b44
mov dword [esi + 0xc], 0x11
lea eax, [ecx + 0xf]
jmp 0x3279b55
xor eax, eax
cmp ecx, 1
jne 0x3279b55
mov dword [esi + 0xc], 6
lea eax, [ecx + 5]
cmp dword [esi + 8], 0
jne 0x3279bbe
test eax, eax
je 0x3279b7b
cmp eax, 0x11
jne 0x3279b6d
mov dword [esi + 8], 2
jmp 0x3279bbe
cmp eax, 6
jne 0x3279bbe
mov dword [esi + 8], 1
jmp 0x3279bbe
push 0x20
call fcn.0339076d
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x3279bd5
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 0x3279b25
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push dword [ebp]
call fcn.03279c00
add esp, 4
mov dword [ebp], 0
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret