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

Disassembly:
push 0x21c
mov eax, 0x4628c3
call fcn.00421a25
mov eax, dword [ebp + 8]
mov dword [0x47584c], 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 0x420b27
cmp dword [ebp - 0x94], 2
jne 0x420b27
mov al, bl
jmp 0x420b29
xor al, al
mov byte [0x475848], al
call fcn.00402081
lea ecx, [ebp - 0x17c]
call fcn.00407936
lea ecx, [ebp - 0xcc]
call fcn.00407936
lea ecx, [ebp - 0x13c]
call fcn.00407936
lea ecx, [ebp - 0x118]
call fcn.00407936
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00407900
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004070d8
push dword [ebp - 0xc0]
call fcn.004219a7
pop ecx
lea ecx, [ebp - 0x130]
call fcn.00407936
lea eax, [ebp - 0x130]
push eax
call fcn.0040b73a
lea ecx, [ebp - 0xcc]
call fcn.00409152
lea ecx, [ebp - 0xcc]
call fcn.004090ef
push 0x4648a0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 0xa5], 0
call fcn.004084b0
test al, al
je 0x420c10
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
add eax, 4
mov byte [ebp - 0xa5], bl
push eax
call fcn.00407bf9
lea ecx, [ebp - 0xcc]
call fcn.00409152
lea ecx, [ebp - 0xcc]
call fcn.004090ef
lea ecx, [ebp - 0x124]
call fcn.004076c4
lea eax, [ebp - 0x124]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push dword [ebp - 0x130]
call fcn.0042081c
test al, al
jne 0x420c58
cmp byte [ebp - 0xa5], al
jne 0x4213c1
push str.Cant_load_config_info
push 0
call fcn.0041f13d
jmp 0x4213c1
push 0x4648d4
lea ecx, [ebp - 0x170]
call fcn.004078b6
lea ecx, [ebp - 0xd8]
call fcn.00407936
cmp dword [ebp - 0x120], 0
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xf4], bl
je 0x420e8a
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.00409625
test al, al
jne 0x420cd4
cmp byte [ebp - 0xa5], al
jne 0x420dba
push str.Config_failed
push 0
call fcn.0041f13d
jmp 0x420dba
push str.Title
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004097d7
push str.BeginPrompt
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004097d7
push 0x464908
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004097d7
push 0x464914
push dword [ebp - 0x100]
call fcn.00409042
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.00409588
mov ecx, eax
test ecx, ecx
js 0x420d6b
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x170]
add eax, 0xc
push eax
call fcn.00407b19
cmp dword [ebp - 0xe0], 0
je 0x420dca
cmp byte [ebp - 0xa5], 0
jne 0x420dca
push 0x24
push dword [ebp - 0xc0]
push dword [ebp - 0xe4]
push 0
call edi
cmp eax, 6
je 0x420dca
push dword [ebp - 0x100]
xor ebx, ebx
call fcn.004219a7
push dword [ebp - 0xe4]
call fcn.004219a7
push dword [ebp - 0xc0]
call fcn.004219a7
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.004206db
jmp 0x4213a9
push str.RunProgram
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004097d7
push eax
lea ecx, [ebp - 0xd8]
call fcn.00407b19
push dword [ebp - 0xf0]
call fcn.004219a7
mov dword [esp], str.ExecuteFile
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004097d7
push eax
lea ecx, [ebp - 0x13c]
call fcn.00407b19
push dword [ebp - 0xf0]
call fcn.004219a7
mov dword [esp], str.ExecuteParameters
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004097d7
push eax
lea ecx, [ebp - 0x118]
call fcn.00407b19
push dword [ebp - 0xf0]
call fcn.004219a7
push dword [ebp - 0x100]
call fcn.004219a7
push dword [ebp - 0xe4]
call fcn.004219a7
push dword [ebp - 0xc0]
call fcn.004219a7
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.004206db
lea ecx, [ebp - 0x148]
mov byte [ebp - 0x14c], 0
call fcn.00407936
push 0x464890
lea ecx, [ebp - 0x14c]
call fcn.0040b949
test al, al
jne 0x420ecd
cmp byte [ebp - 0xa5], al
jne 0x42138b
push str.Can_not_create_temp_folder_archive
push 0
call fcn.0041f13d
jmp 0x42138b
push 0x18
call fcn.00421960
mov esi, eax
pop ecx
test esi, esi
je 0x420ef5
xor eax, eax
mov dword [esi], vtable.CCodecs.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov word [esi + 0x14], ax
jmp 0x420ef7
xor esi, esi
test esi, esi
je 0x420f01
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
call fcn.0041c57e
test eax, eax
je 0x420f1d
push str.Can_not_load_codecs
push 0
call fcn.0041f13d
jmp 0x42137a
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00407862
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xa6], 0
call fcn.00407936
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.0042022c
test eax, eax
je 0x421008
cmp byte [ebp - 0xa5], 0
jne 0x420ff7
cmp eax, ebx
je 0x420f87
cmp byte [ebp - 0xa6], 0
je 0x420f9a
lea eax, [ebp - 0xb4]
push eax
push 8
call fcn.0040e762
mov eax, 0x80004005
cmp eax, 0x80004004
je 0x420ff7
cmp dword [ebp - 0xb0], 0
jne 0x420fcf
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0040b7f4
push eax
lea ecx, [ebp - 0xb4]
call fcn.00407b19
push dword [ebp - 0xf0]
call fcn.004219a7
pop ecx
push 7
lea eax, [ebp - 0xf0]
push eax
call fcn.0040e693
push 0x10
push dword [eax]
push dword [ebp - 0xb4]
push 0
call edi
push dword [ebp - 0xf0]
call fcn.004219a7
pop ecx
push dword [ebp - 0xb4]
call fcn.004219a7
pop ecx
jmp 0x42136e
push dword [ebp - 0xb4]
call fcn.004219a7
pop ecx
lea ecx, [ebp - 0x18c]
call fcn.00407936
lea eax, [ebp - 0x18c]
mov byte [ebp - 0x180], bl
push eax
call fcn.0040be57
push dword [ebp - 0x10c]
call fcn.0040c48c
test al, al
je 0x421363
cmp dword [ebp - 0x138], 0
je 0x421155
push 0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040941e
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 0x4210ba
lea ecx, [ebp - 0x118]
call fcn.00408038
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x118]
call fcn.00407f03
push 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040941e
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 0x421139
cmp byte [ebp - 0xa5], 0
jne 0x421123
push str.Can_not_open_file
push 0
call fcn.0041f13d
push dword [ebp - 0xe4]
call fcn.004219a7
push dword [ebp - 0xc0]
jmp 0x42131a
push dword [ebp - 0xe4]
mov edi, dword [ebp - 0x190]
call fcn.004219a7
push dword [ebp - 0xc0]
jmp 0x421346
cmp dword [ebp - 0xd4], 0
jne 0x42119a
push str.setup.exe
lea ecx, [ebp - 0xd8]
call fcn.00407bf9
push dword [ebp - 0xd8]
call fcn.0040c7d2
test al, al
jne 0x42119a
cmp byte [ebp - 0xa5], al
jne 0x421363
push str.Can_not_find_setup.exe
push 0
call fcn.0041f13d
jmp 0x421363
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00407862
lea eax, [ebp - 0xc0]
push eax
call fcn.0040de1b
push str.__T_
lea ecx, [ebp - 0x100]
call fcn.00407900
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00408b50
push dword [ebp - 0x100]
call fcn.004219a7
push dword [ebp - 0xc0]
call fcn.004219a7
pop ecx
pop ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x164]
call fcn.00407862
push 0x464a34
lea ecx, [ebp - 0xc0]
call fcn.00407900
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00408b50
push dword [ebp - 0xc0]
call fcn.004219a7
cmp dword [ebp - 0xc8], 0
pop ecx
je 0x421266
lea ecx, [ebp - 0xd8]
call fcn.00408022
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00407f03
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.00407dfb
push 0
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0040941e
push dword [ebp - 0x1e4]
call fcn.004219a7
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 0x421323
cmp byte [ebp - 0xa5], al
jne 0x421309
lea eax, [ebp - 0x164]
push eax
call fcn.00420a7e
push dword [ebp - 0x158]
call fcn.004219a7
push dword [ebp - 0x164]
call fcn.004219a7
pop ecx
pop ecx
jmp 0x421363
push dword [ebp - 0x1d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x158]
mov edi, dword [ebp - 0x1d8]
call fcn.004219a7
push dword [ebp - 0x164]
call fcn.004219a7
pop ecx
pop ecx
test edi, edi
je 0x421361
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.00420704
push dword [ebp - 0x10c]
call fcn.004219a7
pop ecx
mov dword [ebp - 4], 0xd
test esi, esi
je 0x42138b
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0xe
call fcn.0040c278
push dword [ebp - 0x148]
call fcn.004219a7
pop ecx
push dword [ebp - 0xd8]
call fcn.004219a7
push dword [ebp - 0x170]
call fcn.004219a7
pop ecx
pop ecx
push dword [ebp - 0x124]
call fcn.004219a7
push dword [ebp - 0x130]
call fcn.004219a7
push dword [ebp - 0x118]
call fcn.004219a7
push dword [ebp - 0x13c]
call fcn.004219a7
push dword [ebp - 0xcc]
call fcn.004219a7
push dword [ebp - 0x17c]
call fcn.004219a7
add esp, 0x18
mov eax, ebx
call fcn.004219cf
ret 0x10