Function at 0x688ae0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71a0ed
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x76e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x50], edi
call fcn.00613083
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x60], xmm0
add esp, 4
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00590730
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.006874c0
mov esi, dword [ebp - 0x20]
or edi, 0xffffffff
test esi, esi
je 0x688bab
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x688bab
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x688bab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x688bc4
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.0059aa90
cmp byte [ebp - 0x40], 0
mov esi, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
jne 0x688bf4
mov eax, dword [ebp - 0x48]
sub eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x4c]
sbb ecx, dword [esi + 0x34]
mov dword [ebp - 0x40], ecx
js 0x688cbd
jg 0x688bf4
cmp eax, 0x3c
jb 0x688cbd
mov eax, dword [ebp - 0x50]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 1
movups xmmword [ebp - 0x24], xmm0
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x40], 0
jb 0x688c18
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x688c33
xor edi, edi
xor eax, eax
jmp 0x688c82
mov al, byte [ebp - 0x14]
mov edi, dword [ebp - 0x40]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 1
push 0x10
mov dword [ebp - 4], 3
call fcn.006dd216
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
je 0x688c80
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x5736a0
mov dword [eax + 0xc], edi
jmp 0x688c82
xor eax, eax
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x2c], eax
test edi, edi
je 0x688cb1
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x688cb1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x688cb1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x28]
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.006dd760
mov esp, ebp
pop ebp
ret 4