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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003fe2b
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x10053064]
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 0x100091f1
sub esp, 8
lea ecx, [ebp - 0x1a0]
push 8
push str.Temp
call fcn.100032c0
mov edx, str._nComputer_Username:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.100042d0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x1a0]
call fcn.100042d0
lea ecx, [ebp - 0x19c]
call fcn.10003b10
test eax, eax
jne 0x1000906a
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.10001d30
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 0x10009173
sub esp, 8
lea ecx, [ebp - 0xf0]
push 8
push str.Temp
call fcn.100032c0
mov edx, str._nComputer_Name:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.100042d0
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.100042d0
lea ecx, [ebp - 0xec]
call fcn.10003b10
test eax, eax
jne 0x100090f6
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.10001d30
call fcn.10008df0
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.10002f10
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.10017e5a
add esp, 4
jmp 0x10009178
call fcn.10008df0
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.10002f10
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.10017e5a
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.100185cf
mov esp, ebp
pop ebp
ret