Function at 0x417b91
Capabilities:
Accept command line arguments
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x42ab20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [0x42b8e4], eax
push ebx
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
test eax, eax
je 0x417bda
cmp dword [ebp - 0x88], 2
mov byte [0x42b8e8], 1
je 0x417be0
mov byte [0x42b8e8], bl
call fcn.0041235f
lea ecx, [ebp - 0x198]
call fcn.00409610
lea ecx, [ebp - 0xb4]
call fcn.00409610
lea ecx, [ebp - 0x128]
call fcn.00409610
lea ecx, [ebp - 0x11c]
call fcn.00409610
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00409634
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408e72
push dword [ebp - 0xa8]
call fcn.00409cd9
pop ecx
lea ecx, [ebp - 0x150]
call fcn.00409610
lea eax, [ebp - 0x150]
push eax
call fcn.0040a72e
lea ecx, [ebp - 0xb4]
call fcn.00409a54
lea ecx, [ebp - 0xb4]
call fcn.00409a1d
push 0x423444
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x99], bl
call fcn.00409163
test al, al
je 0x417cc2
mov eax, dword [ebp - 0xb4]
add eax, 4
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x99], 1
call fcn.004096de
lea ecx, [ebp - 0xb4]
call fcn.00409a54
lea ecx, [ebp - 0xb4]
call fcn.00409a1d
lea ecx, [ebp - 0x134]
call fcn.00409311
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x134]
push eax
push str.___InstallEnd__
mov edx, str.___Install__UTF_8_
call fcn.00417926
test al, al
jne 0x417d57
cmp byte [ebp - 0x99], bl
jne 0x417d00
push str.Cant_load_config_info
push ebx
call fcn.0040e694
push dword [ebp - 0x134]
call fcn.00409cd9
push dword [ebp - 0x150]
call fcn.00409cd9
push dword [ebp - 0x11c]
call fcn.00409cd9
push dword [ebp - 0x128]
call fcn.00409cd9
push dword [ebp - 0xb4]
call fcn.00409cd9
push dword [ebp - 0x198]
call fcn.00409cd9
xor eax, eax
add esp, 0x18
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00418d35
leave
ret 0x10
push esi
push edi
push 0x423410
lea ecx, [ebp - 0x174]
call fcn.0040966d
lea ecx, [ebp - 0xe8]
call fcn.00409610
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xf8], 1
cmp dword [ebp - 0x130], ebx
je 0x417fdd
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
call fcn.0040a08a
test al, al
jne 0x417e3f
cmp byte [ebp - 0x99], bl
jne 0x417dcd
push str.Config_failed
push ebx
call fcn.0040e694
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0xd0]
call fcn.0040ec16
push dword [ebp - 0xe8]
call fcn.00409cd9
push dword [ebp - 0x174]
call fcn.00409cd9
push dword [ebp - 0x134]
call fcn.00409cd9
push dword [ebp - 0x150]
call fcn.00409cd9
push dword [ebp - 0x11c]
call fcn.00409cd9
push dword [ebp - 0x128]
call fcn.00409cd9
push dword [ebp - 0xb4]
call fcn.00409cd9
push dword [ebp - 0x198]
call fcn.00409cd9
add esp, 0x20
pop edi
mov eax, ebx
pop esi
jmp 0x417d48
push str.Title
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0040a04e
push str.BeginPrompt
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0040a04e
push 0x4233d4
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.0040a04e
push 0x4233d0
push dword [ebp - 0x180]
call fcn.004091d6
test al, al
je 0x417ea1
mov byte [ebp - 0xf8], bl
push str.Directory
lea eax, [ebp - 0xd0]
push eax
call fcn.0040a019
cmp eax, ebx
jl 0x417ece
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + eax*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x174]
call fcn.00409744
cmp dword [ebp - 0x158], ebx
je 0x417f1d
cmp byte [ebp - 0x99], bl
jne 0x417f1d
push 0x24
push dword [ebp - 0x18c]
push dword [ebp - 0x15c]
push ebx
call edi
cmp eax, 6
je 0x417f1d
push dword [ebp - 0x180]
call fcn.00409cd9
push dword [ebp - 0x15c]
call fcn.00409cd9
push dword [ebp - 0x18c]
call fcn.00409cd9
add esp, 0xc
jmp 0x417dd0
push str.RunProgram
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040a04e
push eax
lea ecx, [ebp - 0xe8]
call fcn.00409744
push dword [ebp - 0xa8]
call fcn.00409cd9
mov dword [esp], str.ExecuteFile
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040a04e
push eax
lea ecx, [ebp - 0x128]
call fcn.00409744
push dword [ebp - 0xa8]
call fcn.00409cd9
mov dword [esp], str.ExecuteParameters
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040a04e
push eax
lea ecx, [ebp - 0x11c]
call fcn.00409744
push dword [ebp - 0xa8]
call fcn.00409cd9
push dword [ebp - 0x180]
call fcn.00409cd9
push dword [ebp - 0x15c]
call fcn.00409cd9
push dword [ebp - 0x18c]
call fcn.00409cd9
add esp, 0x10
lea ecx, [ebp - 0xd0]
call fcn.0040ec16
lea ecx, [ebp - 0xc0]
mov byte [ebp - 0xc4], bl
call fcn.00409610
push 0x423088
lea ecx, [ebp - 0xc4]
call fcn.0040b1fa
test al, al
jne 0x418034
cmp byte [ebp - 0x99], bl
jne 0x418015
push str.Can_not_create_temp_folder_archive
push ebx
call fcn.0040e694
lea ecx, [ebp - 0xc4]
call fcn.0040b1d5
push dword [ebp - 0xc0]
call fcn.00409cd9
xor ebx, ebx
pop ecx
inc ebx
jmp 0x417ddb
push 0x18
call fcn.00409cae
pop ecx
cmp eax, ebx
je 0x41805a
mov dword [eax + 4], ebx
mov dword [eax], vtable.CCodecs.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax + 0x14], bx
mov esi, eax
jmp 0x41805c
xor esi, esi
cmp esi, ebx
je 0x418066
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
call fcn.0040efbb
test eax, eax
je 0x418088
push str.Can_not_load_codecs
push ebx
call fcn.0040e694
cmp esi, ebx
je 0x418015
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x418015
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xf4]
call fcn.004096b0
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x9a], bl
call fcn.00409610
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x9a]
push eax
push dword [ebp - 0xf8]
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x150]
push eax
push esi
call fcn.004176b3
cmp eax, ebx
je 0x41817b
cmp byte [ebp - 0x99], bl
jne 0x41815e
cmp eax, 1
je 0x4180f0
cmp byte [ebp - 0x9a], bl
je 0x418103
lea eax, [ebp - 0x110]
push eax
push 8
call fcn.0040ca9e
mov eax, 0x80004005
cmp eax, 0x80004004
je 0x41815e
cmp dword [ebp - 0x10c], ebx
jne 0x418137
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040a882
push eax
lea ecx, [ebp - 0x110]
call fcn.00409744
push dword [ebp - 0xa8]
call fcn.00409cd9
pop ecx
push 7
lea eax, [ebp - 0xa8]
push eax
call fcn.0040c939
push 0x10
push dword [eax]
push dword [ebp - 0x110]
push ebx
call edi
push dword [ebp - 0xa8]
call fcn.00409cd9
pop ecx
push dword [ebp - 0x110]
call fcn.00409cd9
push dword [ebp - 0xf4]
call fcn.00409cd9
pop ecx
pop ecx
jmp 0x41807c
push dword [ebp - 0x110]
call fcn.00409cd9
pop ecx
lea ecx, [ebp - 0x144]
call fcn.00409610
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 0x138], 1
call fcn.0040ab45
push dword [ebp - 0xf4]
call fcn.0040aafb
test al, al
jne 0x4181cc
lea ecx, [ebp - 0x144]
call fcn.0041785f
push dword [ebp - 0xf4]
call fcn.00409cd9
jmp 0x418175
cmp dword [ebp - 0x124], ebx
je 0x418316
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00417843
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1d4], 0x3c
mov dword [ebp - 0x1d0], 0x140
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0xb0], ebx
je 0x41823c
lea ecx, [ebp - 0x11c]
call fcn.00409bfd
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040990f
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00417843
mov eax, dword [ebp - 0x100]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x104]
xor edi, edi
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1d4]
inc edi
push eax
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x19c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x1b4], 0x20
ja 0x4182fa
cmp byte [ebp - 0x99], bl
jne 0x4182a3
push str.Can_not_open_file
push ebx
call fcn.0040e694
push dword [ebp - 0x104]
call fcn.00409cd9
push dword [ebp - 0xdc]
call fcn.00409cd9
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
call fcn.0041785f
push dword [ebp - 0xf4]
call fcn.00409cd9
pop ecx
cmp esi, ebx
je 0x4182dc
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xc4]
call fcn.0040b1d5
push dword [ebp - 0xc0]
call fcn.00409cd9
pop ecx
mov ebx, edi
jmp 0x417ddb
push dword [ebp - 0x104]
mov edi, dword [ebp - 0x19c]
call fcn.00409cd9
push dword [ebp - 0xdc]
jmp 0x418501
cmp dword [ebp - 0xe4], ebx
jne 0x418359
push str.setup.exe
lea ecx, [ebp - 0xe8]
call fcn.004096de
push dword [ebp - 0xe8]
call fcn.0040baf7
test al, al
jne 0x418359
cmp byte [ebp - 0x99], bl
jne 0x4181b4
push str.Can_not_find_setup.exe
push ebx
call fcn.0040e694
jmp 0x4181b4
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004096b0
lea eax, [ebp - 0xdc]
push eax
call fcn.0040bf14
push str.__T_
lea ecx, [ebp - 0x104]
call fcn.00409634
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00409c45
push dword [ebp - 0x104]
call fcn.00409cd9
push dword [ebp - 0xdc]
call fcn.00409cd9
pop ecx
pop ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004096b0
push 0x4232ac
lea ecx, [ebp - 0xdc]
call fcn.00409634
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00409c45
push dword [ebp - 0xdc]
call fcn.00409cd9
pop ecx
cmp dword [ebp - 0xb0], ebx
je 0x418424
lea ecx, [ebp - 0xe8]
call fcn.00409bf5
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040990f
xor eax, eax
mov word [ebp - 0x1f6], ax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0x228], 0x44
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0x1f4], ebx
call fcn.004095b6
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00417843
push dword [ebp - 0xdc]
call fcn.00409cd9
pop ecx
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x168]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4184de
cmp byte [ebp - 0x99], bl
jne 0x4184c1
lea eax, [ebp - 0xa8]
push eax
call fcn.004178bf
push dword [ebp - 0x168]
call fcn.00409cd9
push dword [ebp - 0xa8]
call fcn.00409cd9
pop ecx
pop ecx
jmp 0x4181b4
push dword [ebp - 0x1e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x168]
mov edi, dword [ebp - 0x1e4]
call fcn.00409cd9
push dword [ebp - 0xa8]
call fcn.00409cd9
pop ecx
pop ecx
cmp edi, ebx
je 0x41851c
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x144]
call fcn.0041785f
push dword [ebp - 0xf4]
call fcn.00409cd9
pop ecx
cmp esi, ebx
je 0x41853d
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xc4]
call fcn.0040b1d5
push dword [ebp - 0xc0]
call fcn.00409cd9
pop ecx
jmp 0x417ddb