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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x43e160]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [0x4413ec], 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 0x429846
cmp dword [ebp - 0x88], 2
mov byte [0x4413f0], 1
je 0x42984c
mov byte [0x4413f0], bl
call fcn.004230cb
test al, al
jne 0x429866
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042ac2b
leave
ret 0x10
call fcn.00402b35
lea ecx, [ebp - 0x198]
call fcn.00407f69
lea ecx, [ebp - 0xb4]
call fcn.00407f69
lea ecx, [ebp - 0x128]
call fcn.00407f69
lea ecx, [ebp - 0x11c]
call fcn.00407f69
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00407f8d
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00407734
push dword [ebp - 0xa8]
call fcn.0042b07f
pop ecx
lea ecx, [ebp - 0x150]
call fcn.00407f69
lea eax, [ebp - 0x150]
push eax
call fcn.00409221
lea ecx, [ebp - 0xb4]
call fcn.004083a4
lea ecx, [ebp - 0xb4]
call fcn.0040836d
push 0x438a58
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x99], bl
call fcn.004079fb
test al, al
je 0x429948
mov eax, dword [ebp - 0xb4]
add eax, 4
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x99], 1
call fcn.00408037
lea ecx, [ebp - 0xb4]
call fcn.004083a4
lea ecx, [ebp - 0xb4]
call fcn.0040836d
lea ecx, [ebp - 0x134]
call fcn.00407c1c
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x134]
push eax
push str.___InstallEnd__
mov edx, str.___Install__UTF_8_
call fcn.0041ab00
test al, al
jne 0x4299d3
cmp byte [ebp - 0x99], bl
jne 0x429986
push str.Cant_load_config_info
push ebx
call fcn.00419096
push dword [ebp - 0x134]
call fcn.0042b07f
push dword [ebp - 0x150]
call fcn.0042b07f
push dword [ebp - 0x11c]
call fcn.0042b07f
push dword [ebp - 0x128]
call fcn.0042b07f
push dword [ebp - 0xb4]
call fcn.0042b07f
push dword [ebp - 0x198]
call fcn.0042b07f
xor eax, eax
add esp, 0x18
inc eax
jmp 0x429857
push esi
push edi
push 0x438a24
lea ecx, [ebp - 0x174]
call fcn.00407fc6
lea ecx, [ebp - 0xe8]
call fcn.00407f69
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xf8], 1
cmp dword [ebp - 0x130], ebx
je 0x429c59
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.00408a76
test al, al
jne 0x429abb
cmp byte [ebp - 0x99], bl
jne 0x429a49
push str.Config_failed
push ebx
call fcn.00419096
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0xd0]
call fcn.0041ae18
push dword [ebp - 0xe8]
call fcn.0042b07f
push dword [ebp - 0x174]
call fcn.0042b07f
push dword [ebp - 0x134]
call fcn.0042b07f
push dword [ebp - 0x150]
call fcn.0042b07f
push dword [ebp - 0x11c]
call fcn.0042b07f
push dword [ebp - 0x128]
call fcn.0042b07f
push dword [ebp - 0xb4]
call fcn.0042b07f
push dword [ebp - 0x198]
call fcn.0042b07f
add esp, 0x20
pop edi
mov eax, ebx
pop esi
jmp 0x429857
push str.Title
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00408a3a
push str.BeginPrompt
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00408a3a
push 0x4389e8
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.00408a3a
push 0x4389e4
push dword [ebp - 0x180]
call fcn.00407a6e
test al, al
je 0x429b1d
mov byte [ebp - 0xf8], bl
push str.Directory
lea eax, [ebp - 0xd0]
push eax
call fcn.00408a05
cmp eax, ebx
jl 0x429b4a
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + eax*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x174]
call fcn.0040809d
cmp dword [ebp - 0x158], ebx
je 0x429b99
cmp byte [ebp - 0x99], bl
jne 0x429b99
push 0x24
push dword [ebp - 0x18c]
push dword [ebp - 0x15c]
push ebx
call edi
cmp eax, 6
je 0x429b99
push dword [ebp - 0x180]
call fcn.0042b07f
push dword [ebp - 0x15c]
call fcn.0042b07f
push dword [ebp - 0x18c]
call fcn.0042b07f
add esp, 0xc
jmp 0x429a4c
push str.RunProgram
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408a3a
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040809d
push dword [ebp - 0xa8]
call fcn.0042b07f
mov dword [esp], str.ExecuteFile
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408a3a
push eax
lea ecx, [ebp - 0x128]
call fcn.0040809d
push dword [ebp - 0xa8]
call fcn.0042b07f
mov dword [esp], str.ExecuteParameters
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408a3a
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040809d
push dword [ebp - 0xa8]
call fcn.0042b07f
push dword [ebp - 0x180]
call fcn.0042b07f
push dword [ebp - 0x15c]
call fcn.0042b07f
push dword [ebp - 0x18c]
call fcn.0042b07f
add esp, 0x10
lea ecx, [ebp - 0xd0]
call fcn.0041ae18
lea ecx, [ebp - 0xc0]
mov byte [ebp - 0xc4], bl
call fcn.00407f69
push 0x438074
lea ecx, [ebp - 0xc4]
call fcn.00409e09
test al, al
jne 0x429cb0
cmp byte [ebp - 0x99], bl
jne 0x429c91
push str.Cannot_create_temp_folder_archive
push ebx
call fcn.00419096
lea ecx, [ebp - 0xc4]
call fcn.00409de4
push dword [ebp - 0xc0]
call fcn.0042b07f
xor ebx, ebx
pop ecx
inc ebx
jmp 0x429a57
push 0x18
call fcn.0042b13d
pop ecx
cmp eax, ebx
je 0x429cd6
mov dword [eax + 4], ebx
mov dword [eax], 0x438474
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax + 0x14], bx
mov esi, eax
jmp 0x429cd8
xor esi, esi
cmp esi, ebx
je 0x429ce2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
call fcn.0041705a
test eax, eax
je 0x429d04
push str.Cannot_load_codecs
push ebx
call fcn.00419096
cmp esi, ebx
je 0x429c91
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x429c91
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00408009
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x9a], bl
call fcn.00407f69
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.0041a316
cmp eax, ebx
je 0x429df7
cmp byte [ebp - 0x99], bl
jne 0x429dda
cmp eax, 1
je 0x429d6c
cmp byte [ebp - 0x9a], bl
je 0x429d7f
lea eax, [ebp - 0x110]
push eax
push 8
call fcn.0040b85f
mov eax, 0x80004005
cmp eax, 0x80004004
je 0x429dda
cmp dword [ebp - 0x10c], ebx
jne 0x429db3
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041a4fe
push eax
lea ecx, [ebp - 0x110]
call fcn.0040809d
push dword [ebp - 0xa8]
call fcn.0042b07f
pop ecx
push 7
lea eax, [ebp - 0xa8]
push eax
call fcn.0040b6fa
push 0x10
push dword [eax]
push dword [ebp - 0x110]
push ebx
call edi
push dword [ebp - 0xa8]
call fcn.0042b07f
pop ecx
push dword [ebp - 0x110]
call fcn.0042b07f
push dword [ebp - 0xf4]
call fcn.0042b07f
pop ecx
pop ecx
jmp 0x429cf8
push dword [ebp - 0x110]
call fcn.0042b07f
pop ecx
lea ecx, [ebp - 0x144]
call fcn.00407f69
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 0x138], 1
call fcn.00409653
push dword [ebp - 0xf4]
call fcn.00409609
test al, al
jne 0x429e48
lea ecx, [ebp - 0x144]
call fcn.0041a518
push dword [ebp - 0xf4]
call fcn.0042b07f
jmp 0x429df1
cmp dword [ebp - 0x124], ebx
je 0x429f92
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0041a4e2
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 0x429eb8
lea ecx, [ebp - 0x11c]
call fcn.0040855d
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00408268
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0041a4e2
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 0x429f76
cmp byte [ebp - 0x99], bl
jne 0x429f1f
push str.Cannot_open_file
push ebx
call fcn.00419096
push dword [ebp - 0x104]
call fcn.0042b07f
push dword [ebp - 0xdc]
call fcn.0042b07f
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
call fcn.0041a518
push dword [ebp - 0xf4]
call fcn.0042b07f
pop ecx
cmp esi, ebx
je 0x429f58
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xc4]
call fcn.00409de4
push dword [ebp - 0xc0]
call fcn.0042b07f
pop ecx
mov ebx, edi
jmp 0x429a57
push dword [ebp - 0x104]
mov edi, dword [ebp - 0x19c]
call fcn.0042b07f
push dword [ebp - 0xdc]
jmp 0x42a17d
cmp dword [ebp - 0xe4], ebx
jne 0x429fd5
push str.setup.exe
lea ecx, [ebp - 0xe8]
call fcn.00408037
push dword [ebp - 0xe8]
call fcn.0040a8e4
test al, al
jne 0x429fd5
cmp byte [ebp - 0x99], bl
jne 0x429e30
push str.Cannot_find_setup.exe
push ebx
call fcn.00419096
jmp 0x429e30
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00408009
lea eax, [ebp - 0xdc]
push eax
call fcn.0040adca
push str.__T_
lea ecx, [ebp - 0x104]
call fcn.00407f8d
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004085a7
push dword [ebp - 0x104]
call fcn.0042b07f
push dword [ebp - 0xdc]
call fcn.0042b07f
pop ecx
pop ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408009
push 0x4388c8
lea ecx, [ebp - 0xdc]
call fcn.00407f8d
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004085a7
push dword [ebp - 0xdc]
call fcn.0042b07f
pop ecx
cmp dword [ebp - 0xb0], ebx
je 0x42a0a0
lea ecx, [ebp - 0xe8]
call fcn.00408555
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00408268
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.00407f42
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041a4e2
push dword [ebp - 0xdc]
call fcn.0042b07f
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 0x42a15a
cmp byte [ebp - 0x99], bl
jne 0x42a13d
lea eax, [ebp - 0xa8]
push eax
call fcn.0041a578
push dword [ebp - 0x168]
call fcn.0042b07f
push dword [ebp - 0xa8]
call fcn.0042b07f
pop ecx
pop ecx
jmp 0x429e30
push dword [ebp - 0x1e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x168]
mov edi, dword [ebp - 0x1e4]
call fcn.0042b07f
push dword [ebp - 0xa8]
call fcn.0042b07f
pop ecx
pop ecx
cmp edi, ebx
je 0x42a198
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.0041a518
push dword [ebp - 0xf4]
call fcn.0042b07f
pop ecx
cmp esi, ebx
je 0x42a1b9
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xc4]
call fcn.00409de4
push dword [ebp - 0xc0]
call fcn.0042b07f
pop ecx
jmp 0x429a57