Function at 0x100083f6
Capabilities:
Accept command line arguments
Get common file path
Get hostname
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x21c]
sub esp, 0x29c
mov eax, dword [0x100310fc]
xor eax, ebp
mov dword [ebp + 0x218], eax
mov eax, dword [ebp + 0x228]
push ebx
push esi
mov esi, dword [ebp + 0x224]
xor ebx, ebx
push edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], eax
cmp byte [0x10032e08], bl
je 0x10008457
push str.Application:
mov ecx, esi
call fcn.10004772
push 0x10032e08
mov ecx, esi
call fcn.1000e52a
mov edi, 0x10029410
push edi
mov ecx, esi
call fcn.10004772
jmp 0x1000845c
mov edi, 0x10029410
cmp byte [0x10032f10], bl
je 0x10008484
push str.Version:
mov ecx, esi
call fcn.10004772
push 0x10032f10
mov ecx, esi
call fcn.1000e52a
push edi
mov ecx, esi
call fcn.10004772
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x208]
push eax
mov dword [ebp - 0x54], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100084c2
push str.Computer:
mov ecx, esi
call fcn.10004772
lea eax, [ebp + 0x208]
push eax
mov ecx, esi
call fcn.1000e52a
push edi
mov ecx, esi
call fcn.10004772
push 1
push 0x400
lea ecx, [ebp - 0x80]
call fcn.1000129a
lea eax, [ebp - 0x80]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov ecx, eax
mov eax, dword [ebp - 0x78]
push ebx
call dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.10005bc8
pop ecx
cmp dword [ebp - 0x70], ebx
je 0x1000851d
push ebx
push ebx
lea ecx, [ebp - 0x5c]
call fcn.1001185e
push str.IP_Address:
mov ecx, esi
call fcn.10004772
mov ecx, dword [esi + 4]
push dword [ebp - 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x10]
push edi
mov ecx, esi
call fcn.10004772
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x54], 0x101
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10008555
push str.User:
mov ecx, esi
call fcn.10004772
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.1000e52a
push edi
mov ecx, esi
call fcn.10004772
mov ecx, dword [ebp - 0x44]
push 0x40
lea eax, [ebp + 0x1c8]
push eax
call fcn.10005cd3
push str.Date:
mov ecx, esi
call fcn.10004772
lea eax, [ebp + 0x1c8]
push eax
mov ecx, esi
call fcn.1000e52a
mov eax, dword [ebp - 0x44]
mov edi, str._________________________________________r_n
cmp dword [eax + 0xc], ebx
je 0x100085aa
push str._r_n_r_nError_Reason:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
mov ecx, dword [ebp - 0x44]
push esi
call fcn.10007503
mov eax, dword [0x100310a4]
cmp dword [eax + 4], ebx
je 0x100085d8
push str._r_n_r_nUser_Message:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
mov eax, dword [0x100310a4]
add eax, 8
push eax
mov ecx, esi
call fcn.1000e52a
mov ecx, dword [ebp - 0x48]
cmp ecx, ebx
je 0x100085e4
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x4c]
push eax
call fcn.10007052
cmp dword [ebp - 0x70], ebx
je 0x1000861e
push ebx
push ebx
lea ecx, [ebp - 0x5c]
call fcn.1001185e
push str._r_n_r_nSystem_Error:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
mov ecx, dword [esi + 4]
push dword [ebp - 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x48]
cmp ecx, ebx
je 0x1000862a
mov eax, dword [ecx]
push ebx
call dword [eax]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x4c]
push eax
call fcn.100071f3
cmp dword [ebp - 0x70], ebx
je 0x10008664
push ebx
push ebx
lea ecx, [ebp - 0x5c]
call fcn.1001185e
push str._r_n_r_nCOM_Error:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
mov ecx, dword [esi + 4]
push dword [ebp - 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0xc], ebx
je 0x10008689
push str._r_n_r_nRegisters:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
mov ecx, dword [ebp - 0x44]
push esi
call fcn.10004ed1
push str._r_n_r_nCPU:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
push esi
call fcn.10005214
mov ecx, esi
mov dword [esp], str._r_n_r_nOperating_System:_r_n
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
push esi
call fcn.100053fb
mov ecx, esi
mov dword [esp], str._r_n_r_nMemory_Usage:_r_n
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
push esi
call fcn.100054ee
mov ecx, esi
mov dword [esp], 0x10029410
call fcn.10004772
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0xc], ebx
je 0x10008707
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x44]
push str.Interrupted_Thread
push ebx
push eax
push esi
call fcn.10008281
cmp dword [ebp - 0x50], ebx
je 0x10008718
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
push esi
call fcn.1000832e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str.Command_Line:_r_n
mov ecx, esi
mov dword [ebp - 0x58], eax
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
push dword [ebp - 0x58]
mov ecx, esi
call fcn.1000e52a
lea eax, [ebp + 0xc4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jbe 0x10008777
push str._r_n_r_nCurrent_Directory:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
lea eax, [ebp + 0xc4]
push eax
mov ecx, esi
call fcn.1000e52a
push str._r_n_r_nEnvironment_Variables:_r_n
mov ecx, esi
call fcn.10004772
push edi
mov ecx, esi
call fcn.10004772
push esi
call fcn.10005a0e
pop ecx
cmp dword [ebp - 0x50], ebx
je 0x100087a3
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
push esi
call fcn.10007a15
lea ecx, [ebp - 0x5c]
call fcn.1000121a
mov ecx, dword [ebp + 0x218]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100162d3
add ebp, 0x21c
leave
ret 8