Function at 0x1000f800
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x7c
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.1004bd80
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
test eax, eax
jne 0x1000f844
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetCurrentHwProfileA_get_key__08X
call fcn.1000b950
add esp, 8
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax + 4]
test edx, edx
je 0x1000f85d
jmp 0x1000f9e1
mov dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x1000f89c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetComputerNameA__08X
call fcn.1000b950
add esp, 8
push 0
call fcn.1004e08e
nop
jmp 0x1000f9e1
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.10012620
add esp, 8
mov ecx, 8
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], eax
mov dword [ebp + ecx - 0x38], edx
mov dword [ebp - 0x48], 1
jmp 0x1000f8ce
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 5
jge 0x1000f8f3
push 8
mov eax, dword [ebp - 0x48]
lea ecx, [ebp + eax*8 - 0x44]
push ecx
call fcn.10012620
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp + ecx*8 - 0x3c], eax
mov dword [ebp + ecx*8 - 0x38], edx
jmp 0x1000f8c5
mov edi, dword [ebp + 8]
add edi, 4
mov ecx, 9
lea esi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x44], 0
jmp 0x1000f918
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0x27
jae 0x1000f971
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x44]
movsx ecx, byte [eax + 4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
and edx, 0xff
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
and ecx, 0xf
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 9
jle 0x1000f95a
mov edx, dword [ebp - 0x40]
add edx, 0x57
mov dword [ebp - 0x40], edx
jmp 0x1000f963
mov eax, dword [ebp - 0x40]
add eax, 0x30
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x44]
mov dl, byte [ebp - 0x40]
mov byte [ecx + 4], dl
jmp 0x1000f90f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 4], 0x7b
mov eax, 1
imul ecx, eax, 9
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 4], 0x2d
mov eax, 1
imul ecx, eax, 0xe
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 4], 0x2d
mov eax, 1
imul ecx, eax, 0x13
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 4], 0x2d
mov eax, 1
imul ecx, eax, 0x18
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 4], 0x2d
mov eax, 1
imul ecx, eax, 0x25
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 4], 0x7d
mov eax, 1
imul ecx, eax, 0x26
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 4], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret