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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x43f160]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [0x4423ec], 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 0x42a7ad
cmp dword [ebp - 0x88], 2
mov byte [0x4423f0], 1
je 0x42a7b3
mov byte [0x4423f0], bl
call fcn.0041f60d
test al, al
jne 0x42a7cd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042bb8b
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.0042bfdf
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 0x439ae8
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x99], bl
call fcn.004079fb
test al, al
je 0x42a8af
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 0x42a93a
cmp byte [ebp - 0x99], bl
jne 0x42a8ed
push str.Cant_load_config_info
push ebx
call fcn.00419096
push dword [ebp - 0x134]
call fcn.0042bfdf
push dword [ebp - 0x150]
call fcn.0042bfdf
push dword [ebp - 0x11c]
call fcn.0042bfdf
push dword [ebp - 0x128]
call fcn.0042bfdf
push dword [ebp - 0xb4]
call fcn.0042bfdf
push dword [ebp - 0x198]
call fcn.0042bfdf
xor eax, eax
add esp, 0x18
inc eax
jmp 0x42a7be
push esi
push edi
push 0x439ab4
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 0x42abc0
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 0x42aa22
cmp byte [ebp - 0x99], bl
jne 0x42a9b0
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.0042bfdf
push dword [ebp - 0x174]
call fcn.0042bfdf
push dword [ebp - 0x134]
call fcn.0042bfdf
push dword [ebp - 0x150]
call fcn.0042bfdf
push dword [ebp - 0x11c]
call fcn.0042bfdf
push dword [ebp - 0x128]
call fcn.0042bfdf
push dword [ebp - 0xb4]
call fcn.0042bfdf
push dword [ebp - 0x198]
call fcn.0042bfdf
add esp, 0x20
pop edi
mov eax, ebx
pop esi
jmp 0x42a7be
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 0x439a78
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.00408a3a
push 0x439a74
push dword [ebp - 0x180]
call fcn.00407a6e
test al, al
je 0x42aa84
mov byte [ebp - 0xf8], bl
push str.Directory
lea eax, [ebp - 0xd0]
push eax
call fcn.00408a05
cmp eax, ebx
jl 0x42aab1
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 0x42ab00
cmp byte [ebp - 0x99], bl
jne 0x42ab00
push 0x24
push dword [ebp - 0x18c]
push dword [ebp - 0x15c]
push ebx
call edi
cmp eax, 6
je 0x42ab00
push dword [ebp - 0x180]
call fcn.0042bfdf
push dword [ebp - 0x15c]
call fcn.0042bfdf
push dword [ebp - 0x18c]
call fcn.0042bfdf
add esp, 0xc
jmp 0x42a9b3
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.0042bfdf
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.0042bfdf
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.0042bfdf
push dword [ebp - 0x180]
call fcn.0042bfdf
push dword [ebp - 0x15c]
call fcn.0042bfdf
push dword [ebp - 0x18c]
call fcn.0042bfdf
add esp, 0x10
lea ecx, [ebp - 0xd0]
call fcn.0041ae18
lea ecx, [ebp - 0xc0]
mov byte [ebp - 0xc4], bl
call fcn.00407f69
push 0x439074
lea ecx, [ebp - 0xc4]
call fcn.00409e09
test al, al
jne 0x42ac17
cmp byte [ebp - 0x99], bl
jne 0x42abf8
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.0042bfdf
xor ebx, ebx
pop ecx
inc ebx
jmp 0x42a9be
push 0x18
call fcn.0042c09d
pop ecx
cmp eax, ebx
je 0x42ac3d
mov dword [eax + 4], ebx
mov dword [eax], 0x439474
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax + 0x14], bx
mov esi, eax
jmp 0x42ac3f
xor esi, esi
cmp esi, ebx
je 0x42ac49
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
call fcn.0041705a
test eax, eax
je 0x42ac6b
push str.Cannot_load_codecs
push ebx
call fcn.00419096
cmp esi, ebx
je 0x42abf8
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x42abf8
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 0x42ad5e
cmp byte [ebp - 0x99], bl
jne 0x42ad41
cmp eax, 1
je 0x42acd3
cmp byte [ebp - 0x9a], bl
je 0x42ace6
lea eax, [ebp - 0x110]
push eax
push 8
call fcn.0040b85f
mov eax, 0x80004005
cmp eax, 0x80004004
je 0x42ad41
cmp dword [ebp - 0x10c], ebx
jne 0x42ad1a
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.0042bfdf
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.0042bfdf
pop ecx
push dword [ebp - 0x110]
call fcn.0042bfdf
push dword [ebp - 0xf4]
call fcn.0042bfdf
pop ecx
pop ecx
jmp 0x42ac5f
push dword [ebp - 0x110]
call fcn.0042bfdf
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 0x42adaf
lea ecx, [ebp - 0x144]
call fcn.0041a518
push dword [ebp - 0xf4]
call fcn.0042bfdf
jmp 0x42ad58
cmp dword [ebp - 0x124], ebx
je 0x42aef9
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 0x42ae1f
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 0x42aedd
cmp byte [ebp - 0x99], bl
jne 0x42ae86
push str.Cannot_open_file
push ebx
call fcn.00419096
push dword [ebp - 0x104]
call fcn.0042bfdf
push dword [ebp - 0xdc]
call fcn.0042bfdf
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
call fcn.0041a518
push dword [ebp - 0xf4]
call fcn.0042bfdf
pop ecx
cmp esi, ebx
je 0x42aebf
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xc4]
call fcn.00409de4
push dword [ebp - 0xc0]
call fcn.0042bfdf
pop ecx
mov ebx, edi
jmp 0x42a9be
push dword [ebp - 0x104]
mov edi, dword [ebp - 0x19c]
call fcn.0042bfdf
push dword [ebp - 0xdc]
jmp 0x42b0e4
cmp dword [ebp - 0xe4], ebx
jne 0x42af3c
push str.setup.exe
lea ecx, [ebp - 0xe8]
call fcn.00408037
push dword [ebp - 0xe8]
call fcn.0040a8e4
test al, al
jne 0x42af3c
cmp byte [ebp - 0x99], bl
jne 0x42ad97
push str.Cannot_find_setup.exe
push ebx
call fcn.00419096
jmp 0x42ad97
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.0042bfdf
push dword [ebp - 0xdc]
call fcn.0042bfdf
pop ecx
pop ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00408009
push 0x439958
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.0042bfdf
pop ecx
cmp dword [ebp - 0xb0], ebx
je 0x42b007
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.0042bfdf
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 0x42b0c1
cmp byte [ebp - 0x99], bl
jne 0x42b0a4
lea eax, [ebp - 0xa8]
push eax
call fcn.0041a578
push dword [ebp - 0x168]
call fcn.0042bfdf
push dword [ebp - 0xa8]
call fcn.0042bfdf
pop ecx
pop ecx
jmp 0x42ad97
push dword [ebp - 0x1e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x168]
mov edi, dword [ebp - 0x1e4]
call fcn.0042bfdf
push dword [ebp - 0xa8]
call fcn.0042bfdf
pop ecx
pop ecx
cmp edi, ebx
je 0x42b0ff
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.0042bfdf
pop ecx
cmp esi, ebx
je 0x42b120
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xc4]
call fcn.00409de4
push dword [ebp - 0xc0]
call fcn.0042bfdf
pop ecx
jmp 0x42a9be