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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x450090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [0x453854], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x434a26
cmp dword [ebp - 0x88], 2
mov byte [0x453850], 1
je 0x434a2d
mov byte [0x453850], 0
call fcn.0042a510
test al, al
jne 0x434a48
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435a0c
mov esp, ebp
pop ebp
ret 0x10
push ebx
push esi
call fcn.00403140
lea ecx, [ebp - 0x158]
call fcn.004090c0
lea ecx, [ebp - 0xc0]
call fcn.004090c0
lea ecx, [ebp - 0x118]
call fcn.004090c0
lea ecx, [ebp - 0x10c]
call fcn.004090c0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00409060
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00408c50
push dword [ebp - 0xb4]
call fcn.004366f4
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.004090c0
lea eax, [ebp - 0x124]
push eax
call fcn.0040b250
lea ecx, [ebp - 0xc0]
call fcn.0040a020
lea ecx, [ebp - 0xc0]
call fcn.00409fd0
push 0x4464c8
lea ecx, [ebp - 0xc0]
xor bl, bl
call fcn.00409840
test al, al
je 0x434b25
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
add eax, 4
mov bl, 1
push eax
call fcn.00409250
lea ecx, [ebp - 0xc0]
call fcn.0040a020
lea ecx, [ebp - 0xc0]
call fcn.00409fd0
lea ecx, [ebp - 0x130]
call fcn.00408e90
lea eax, [ebp - 0x130]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push dword [ebp - 0x124]
call fcn.00433fa0
test al, al
jne 0x434b6a
test bl, bl
jne 0x434b60
push str.Cant_load_config_info
push 0
call fcn.00421b50
mov esi, 1
jmp 0x4352f6
push 0x4464fc
lea ecx, [ebp - 0x14c]
call fcn.00408ff0
lea ecx, [ebp - 0xd8]
call fcn.004090c0
cmp dword [ebp - 0x12c], 0
mov bh, 1
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xe8], bh
je 0x434dad
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0xa4], 0
push eax
mov dword [ebp - 0xa0], 0
call fcn.0040a670
test al, al
jne 0x434bfa
test bl, bl
jne 0x434be5
push str.Config_failed
push 0
call fcn.00421b50
lea ecx, [ebp - 0xa8]
mov esi, 1
call fcn.00423750
jmp 0x4352dd
push str.Title
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0040a9c0
push str.BeginPrompt
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0040a9c0
push 0x446530
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0040a9c0
push 0x44653c
push dword [ebp - 0xf4]
call fcn.00409f20
xor edx, edx
movzx ecx, bh
test al, al
lea eax, [ebp - 0xa8]
push str.Directory
cmovne ecx, edx
push eax
mov byte [ebp - 0xe8], cl
call fcn.0040a570
mov ecx, eax
test ecx, ecx
js 0x434c91
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x14c]
add eax, 0xc
push eax
call fcn.00409150
cmp dword [ebp - 0xc8], 0
je 0x434ceb
test bl, bl
jne 0x434ceb
push 0x24
push dword [ebp - 0xb4]
push dword [ebp - 0xcc]
push 0
call esi
cmp eax, 6
je 0x434ceb
push dword [ebp - 0xf4]
xor esi, esi
call fcn.004366f4
push dword [ebp - 0xcc]
call fcn.004366f4
push dword [ebp - 0xb4]
call fcn.004366f4
add esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.00423750
jmp 0x4352dd
push str.RunProgram
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040a9c0
push eax
lea ecx, [ebp - 0xd8]
call fcn.00409150
push dword [ebp - 0xe4]
call fcn.004366f4
add esp, 4
lea eax, [ebp - 0xa8]
push str.ExecuteFile
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040a9c0
push eax
lea ecx, [ebp - 0x118]
call fcn.00409150
push dword [ebp - 0xe4]
call fcn.004366f4
add esp, 4
lea eax, [ebp - 0xa8]
push str.ExecuteParameters
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040a9c0
push eax
lea ecx, [ebp - 0x10c]
call fcn.00409150
push dword [ebp - 0xe4]
call fcn.004366f4
push dword [ebp - 0xf4]
call fcn.004366f4
push dword [ebp - 0xcc]
call fcn.004366f4
push dword [ebp - 0xb4]
call fcn.004366f4
add esp, 0x10
lea ecx, [ebp - 0xa8]
call fcn.00423750
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x140], 0
call fcn.004090c0
push 0x446498
lea ecx, [ebp - 0x140]
call fcn.0040b620
test al, al
jne 0x434ded
test bl, bl
jne 0x434de3
push str.Cannot_create_temp_folder_archive
push 0
call fcn.00421b50
mov esi, 1
jmp 0x4352c4
push edi
push 0x18
call fcn.00436679
add esp, 4
test eax, eax
je 0x434e11
mov ecx, eax
call fcn.00423630
mov edi, eax
test edi, edi
je 0x434e13
mov eax, dword [edi]
push edi
call dword [eax + 4]
jmp 0x434e13
xor edi, edi
mov ecx, edi
call fcn.0041f050
test eax, eax
je 0x434e34
push str.Cannot_load_codecs
push 0
call fcn.00421b50
mov esi, 1
jmp 0x4352b9
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x100]
call fcn.00408f90
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x99], 0
call fcn.004090c0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x99]
push eax
push dword [ebp - 0xe8]
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x124]
push eax
push edi
call fcn.00422f20
test eax, eax
je 0x434f2b
test bl, bl
jne 0x434f13
cmp eax, 1
je 0x434ea6
cmp byte [ebp - 0x99], bl
jne 0x434ea6
cmp eax, 0x80004004
je 0x434f13
jmp 0x434eb9
lea eax, [ebp - 0xa8]
push eax
push 8
call fcn.0040e610
mov eax, 0x80004005
cmp dword [ebp - 0xa4], 0
jne 0x434ee9
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00433f80
push eax
lea ecx, [ebp - 0xa8]
call fcn.00409150
push dword [ebp - 0xe4]
call fcn.004366f4
add esp, 4
push 7
lea eax, [ebp - 0xe4]
push eax
call fcn.0040e500
push 0x10
push dword [eax]
push dword [ebp - 0xa8]
push 0
call esi
push dword [ebp - 0xe4]
call fcn.004366f4
add esp, 4
push dword [ebp - 0xa8]
call fcn.004366f4
add esp, 4
mov esi, 1
jmp 0x4352ab
push dword [ebp - 0xa8]
call fcn.004366f4
add esp, 4
lea ecx, [ebp - 0x1b4]
call fcn.00423660
push dword [ebp - 0x100]
call fcn.0040c360
test al, al
jne 0x434f5d
mov esi, 1
jmp 0x4352a0
cmp dword [ebp - 0x114], 0
je 0x43507c
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00433da0
cmp dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x194], 0x3c
mov dword [ebp - 0x190], 0x140
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], eax
je 0x434fd7
lea ecx, [ebp - 0x10c]
call fcn.00409510
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004093a0
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00433da0
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
cmp dword [ebp - 0xc8], ecx
mov dword [ebp - 0x17c], ecx
cmove eax, ecx
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x194]
push eax
mov dword [ebp - 0x15c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x174], 0x20
ja 0x435060
test bl, bl
jne 0x43503d
push str.Cannot_open_file
push 0
call fcn.00421b50
push dword [ebp - 0xcc]
call fcn.004366f4
push dword [ebp - 0xb4]
call fcn.004366f4
add esp, 8
mov esi, 1
jmp 0x4352a0
push dword [ebp - 0xcc]
mov esi, dword [ebp - 0x15c]
call fcn.004366f4
push dword [ebp - 0xb4]
jmp 0x435282
cmp dword [ebp - 0xd4], 0
jne 0x4350be
push str.setup.exe
lea ecx, [ebp - 0xd8]
call fcn.00409250
push dword [ebp - 0xd8]
call fcn.0040c6c0
test al, al
jne 0x4350be
test bl, bl
jne 0x4350b4
push str.Cannot_find_setup.exe
push 0
call fcn.00421b50
mov esi, 1
jmp 0x4352a0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00408f90
lea eax, [ebp - 0xb4]
push eax
call fcn.0040df60
push str.__T_
lea ecx, [ebp - 0xcc]
call fcn.00409060
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00409a60
push dword [ebp - 0xcc]
call fcn.004366f4
push dword [ebp - 0xb4]
call fcn.004366f4
add esp, 8
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00408f90
push 0x446654
lea ecx, [ebp - 0xb4]
call fcn.00409060
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00409a60
push dword [ebp - 0xb4]
call fcn.004366f4
add esp, 4
cmp dword [ebp - 0xbc], 0
je 0x43518d
lea ecx, [ebp - 0xd8]
call fcn.004094e0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004093a0
xor eax, eax
mov dword [ebp - 0x1f8], 0x44
mov word [ebp - 0x1c6], ax
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x1f4], 0
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x1f0], 0
push eax
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1cc], 0
call fcn.004092d0
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00433da0
push dword [ebp - 0xe4]
call fcn.004366f4
add esp, 4
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1f8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0xf4]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x43525f
test bl, bl
jne 0x43523f
lea eax, [ebp - 0xa8]
push eax
call fcn.00434430
push dword [ebp - 0xf4]
call fcn.004366f4
push dword [ebp - 0xa8]
call fcn.004366f4
add esp, 8
mov esi, 1
jmp 0x4352a0
push dword [ebp - 0x1a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xf4]
mov esi, dword [ebp - 0x1a4]
call fcn.004366f4
push dword [ebp - 0xa8]
call fcn.004366f4
add esp, 8
test esi, esi
je 0x43529e
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ecx, [ebp - 0x1b4]
call fcn.00423800
push dword [ebp - 0x100]
call fcn.004366f4
add esp, 4
test edi, edi
je 0x4352c3
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
lea ecx, [ebp - 0x140]
call fcn.0040c090
push dword [ebp - 0x13c]
call fcn.004366f4
add esp, 4
push dword [ebp - 0xd8]
call fcn.004366f4
push dword [ebp - 0x14c]
call fcn.004366f4
add esp, 8
push dword [ebp - 0x130]
call fcn.004366f4
push dword [ebp - 0x124]
call fcn.004366f4
push dword [ebp - 0x10c]
call fcn.004366f4
push dword [ebp - 0x118]
call fcn.004366f4
push dword [ebp - 0xc0]
call fcn.004366f4
push dword [ebp - 0x158]
call fcn.004366f4
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.00435a0c
mov esp, ebp
pop ebp
ret 0x10