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

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4089d4
push eax
mov dword fs:[0], esp
sub esp, 0x228
lea ecx, [ebp - 0x1c]
push ebx
call sub.MFC40.DLL_CString::CString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC40.DLL_CString::CString
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 0x419580
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::CString_1
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 sub.MFC40.DLL_CString::operator
mov byte [ebp - 4], bl
call fcn.004089c4
mov byte [ebp - 4], 2
call fcn.004089b4
mov byte [ebp - 4], 1
call fcn.004089bc
push 0x5d2
lea ecx, [ebp - 0x1c]
call sub.MFC40.DLL_CString::LoadStringA
push 0x419654
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::CString_1
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 sub.MFC40.DLL_CString::operator
mov byte [ebp - 4], bl
call fcn.004089ac
mov byte [ebp - 4], 6
call fcn.0040899c
mov byte [ebp - 4], 5
call fcn.00408994
mov byte [ebp - 4], 1
call fcn.004089a4
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 0x408784
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x18]
push eax
call fcn.00415798
jmp 0x408791
push 0x5d3
lea ecx, [ebp - 0x18]
call sub.MFC40.DLL_CString::LoadStringA
push 0x419580
lea ecx, [ebp - 0x14]
mov ebx, 9
call sub.MFC40.DLL_CString::CString_1
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 sub.MFC40.DLL_CString::operator
mov byte [ebp - 4], bl
call fcn.0040898c
mov byte [ebp - 4], 1
call fcn.00408984
push 0x5d1
lea ecx, [ebp - 0x1c]
call sub.MFC40.DLL_CString::LoadStringA
push 0x419654
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::CString_1
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 sub.MFC40.DLL_CString::operator
mov byte [ebp - 4], bl
call fcn.0040897c
mov byte [ebp - 4], 0xb
call fcn.0040896c
mov byte [ebp - 4], 1
call fcn.00408974
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 0x408868
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x18]
push eax
call fcn.00415798
jmp 0x408875
push 0x5d4
lea ecx, [ebp - 0x18]
call sub.MFC40.DLL_CString::LoadStringA
push 0x419580
lea ecx, [ebp - 0x14]
mov ebx, 0xe
call sub.MFC40.DLL_CString::CString_1
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 sub.MFC40.DLL_CString::operator
mov byte [ebp - 4], bl
call fcn.00408964
mov byte [ebp - 4], 1
call fcn.0040895c
push 0x5d5
lea ecx, [ebp - 0x1c]
call sub.MFC40.DLL_CString::LoadStringA
push 0x419654
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::CString_1
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 sub.MFC40.DLL_CString::operator
mov byte [ebp - 4], bl
call fcn.00408944
mov byte [ebp - 4], 0x10
call fcn.0040894c
mov byte [ebp - 4], 1
call fcn.00408954
mov byte [ebp - 4], 0
call fcn.004089cc
mov dword [ebp - 4], 0xffffffff
call fcn.004089de
mov eax, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], eax
mov esp, ebp
pop ebp
ret 8