Function at 0x10032000
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016a462
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x30], esi
call fcn.100fa9a0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x100321b9
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x34], esi
cmp dword [ecx], esi
je 0x100321b3
xor eax, eax
nop dword [eax]
mov eax, dword [eax + ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
mov dword [ebp - 0x3c], 0
mov ecx, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x50], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100320a5
sub ecx, dword [ebp - 0x50]
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.10005dc0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x6c]
push 0xfde9
push dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x4c]
call fcn.100fa2f0
or esi, 0x10
add esp, 8
mov dword [ebp - 0x30], esi
and esi, 0xffffffef
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 2
or esi, 8
mov dword [ebp - 0x30], esi
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x10032135
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
jmp 0x10032141
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov ecx, edi
call fcn.1000e800
and esi, 0xfffffff7
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.100047b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x10032187
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003217d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100321ea
push edx
push ecx
call fcn.10161214
add esp, 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x34], eax
shl eax, 2
mov dword [ebp - 0x3c], 0
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp dword [eax + ecx], 0
jne 0x10032070
mov byte [ebp - 0x29], 1
jmp 0x100321bd
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100321fa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100321f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100321f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10161214
add esp, 8
mov al, byte [ebp - 0x29]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101611d3
mov esp, ebp
pop ebp
ret 8