Function at 0x1000c5f0
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100430ab
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x10055080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x14
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x1000c831
sub esp, 8
lea ecx, [ebp - 0x1a0]
push 8
push str.Temp
call fcn.10003390
mov edx, str._nComputer_Username:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.10004540
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1a0]
call fcn.10004540
lea ecx, [ebp - 0x19c]
call fcn.10003c30
test eax, eax
jne 0x1000c6aa
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1000c7b3
sub esp, 8
lea ecx, [ebp - 0xf0]
push 8
push str.Temp
call fcn.10003390
mov edx, str._nComputer_Name:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.10004540
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10004540
lea ecx, [ebp - 0xec]
call fcn.10003c30
test eax, eax
jne 0x1000c736
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
call fcn.1000c440
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call fcn.10002fe0
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xf4], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x88], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
jmp 0x1000c7b8
call fcn.1000c440
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x19c]
call fcn.10002fe0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1a4], eax
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a7cf
mov esp, ebp
pop ebp
ret