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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x453090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [0x456854], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x436e16
cmp dword [ebp - 0x88], 2
mov byte [0x456850], 1
je 0x436e1d
mov byte [0x456850], 0
call fcn.00428790
test al, al
jne 0x436e38
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437dfc
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.00438ae4
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 0x4494c8
lea ecx, [ebp - 0xc0]
xor bl, bl
call fcn.00409840
test al, al
je 0x436f15
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.00436390
test al, al
jne 0x436f5a
test bl, bl
jne 0x436f50
push str.Cant_load_config_info
push 0
call fcn.00421b50
mov esi, 1
jmp 0x4376e6
push 0x4494fc
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 0x43719d
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 0x436fea
test bl, bl
jne 0x436fd5
push str.Config_failed
push 0
call fcn.00421b50
lea ecx, [ebp - 0xa8]
mov esi, 1
call fcn.00423750
jmp 0x4376cd
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 0x449530
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0040a9c0
push 0x44953c
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 0x437081
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 0x4370db
test bl, bl
jne 0x4370db
push 0x24
push dword [ebp - 0xb4]
push dword [ebp - 0xcc]
push 0
call esi
cmp eax, 6
je 0x4370db
push dword [ebp - 0xf4]
xor esi, esi
call fcn.00438ae4
push dword [ebp - 0xcc]
call fcn.00438ae4
push dword [ebp - 0xb4]
call fcn.00438ae4
add esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.00423750
jmp 0x4376cd
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.00438ae4
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.00438ae4
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.00438ae4
push dword [ebp - 0xf4]
call fcn.00438ae4
push dword [ebp - 0xcc]
call fcn.00438ae4
push dword [ebp - 0xb4]
call fcn.00438ae4
add esp, 0x10
lea ecx, [ebp - 0xa8]
call fcn.00423750
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x140], 0
call fcn.004090c0
push 0x449498
lea ecx, [ebp - 0x140]
call fcn.0040b620
test al, al
jne 0x4371dd
test bl, bl
jne 0x4371d3
push str.Cannot_create_temp_folder_archive
push 0
call fcn.00421b50
mov esi, 1
jmp 0x4376b4
push edi
push 0x18
call fcn.00438a69
add esp, 4
test eax, eax
je 0x437201
mov ecx, eax
call fcn.00423630
mov edi, eax
test edi, edi
je 0x437203
mov eax, dword [edi]
push edi
call dword [eax + 4]
jmp 0x437203
xor edi, edi
mov ecx, edi
call fcn.0041f050
test eax, eax
je 0x437224
push str.Cannot_load_codecs
push 0
call fcn.00421b50
mov esi, 1
jmp 0x4376a9
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 0x43731b
test bl, bl
jne 0x437303
cmp eax, 1
je 0x437296
cmp byte [ebp - 0x99], bl
jne 0x437296
cmp eax, 0x80004004
je 0x437303
jmp 0x4372a9
lea eax, [ebp - 0xa8]
push eax
push 8
call fcn.0040e610
mov eax, 0x80004005
cmp dword [ebp - 0xa4], 0
jne 0x4372d9
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00436370
push eax
lea ecx, [ebp - 0xa8]
call fcn.00409150
push dword [ebp - 0xe4]
call fcn.00438ae4
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.00438ae4
add esp, 4
push dword [ebp - 0xa8]
call fcn.00438ae4
add esp, 4
mov esi, 1
jmp 0x43769b
push dword [ebp - 0xa8]
call fcn.00438ae4
add esp, 4
lea ecx, [ebp - 0x1b4]
call fcn.00423660
push dword [ebp - 0x100]
call fcn.0040c360
test al, al
jne 0x43734d
mov esi, 1
jmp 0x437690
cmp dword [ebp - 0x114], 0
je 0x43746c
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00436190
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 0x4373c7
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.00436190
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 0x437450
test bl, bl
jne 0x43742d
push str.Cannot_open_file
push 0
call fcn.00421b50
push dword [ebp - 0xcc]
call fcn.00438ae4
push dword [ebp - 0xb4]
call fcn.00438ae4
add esp, 8
mov esi, 1
jmp 0x437690
push dword [ebp - 0xcc]
mov esi, dword [ebp - 0x15c]
call fcn.00438ae4
push dword [ebp - 0xb4]
jmp 0x437672
cmp dword [ebp - 0xd4], 0
jne 0x4374ae
push str.setup.exe
lea ecx, [ebp - 0xd8]
call fcn.00409250
push dword [ebp - 0xd8]
call fcn.0040c6c0
test al, al
jne 0x4374ae
test bl, bl
jne 0x4374a4
push str.Cannot_find_setup.exe
push 0
call fcn.00421b50
mov esi, 1
jmp 0x437690
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.00438ae4
push dword [ebp - 0xb4]
call fcn.00438ae4
add esp, 8
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00408f90
push 0x449654
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.00438ae4
add esp, 4
cmp dword [ebp - 0xbc], 0
je 0x43757d
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.00436190
push dword [ebp - 0xe4]
call fcn.00438ae4
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 0x43764f
test bl, bl
jne 0x43762f
lea eax, [ebp - 0xa8]
push eax
call fcn.00436820
push dword [ebp - 0xf4]
call fcn.00438ae4
push dword [ebp - 0xa8]
call fcn.00438ae4
add esp, 8
mov esi, 1
jmp 0x437690
push dword [ebp - 0x1a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xf4]
mov esi, dword [ebp - 0x1a4]
call fcn.00438ae4
push dword [ebp - 0xa8]
call fcn.00438ae4
add esp, 8
test esi, esi
je 0x43768e
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.00438ae4
add esp, 4
test edi, edi
je 0x4376b3
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.00438ae4
add esp, 4
push dword [ebp - 0xd8]
call fcn.00438ae4
push dword [ebp - 0x14c]
call fcn.00438ae4
add esp, 8
push dword [ebp - 0x130]
call fcn.00438ae4
push dword [ebp - 0x124]
call fcn.00438ae4
push dword [ebp - 0x10c]
call fcn.00438ae4
push dword [ebp - 0x118]
call fcn.00438ae4
push dword [ebp - 0xc0]
call fcn.00438ae4
push dword [ebp - 0x158]
call fcn.00438ae4
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.00437dfc
mov esp, ebp
pop ebp
ret 0x10