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

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408c34
push eax
mov dword fs:[0], esp
sub esp, 0x228
lea ecx, [ebp - 0x1c]
push ebx
call sub.MFC40.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC40.DLL_CString::CString_1
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call sub.MFC40.DLL_CString::Empty
mov ecx, dword [ebp + 0xc]
call sub.MFC40.DLL_CString::Empty
lea eax, [ebp - 0x34]
push eax
call sub.MFC40.DLL_COleDateTime::GetTickCount
push 0x4194dc
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x34]
push 0x400
lea eax, [ebp - 0x20]
push 0
mov ebx, 3
mov byte [ebp - 4], 2
push eax
call sub.MFC40.DLL_COleDateTime::Format
push eax
mov byte [ebp - 4], bl
lea eax, [ebp - 0x10]
push eax
call sub.MFC40.DLL_operator
push eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00414e9a
mov byte [ebp - 4], bl
call fcn.00408c24
mov byte [ebp - 4], 2
call fcn.00408c14
mov byte [ebp - 4], 1
call fcn.00408c1c
push 0x5d2
lea ecx, [ebp - 0x1c]
call sub.MFC40.DLL_CString::LoadStringA
push 0x4195b0
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push 0x400
push 0
push ecx
lea ecx, [ebp - 0x34]
call sub.MFC40.DLL_COleDateTime::Format
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ebx, 7
mov byte [ebp - 4], 6
call sub.MFC40.DLL_operator
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], bl
call sub.MFC40.DLL_operator
push eax
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00414e9a
mov byte [ebp - 4], bl
call fcn.00408c0c
mov byte [ebp - 4], 6
call fcn.00408bfc
mov byte [ebp - 4], 5
call fcn.00408bf4
mov byte [ebp - 4], 1
call fcn.00408c04
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x234]
mov dword [ebp - 0x24], 0x1ff
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4089e4
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x18]
push eax
call sub.MFC40.DLL_CString::operator
jmp 0x4089f1
push 0x5d3
lea ecx, [ebp - 0x18]
call sub.MFC40.DLL_CString::LoadStringA
push 0x4194dc
lea ecx, [ebp - 0x14]
mov ebx, 9
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], bl
push eax
push ecx
call sub.MFC40.DLL_operator
push eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00414e9a
mov byte [ebp - 4], bl
call fcn.00408bec
mov byte [ebp - 4], 1
call fcn.00408be4
push 0x5d1
lea ecx, [ebp - 0x1c]
call sub.MFC40.DLL_CString::LoadStringA
push 0x4195b0
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ebx, 0xc
mov byte [ebp - 4], 0xb
call sub.MFC40.DLL_operator
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], bl
call sub.MFC40.DLL_operator
push eax
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.00414e9a
mov byte [ebp - 4], bl
call fcn.00408bdc
mov byte [ebp - 4], 0xb
call fcn.00408bcc
mov byte [ebp - 4], 1
call fcn.00408bd4
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x234]
mov dword [ebp - 0x24], 0x1ff
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x408ac8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x18]
push eax
call sub.MFC40.DLL_CString::operator
jmp 0x408ad5
push 0x5d4
lea ecx, [ebp - 0x18]
call sub.MFC40.DLL_CString::LoadStringA
push 0x4194dc
lea ecx, [ebp - 0x14]
mov ebx, 0xe
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], bl
push eax
push ecx
call sub.MFC40.DLL_operator
push eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.00414e9a
mov byte [ebp - 4], bl
call fcn.00408bc4
mov byte [ebp - 4], 1
call fcn.00408bbc
push 0x5d5
lea ecx, [ebp - 0x1c]
call sub.MFC40.DLL_CString::LoadStringA
push 0x4195b0
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
mov ebx, 0x11
mov byte [ebp - 4], 0x10
call sub.MFC40.DLL_operator
push eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], bl
call sub.MFC40.DLL_operator
push eax
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 0x12
call fcn.00414e9a
mov byte [ebp - 4], bl
call fcn.00408ba4
mov byte [ebp - 4], 0x10
call fcn.00408bac
mov byte [ebp - 4], 1
call fcn.00408bb4
mov byte [ebp - 4], 0
call fcn.00408c2c
mov dword [ebp - 4], 0xffffffff
call fcn.00408c3e
mov eax, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], eax
mov esp, ebp
pop ebp
ret 8