Function at 0x45c7ec
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push 0x3fc
mov eax, 0x47b26b
call fcn.00461c59
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0x398], eax
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x138], 0x94
call esi
xor ebx, ebx
test eax, eax
je 0x45c833
cmp dword [ebp - 0x128], 2
mov byte [0x4a139c], 1
je 0x45c839
mov byte [0x4a139c], bl
call fcn.00414433
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 0x3c8], ebx
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3c0], 4
mov dword [ebp - method.CObjectVector_class_CStringBase_wchar_t__.virtual_0], vtable.CObjectVector_class_CStringBase_wchar_t__.0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], ebx
call edi
push eax
lea ecx, [ebp - 0x394]
call fcn.0040d236
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x394]
push eax
mov byte [ebp - 4], 1
call fcn.0044b879
push dword [ebp - 0x394]
mov byte [ebp - 4], bl
call fcn.0044c2e3
pop ecx
call fcn.0045c682
cmp dword [ebp - 0x3c8], ebx
jle 0x45c8c2
push 1
push ebx
lea ecx, [ebp - 0x3d0]
call fcn.004180c7
lea eax, [ebp - 0xa4]
push eax
mov byte [0x4a1390], 1
mov byte [0x4a138f], bl
mov dword [ebp - 0xa4], 0x94
call esi
test eax, eax
je 0x45c8fc
cmp dword [ebp - 0xa0], 5
jae 0x45c8fc
mov byte [0x4a138f], 1
mov byte [0x4a1390], bl
cmp dword [ebp - 0x3c8], ebx
je 0x45c90a
mov byte [0x4a138f], bl
push str._uninstall
lea ecx, [ebp - 0x388]
mov byte [0x4a138e], bl
call fcn.0040d236
mov byte [ebp - 4], 2
call edi
push eax
lea ecx, [ebp - 0x37c]
call fcn.0040d236
mov esi, 0x47fb58
push esi
lea ecx, [ebp - 0x394]
mov byte [ebp - 4], 3
call fcn.0040d236
push ebx
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x37c]
call fcn.0040cee6
push dword [ebp - 0x394]
mov dword [ebp - 0x364], eax
call fcn.0044c2e3
pop ecx
cmp dword [ebp - 0x364], ebx
jl 0x45c9fa
mov eax, dword [ebp - 0x378]
sub eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x37c]
dec eax
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.004180a0
lea eax, [ebp - 0x370]
push eax
push esi
lea eax, [ebp - 0x3b0]
push eax
mov byte [ebp - 4], 4
call fcn.0040d586
push eax
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 5
call fcn.0040d2a6
push dword [ebp - 0x3b0]
mov byte [ebp - 4], 4
call fcn.0044c2e3
pop ecx
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.00411e74
test al, al
je 0x45c9ee
mov byte [0x4a138e], 1
push dword [ebp - 0x370]
call fcn.0044c2e3
pop ecx
push dword [ebp - 0x37c]
call fcn.0044c2e3
push dword [ebp - 0x388]
mov byte [ebp - 4], bl
call fcn.0044c2e3
pop ecx
pop ecx
push str._AddShellExt
lea ecx, [ebp - 0x394]
mov byte [0x4a138d], bl
call fcn.0040d236
mov byte [ebp - 4], 6
call edi
push eax
lea ecx, [ebp - 0x370]
call fcn.0040d236
push esi
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 7
call fcn.0040d236
push ebx
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x370]
call fcn.0040cee6
push dword [ebp - 0x388]
mov dword [ebp - 0x364], eax
call fcn.0044c2e3
pop ecx
cmp dword [ebp - 0x364], ebx
jl 0x45cb00
mov eax, dword [ebp - 0x36c]
sub eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x370]
dec eax
push eax
lea eax, [ebp - 0x37c]
push eax
call fcn.004180a0
lea eax, [ebp - 0x37c]
push eax
push esi
lea eax, [ebp - 0x3b0]
push eax
mov byte [ebp - 4], 8
call fcn.0040d586
push eax
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 9
call fcn.0040d2a6
push dword [ebp - 0x3b0]
mov byte [ebp - 4], 8
call fcn.0044c2e3
pop ecx
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x37c]
push eax
call fcn.00411e74
test al, al
je 0x45caf4
mov byte [0x4a138d], 1
push dword [ebp - 0x37c]
call fcn.0044c2e3
pop ecx
push dword [ebp - 0x370]
call fcn.0044c2e3
push dword [ebp - 0x394]
mov byte [ebp - 4], bl
call fcn.0044c2e3
pop ecx
pop ecx
push str._mini
lea ecx, [ebp - 0x394]
mov byte [0x4a138c], bl
call fcn.0040d236
mov byte [ebp - 4], 0xa
call edi
push eax
lea ecx, [ebp - 0x370]
call fcn.0040d236
push esi
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0xb
call fcn.0040d236
push ebx
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x370]
call fcn.0040cee6
push dword [ebp - 0x388]
mov dword [ebp - 0x364], eax
call fcn.0044c2e3
pop ecx
cmp dword [ebp - 0x364], ebx
jl 0x45cc0d
mov eax, dword [ebp - 0x36c]
sub eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x370]
dec eax
push eax
lea eax, [ebp - 0x37c]
push eax
call fcn.004180a0
lea eax, [ebp - 0x37c]
push eax
push esi
lea eax, [ebp - 0x3b0]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040d586
push eax
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0xd
call fcn.0040d2a6
push dword [ebp - 0x3b0]
mov byte [ebp - 4], 0xc
call fcn.0044c2e3
pop ecx
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x37c]
push eax
call fcn.00411e74
test al, al
je 0x45cc01
mov byte [0x4a138c], 1
mov byte [0x4a138d], 1
push dword [ebp - 0x37c]
call fcn.0044c2e3
pop ecx
push dword [ebp - 0x370]
call fcn.0044c2e3
push dword [ebp - 0x394]
mov byte [ebp - 4], bl
call fcn.0044c2e3
pop ecx
pop ecx
push str.comctl32.dll
call fcn.0045bbe5
cmp eax, 0x40047
mov dword [0x4a1384], eax
sbb al, al
inc al
mov byte [0x49d9c4], al
mov eax, 0xc8
push eax
push eax
call fcn.004381b8
neg al
sbb al, al
inc al
push ebx
mov byte [0x4a139f], al
call dword [sym.imp.ole32.dll_OleInitialize]
push 3
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 0x3bc], ebx
mov dword [ebp - 0x3b8], ebx
mov dword [ebp - 0x3b4], ebx
call fcn.0040ce36
push 3
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x3e8], ebx
mov dword [ebp - 0x3e4], ebx
mov dword [ebp - 0x3e0], ebx
call fcn.0040ce36
mov byte [ebp - 4], 0xf
call edi
push eax
lea ecx, [ebp - 0x388]
call fcn.0040d236
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x388]
push eax
mov byte [ebp - 4], 0x10
call fcn.0044b7e3
push dword [ebp - 0x388]
mov byte [ebp - 4], 0xf
call fcn.0044c2e3
pop ecx
lea ecx, [ebp - 0x3bc]
call fcn.0040fc12
lea ecx, [ebp - 0x3bc]
call fcn.0040fbec
push 3
lea ecx, [ebp - 0x3a4]
mov dword [ebp - 0x3a4], ebx
mov dword [ebp - 0x3a0], ebx
mov dword [ebp - 0x39c], ebx
call fcn.0040ce36
push 3
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x3dc], ebx
mov dword [ebp - 0x3d8], ebx
mov dword [ebp - 0x3d4], ebx
call fcn.0040ce36
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3a4]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.0044b7e3
lea ecx, [ebp - 0x3a4]
call fcn.0040fc12
lea ecx, [ebp - 0x3a4]
call fcn.0040fbec
cmp dword [ebp - 0x3a0], ebx
je 0x45cd8a
lea eax, [ebp - 0x3a4]
push eax
mov ecx, 0x4a13ac
call fcn.0040d2a6
call fcn.0045bcc5
push 0x5c
mov ecx, 0x4a13c4
call fcn.0040e6d3
test eax, eax
js 0x45cf5d
cmp dword [0x4a13bc], ebx
jne 0x45cdb3
cmp dword [0x4a13c8], ebx
je 0x45ce0e
lea ecx, [ebp - 0x360]
call fcn.004430b3
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x364], esp
push 0x4a13b8
mov byte [ebp - 4], 0x13
call fcn.0040d273
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x408], esp
push 0x4a13c4
mov byte [ebp - 4], 0x14
call fcn.0040d273
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x13
call fcn.00423ee7
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0x12
call fcn.0041c461
push 3
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x370], ebx
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x368], ebx
call fcn.0040ce36
push 3
lea ecx, [ebp - 0x394]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x394], ebx
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x38c], ebx
call fcn.0040ce36
push 0x482734
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x16
call fcn.0040d236
mov byte [ebp - 4], 0x17
call edi
push eax
lea ecx, [ebp - 0x370]
call fcn.0040e692
push esi
lea ecx, [ebp - 0x388]
call fcn.0040d236
push ebx
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x370]
call fcn.0040cee6
push dword [ebp - 0x388]
mov edi, eax
call fcn.0044c2e3
pop ecx
cmp edi, ebx
jl 0x45cf33
mov eax, dword [ebp - 0x36c]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x370]
call fcn.004180a0
lea eax, [ebp - 0x37c]
push eax
push esi
lea eax, [ebp - 0x388]
push eax
mov byte [ebp - 4], 0x18
call fcn.0040d586
push eax
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x19
call fcn.0040d2a6
push dword [ebp - 0x388]
mov byte [ebp - 4], 0x18
call fcn.0044c2e3
pop ecx
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x37c]
push eax
call fcn.00411e74
test al, al
je 0x45cf27
push dword [0x4a1398]
push dword [0x4a1394]
call fcn.00442478
push dword [ebp - 0x37c]
call fcn.0044c2e3
pop ecx
push 0xd1
push dword [ebp - 0x398]
cmp byte [0x4a139c], bl
je 0x45d001
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
jmp 0x45cfef
push dword [ebp + 0x14]
push dword [ebp - 0x398]
call fcn.0045c48c
test eax, eax
jne 0x45ce0e
xor esi, esi
push dword [ebp - 0x3dc]
call fcn.0044c2e3
push dword [ebp - 0x3a4]
call fcn.0044c2e3
push dword [ebp - 0x3e8]
call fcn.0044c2e3
push dword [ebp - 0x3bc]
call fcn.0044c2e3
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x3d0]
call fcn.0040d3a9
mov eax, esi
call fcn.00461cdc
ret 0x10
lea eax, [ebp - 0x404]
push eax
push edi
push dword [0x4a1394]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x45cfef
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x404]
push eax
call esi
test eax, eax
jne 0x45cfbd
jmp 0x45d053
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, eax
jmp 0x45d043
lea eax, [ebp - 0x404]
push eax
push edi
push dword [0x4a1394]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x45d043
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x404]
push eax
call esi
test eax, eax
jne 0x45d011
mov dword [0x4a1394], ebx
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [ebp - 0x3b0]
mov esi, dword [ebp - 0x3fc]
call fcn.0044c2e3
push dword [ebp - 0x394]
call fcn.0044c2e3
push dword [ebp - 0x370]
call fcn.0044c2e3
add esp, 0xc
jmp 0x45cf75