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

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x98
push 0xffffffffffffffff
push 0x45d44c
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x46a164]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xa0]
mov dword [0x46cf94], eax
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x430929
cmp dword [ebp + 0x10], 2
mov byte [0x46cf90], 1
je 0x430930
mov byte [0x46cf90], 0
call fcn.00439890
test al, al
jne 0x430940
xor eax, eax
jmp 0x431106
call fcn.00404390
lea ecx, [ebp - 0xe4]
call fcn.0040cf20
lea ecx, [ebp - 0x34]
call fcn.0040cf20
lea ecx, [ebp - 0xa4]
call fcn.0040cf20
lea ecx, [ebp - 0x80]
call fcn.0040cf20
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d0c0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040a5c0
push dword [ebp - 0x28]
call fcn.0044c236
add esp, 4
lea ecx, [ebp - 0x98]
call fcn.0040cf20
lea eax, [ebp - 0x98]
push eax
call fcn.00411e50
lea ecx, [ebp - 0x34]
call fcn.0040d720
lea ecx, [ebp - 0x34]
call fcn.0040d6d0
push 0x45f4c0
lea ecx, [ebp - 0x34]
xor bl, bl
call fcn.0040d5f0
test al, al
je 0x4309f4
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
add eax, 4
mov bl, 1
push eax
call fcn.0040d1d0
lea ecx, [ebp - 0x34]
call fcn.0040d720
lea ecx, [ebp - 0x34]
call fcn.0040d6d0
lea ecx, [ebp - 0x8c]
call fcn.0040bed0
lea eax, [ebp - 0x8c]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push dword [ebp - 0x98]
call fcn.0044b6d0
test al, al
jne 0x430a39
test bl, bl
jne 0x430a2f
push str.Cant_load_config_info
push 0
call fcn.0042ecb0
mov edi, 1
jmp 0x4310c5
push 0x45f4f4
lea ecx, [ebp - 0xd8]
call fcn.0040cff0
lea ecx, [ebp - 0x40]
call fcn.0040cf20
cmp dword [ebp - 0x88], 0
mov bh, 1
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0x5c], bh
je 0x430c05
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.0040e730
test al, al
jne 0x430ab4
test bl, bl
jne 0x430aa2
push str.Config_failed
push 0
call fcn.0042ecb0
lea ecx, [ebp - 0x1c]
mov edi, 1
call fcn.0042b8b0
jmp 0x4310af
push str.Title
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040ea40
push str.BeginPrompt
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ea40
push 0x45f528
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040ea40
push 0x45f534
push dword [ebp - 0x68]
call fcn.0040b910
xor edx, edx
movzx ecx, bh
test al, al
lea eax, [ebp - 0x1c]
push str.Directory
cmovne ecx, edx
push eax
mov byte [ebp - 0x5c], cl
call fcn.0040ea00
test eax, eax
js 0x430b2b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
lea ecx, [ebp - 0xd8]
add eax, 0xc
push eax
call fcn.0040d240
cmp dword [ebp - 0x48], 0
je 0x430b70
test bl, bl
jne 0x430b70
push 0x24
push dword [ebp - 0x28]
push dword [ebp - 0x4c]
push 0
call edi
cmp eax, 6
je 0x430b70
push dword [ebp - 0x68]
xor edi, edi
call fcn.0044c236
push dword [ebp - 0x4c]
call fcn.0044c236
push dword [ebp - 0x28]
call fcn.0044c236
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0042b8b0
jmp 0x4310af
push str.RunProgram
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040ea40
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d240
push dword [ebp - 0x58]
call fcn.0044c236
add esp, 4
lea eax, [ebp - 0x1c]
push str.ExecuteFile
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040ea40
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040d240
push dword [ebp - 0x58]
call fcn.0044c236
add esp, 4
lea eax, [ebp - 0x1c]
push str.ExecuteParameters
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040ea40
push eax
lea ecx, [ebp - 0x80]
call fcn.0040d240
push dword [ebp - 0x58]
call fcn.0044c236
push dword [ebp - 0x68]
call fcn.0044c236
push dword [ebp - 0x4c]
call fcn.0044c236
push dword [ebp - 0x28]
call fcn.0044c236
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.0042b8b0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 0xb4], 0
call fcn.0040cf20
push 0x45f7c4
lea ecx, [ebp - 0xb4]
call fcn.004133c0
test al, al
jne 0x430c45
test bl, bl
jne 0x430c3b
push str.Cannot_create_temp_folder_archive
push 0
call fcn.0042ecb0
mov edi, 1
jmp 0x43108f
push 0x18
call fcn.0044c1ec
mov esi, eax
add esp, 4
test esi, esi
je 0x430c85
mov dword [esi + 4], 0
mov dword [esi], 0x45f85c
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 0x430c87
xor esi, esi
mov ecx, esi
call fcn.0042b520
test eax, eax
je 0x430ca8
push str.Cannot_load_codecs
push 0
call fcn.0042ecb0
mov edi, 1
jmp 0x43107e
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040d120
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], 0
call fcn.0040cf20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x98]
push eax
push esi
call fcn.0042fca0
test eax, eax
je 0x430d68
test bl, bl
jne 0x430d53
cmp eax, 1
je 0x430cfe
cmp byte [ebp - 0xd], bl
jne 0x430cfe
cmp eax, 0x80004004
je 0x430d53
jmp 0x430d0e
lea eax, [ebp - 0x1c]
push eax
push 8
call fcn.00416da0
mov eax, 0x80004005
cmp dword [ebp - 0x18], 0
jne 0x430d32
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044b660
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040d240
push dword [ebp - 0x58]
call fcn.0044c236
add esp, 4
push 7
lea eax, [ebp - 0x58]
push eax
call fcn.00416bb0
push 0x10
push dword [eax]
push dword [ebp - 0x1c]
push 0
call edi
push dword [ebp - 0x58]
call fcn.0044c236
add esp, 4
push dword [ebp - 0x1c]
call fcn.0044c236
add esp, 4
mov edi, 1
jmp 0x431073
push dword [ebp - 0x1c]
call fcn.0044c236
add esp, 4
lea ecx, [ebp - 0x14c]
call fcn.00431470
push dword [ebp - 0x74]
call fcn.00412c00
test al, al
jne 0x430d94
mov edi, 1
jmp 0x431068
cmp dword [ebp - 0xa0], 0
je 0x430e89
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044b640
cmp dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x120], 0x3c
mov dword [ebp - 0x11c], 0x140
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], eax
je 0x430dfc
lea ecx, [ebp - 0x80]
call fcn.0040d420
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040d500
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0044b640
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
cmp dword [ebp - 0x48], ecx
mov dword [ebp - 0x108], ecx
cmove eax, ecx
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0xe8], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [ebp - 0x100], 0x20
ja 0x430e73
test bl, bl
jne 0x430e56
push str.Cannot_open_file
push 0
call fcn.0042ecb0
push dword [ebp - 0x4c]
call fcn.0044c236
push dword [ebp - 0x28]
call fcn.0044c236
add esp, 8
mov edi, 1
jmp 0x431068
push dword [ebp - 0x4c]
mov edi, dword [ebp - 0xe8]
call fcn.0044c236
push dword [ebp - 0x28]
jmp 0x43104a
cmp dword [ebp - 0x3c], 0
jne 0x430ec2
push str.setup.exe
lea ecx, [ebp - 0x40]
call fcn.0040d1d0
push dword [ebp - 0x40]
call fcn.00413740
test al, al
jne 0x430ec2
test bl, bl
jne 0x430eb8
push str.Cannot_find_setup.exe
push 0
call fcn.0042ecb0
mov edi, 1
jmp 0x431068
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d120
lea eax, [ebp - 0x28]
push eax
call fcn.004152e0
push str.__T_
lea ecx, [ebp - 0x68]
call fcn.0040d0c0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d940
push dword [ebp - 0x68]
call fcn.0044c236
push dword [ebp - 0x28]
call fcn.0044c236
add esp, 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xcc]
push eax
call fcn.0040d120
push 0x45f65c
lea ecx, [ebp - 0x28]
call fcn.0040d0c0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d940
push dword [ebp - 0x28]
call fcn.0044c236
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x430f58
lea ecx, [ebp - 0x40]
call fcn.0040d3f0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d500
xor eax, eax
mov dword [ebp - 0x190], 0x44
mov word [ebp - 0x15e], ax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x18c], 0
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x188], 0
push eax
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x164], 0
call fcn.0040cd40
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0044b640
push dword [ebp - 0x13c]
call fcn.0044c236
add esp, 4
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x190]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0xc0]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x431027
test bl, bl
jne 0x431007
lea eax, [ebp - 0xcc]
push eax
call fcn.0044bac0
push dword [ebp - 0xc0]
call fcn.0044c236
push dword [ebp - 0xcc]
call fcn.0044c236
add esp, 8
mov edi, 1
jmp 0x431068
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc0]
mov edi, dword [ebp - 0x130]
call fcn.0044c236
push dword [ebp - 0xcc]
call fcn.0044c236
add esp, 8
test edi, edi
je 0x431066
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 - 0x14c]
call fcn.00431660
push dword [ebp - 0x74]
call fcn.0044c236
add esp, 4
mov dword [ebp - 4], 0xd
test esi, esi
je 0x43108f
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xe
call fcn.004134d0
push dword [ebp - 0xb0]
call fcn.0044c236
add esp, 4
push dword [ebp - 0x40]
call fcn.0044c236
push dword [ebp - 0xd8]
call fcn.0044c236
add esp, 8
push dword [ebp - 0x8c]
call fcn.0044c236
push dword [ebp - 0x98]
call fcn.0044c236
push dword [ebp - 0x80]
call fcn.0044c236
push dword [ebp - 0xa4]
call fcn.0044c236
push dword [ebp - 0x34]
call fcn.0044c236
push dword [ebp - 0xe4]
call fcn.0044c236
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 + 0x94]
xor ecx, ebp
call fcn.0044c020
lea esp, [ebp + 0x98]
pop ebp
ret 0x10