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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a250
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x532094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [0x534d50], eax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4356b1
cmp dword [ebp - 0x94], 2
mov byte [0x534d54], 1
je 0x4356b8
mov byte [0x534d54], 0
call fcn.00427aa0
test al, al
jne 0x4356c8
xor eax, eax
jmp 0x436112
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x400
jne 0x4356da
call fcn.00436130
call fcn.00403100
lea ecx, [ebp - 0x180]
call fcn.00408d60
lea ecx, [ebp - 0xcc]
call fcn.00408d60
lea ecx, [ebp - 0x158]
call fcn.00408d60
lea ecx, [ebp - 0x118]
call fcn.00408d60
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00408d20
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004088e0
push dword [ebp - 0xc0]
call fcn.004475f5
add esp, 4
lea ecx, [ebp - 0x14c]
call fcn.00408d60
lea eax, [ebp - 0x14c]
push eax
call fcn.0040ae00
lea ecx, [ebp - 0xcc]
call fcn.00409c50
lea ecx, [ebp - 0xcc]
call fcn.00409c00
push 0x45c4b0
lea ecx, [ebp - 0xcc]
xor bl, bl
call fcn.004094c0
test al, al
je 0x4357b5
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
add eax, 4
mov bl, 1
push eax
call fcn.00408f60
lea ecx, [ebp - 0xcc]
call fcn.00409c50
lea ecx, [ebp - 0xcc]
call fcn.00409c00
lea ecx, [ebp - 0x140]
call fcn.00408b10
lea eax, [ebp - 0x140]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push dword [ebp - 0x14c]
call fcn.00435080
test al, al
jne 0x4357fa
test bl, bl
jne 0x4357f0
push str.Cant_load_config_info
push 0
call fcn.00420cd0
mov ebx, 1
jmp 0x4360cb
push 0x45c4e4
lea ecx, [ebp - 0x174]
call fcn.00408c60
lea ecx, [ebp - 0xe4]
call fcn.00408d60
cmp dword [ebp - 0x13c], 0
mov bh, 1
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xf4], bh
je 0x435ab0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
push eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0xb0], 0
push eax
mov dword [ebp - 0xac], 0
call fcn.0040a160
test al, al
jne 0x43587f
test bl, bl
jne 0x435875
push str.Config_failed
push 0
call fcn.00420cd0
mov ebx, 1
jmp 0x435966
push str.Title
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040a550
push str.BeginPrompt
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.0040a550
push 0x45c518
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0040a550
push 0x45c524
push dword [ebp - 0x100]
call fcn.00409b40
xor edx, edx
movzx ecx, bh
test al, al
lea eax, [ebp - 0xb4]
push str.Directory
cmovne ecx, edx
push eax
mov byte [ebp - 0xf4], cl
call fcn.0040a060
test eax, eax
js 0x435914
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x174]
add eax, 0xc
push eax
call fcn.00408df0
cmp dword [ebp - 0xd4], 0
je 0x4359a7
test bl, bl
jne 0x4359a7
push 0x24
push dword [ebp - 0xc0]
push dword [ebp - 0xd8]
push 0
call edi
cmp eax, 6
je 0x4359a7
push dword [ebp - 0x100]
xor ebx, ebx
call fcn.004475f5
push dword [ebp - 0xd8]
call fcn.004475f5
push dword [ebp - 0xc0]
call fcn.004475f5
add esp, 0xc
mov edi, dword [ebp - 0xb0]
test edi, edi
je 0x43599c
mov eax, dword [ebp - 0xb4]
dec edi
mov esi, dword [eax + edi*4]
test esi, esi
je 0x435998
push dword [esi + 0xc]
call fcn.004475f5
push dword [esi]
call fcn.004475f5
push 0x18
push esi
call fcn.004475de
add esp, 0x10
test edi, edi
jne 0x435970
push dword [ebp - 0xb4]
jmp 0x4360aa
push str.RunProgram
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0040a550
push eax
lea ecx, [ebp - 0xe4]
call fcn.00408df0
push dword [ebp - 0xf0]
call fcn.004475f5
add esp, 4
lea eax, [ebp - 0xb4]
push str.ExecuteFile
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0040a550
push eax
lea ecx, [ebp - 0x158]
call fcn.00408df0
push dword [ebp - 0xf0]
call fcn.004475f5
add esp, 4
lea eax, [ebp - 0xb4]
push str.ExecuteParameters
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0040a550
push eax
lea ecx, [ebp - 0x118]
call fcn.00408df0
push dword [ebp - 0xf0]
call fcn.004475f5
push dword [ebp - 0x100]
call fcn.004475f5
push dword [ebp - 0xd8]
call fcn.004475f5
push dword [ebp - 0xc0]
call fcn.004475f5
mov edi, dword [ebp - 0xb0]
add esp, 0x10
test edi, edi
je 0x435a9c
nop dword [eax + eax]
mov eax, dword [ebp - 0xb4]
dec edi
mov esi, dword [eax + edi*4]
test esi, esi
je 0x435a98
push dword [esi + 0xc]
call fcn.004475f5
push dword [esi]
call fcn.004475f5
push 0x18
push esi
call fcn.004475de
add esp, 0x10
test edi, edi
jne 0x435a70
push dword [ebp - 0xb4]
call fcn.004475f5
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
add esp, 4
lea ecx, [ebp - 0x164]
mov byte [ebp - 0x168], 0
call fcn.00408d60
push 0x45c48c
lea ecx, [ebp - 0x168]
call fcn.0040b190
test al, al
jne 0x435af0
test bl, bl
jne 0x435ae6
push str.Cannot_create_temp_folder_archive
push 0
call fcn.00420cd0
mov ebx, 1
jmp 0x436092
push 0x18
call fcn.004475ae
mov esi, eax
add esp, 4
test esi, esi
je 0x435b30
mov dword [esi + 4], 0
mov dword [esi], 0x45c480
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x435b32
xor esi, esi
mov ecx, esi
call fcn.0041e260
test eax, eax
je 0x435b53
push str.Cannot_load_codecs
push 0
call fcn.00420cd0
mov ebx, 1
jmp 0x436081
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00408c20
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xa5], 0
call fcn.00408d60
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa5]
push eax
push dword [ebp - 0xf4]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x14c]
push eax
push esi
call fcn.00421e30
test eax, eax
je 0x435c4d
test bl, bl
jne 0x435c38
cmp eax, 1
je 0x435bc5
cmp byte [ebp - 0xa5], bl
jne 0x435bc5
cmp eax, 0x80004004
je 0x435c38
jmp 0x435bd8
lea eax, [ebp - 0xb4]
push eax
push 8
call fcn.0040de40
mov eax, 0x80004005
cmp dword [ebp - 0xb0], 0
jne 0x435c0e
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040af00
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00408df0
push dword [ebp - 0xc0]
call fcn.004475f5
add esp, 4
push 7
lea eax, [ebp - 0xf0]
push eax
call fcn.0040dd30
push 0x10
push dword [eax]
push dword [ebp - 0xb4]
push 0
call edi
push dword [ebp - 0xf0]
call fcn.004475f5
add esp, 4
push dword [ebp - 0xb4]
call fcn.004475f5
mov ebx, 1
jmp 0x436070
push dword [ebp - 0xb4]
call fcn.004475f5
add esp, 4
lea ecx, [ebp - 0x128]
call fcn.00408d60
lea eax, [ebp - 0x128]
mov byte [ebp - 0x11c], 1
push eax
call fcn.0040b870
push dword [ebp - 0x10c]
call fcn.0040be40
test al, al
jne 0x435c92
mov ebx, 1
jmp 0x435fdb
cmp dword [ebp - 0x154], 0
je 0x435db5
push 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00409f90
cmp dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x1bc], 0x3c
mov dword [ebp - 0x1b8], 0x140
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], eax
je 0x435d0e
lea ecx, [ebp - 0x118]
call fcn.00409220
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x118]
call fcn.00409040
push 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00409f90
mov eax, dword [ebp - 0xd8]
xor ecx, ecx
cmp dword [ebp - 0xd4], ecx
mov dword [ebp - 0x1a4], ecx
cmove eax, ecx
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x1bc]
push eax
mov dword [ebp - 0x184], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x19c], 0x20
ja 0x435d99
test bl, bl
jne 0x435d76
push str.Cannot_open_file
push 0
call fcn.00420cd0
push dword [ebp - 0xd8]
call fcn.004475f5
push dword [ebp - 0xc0]
call fcn.004475f5
add esp, 8
mov ebx, 1
jmp 0x435fdb
push dword [ebp - 0xd8]
mov edi, dword [ebp - 0x184]
call fcn.004475f5
push dword [ebp - 0xc0]
jmp 0x435fbd
cmp dword [ebp - 0xe0], 0
jne 0x435df7
push str.setup.exe
lea ecx, [ebp - 0xe4]
call fcn.00408f60
push dword [ebp - 0xe4]
call fcn.0040c180
test al, al
jne 0x435df7
test bl, bl
jne 0x435ded
push str.Cannot_find_setup.exe
push 0
call fcn.00420cd0
mov ebx, 1
jmp 0x435fdb
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00408c20
lea eax, [ebp - 0xc0]
push eax
call fcn.0040d830
push str.__T_
lea ecx, [ebp - 0xd8]
call fcn.00408d20
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00409750
push dword [ebp - 0xd8]
call fcn.004475f5
push dword [ebp - 0xc0]
call fcn.004475f5
add esp, 8
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0xb4]
push eax
call fcn.00408c20
push 0x45c63c
lea ecx, [ebp - 0xc0]
call fcn.00408d20
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00409750
push dword [ebp - 0xc0]
call fcn.004475f5
add esp, 4
cmp dword [ebp - 0xc8], 0
je 0x435ec6
lea ecx, [ebp - 0xe4]
call fcn.004091f0
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00409040
xor eax, eax
mov dword [ebp - 0x210], 0x44
mov word [ebp - 0x1de], ax
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x20c], 0
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x208], 0
push eax
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x1e4], 0
call fcn.00408fd0
push 0
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00409f90
push dword [ebp - 0xf0]
call fcn.004475f5
add esp, 4
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x100]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x435f9a
test bl, bl
jne 0x435f7a
lea eax, [ebp - 0xb4]
push eax
call fcn.004354b0
push dword [ebp - 0x100]
call fcn.004475f5
push dword [ebp - 0xb4]
call fcn.004475f5
add esp, 8
mov ebx, 1
jmp 0x435fdb
push dword [ebp - 0x1c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x100]
mov edi, dword [ebp - 0x1cc]
call fcn.004475f5
push dword [ebp - 0xb4]
call fcn.004475f5
add esp, 8
test edi, edi
je 0x435fd9
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp byte [ebp - 0x11c], 0
mov dword [ebp - 4], 0xd
je 0x436065
lea ecx, [ebp - 0x134]
call fcn.00408d60
lea eax, [ebp - 0x134]
push eax
call fcn.0040b870
test al, al
je 0x436057
mov eax, dword [ebp - 0x130]
mov edi, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x124]
jne 0x436051
mov eax, dword [ebp - 0x134]
mov ecx, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436048
test dx, dx
je 0x436044
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436048
add eax, 4
add ecx, 4
test dx, dx
jne 0x436022
xor eax, eax
jmp 0x43604d
sbb eax, eax
or eax, 1
test eax, eax
je 0x436057
push edi
call fcn.0040be40
push dword [ebp - 0x134]
call fcn.004475f5
add esp, 4
push dword [ebp - 0x128]
call fcn.004475f5
add esp, 4
push dword [ebp - 0x10c]
call fcn.004475f5
add esp, 4
mov dword [ebp - 4], 0xe
test esi, esi
je 0x436092
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x168]
mov dword [ebp - 4], 0xf
call fcn.0040bb80
push dword [ebp - 0x164]
call fcn.004475f5
add esp, 4
push dword [ebp - 0xe4]
call fcn.004475f5
push dword [ebp - 0x174]
call fcn.004475f5
add esp, 8
push dword [ebp - 0x140]
call fcn.004475f5
push dword [ebp - 0x14c]
call fcn.004475f5
push dword [ebp - 0x118]
call fcn.004475f5
push dword [ebp - 0x158]
call fcn.004475f5
push dword [ebp - 0xcc]
call fcn.004475f5
push dword [ebp - 0x180]
call fcn.004475f5
add esp, 0x18
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004473c7
mov esp, ebp
pop ebp
ret 0x10