Function at 0x5aefc0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a78d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x653af8]
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.0053fa12
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.004b8960
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.005ad9a0
mov esi, dword [ebp - 0x20]
or edi, 0xffffffff
test esi, esi
je 0x5af08b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x5af08b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x5af08b
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 0x5af0a4
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.004c24c0
cmp byte [ebp - 0x40], 0
mov esi, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
jne 0x5af0d4
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 0x5af19d
jg 0x5af0d4
cmp eax, 0x3c
jb 0x5af19d
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 0x5af0f8
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 0x5af113
xor edi, edi
xor eax, eax
jmp 0x5af162
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.006024b7
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
je 0x5af160
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x4a4c5c
mov dword [eax + 0xc], edi
jmp 0x5af162
xor eax, eax
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x2c], eax
test edi, edi
je 0x5af191
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5af191
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x5af191
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.00602a00
mov esp, ebp
pop ebp
ret 4