Function at 0x613bf0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a9b5
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x67206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x168], edx
mov esi, ecx
mov dword [ebp - 0x16c], esi
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov edi, dword [esi]
cmp edi, eax
je 0x613c57
mov esi, eax
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0x1c
cmp edi, esi
jne 0x613c40
mov esi, dword [ebp - 0x16c]
mov edi, dword [esi]
xor ecx, ecx
mov dword [esi + 4], edi
xor eax, eax
mov dword [ebp - 0x148], 0x669c14
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
mov dword [ebp - 4], 1
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x168]
inc dword [0x674754]
add eax, 4
cmp edx, eax
je 0x613cbe
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x613ca9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x144]
call fcn.00611370
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], 2
test ecx, ecx
jne 0x613d56
push 0x100
push ecx
lea eax, [ebp - 0x110]
push eax
call fcn.00633cb0
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x613d0b
lea ecx, [ebp - 0x148]
call fcn.0060ed70
or eax, 0xffffffff
jmp 0x613f98
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0060e7f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 8
lea ecx, [ebp - 0x144]
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.00611370
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.0060ed70
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x18c], xmm0
push ecx
lea eax, [ebp - 0x160]
mov dword [ebp - 0x188], 2
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x18c], 1
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x184], 1
call fcn.006104b0
cmp dword [ebp - 0x14c], 0x10
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x18c]
push ecx
lea eax, [ebp - 0x160]
cmovae eax, dword [ebp - 0x160]
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 4], 4
test eax, eax
jne 0x613ef5
mov edi, dword [ebp - 0x164]
test edi, edi
je 0x613ef5
mov eax, dword [edi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x613ed9
push eax
lea ecx, [ebp - 0x12c]
call fcn.0060e7f0
mov byte [ebp - 4], 7
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x613e76
mov dword [eax], 0x669c14
lea ecx, [eax + 4]
mov dword [ebp - 0x168], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x128]
inc dword [0x674754]
cmp ecx, eax
je 0x613e70
cmp dword [ebp - 0x114], 8
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.00611370
add dword [esi + 4], 0x1c
jmp 0x613e85
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov ecx, esi
call fcn.00606610
mov byte [ebp - 4], 4
dec dword [0x674754]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x12c], 0x669c14
cmp edx, 8
jb 0x613ed9
mov ecx, dword [ebp - 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x613ecf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x613fb3
push edx
push ecx
call fcn.006317bc
add esp, 8
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x613df4
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x613ef5
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x613f2f
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x613f25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x613fb3
push edx
push ecx
call fcn.006317bc
add esp, 8
dec dword [0x674754]
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x148], 0x669c14
cmp edx, 8
jb 0x613f96
mov ecx, dword [ebp - 0x144]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x613f8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x613fb3
push edx
push ecx
call fcn.006317bc
add esp, 8
xor eax, eax
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.00631776
mov esp, ebp
pop ebp
ret
call fcn.006375a6
int3