Function at 0x10014640
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f02c
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x1020f040]
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, dword [ebp + 8]
push str.advapi32.dll
mov dword [ebp - 0x414], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10014767
push str.GetUserNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10014767
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x448], 0xfe
push ecx
lea ecx, [ebp - 0x410]
push ecx
call eax
test eax, eax
je 0x10014767
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10012e70
cmp dword [ebp - 0x418], 7
lea edx, [ebp - 0x42c]
mov eax, dword [ebp - 0x41c]
lea ecx, [ebp - 0x449]
cmova edx, dword [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x444]
mov dword [ebp - 4], 0
lea eax, [edx + eax*2]
lea edx, [ebp - 0x42c]
cmova edx, dword [ebp - 0x42c]
push eax
push edx
call fcn.10011dd0
movups xmm0, xmmword [ebp - 0x444]
lea ecx, [ebp - 0x444]
mov byte [ebp - 0x444], 0
movups xmmword [ebp - 0x47c], xmm0
movq xmm0, qword [ebp - 0x434]
movq qword [ebp - 0x46c], xmm0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
call fcn.10002190
lea ecx, [ebp - 0x42c]
call fcn.100035f0
jmp 0x10014797
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x46c], 0
push 0x101b3100
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x468], 0
movups xmmword [ebp - 0x47c], xmm0
call fcn.100052b0
xor eax, eax
mov dword [ebp - 4], 1
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10176a90
add esp, 0xc
mov dword [ebp - 0x414], 0xff
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1001485d
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x444]
call fcn.10012e70
cmp dword [ebp - 0x430], 7
lea edx, [ebp - 0x444]
mov eax, dword [ebp - 0x434]
lea ecx, [ebp - 0x449]
cmova edx, dword [ebp - 0x444]
push ecx
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
lea eax, [edx + eax*2]
lea edx, [ebp - 0x444]
cmova edx, dword [ebp - 0x444]
push eax
push edx
call fcn.10011dd0
movups xmm0, xmmword [ebp - 0x42c]
lea ecx, [ebp - 0x444]
movups xmmword [ebp - 0x464], xmm0
movq xmm0, qword [ebp - 0x41c]
movq qword [ebp - 0x454], xmm0
call fcn.100035f0
jmp 0x1001488d
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x454], 0
push 0x101b3100
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x450], 0
movups xmmword [ebp - 0x464], xmm0
call fcn.100052b0
push 1
push 0x101b43e8
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 3
call fcn.1000a0a0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x42c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x41c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x47c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x42c]
mov ecx, edi
push eax
push dword [ebp - 0x414]
call fcn.100058a0
mov ecx, dword [ebp - 0x418]
cmp ecx, 0xf
jbe 0x10014924
mov edx, dword [ebp - 0x42c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001491a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100149c8
push ecx
push edx
call fcn.10172764
add esp, 8
mov ecx, dword [ebp - 0x450]
cmp ecx, 0xf
jbe 0x1001495a
mov edx, dword [ebp - 0x464]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10014950
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100149c8
push ecx
push edx
call fcn.10172764
add esp, 8
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0xf
mov byte [ebp - 0x464], 0
cmp ecx, 0xf
jbe 0x100149ab
mov edx, dword [ebp - 0x47c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100149a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100149c8
push ecx
push edx
call fcn.10172764
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.10172772
mov esp, ebp
pop ebp
ret
call fcn.1017a16f
int3