Function at 0x431940
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x15c
mov dword [0x475f58], eax
push ebx
push esi
push edi
call fcn.00421ea0
mov byte [0x475e51], al
call fcn.004270f0
test al, al
jne 0x431975
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x400
jne 0x431987
call fcn.00433ce0
call fcn.00403190
lea ecx, [esp + 0xa8]
call fcn.00409540
lea ecx, [esp + 0x34]
call fcn.00409540
lea ecx, [esp + 0x9c]
call fcn.00409540
lea ecx, [esp + 0x78]
call fcn.00409540
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x6c]
call fcn.00409570
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0xac]
lea ecx, [esp + 0x6c]
call fcn.00408890
lea ecx, [esp + 0x68]
call fcn.004087b0
lea ecx, [esp + 0x90]
call fcn.00409540
lea ecx, [esp + 0x90]
call fcn.0040b040
lea ecx, [esp + 0x34]
call fcn.00408880
push ecx
lea ecx, [esp + 0x38]
xor bl, bl
call fcn.00408f30
test al, al
je 0x431a30
push ecx
lea ecx, [esp + 0x38]
mov bl, 1
call fcn.00421ca0
push eax
call fcn.004096a0
lea ecx, [esp + 0x34]
call fcn.00408880
lea ecx, [esp + 0x84]
call fcn.00409190
lea eax, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.00408800
mov ecx, eax
call fcn.00421fa0
test al, al
jne 0x431a74
test bl, bl
jne 0x431a6a
mov ecx, str.Cant_load_config_info
call fcn.00421f00
mov esi, 1
jmp 0x432135
push 0x46d5c0
lea ecx, [esp + 0x6c]
call fcn.004095b0
lea ecx, [esp + 0x28]
call fcn.00409540
lea ecx, [esp + 0x84]
mov byte [esp + 0x58], 1
call fcn.004087e0
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
test al, al
jne 0x431c4d
lea ecx, [esp + 0x10]
call fcn.004089f0
mov edx, ecx
lea ecx, [esp + 0x84]
call fcn.0040a300
test al, al
jne 0x431ae6
test bl, bl
jne 0x431ad3
mov ecx, str.Config_failed
call fcn.00421f00
lea ecx, [esp + 0x10]
mov esi, 1
call fcn.0041d710
jmp 0x432123
push str.Title
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
call fcn.0040a670
push str.BeginPrompt
lea edx, [esp + 0x14]
lea ecx, [esp + 0x50]
call fcn.0040a670
push 0x46d5f4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x60]
call fcn.0040a670
push 0x46d600
lea ecx, [esp + 0x60]
call fcn.0040aaa0
mov bh, al
lea ecx, [esp + 0x10]
mov edx, str.Directory
xor bh, 1
call fcn.0040a620
test eax, eax
js 0x431b58
push eax
lea ecx, [esp + 0x14]
call fcn.004089d0
add eax, 0xc
lea ecx, [esp + 0x68]
push eax
call fcn.00409710
lea ecx, [esp + 0x4c]
call fcn.004087e0
test al, al
jne 0x431bb3
test bl, bl
jne 0x431bb3
push 0x24
lea ecx, [esp + 0x20]
call fcn.00408800
push eax
lea ecx, [esp + 0x54]
call fcn.00408800
push eax
push 0
call edi
cmp eax, 6
je 0x431bb3
lea ecx, [esp + 0x5c]
xor esi, esi
call fcn.004087b0
lea ecx, [esp + 0x4c]
call fcn.004087b0
lea ecx, [esp + 0x1c]
call fcn.004087b0
lea ecx, [esp + 0x10]
call fcn.0041d710
jmp 0x432123
push str.RunProgram
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.0040a670
push eax
lea ecx, [esp + 0x2c]
call fcn.00409710
lea ecx, [esp + 0x40]
call fcn.004087b0
push str.ExecuteFile
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.0040a670
push eax
lea ecx, [esp + 0xa0]
call fcn.00409710
lea ecx, [esp + 0x40]
call fcn.004087b0
push str.ExecuteParameters
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.0040a670
push eax
lea ecx, [esp + 0x7c]
call fcn.00409710
lea ecx, [esp + 0x40]
call fcn.004087b0
lea ecx, [esp + 0x5c]
call fcn.004087b0
lea ecx, [esp + 0x4c]
call fcn.004087b0
lea ecx, [esp + 0x1c]
call fcn.004087b0
lea ecx, [esp + 0x10]
call fcn.0041d710
mov byte [esp + 0x58], bh
lea ecx, [esp + 0xb4]
call fcn.00421d40
push ecx
lea ecx, [esp + 0xb8]
call fcn.0040c130
test al, al
jne 0x431c82
test bl, bl
jne 0x431c78
mov ecx, str.Cannot_create_temp_folder_archive
call fcn.00421f00
mov esi, 1
jmp 0x432117
push 0x18
call fcn.004385b0
add esp, 4
mov ecx, eax
call fcn.00421f30
mov esi, eax
lea ecx, [esp + 0x74]
push esi
call fcn.00410010
mov ecx, esi
call fcn.0041d570
test eax, eax
je 0x431cbe
mov ecx, str.Cannot_load_codecs
call fcn.00421f00
mov esi, 1
jmp 0x43210e
lea ecx, [esp + 0xb4]
call fcn.00421db0
push eax
lea ecx, [esp + 0x50]
call fcn.00409670
lea ecx, [esp + 0x10]
mov byte [esp + 0xf], 0
call fcn.00409540
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x60]
lea eax, [esp + 0x58]
push eax
lea edx, [esp + 0xa0]
call fcn.00421940
mov edx, eax
test edx, edx
je 0x431da8
test bl, bl
jne 0x431d95
cmp edx, 1
je 0x431d2a
cmp byte [esp + 0xf], bl
jne 0x431d2a
cmp edx, 0x80004004
je 0x431d95
jmp 0x431d3d
lea edx, [esp + 0x10]
mov ecx, 8
call fcn.0040e2e0
mov edx, 0x80004005
lea ecx, [esp + 0x10]
call fcn.004087e0
test al, al
je 0x431d66
lea ecx, [esp + 0x40]
call fcn.00421d20
push eax
lea ecx, [esp + 0x14]
call fcn.00409710
lea ecx, [esp + 0x40]
call fcn.004087b0
push 0x10
mov edx, 7
lea ecx, [esp + 0x44]
call fcn.0040e0f0
mov ecx, eax
call fcn.00408800
push eax
lea ecx, [esp + 0x18]
call fcn.00408800
push eax
push 0
call edi
lea ecx, [esp + 0x40]
call fcn.004087b0
lea ecx, [esp + 0x10]
call fcn.004087b0
mov esi, 1
jmp 0x432105
lea ecx, [esp + 0x10]
call fcn.004087b0
lea ecx, [esp + 0x110]
call fcn.00421dc0
lea ecx, [esp + 0x4c]
call fcn.00408800
mov ecx, eax
call fcn.0040bc30
test al, al
je 0x4320be
lea ecx, [esp + 0x9c]
call fcn.004087e0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
jne 0x431f12
mov edx, ecx
lea ecx, [esp + 0x1c]
call fcn.00421d00
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc4], 0x3c
mov dword [esp + 0xc8], 0x140
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
call fcn.00408800
lea ecx, [esp + 0x34]
mov dword [esp + 0xd4], eax
call fcn.004087e0
test al, al
jne 0x431e5a
lea ecx, [esp + 0x78]
call fcn.00409960
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x7c]
call fcn.004099b0
lea edx, [esp + 0x78]
lea ecx, [esp + 0x10]
call fcn.00421d00
lea ecx, [esp + 0x10]
call fcn.004087e0
test al, al
je 0x431e81
mov dword [esp + 0xd8], 0
jmp 0x431e91
lea ecx, [esp + 0x10]
call fcn.00408800
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xdc], 0
push eax
mov dword [esp + 0xe4], 1
mov dword [esp + 0x100], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [esp + 0xe4], 0x20
ja 0x431ef4
test bl, bl
jne 0x431ed8
mov ecx, str.Cannot_open_file
call fcn.00421f00
lea ecx, [esp + 0x10]
call fcn.004087b0
lea ecx, [esp + 0x1c]
call fcn.004087b0
mov esi, 1
jmp 0x4320f9
mov esi, dword [esp + 0xfc]
lea ecx, [esp + 0x10]
call fcn.004087b0
lea ecx, [esp + 0x1c]
call fcn.004087b0
jmp 0x4320e7
lea ecx, [esp + 0x28]
call fcn.004087e0
test al, al
je 0x431f59
push str.setup.exe
call fcn.004096a0
lea ecx, [esp + 0x28]
call fcn.00408800
mov ecx, eax
call fcn.0040ce40
test al, al
jne 0x431f59
test bl, bl
jne 0x4320be
mov ecx, str.Cannot_find_setup.exe
call fcn.00421f00
mov esi, 1
jmp 0x4320f9
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.00409670
lea ecx, [esp + 0x1c]
call fcn.0040d5e0
push str.__T_
lea ecx, [esp + 0x14]
call fcn.00409570
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00409c10
lea ecx, [esp + 0x10]
call fcn.004087b0
lea ecx, [esp + 0x1c]
call fcn.004087b0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00409670
push 0x46d71c
lea ecx, [esp + 0x14]
call fcn.00409570
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00409c10
lea ecx, [esp + 0x10]
call fcn.004087b0
lea ecx, [esp + 0x34]
call fcn.004087e0
test al, al
jne 0x431fff
lea ecx, [esp + 0x28]
call fcn.00409950
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
call fcn.004099b0
xor eax, eax
mov dword [esp + 0x120], 0x44
mov word [esp + 0x152], ax
lea edx, [esp + 0x68]
mov dword [esp + 0x154], eax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x28]
mov dword [esp + 0x124], 0
push eax
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x150], 0
call fcn.00409500
mov edx, eax
lea ecx, [esp + 0x5c]
call fcn.00421d00
lea ecx, [esp + 0x40]
call fcn.004087b0
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x124]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x7c]
call fcn.00408800
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4320c5
test bl, bl
jne 0x4320ac
lea ecx, [esp + 0x1c]
call fcn.004221e0
lea ecx, [esp + 0x5c]
call fcn.004087b0
lea ecx, [esp + 0x1c]
call fcn.004087b0
mov esi, 1
jmp 0x4320f9
push dword [esp + 0x104]
call edi
mov esi, dword [esp + 0x100]
lea ecx, [esp + 0x5c]
call fcn.004087b0
lea ecx, [esp + 0x1c]
call fcn.004087b0
test esi, esi
je 0x4320f7
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
xor esi, esi
lea ecx, [esp + 0x110]
call fcn.00421e20
lea ecx, [esp + 0x4c]
call fcn.004087b0
lea ecx, [esp + 0x74]
call fcn.0040fc70
lea ecx, [esp + 0xb4]
call fcn.00421d60
lea ecx, [esp + 0x28]
call fcn.004087b0
lea ecx, [esp + 0x68]
call fcn.004087b0
lea ecx, [esp + 0x84]
call fcn.004087b0
lea ecx, [esp + 0x90]
call fcn.004087b0
lea ecx, [esp + 0x78]
call fcn.004087b0
lea ecx, [esp + 0x9c]
call fcn.004087b0
lea ecx, [esp + 0x34]
call fcn.004087b0
lea ecx, [esp + 0xa8]
call fcn.004087b0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10