Function at 0x100da6b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef8ad
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x101170e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x110], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x100], 0
push eax
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x114], eax
call fcn.10001e60
lea eax, [esi + 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x104], eax
call fcn.10001e60
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x100], 0x60
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
test edi, edi
je 0x100da766
cmp byte [edi], 0
jne 0x100da768
xor edi, edi
test esi, esi
je 0x100da771
cmp byte [esi], 0
jne 0x100da773
xor esi, esi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0xfc]
push eax
push dword [ebp - 0xf4]
push esi
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.100dc000
mov edi, dword [ebp - 0x110]
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], eax
cmp ecx, 0x10
jb 0x100da7e4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100da7da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dac3d
push ecx
push edx
call fcn.10084de4
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x100da831
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100da827
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dac3d
push ecx
push edx
call fcn.10084de4
add esp, 8
mov esi, dword [ebp - 0xfc]
mov dword [ebp - 0x110], esi
cmp dword [edi], 0
mov dword [ebp - 4], 1
je 0x100da86d
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov ecx, 0x61
xor eax, eax
jmp 0x100daade
push dword [ebp - 0x114]
lea ecx, [ebp - 0xa4]
call fcn.10001e60
push dword [ebp - 0x104]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 3
mov dword [ebp - 0x100], 0xe2
call fcn.10001e60
mov edi, dword [ebp - 0xfc]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x100], 0x3e6
test edi, edi
je 0x100daad6
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.10001e60
mov edx, dword [edi + 0x14]
mov dword [ebp - 4], 6
test edx, edx
je 0x100da909
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x104], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100da8f2
sub ecx, dword [ebp - 0x104]
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.1000c650
push 0xc
call fcn.10084db4
add esp, 4
test eax, eax
je 0x100da92d
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x100da92f
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
call fcn.100d4400
mov eax, dword [ebp - 0x34]
mov ecx, 2
mov dword [ebp - 0xf4], eax
mov eax, dword [edi + 4]
cmp eax, 2
je 0x100da957
cmp eax, 0x17
jne 0x100daa91
cmp dword [edi + 0x10], 0x80
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], 0
ja 0x100dac42
push dword [edi + 0x10]
lea eax, [ebp - 0x5c]
push dword [edi + 0x18]
push eax
call fcn.10088a20
movups xmm0, xmmword [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0xd8], eax
movups xmmword [ebp - 0xf0], xmm0
lea eax, [ebp - 0x74]
movq xmm0, qword [ebp - 0x4c]
push eax
movq qword [ebp - 0xe0], xmm0
call fcn.10001e60
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xbc]
call fcn.10001e60
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 8
mov ecx, dword [eax + 4]
push ecx
cmp ecx, dword [eax + 8]
je 0x100daa0d
push eax
call fcn.100d35b0
mov eax, dword [ebp - 0xf4]
add esp, 0xc
add dword [eax + 4], 0x4c
jmp 0x100daa14
mov ecx, eax
call fcn.100d26f0
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x100daa52
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100daa48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dac64
push ecx
push edx
call fcn.10084de4
add esp, 8
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0x10
jb 0x100daa8c
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100daa82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dac64
push ecx
push edx
call fcn.10084de4
add esp, 8
mov ecx, 2
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x100da946
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x100daad0
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100daac6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dac64
push ecx
push edx
call fcn.10084de4
add esp, 8
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x34]
mov ecx, 8
mov edi, dword [ebp - 0x10c]
or ecx, 0x10
mov dword [edx], 0
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], 0
mov dword [edi + 4], eax
mov dword [edx + 4], 0
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
test cl, 8
je 0x100dab45
mov edi, dword [ebp - 0x30]
and ecx, 0xfffffff7
mov dword [ebp - 0xf4], ecx
test edi, edi
je 0x100dab45
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100dab45
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100dab3f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xf4]
test cl, 4
je 0x100dab92
mov eax, dword [ebp - 0x78]
and ecx, 0xfffffffb
mov dword [ebp - 0xf4], ecx
cmp eax, 0x10
jb 0x100dab92
mov edx, dword [ebp - 0x8c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100dab82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dac64
push ecx
push edx
call fcn.10084de4
mov ecx, dword [ebp - 0xf4]
add esp, 8
test cl, 2
je 0x100dabe2
mov eax, dword [ebp - 0x90]
and ecx, 0xfffffffd
mov dword [ebp - 0xf4], ecx
cmp eax, 0x10
jb 0x100dabe2
mov edx, dword [ebp - 0xa4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100dabd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dac64
push ecx
push edx
call fcn.10084de4
mov ecx, dword [ebp - 0xf4]
add esp, 8
test cl, 1
je 0x100dac0f
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x100dac0f
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100dac0f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100dac0f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test esi, esi
je 0x100dac1a
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x10c]
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.1008511a
mov esp, ebp
pop ebp
ret 0x10
call fcn.1008ca42
call fcn.100d1380
mov dword [ebp - 0x104], eax
mov ecx, 0x2726
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], ecx
push eax
call fcn.100d0fa0
call fcn.1008ca42
int3