Function at 0x5ab410
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e9ae
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x6d3438]
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, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x68]
push 0x40
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x5ab4c2
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x68d90c
mov word [esi], ax
call fcn.0042e850
mov eax, esi
jmp 0x5ab6a5
mov eax, dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 1
push 0x14
mov byte [ebp - 4], 1
call fcn.0060862c
mov edi, eax
add esp, 4
mov dword [ebp - 0xa8], edi
test edi, edi
je 0x5ab536
mov eax, dword [ebp - 0xa4]
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_resource_struct_addrinfo___void____stdcall___struct_addrinfo___.0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], esi
jmp 0x5ab538
xor edi, edi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], edi
mov esi, dword [ebp - 0x9c]
mov byte [ebp - 4], 3
test esi, esi
je 0x5ab639
nop word [eax + eax]
mov eax, dword [esi + 4]
sub eax, 2
jne 0x5ab62e
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x14], ax
xorps xmm0, xmm0
mov eax, dword [esi + 0x18]
push 0x16
push ecx
add eax, 4
push eax
push 2
movups xmmword [ebp - 0x28], xmm0
call sub.WS2_32.dll_inet_ntop
push 1
lea ecx, [ebp - 0x160]
call fcn.00488ad0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004b54c0
add esp, 8
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x160]
push eax
call fcn.00488ab0
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.004886f0
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x5ab60d
mov ecx, dword [ebp - 0x80]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5ab603
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ab6c2
push edx
push ecx
call fcn.00608415
add esp, 8
cmp dword [ebp - 0x88], 0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [ebp - 0x70], xmm0
jne 0x5ab639
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x5ab560
mov ecx, dword [ebp - 0xa0]
movups xmm0, xmmword [ebp - 0x80]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [ecx + 0x10], xmm0
test edi, edi
je 0x5ab6a3
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x5ab6a3
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x659730]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x5ab69d
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x659730]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xa0]
mov eax, ecx
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.00608185
mov esp, ebp
pop ebp
ret 4
call fcn.0060e0d0
int3