Function at 0x4163b0
Capabilities:
Accept command line arguments
Get memory capacity

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffecc
mov ebx, 0x4197c0
mov esi, 0x4188e0
push 0x416698
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4177b8], eax
cmp dword [0x4177b8], 0
jne 0x4163ea
call fcn.0040df6c
push 0xff
call sub.user32.dll_PostQuitMessage
mov eax, 0x4166a8
mov edx, 0x100080
call fcn.0040dbc8
mov dword [0x418994], eax
cmp dword [0x418994], 0
jne 0x416416
push 8
push 0x19
mov eax, dword [0x418954]
push eax
call sub.user32.dll_CheckMenuItem
mov eax, 0x4166ac
xor edx, edx
call fcn.0040dbc8
test eax, eax
setne byte [0x418998]
mov al, byte [0x418998]
mov byte [0x418999], al
mov eax, esi
xor ecx, ecx
mov edx, 0x58
call fcn.00402d8c
mov dword [esi], 0x58
mov eax, dword [0x4188d4]
mov dword [esi + 4], eax
mov eax, 0x4166b0
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x104
mov dword [esi + 0x44], 0x410178
mov eax, dword [0x4172a4]
push eax
push 0x418af4
call sub.kernel32.dll_lstrcpyA
push 0x9c4
push 0x9c4
push 0x9c4
push 0x9c4
push 0x418938
call sub.user32.dll_SetRect
mov dword [esp + 0xc], 0x20
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x14]
shr eax, 1
or eax, 0xfffff
mov dword [0x418984], eax
push 0x416808
push 0x416820
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
mov esi, edi
test edi, edi
je 0x4164fc
mov dword [esp + 4], 8
mov dword [esp + 8], 4
lea eax, [esp + 4]
push eax
call esi
mov dword [esp + 8], 0x10
lea eax, [esp + 4]
push eax
call esi
jmp 0x416501
call sub.comctl32.dll_InitCommonControls
mov eax, 0x416830
mov edx, 1
call fcn.0040dbc8
test eax, eax
je 0x416519
call fcn.0040e954
mov dword [ebx], 0x40bc1c
mov dword [ebx + 4], 0x40bc3c
mov dword [ebx + 8], 0x40bc48
mov dword [ebx + 0xc], 0x40bc54
mov dword [ebx + 0x10], 0x40bc60
mov dword [ebx + 0x14], 0x40bc6c
mov dword [ebx + 0x18], 0x40bc78
mov dword [ebx + 0x1c], 0x40bc84
mov dword [ebx + 0x20], 0x40e934
mov dword [ebx + 0x24], 0x40bc90
mov dword [ebx + 0x28], 0x40bc9c
mov dword [ebx + 0x2c], 0x40bcbc
mov dword [ebx + 0x30], 0x40bcc8
mov dword [0x4197bc], ebx
call fcn.0040ebb8
mov eax, 0x416834
xor edx, edx
call fcn.0040dbc8
test eax, eax
setne byte [0x4189e8]
mov eax, 0x416838
mov edx, 1
call fcn.0040dbc8
test eax, eax
je 0x4165ab
call fcn.0040ea3c
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
cmp byte [ebx], 0x22
jne 0x4165c8
inc ebx
jmp 0x4165bb
inc ebx
mov al, byte [ebx]
test al, al
je 0x4165d5
cmp al, 0x22
jne 0x4165ba
jmp 0x4165d5
inc ebx
mov al, byte [ebx]
test al, al
je 0x4165d5
cmp al, 0x20
jne 0x4165c7
jmp 0x4165d5
inc ebx
mov al, byte [ebx]
cmp al, 0x22
je 0x4165d4
cmp al, 0x20
je 0x4165d4
mov dword [esp], ebx
mov edx, dword [esp]
cmp byte [edx], 0x2f
jne 0x41662c
mov eax, dword [esp]
mov al, byte [eax + 1]
cmp al, 0x70
je 0x4165fb
cmp al, 0x50
jne 0x41662c
jmp 0x4165fb
inc ebx
mov al, byte [ebx]
test al, al
je 0x416608
cmp al, 0x20
jne 0x4165fa
jmp 0x416608
inc ebx
mov al, byte [ebx]
cmp al, 0x22
je 0x416607
cmp al, 0x20
je 0x416607
mov dword [esp], ebx
push 0
push 0xf
push 0x111
mov eax, dword [0x4188d4]
push eax
call sub.user32.dll_PostMessageA
jmp 0x41662c
inc ebx
mov al, byte [ebx]
test al, al
je 0x416636
cmp al, 0x22
jne 0x41662b
mov byte [ebx], 0
push esp
lea eax, [esp + 0x30]
push eax
push 0x104
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_GetFullPathNameA
lea eax, [esp + 0x2c]
call fcn.0040fb38
xor eax, eax
mov dword [0x418948], eax
push 0x1000
push 0
push 0
push 0
push 0x78
push 0x416820
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.user32.dll_LoadImageA
mov dword [0x41894c], eax
mov edx, 0x418950
xor eax, eax
call fcn.0040e9c4
add esp, 0x134
pop edi
pop esi
pop ebx
ret