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

Disassembly:
push 0x21c
mov eax, 0x43f7a2
call fcn.0042eb33
mov eax, dword [ebp + 8]
mov dword [0x4539d0], eax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
inc ebx
test eax, eax
je 0x42df56
cmp dword [ebp - 0x94], 2
mov byte [0x4539d5], bl
je 0x42df5d
mov byte [0x4539d5], 0
call fcn.00420f1a
test al, al
jne 0x42df6d
xor eax, eax
jmp 0x42e83f
call fcn.00402df3
lea ecx, [ebp - 0x17c]
call fcn.00407e94
lea ecx, [ebp - 0xcc]
call fcn.00407e94
lea ecx, [ebp - 0x13c]
call fcn.00407e94
lea ecx, [ebp - 0x118]
call fcn.00407e94
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00407e5e
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00407b19
push dword [ebp - 0xc0]
call fcn.0042eab5
pop ecx
lea ecx, [ebp - 0x130]
call fcn.00407e94
lea eax, [ebp - 0x130]
push eax
call fcn.00409764
lea ecx, [ebp - 0xcc]
call fcn.00408aa2
lea ecx, [ebp - 0xcc]
call fcn.00408a71
push 0x4416a8
lea ecx, [ebp - 0xcc]
mov byte [ebp - 0xa5], 0
call fcn.00408466
test al, al
je 0x42e04f
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
add eax, 4
mov byte [ebp - 0xa5], bl
push eax
call fcn.00407fe1
lea ecx, [ebp - 0xcc]
call fcn.00408aa2
lea ecx, [ebp - 0xcc]
call fcn.00408a71
lea ecx, [ebp - 0x124]
call fcn.00407cf0
lea eax, [ebp - 0x124]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push dword [ebp - 0x130]
call fcn.0042d605
test al, al
jne 0x42e097
cmp byte [ebp - 0xa5], al
jne 0x42e7f8
push str.Cant_load_config_info
push 0
call fcn.0041a11b
jmp 0x42e7f8
push 0x4416dc
lea ecx, [ebp - 0x170]
call fcn.00407e12
lea ecx, [ebp - 0xd8]
call fcn.00407e94
cmp dword [ebp - 0x120], 0
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xf4], bl
je 0x42e2c7
xor eax, eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00408ec1
test al, al
jne 0x42e113
cmp byte [ebp - 0xa5], al
jne 0x42e1f7
push str.Config_failed
push 0
call fcn.0041a11b
jmp 0x42e1f7
push str.Title
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00409099
push str.BeginPrompt
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00409099
push 0x441710
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00409099
push 0x44171c
push dword [ebp - 0x100]
call fcn.004089f9
xor edx, edx
movzx ecx, bl
test al, al
lea eax, [ebp - 0xb4]
push str.Directory
cmovne ecx, edx
push eax
mov byte [ebp - 0xf4], cl
call fcn.00408e0d
test eax, eax
js 0x42e1a8
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x170]
add eax, 0xc
push eax
call fcn.00407f06
cmp dword [ebp - 0xe0], 0
je 0x42e207
cmp byte [ebp - 0xa5], 0
jne 0x42e207
push 0x24
push dword [ebp - 0xc0]
push dword [ebp - 0xe4]
push 0
call edi
cmp eax, 6
je 0x42e207
push dword [ebp - 0x100]
xor ebx, ebx
call fcn.0042eab5
push dword [ebp - 0xe4]
call fcn.0042eab5
push dword [ebp - 0xc0]
call fcn.0042eab5
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.0041b682
jmp 0x42e7e0
push str.RunProgram
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00409099
push eax
lea ecx, [ebp - 0xd8]
call fcn.00407f06
push dword [ebp - 0xf0]
call fcn.0042eab5
mov dword [esp], str.ExecuteFile
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00409099
push eax
lea ecx, [ebp - 0x13c]
call fcn.00407f06
push dword [ebp - 0xf0]
call fcn.0042eab5
mov dword [esp], str.ExecuteParameters
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00409099
push eax
lea ecx, [ebp - 0x118]
call fcn.00407f06
push dword [ebp - 0xf0]
call fcn.0042eab5
push dword [ebp - 0x100]
call fcn.0042eab5
push dword [ebp - 0xe4]
call fcn.0042eab5
push dword [ebp - 0xc0]
call fcn.0042eab5
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.0041b682
lea ecx, [ebp - 0x148]
mov byte [ebp - 0x14c], 0
call fcn.00407e94
push 0x441684
lea ecx, [ebp - 0x14c]
call fcn.00409988
test al, al
jne 0x42e30a
cmp byte [ebp - 0xa5], al
jne 0x42e7c2
push str.Cannot_create_temp_folder_archive
push 0
call fcn.0041a11b
jmp 0x42e7c2
push 0x18
call fcn.0042ea6b
mov esi, eax
pop ecx
test esi, esi
je 0x42e332
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.CCodecs.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov word [esi + 0x14], ax
jmp 0x42e334
xor esi, esi
test esi, esi
je 0x42e33e
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
call fcn.00417fbd
test eax, eax
je 0x42e35a
push str.Cannot_load_codecs
push 0
call fcn.0041a11b
jmp 0x42e7b1
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00407de1
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xa6], 0
call fcn.00407e94
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa6]
push eax
push dword [ebp - 0xf4]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.0041b0d8
test eax, eax
je 0x42e445
cmp byte [ebp - 0xa5], 0
jne 0x42e434
cmp eax, ebx
je 0x42e3c4
cmp byte [ebp - 0xa6], 0
je 0x42e3d7
lea eax, [ebp - 0xb4]
push eax
push 8
call fcn.0040bca1
mov eax, 0x80004005
cmp eax, 0x80004004
je 0x42e434
cmp dword [ebp - 0xb0], 0
jne 0x42e40c
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0042d5e9
push eax
lea ecx, [ebp - 0xb4]
call fcn.00407f06
push dword [ebp - 0xf0]
call fcn.0042eab5
pop ecx
push 7
lea eax, [ebp - 0xf0]
push eax
call fcn.0040bbd3
push 0x10
push dword [eax]
push dword [ebp - 0xb4]
push 0
call edi
push dword [ebp - 0xf0]
call fcn.0042eab5
pop ecx
push dword [ebp - 0xb4]
call fcn.0042eab5
pop ecx
jmp 0x42e7a5
push dword [ebp - 0xb4]
call fcn.0042eab5
pop ecx
lea ecx, [ebp - 0x18c]
call fcn.00407e94
lea eax, [ebp - 0x18c]
mov byte [ebp - 0x180], bl
push eax
call fcn.00409e4b
push dword [ebp - 0x10c]
call fcn.0040a2d2
test al, al
je 0x42e79a
cmp dword [ebp - 0x138], 0
je 0x42e58e
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0042d330
and dword [ebp - 0x1c0], 0
and dword [ebp - 0x1bc], 0
cmp dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x1c8], 0x3c
mov dword [ebp - 0x1c4], 0x140
mov dword [ebp - 0x1b8], eax
je 0x42e4f5
lea ecx, [ebp - 0x118]
call fcn.0040823b
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x118]
call fcn.004080cc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0042d330
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
cmp dword [ebp - 0xe0], ecx
mov dword [ebp - 0x1ac], ebx
cmove eax, ecx
and dword [ebp - 0x1b0], ecx
and dword [ebp - 0x190], ecx
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1c8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x1a8], 0x20
ja 0x42e572
cmp byte [ebp - 0xa5], 0
jne 0x42e55c
push str.Cannot_open_file
push 0
call fcn.0041a11b
push dword [ebp - 0xe4]
call fcn.0042eab5
push dword [ebp - 0xc0]
jmp 0x42e751
push dword [ebp - 0xe4]
mov edi, dword [ebp - 0x190]
call fcn.0042eab5
push dword [ebp - 0xc0]
jmp 0x42e77d
cmp dword [ebp - 0xd4], 0
jne 0x42e5d3
push str.setup.exe
lea ecx, [ebp - 0xd8]
call fcn.00407fe1
push dword [ebp - 0xd8]
call fcn.0040a53e
test al, al
jne 0x42e5d3
cmp byte [ebp - 0xa5], al
jne 0x42e79a
push str.Cannot_find_setup.exe
push 0
call fcn.0041a11b
jmp 0x42e79a
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00407de1
lea eax, [ebp - 0xc0]
push eax
call fcn.0040b7e4
push str.__T_
lea ecx, [ebp - 0x100]
call fcn.00407e5e
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004086fe
push dword [ebp - 0x100]
call fcn.0042eab5
push dword [ebp - 0xc0]
call fcn.0042eab5
pop ecx
pop ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x164]
call fcn.00407de1
push 0x441834
lea ecx, [ebp - 0xc0]
call fcn.00407e5e
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004086fe
push dword [ebp - 0xc0]
call fcn.0042eab5
cmp dword [ebp - 0xc8], 0
pop ecx
je 0x42e69f
lea ecx, [ebp - 0xd8]
call fcn.00408213
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004080cc
xor eax, eax
mov dword [ebp - 0x228], 0x44
mov word [ebp - 0x1f6], ax
xor ecx, ecx
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x224], ecx
push eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x220], ecx
push eax
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x21c], ecx
push eax
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x1f4], ecx
call fcn.00408069
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0042d330
push dword [ebp - 0x1e4]
call fcn.0042eab5
pop ecx
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x228]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x42e75a
cmp byte [ebp - 0xa5], al
jne 0x42e740
lea eax, [ebp - 0x164]
push eax
call fcn.0042d94a
push dword [ebp - 0x158]
call fcn.0042eab5
push dword [ebp - 0x164]
call fcn.0042eab5
pop ecx
pop ecx
jmp 0x42e79a
push dword [ebp - 0x1d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x158]
mov edi, dword [ebp - 0x1d8]
call fcn.0042eab5
push dword [ebp - 0x164]
call fcn.0042eab5
pop ecx
pop ecx
test edi, edi
je 0x42e798
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea ecx, [ebp - 0x18c]
call fcn.0041b6cc
push dword [ebp - 0x10c]
call fcn.0042eab5
pop ecx
mov dword [ebp - 4], 0xd
test esi, esi
je 0x42e7c2
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0xe
call fcn.0040a09d
push dword [ebp - 0x148]
call fcn.0042eab5
pop ecx
push dword [ebp - 0xd8]
call fcn.0042eab5
push dword [ebp - 0x170]
call fcn.0042eab5
pop ecx
pop ecx
push dword [ebp - 0x124]
call fcn.0042eab5
push dword [ebp - 0x130]
call fcn.0042eab5
push dword [ebp - 0x118]
call fcn.0042eab5
push dword [ebp - 0x13c]
call fcn.0042eab5
push dword [ebp - 0xcc]
call fcn.0042eab5
push dword [ebp - 0x17c]
call fcn.0042eab5
add esp, 0x18
mov eax, ebx
call fcn.0042eadd
ret 0x10