Function at 0x10016890
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101929f1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x101fd000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x248], edi
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x248], edi
call fcn.10016bc0
mov esi, eax
mov dword [ebp - 0x248], esi
xor eax, eax
mov dword [ebp - 4], 0
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.101695f0
add esp, 0xc
mov dword [ebp - 0x22c], 0xff
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x100169fe
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.10015670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
cmp dword [ebp - 0x214], 7
mov eax, dword [ebp - 0x218]
cmova ecx, dword [ebp - 0x228]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x228]
cmova ecx, dword [ebp - 0x228]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x244]
call fcn.1001a2e0
movups xmm0, xmmword [ebp - 0x244]
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [ebp - 0x234]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x214]
movq qword [ebp - 0x250], xmm0
cmp ecx, 7
jbe 0x100169d9
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100169cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016bae
push ecx
push edx
call fcn.10165540
add esp, 8
mov esi, dword [ebp - 0x248]
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
jmp 0x10016a2e
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
push 0x101daa4c
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x260], xmm0
call fcn.1000dcd0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24c]
mov eax, edx
mov ecx, dword [ebp - 0x250]
sub eax, ecx
cmp eax, 1
jb 0x10016a6e
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x260]
cmova eax, dword [ebp - 0x260]
mov word [eax + ecx], 0x2f
lea eax, [ebp - 0x260]
jmp 0x10016a8f
push 1
push 0x101dae40
mov byte [ebp - 0x248], 0
lea ecx, [ebp - 0x260]
push dword [ebp - 0x248]
push 1
call fcn.1000d3b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x218], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x248]
mov ecx, edi
call fcn.1000c260
mov ecx, dword [ebp - 0x214]
cmp ecx, 0xf
jbe 0x10016b0a
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016b00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016bb3
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0xf
jbe 0x10016b40
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016b36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016bb3
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
cmp ecx, 0xf
jbe 0x10016b91
mov edx, dword [ebp - 0x27c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016b87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016bb3
push ecx
push edx
call fcn.10165540
add esp, 8
mov eax, edi
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.1016550f
mov esp, ebp
pop ebp
ret
call fcn.1016cb5f
call fcn.1016cb5f
int3