Function at 0x48a1dc
Capabilities:
Accept command line arguments
Get common file path
Get disk information
Get hostname
Get memory capacity
Get program files directory
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
push edi
mov edi, dword [ebp + 0xc]
push str.gdiobjects
push ebx
and dword [edi], 0
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a211
and dword [edi], eax
call fcn.0048a8e4
jmp 0x48a777
push str.userobjects
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a22b
and dword [edi], eax
call fcn.0048a8a6
jmp 0x48a777
push str.instance
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a245
and dword [edi], eax
mov eax, dword [0x54e554]
jmp 0x48a777
push str.ospath
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a288
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
mov dword [edi], 1
call sub.MSVCRT.dll_strlen
cmp byte [eax + esi - 1], 0x5c
pop ecx
je 0x48a281
push 0x535c0c
push esi
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
xor eax, eax
jmp 0x48a777
push str.systempath
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a2a5
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x48a260
push str.fontpath
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a2ca
lea eax, [ebp + 0xc]
push eax
push 0x14
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
jmp 0x48a2ed
push str.pgmpath
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a2f8
lea eax, [ebp + 0xc]
push eax
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x48a260
push str.exepath
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a359
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, dword [ebp + 0x10]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x20
push ebx
call esi
add esp, 0x14
test eax, eax
je 0x48a336
push 0x20
push ebx
call esi
and byte [eax], 0
pop ecx
pop ecx
push 0x5c
push ebx
call esi
pop ecx
test eax, eax
pop ecx
je 0x48a643
push 0x5c
push ebx
call dword [sym.imp.MSVCRT.dll_strrchr]
and byte [eax + 1], 0
pop ecx
pop ecx
jmp 0x48a643
push str.diskdrives
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a3c8
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
push 1
and byte [eax], 0
xor esi, esi
pop ebx
mov eax, dword [ebp + 0xc]
mov ecx, esi
shr eax, cl
and eax, ebx
cmp al, bl
jne 0x48a3bd
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
mov eax, 0x52c6a8
jne 0x48a39a
mov eax, 0x54dd08
lea ecx, [esi + 0x41]
push ecx
push eax
lea eax, [ebp - 8]
push str._s_c:
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call sub.MSVCRT.dll_strcat
add esp, 0x18
inc esi
cmp esi, 0x20
jl 0x48a37b
jmp 0x48a515
push str.commandline
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a3f1
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x48a643
push str.osversion
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a40d
push dword [ebp + 0x10]
call fcn.0048a982
pop ecx
jmp 0x48a643
push str.osnumber
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a454
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
push str._d._d
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x48a643
push str.consolemode
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a481
and dword [edi], eax
lea eax, [ebp - 0x14c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
neg eax
sbb eax, eax
neg eax
jmp 0x48a777
push str.computername
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a4a1
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
jmp 0x48a643
push str.username
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a4c1
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x48a643
push str.temppath
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a4e0
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x48a643
push str.screenarea
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a51c
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
pop ebx
push ebx
call esi
push eax
push 0
call esi
push eax
push 0
push 0
push str._d__d__d__d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov dword [edi], ebx
jmp 0x48a281
push str.workarea
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a563
push eax
lea eax, [ebp - 0x18]
push eax
push 0x3c
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push str._d__d__d__d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x48a643
push str.colordepth
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a5ab
and dword [edi], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 0xe
push ebx
call esi
push 0xc
push ebx
mov edi, eax
call esi
imul edi, eax
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
jmp 0x48a777
push str.systemfont
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a64e
push eax
lea eax, [ebp - 0x44]
push eax
push 0x3c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [ebp - 0x30], 0
mov esi, eax
mov ecx, str._Italic
jne 0x48a5e6
mov ecx, 0x54dd08
cmp dword [ebp - 0x34], 0x258
mov eax, str.Bold
jge 0x48a5f9
mov eax, str.Regular
push ecx
push eax
mov eax, dword [ebp - 0x44]
push 0x5a
neg eax
mov dword [ebp + 0xc], eax
push esi
fild dword [ebp + 0xc]
fmul dword [0x5001a0]
fstp dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fdivr dword [ebp + 8]
call sub.MSVCRT.dll__ftol
push eax
lea eax, [ebp - 0x28]
push eax
push str._s__d__s_s
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi], 1
jmp 0x48a281
push str.appmemory
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a6ee
and dword [edi], eax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0xdc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xcc], 2
jne 0x48a281
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x48a6ac
push str.GetProcessMemoryInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x48a281
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
test esi, esi
je 0x48a281
lea eax, [ebp - 0x30]
push 0x28
push eax
push esi
call dword [ebp + 0xc]
test eax, eax
je 0x48a281
push 0xa
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll__ltoa]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
jmp 0x48a777
push str.totalmemory
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a715
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x20]
and dword [edi], 0
jmp 0x48a777
push str.freememory
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a739
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
jmp 0x48a710
push str.backgroundcolor
push ebx
call esi
pop ecx
test eax, eax
pop ecx
jne 0x48a753
and dword [edi], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x48a777
push ebx
push str.Unrecognized_parameter___s_.
push 0x30
push 0x534e6c
call fcn.0047f4f4
mov eax, dword [ebp + 0x10]
mov dword [edi], 1
add esp, 0x10
and byte [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret