Function at 0x4119ae
Capabilities:
Accept command line arguments
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 8]
push 0xf
pop edi
xor esi, esi
push edi
lea ecx, [ebp - 0x9c]
mov dword [0x4199d4], eax
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
call fcn.00403f94
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.00403f94
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040b0c2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040af38
push dword [ebp - 0x7c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x64], esi
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
call fcn.00403f94
lea eax, [ebp - 0x64]
push eax
push dword [0x4199d4]
call fcn.0040c3eb
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
call fcn.0040b88a
lea eax, [ebp - 0x70]
push eax
push str.___InstallEnd__
push str.___Install__UTF_8_
push dword [ebp - 0x64]
call fcn.0041202d
test al, al
jne 0x411a89
push str.Cant_load_config_info
push esi
call fcn.0040ebe9
push 1
pop esi
jmp 0x411fae
lea ecx, [ebp - 0x18]
call fcn.0040b33f
lea ecx, [ebp - 0x18]
call fcn.0040b300
and byte [ebp + 0xb], 0
push 0x419528
lea ecx, [ebp - 0x7c]
call fcn.0040b0c2
mov ebx, eax
lea eax, [ebp - 0xc]
push 2
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b23f
mov ebx, dword [ebx]
mov eax, dword [eax]
push ebx
push eax
call fcn.0040b5dd
push dword [ebp - 0xc]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x7c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
test bl, bl
pop ecx
je 0x411b17
lea eax, [ebp - 0xc]
push 2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp + 0xb], 1
call fcn.0040b161
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b123
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0040b33f
lea ecx, [ebp - 0x18]
call fcn.0040b300
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
call fcn.00403f94
cmp dword [ebp - 0x6c], esi
je 0x411cc0
lea ecx, [ebp - 0x90]
call fcn.0040239b
lea eax, [ebp - 0x90]
mov edi, 0x415814
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x90], edi
call fcn.0040b8dd
test al, al
jne 0x411b6f
push str.Config_failed
push esi
call fcn.0040ebe9
push 1
pop esi
jmp 0x411c05
push str.Title
lea ecx, [ebp - 0xc]
call fcn.0040b0c2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040bd15
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
lea ecx, [ebp - 0xc]
mov dword [esp], str.BeginPrompt
call fcn.0040b0c2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0040bd15
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp dword [ebp - 0xb0], esi
pop ecx
je 0x411c54
cmp byte [ebp + 0xb], 0
jne 0x411c54
push 0x24
push dword [ebp - 0x7c]
push dword [ebp - 0xb4]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x411c54
push dword [ebp - 0xb4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x7c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], edi
call fcn.0040bf13
lea ecx, [ebp - 0x90]
call fcn.0040bf03
push dword [ebp - 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x70]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x64]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x9c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x14
jmp 0x411fd4
push str.RunProgram
lea ecx, [ebp - 0xc]
call fcn.0040b0c2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040bd15
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040b123
push dword [ebp - 0x58]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x7c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], edi
call fcn.0040bf13
lea ecx, [ebp - 0x90]
call fcn.0040bf03
and byte [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.0040d2c1
push dword [0x419410]
lea ecx, [ebp - 0x28]
call fcn.0040d281
test al, al
jne 0x411d02
push str.Can_not_create_temp_folder_archive
push esi
call fcn.0040ebe9
lea ecx, [ebp - 0x28]
call fcn.0040d29c
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push 1
pop esi
jmp 0x411fa5
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb8], esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0xbc], 0x415808
call fcn.0040c660
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004111d0
push dword [ebp - 0x58]
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp edi, esi
pop ecx
je 0x411d5c
cmp edi, 1
jne 0x411d4b
push str.Can_not_open_archive
jmp 0x411ce3
cmp edi, 0x80004004
je 0x411ce9
push edi
push esi
call fcn.0040ec01
jmp 0x411ce9
lea ecx, [ebp - 0x34]
call fcn.0040d2c1
lea eax, [ebp - 0x34]
push eax
call fcn.0040cfe7
push dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call edi
test eax, eax
je 0x411f32
cmp dword [ebp - 0x48], esi
jne 0x411dbf
push str.Setup.exe
lea ecx, [ebp - 0x4c]
call fcn.0040c4c3
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411fdd
push dword [eax]
call fcn.0040d95c
push dword [ebp - 0x58]
mov bl, al
neg bl
sbb bl, bl
inc bl
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
test bl, bl
pop ecx
jne 0x411f32
push 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x128], 0x44
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0xfc], esi
mov word [ebp - 0xf6], si
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call fcn.0040b88a
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
call fcn.0040cd34
test al, al
jne 0x411e1f
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x411f32
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0xa8]
push eax
call fcn.004073d9
push 0x419440
lea ecx, [ebp - 0xc]
call fcn.0040b0c2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040c660
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00410887
push dword [ebp - 0x58]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push 0x20
lea ecx, [ebp - 0xa8]
call fcn.00406fa4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xa8]
push eax
call fcn.0040c1e0
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xe4]
push eax
call fcn.0040b854
lea eax, [ebp - 0x40]
push eax
call fcn.0040dd3f
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00411fdd
push eax
push 0x41943c
lea ecx, [ebp - 0x58]
call fcn.0040d2d9
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0040d496
push dword [ebp - 0x58]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
lea eax, [ebp - 0xd8]
pop ecx
push eax
lea eax, [ebp - 0x128]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0xc8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x411f45
push esi
call fcn.0040ec91
push dword [ebp - 0xc8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xe4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
push dword [ebp - 0x34]
call edi
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x411ce9
push 0xffffffffffffffff
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xd4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0xd8]
call edi
push dword [ebp - 0xc8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xe4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.004121ab
lea ecx, [ebp - 0x28]
call fcn.00411ff9
push dword [ebp - 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x70]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x64]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x9c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10