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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x41c198], eax
call fcn.00401a02
test al, al
jne 0x401042
mov edx, str.Unsupported_Windows_version
xor ecx, ecx
call fcn.0040b375
jmp 0x4018af
call fcn.00413ad0
lea ecx, [ebp - 0xc4]
call fcn.00403770
lea ecx, [ebp - 0x1c]
call fcn.00403770
lea ecx, [ebp - 0x90]
call fcn.00403770
lea ecx, [ebp - 0x68]
call fcn.00403770
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x44]
call fcn.00403793
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x44]
call fcn.004030b5
push dword [ebp - 0x44]
call fcn.00403304
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.00403770
lea ecx, [ebp - 0xa8]
call fcn.00404380
lea ecx, [ebp - 0x1c]
call fcn.00403b90
lea ecx, [ebp - 0x1c]
call fcn.00403b45
xor ebx, ebx
push 0x41855c
lea ecx, [ebp - 0x1c]
mov byte [ebp + 0xb], bl
call fcn.00403370
test al, al
je 0x4010f6
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
add eax, 4
mov byte [ebp + 0xb], 1
push eax
call fcn.00403804
lea ecx, [ebp - 0x1c]
call fcn.00403b90
lea ecx, [ebp - 0x1c]
call fcn.00403b45
lea ecx, [ebp - 0x9c]
call fcn.00403490
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
push eax
push str.___InstallEnd__
mov edx, str.___Install__UTF_8_
call fcn.00401a88
test al, al
jne 0x40113a
cmp byte [ebp + 0xb], bl
jne 0x401132
mov edx, str.Cant_load_config_info
xor ecx, ecx
call fcn.0040b375
push 1
pop ebx
jmp 0x401933
push 0x418524
lea ecx, [ebp - 0xb8]
call fcn.00403793
lea ecx, [ebp - 0x38]
call fcn.00403770
cmp dword [ebp - 0x98], ebx
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0xac], 1
je 0x4013d3
lea ecx, [ebp - 0x28]
call fcn.00401dee
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x9c]
call fcn.00403ce9
test al, al
jne 0x40119e
cmp byte [ebp + 0xb], bl
jne 0x401196
mov edx, str.Config_failed
xor ecx, ecx
call fcn.0040b375
push 1
pop ebx
jmp 0x4012a8
push str.Title
lea ecx, [ebp - 0x10]
call fcn.00403793
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404007
push dword [ebp - 0x10]
call fcn.00403304
lea ecx, [ebp - 0x10]
mov dword [esp], str.BeginPrompt
call fcn.00403793
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x50]
call fcn.00404007
push dword [ebp - 0x10]
call fcn.00403304
lea ecx, [ebp - 0x10]
mov dword [esp], 0x4184d0
call fcn.00403793
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404007
push dword [ebp - 0x10]
call fcn.00403304
pop ecx
mov edx, 0x4184cc
mov ecx, dword [ebp - 0xd0]
call fcn.004033b1
test al, al
je 0x40122c
mov byte [ebp - 0xac], bl
push str.Directory
lea ecx, [ebp - 0x10]
call fcn.00403793
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x28]
call fcn.00403fd8
push dword [ebp - 0x10]
mov esi, eax
call fcn.00403304
cmp esi, ebx
pop ecx
jl 0x401268
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb8]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
call fcn.00403868
cmp dword [ebp - 0x4c], ebx
je 0x401307
cmp byte [ebp + 0xb], bl
jne 0x401307
push 0x24
push dword [ebp - 0x44]
push dword [ebp - 0x50]
push ebx
call edi
cmp eax, 6
je 0x401307
push dword [ebp - 0xd0]
call fcn.00403304
push dword [ebp - 0x50]
call fcn.00403304
push dword [ebp - 0x44]
call fcn.00403304
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00401cf7
push dword [ebp - 0x38]
call fcn.00403304
push dword [ebp - 0xb8]
call fcn.00403304
push dword [ebp - 0x9c]
call fcn.00403304
push dword [ebp - 0xa8]
call fcn.00403304
push dword [ebp - 0x68]
call fcn.00403304
push dword [ebp - 0x90]
call fcn.00403304
push dword [ebp - 0x1c]
call fcn.00403304
push dword [ebp - 0xc4]
call fcn.00403304
add esp, 0x20
jmp 0x401972
push str.RunProgram
lea ecx, [ebp - 0x10]
call fcn.00403793
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404007
push eax
lea ecx, [ebp - 0x38]
call fcn.00403868
push dword [ebp - 0x5c]
call fcn.00403304
push dword [ebp - 0x10]
call fcn.00403304
pop ecx
pop ecx
push str.ExecuteFile
lea ecx, [ebp - 0x10]
call fcn.00403793
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404007
push eax
lea ecx, [ebp - 0x90]
call fcn.00403868
push dword [ebp - 0x5c]
call fcn.00403304
push dword [ebp - 0x10]
call fcn.00403304
pop ecx
pop ecx
push str.ExecuteParameters
lea ecx, [ebp - 0x10]
call fcn.00403793
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404007
push eax
lea ecx, [ebp - 0x68]
call fcn.00403868
push dword [ebp - 0x5c]
call fcn.00403304
push dword [ebp - 0x10]
call fcn.00403304
push dword [ebp - 0xd0]
call fcn.00403304
push dword [ebp - 0x50]
call fcn.00403304
push dword [ebp - 0x44]
call fcn.00403304
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.00401cf7
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x84], bl
call fcn.00403770
push dword [0x41c040]
lea ecx, [ebp - 0x84]
call fcn.00404af3
test al, al
jne 0x40140f
cmp byte [ebp + 0xb], bl
jne 0x401407
mov edx, str.Can_not_create_temp_folder_archive
xor ecx, ecx
call fcn.0040b375
push 1
pop ebx
jmp 0x40190a
push 0x18
call fcn.004032dd
cmp eax, ebx
pop ecx
je 0x401426
mov ecx, eax
call fcn.00401a38
mov esi, eax
jmp 0x401428
xor esi, esi
cmp esi, ebx
je 0x401432
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
call fcn.00408f89
test eax, eax
je 0x40144e
mov edx, str.Can_not_load_codecs
xor ecx, ecx
call fcn.0040b375
jmp 0x40154a
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x74]
push eax
call fcn.004037d6
lea ecx, [ebp - 0x28]
mov byte [ebp - 1], bl
call fcn.00403770
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xa8]
push eax
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x74]
push dword [ebp - 0xac]
mov ecx, esi
push eax
call fcn.0040259d
cmp eax, ebx
je 0x401504
cmp byte [ebp + 0xb], bl
jne 0x4014ee
cmp eax, 1
je 0x401497
cmp byte [ebp - 1], bl
je 0x4014a7
push 8
lea edx, [ebp - 0x28]
pop ecx
call fcn.00406054
mov eax, 0x80004005
cmp eax, 0x80004004
je 0x4014ee
cmp dword [ebp - 0x24], ebx
jne 0x4014cf
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.004043d8
push eax
lea ecx, [ebp - 0x28]
call fcn.00403868
push dword [ebp - 0x5c]
call fcn.00403304
pop ecx
push 7
lea ecx, [ebp - 0x5c]
pop edx
call fcn.00405ef6
mov eax, dword [eax]
push 0x10
push eax
push dword [ebp - 0x28]
push ebx
call edi
push dword [ebp - 0x5c]
call fcn.00403304
pop ecx
push dword [ebp - 0x28]
call fcn.00403304
push dword [ebp - 0x74]
call fcn.00403304
pop ecx
jmp 0x40183f
push dword [ebp - 0x28]
call fcn.00403304
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.00403770
lea ecx, [ebp - 0xe0]
mov byte [ebp - 0xd4], 1
call fcn.004048e5
mov ecx, dword [ebp - 0x74]
call fcn.004048d7
test al, al
jne 0x40155d
lea ecx, [ebp - 0xe0]
call fcn.0040197b
push dword [ebp - 0x74]
call fcn.00403304
pop ecx
cmp esi, ebx
je 0x401407
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x401407
cmp dword [ebp - 0x8c], ebx
je 0x4016c8
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x44]
push eax
call fcn.004037d6
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x11c], 0x3c
mov dword [ebp - 0x118], 0x140
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], eax
je 0x4015ba
lea ecx, [ebp - 0x68]
call fcn.0040391b
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x68]
push eax
call fcn.00403973
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x50]
push eax
call fcn.004037d6
mov eax, dword [ebp - 0x4c]
push 1
neg eax
sbb eax, eax
pop edi
and eax, dword [ebp - 0x50]
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0xfc], 0x20
ja 0x4016b2
cmp byte [ebp + 0xb], bl
jne 0x401616
mov edx, str.Can_not_open_file
xor ecx, ecx
call fcn.0040b375
push dword [ebp - 0x50]
call fcn.00403304
push dword [ebp - 0x44]
call fcn.00403304
pop ecx
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.0040197b
push dword [ebp - 0x74]
call fcn.00403304
cmp esi, ebx
pop ecx
je 0x401646
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x84]
call fcn.00404b81
push dword [ebp - 0x80]
call fcn.00403304
push dword [ebp - 0x38]
call fcn.00403304
push dword [ebp - 0xb8]
call fcn.00403304
push dword [ebp - 0x9c]
call fcn.00403304
push dword [ebp - 0xa8]
call fcn.00403304
push dword [ebp - 0x68]
call fcn.00403304
push dword [ebp - 0x90]
call fcn.00403304
push dword [ebp - 0x1c]
call fcn.00403304
push dword [ebp - 0xc4]
call fcn.00403304
add esp, 0x24
mov eax, edi
jmp 0x401974
push dword [ebp - 0x50]
mov edi, dword [ebp - 0xe4]
call fcn.00403304
push dword [ebp - 0x44]
jmp 0x4018d1
cmp dword [ebp - 0x34], ebx
jne 0x401700
push str.setup.exe
lea ecx, [ebp - 0x38]
call fcn.00403804
mov ecx, dword [ebp - 0x38]
call fcn.00405218
test al, al
jne 0x401700
cmp byte [ebp + 0xb], bl
jne 0x40182c
mov edx, str.Can_not_find_setup.exe
xor ecx, ecx
call fcn.0040b375
jmp 0x40182c
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x44]
push eax
call fcn.004037d6
lea ecx, [ebp - 0x44]
call fcn.00405663
push str.__T_
lea ecx, [ebp - 0x10]
call fcn.00403793
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403c0f
push dword [ebp - 0x10]
call fcn.00403304
push dword [ebp - 0x44]
call fcn.00403304
pop ecx
lea eax, [ebp - 0x38]
pop ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.004037d6
push 0x418378
lea ecx, [ebp - 0x10]
call fcn.00403793
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403c0f
push dword [ebp - 0x10]
call fcn.00403304
cmp dword [ebp - 0x18], ebx
pop ecx
je 0x40178e
lea ecx, [ebp - 0x38]
call fcn.00403913
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push eax
call fcn.00403973
lea eax, [ebp - 0x38]
lea edx, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x124], 0x44
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0xf8], ebx
mov word [ebp - 0xf2], bx
mov dword [ebp - 0xf0], ebx
call fcn.00403715
push eax
lea ecx, [ebp - 0xd0]
call fcn.004037d6
push dword [ebp - 0x5c]
call fcn.00403304
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xd0]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4018b7
cmp byte [ebp + 0xb], bl
jne 0x401817
lea ecx, [ebp - 0x50]
call fcn.00401c41
push dword [ebp - 0xd0]
call fcn.00403304
push dword [ebp - 0x50]
call fcn.00403304
pop ecx
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.0040197b
push dword [ebp - 0x74]
call fcn.00403304
cmp esi, ebx
pop ecx
je 0x40184a
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x84]
call fcn.00404b81
push dword [ebp - 0x80]
call fcn.00403304
push dword [ebp - 0x38]
call fcn.00403304
push dword [ebp - 0xb8]
call fcn.00403304
push dword [ebp - 0x9c]
call fcn.00403304
push dword [ebp - 0xa8]
call fcn.00403304
push dword [ebp - 0x68]
call fcn.00403304
push dword [ebp - 0x90]
call fcn.00403304
push dword [ebp - 0x1c]
call fcn.00403304
push dword [ebp - 0xc4]
call fcn.00403304
add esp, 0x24
push 1
pop eax
jmp 0x401974
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xd0]
mov edi, dword [ebp - 0x2c]
call fcn.00403304
push dword [ebp - 0x50]
call fcn.00403304
pop ecx
cmp edi, ebx
pop ecx
je 0x4018ec
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xe0]
call fcn.0040197b
push dword [ebp - 0x74]
call fcn.00403304
cmp esi, ebx
pop ecx
je 0x40190a
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x84]
call fcn.00404b81
push dword [ebp - 0x80]
call fcn.00403304
push dword [ebp - 0x38]
call fcn.00403304
push dword [ebp - 0xb8]
call fcn.00403304
add esp, 0xc
push dword [ebp - 0x9c]
call fcn.00403304
push dword [ebp - 0xa8]
call fcn.00403304
push dword [ebp - 0x68]
call fcn.00403304
push dword [ebp - 0x90]
call fcn.00403304
push dword [ebp - 0x1c]
call fcn.00403304
push dword [ebp - 0xc4]
call fcn.00403304
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10