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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46617c
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x479d24]
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 [0x47cb14], eax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x465641
cmp dword [ebp - 0x94], 2
mov byte [0x47cb10], 1
je 0x465648
mov byte [0x47cb10], 0
call fcn.00453c50
test al, al
jne 0x465658
xor eax, eax
jmp 0x465f7d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.004011b0
call fcn.0040cda0
lea ecx, [ebp - 0x17c]
call fcn.00412cd0
lea ecx, [ebp - 0xcc]
call fcn.00412cd0
lea ecx, [ebp - 0x13c]
call fcn.00412cd0
lea ecx, [ebp - 0x118]
call fcn.00412cd0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00412c70
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00412860
push dword [ebp - 0xc0]
call fcn.004368c6
add esp, 4
lea ecx, [ebp - 0x130]
call fcn.00412cd0
lea eax, [ebp - 0x130]
push eax
call fcn.00414e30
lea ecx, [ebp - 0xcc]
call fcn.00413cf0
lea ecx, [ebp - 0xcc]
call fcn.00413ca0
push 0x468540
lea ecx, [ebp - 0xcc]
xor bl, bl
call fcn.00413510
test al, al
je 0x46573e
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
add eax, 4
mov bl, 1
push eax
call fcn.00412e60
lea ecx, [ebp - 0xcc]
call fcn.00413cf0
lea ecx, [ebp - 0xcc]
call fcn.00413ca0
lea ecx, [ebp - 0x124]
call fcn.00412aa0
lea eax, [ebp - 0x124]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push dword [ebp - 0x130]
call fcn.00464c70
test al, al
jne 0x465783
test bl, bl
jne 0x465779
push str.Cant_load_config_info
push 0
call fcn.0042c0f0
mov edi, 1
jmp 0x465f36
push 0x468574
lea ecx, [ebp - 0x170]
call fcn.00412c00
lea ecx, [ebp - 0xd8]
call fcn.00412cd0
cmp dword [ebp - 0x120], 0
mov bh, 1
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xf4], bh
je 0x4659c4
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0xb0], 0
push eax
mov dword [ebp - 0xac], 0
call fcn.00414350
test al, al
jne 0x465813
test bl, bl
jne 0x4657fe
push str.Config_failed
push 0
call fcn.0042c0f0
lea ecx, [ebp - 0xb4]
mov edi, 1
call fcn.00429250
jmp 0x465f1d
push str.Title
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00414630
push str.BeginPrompt
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00414630
push 0x4685a8
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00414630
push 0x4685b4
push dword [ebp - 0x100]
call fcn.00413bf0
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.00414250
test eax, eax
js 0x4658a8
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0x170]
add eax, 0xc
push eax
call fcn.00412d60
cmp dword [ebp - 0xe0], 0
je 0x465902
test bl, bl
jne 0x465902
push 0x24
push dword [ebp - 0xc0]
push dword [ebp - 0xe4]
push 0
call edi
cmp eax, 6
je 0x465902
push dword [ebp - 0x100]
xor edi, edi
call fcn.004368c6
push dword [ebp - 0xe4]
call fcn.004368c6
push dword [ebp - 0xc0]
call fcn.004368c6
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.00429250
jmp 0x465f1d
push str.RunProgram
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00414630
push eax
lea ecx, [ebp - 0xd8]
call fcn.00412d60
push dword [ebp - 0xf0]
call fcn.004368c6
add esp, 4
lea eax, [ebp - 0xb4]
push str.ExecuteFile
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00414630
push eax
lea ecx, [ebp - 0x13c]
call fcn.00412d60
push dword [ebp - 0xf0]
call fcn.004368c6
add esp, 4
lea eax, [ebp - 0xb4]
push str.ExecuteParameters
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00414630
push eax
lea ecx, [ebp - 0x118]
call fcn.00412d60
push dword [ebp - 0xf0]
call fcn.004368c6
push dword [ebp - 0x100]
call fcn.004368c6
push dword [ebp - 0xe4]
call fcn.004368c6
push dword [ebp - 0xc0]
call fcn.004368c6
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.00429250
lea ecx, [ebp - 0x148]
mov byte [ebp - 0x14c], 0
call fcn.00412cd0
push 0x46851c
lea ecx, [ebp - 0x14c]
call fcn.00415200
test al, al
jne 0x465a04
test bl, bl
jne 0x4659fa
push str.Cannot_create_temp_folder_archive
push 0
call fcn.0042c0f0
mov edi, 1
jmp 0x465efd
push 0x18
call fcn.0043687c
mov esi, eax
add esp, 4
test esi, esi
je 0x465a44
mov dword [esi + 4], 0
mov dword [esi], 0x468510
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 0x465a46
xor esi, esi
mov ecx, esi
call fcn.00429570
test eax, eax
je 0x465a67
push str.Cannot_load_codecs
push 0
call fcn.0042c0f0
mov edi, 1
jmp 0x465eec
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00412ba0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xa5], 0
call fcn.00412cd0
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 - 0x130]
push eax
push esi
call fcn.0042d500
test eax, eax
je 0x465b5e
test bl, bl
jne 0x465b46
cmp eax, 1
je 0x465ad9
cmp byte [ebp - 0xa5], bl
jne 0x465ad9
cmp eax, 0x80004004
je 0x465b46
jmp 0x465aec
lea eax, [ebp - 0xb4]
push eax
push 8
call fcn.00418170
mov eax, 0x80004005
cmp dword [ebp - 0xb0], 0
jne 0x465b1c
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0042dde0
push eax
lea ecx, [ebp - 0xb4]
call fcn.00412d60
push dword [ebp - 0xf0]
call fcn.004368c6
add esp, 4
push 7
lea eax, [ebp - 0xf0]
push eax
call fcn.00418060
push 0x10
push dword [eax]
push dword [ebp - 0xb4]
push 0
call edi
push dword [ebp - 0xf0]
call fcn.004368c6
add esp, 4
push dword [ebp - 0xb4]
call fcn.004368c6
add esp, 4
mov edi, 1
jmp 0x465ede
push dword [ebp - 0xb4]
call fcn.004368c6
add esp, 4
lea ecx, [ebp - 0x1e4]
call fcn.0042dbb0
push dword [ebp - 0x10c]
call fcn.00415f60
test al, al
jne 0x465b90
mov edi, 1
jmp 0x465ed3
cmp dword [ebp - 0x138], 0
je 0x465caf
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0042ddb0
cmp dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x1b8], 0x3c
mov dword [ebp - 0x1b4], 0x140
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], eax
je 0x465c0a
lea ecx, [ebp - 0x118]
call fcn.004131e0
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x118]
call fcn.00412fb0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0042ddb0
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
cmp dword [ebp - 0xe0], ecx
mov dword [ebp - 0x1a0], ecx
cmove eax, ecx
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1b8]
push eax
mov dword [ebp - 0x180], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x198], 0x20
ja 0x465c93
test bl, bl
jne 0x465c70
push str.Cannot_open_file
push 0
call fcn.0042c0f0
push dword [ebp - 0xe4]
call fcn.004368c6
push dword [ebp - 0xc0]
call fcn.004368c6
add esp, 8
mov edi, 1
jmp 0x465ed3
push dword [ebp - 0xe4]
mov edi, dword [ebp - 0x180]
call fcn.004368c6
push dword [ebp - 0xc0]
jmp 0x465eb5
cmp dword [ebp - 0xd4], 0
jne 0x465cf1
push str.setup.exe
lea ecx, [ebp - 0xd8]
call fcn.00412e60
push dword [ebp - 0xd8]
call fcn.004162f0
test al, al
jne 0x465cf1
test bl, bl
jne 0x465ce7
push str.Cannot_find_setup.exe
push 0
call fcn.0042c0f0
mov edi, 1
jmp 0x465ed3
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00412ba0
lea eax, [ebp - 0xc0]
push eax
call fcn.00417ac0
push str.__T_
lea ecx, [ebp - 0x100]
call fcn.00412c70
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00413730
push dword [ebp - 0x100]
call fcn.004368c6
push dword [ebp - 0xc0]
call fcn.004368c6
add esp, 8
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0x164]
push eax
call fcn.00412ba0
push 0x4686cc
lea ecx, [ebp - 0xc0]
call fcn.00412c70
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00413730
push dword [ebp - 0xc0]
call fcn.004368c6
add esp, 4
cmp dword [ebp - 0xc8], 0
je 0x465dc0
lea ecx, [ebp - 0xd8]
call fcn.004131b0
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00412fb0
xor eax, eax
mov dword [ebp - 0x228], 0x44
mov word [ebp - 0x1f6], ax
mov dword [ebp - 0x1f4], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x1fc], 0
call fcn.00412ee0
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0042ddb0
push dword [ebp - 0x1d4]
call fcn.004368c6
add esp, 4
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x158]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x465e92
test bl, bl
jne 0x465e72
lea eax, [ebp - 0x164]
push eax
call fcn.00465090
push dword [ebp - 0x158]
call fcn.004368c6
push dword [ebp - 0x164]
call fcn.004368c6
add esp, 8
mov edi, 1
jmp 0x465ed3
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x158]
mov edi, dword [ebp - 0x1c8]
call fcn.004368c6
push dword [ebp - 0x164]
call fcn.004368c6
add esp, 8
test edi, edi
je 0x465ed1
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea ecx, [ebp - 0x1e4]
call fcn.0042dcc0
push dword [ebp - 0x10c]
call fcn.004368c6
add esp, 4
mov dword [ebp - 4], 0xd
test esi, esi
je 0x465efd
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0xe
call fcn.00415ca0
push dword [ebp - 0x148]
call fcn.004368c6
add esp, 4
push dword [ebp - 0xd8]
call fcn.004368c6
push dword [ebp - 0x170]
call fcn.004368c6
add esp, 8
push dword [ebp - 0x124]
call fcn.004368c6
push dword [ebp - 0x130]
call fcn.004368c6
push dword [ebp - 0x118]
call fcn.004368c6
push dword [ebp - 0x13c]
call fcn.004368c6
push dword [ebp - 0xcc]
call fcn.004368c6
push dword [ebp - 0x17c]
call fcn.004368c6
add esp, 0x18
mov eax, edi
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.004366be
mov esp, ebp
pop ebp
ret 0x10