Function at 0x405fca
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4428cc
call fcn.00441730
sub esp, 0x5c
push ebx
push esi
call fcn.00406270
mov byte [0x45c45c], al
call fcn.00440da0
call fcn.0040adf1
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, str.comctl32.dll
call fcn.0040646c
cmp eax, 0x40047
mov dword [0x45c434], eax
sbb al, al
mov ecx, 0xc8
inc al
mov edx, ecx
mov byte [0x45a20c], al
call fcn.0042f0a3
neg al
sbb al, al
xor ebx, ebx
inc al
push ebx
mov byte [0x45c45f], al
call dword [sym.imp.ole32.dll_OleInitialize]
push 3
lea ecx, [ebp - 0x34]
pop esi
mov dword [ebp - 0x34], ebx
push esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00403337
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.00403337
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402fca
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0041f726
push dword [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00428622
pop ecx
lea ecx, [ebp - 0x34]
call fcn.004071ea
lea ecx, [ebp - 0x34]
call fcn.004071af
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.00403337
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00403337
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.0041f726
lea ecx, [ebp - 0x28]
call fcn.004071ea
lea ecx, [ebp - 0x28]
call fcn.004071af
lea ecx, [ebp - 0x1c]
call fcn.004071ea
lea ecx, [ebp - 0x1c]
call fcn.004071af
lea eax, [ebp - 0x4c]
push 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.004031c9
mov ecx, dword [eax]
mov edx, 0x45a2d0
mov byte [ebp - 4], 5
call fcn.0042837a
push dword [ebp - 0x4c]
cmp eax, ebx
sete byte [ebp - 0xd]
mov byte [ebp - 4], 4
call fcn.00428622
cmp byte [ebp - 0xd], bl
pop ecx
je 0x406158
lea eax, [ebp - 0x4c]
push 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405257
push eax
mov ecx, 0x45c438
mov byte [ebp - 4], 6
call fcn.004030cd
push dword [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00428622
pop ecx
cmp dword [ebp - 0x24], ebx
je 0x40616b
lea eax, [ebp - 0x28]
mov ecx, 0x45c448
push eax
call fcn.004030cd
call fcn.004064d2
mov ecx, dword [ebp + 8]
call fcn.004062a6
test eax, eax
je 0x40623b
cmp byte [0x45c45c], bl
push edi
push 0x48
push dword [0x45c458]
je 0x4061de
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call esi
test eax, eax
je 0x40622b
lea eax, [ebp - 0x68]
push eax
push edi
push dword [0x45c454]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4061d5
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
jmp 0x4061a6
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, eax
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call esi
test eax, eax
je 0x40622b
lea eax, [ebp - 0x68]
push eax
push edi
push dword [0x45c454]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x406222
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
jmp 0x4061f3
mov dword [0x45c454], ebx
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ebx, dword [ebp - 0x60]
pop edi
push dword [ebp - 0x1c]
call fcn.00428622
push dword [ebp - 0x28]
call fcn.00428622
push dword [ebp - 0x40]
call fcn.00428622
push dword [ebp - 0x34]
call fcn.00428622
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov eax, ebx
mov dword fs:[0], ecx
pop esi
pop ebx
leave
ret 4