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

Disassembly:
mov eax, 0x442838
call fcn.0043e4e0
sub esp, 0x1c8
mov ecx, dword [ebp + 0xc]
push ebx
push esi
lea eax, [ebp - 0x5c]
push edi
push eax
call sub.MFC42.DLL_CTime::GetAsSystemTime
lea eax, [ebp - 0xd4]
push 0x32
xor ebx, ebx
push eax
lea eax, [ebp - 0x5c]
push ebx
push eax
mov esi, 0x400
push 2
push esi
mov byte [ebp - 0xd4], bl
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp - 0xa0]
push 0x32
push eax
lea eax, [ebp - 0x5c]
push ebx
push eax
push ebx
push esi
mov byte [ebp - 0xa0], bl
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov al, byte [0x4550cc]
push 0x1f
mov byte [ebp - 0x1d4], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1d3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov esi, 0x80
push eax
lea eax, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov al, byte [0x4550cc]
push 0x1f
mov byte [ebp - 0x154], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x153]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x4532cc
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x4c]
push 0xc00
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x34], eax
sub ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x3c]
sub eax, dword [ebp - 0x48]
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x38], ebx
push ebx
mov dword [ebp - 0x30], eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 2
push 2
lea ecx, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_CRect::InflateRect
push 2
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [ebp - 0x3c]
push 0x800
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret