Function at 0x41e30c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x469004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x25c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042b370
push 0x44
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x248], ebx
push ebx
push eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x21c], ebx
call fcn.0042b370
xor eax, eax
mov dword [ebp - 0x224], ebx
lea edi, [ebp - 0x258]
add esp, 0x18
stosd dword es:[edi], eax
lea ecx, [ebp - 0x220]
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x270]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
push dword [eax + 0x24]
push dword [eax + 0x14]
call fcn.00416a43
mov ebx, eax
test ebx, ebx
jns 0x41e3f9
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push ebx
call fcn.0043ccee
add esp, 0xc
jmp 0x41ea53
mov edi, dword [ebp - 0x22c]
push 1
push dword [ebp - 0x220]
push str.WixBundleExecutePackageCacheFolder
push edi
call fcn.00404ec6
mov eax, dword [esi + 0x10]
push 1
cdq
push edx
push eax
push str.WixBundleExecutePackageAction
push edi
call fcn.00404e81
lea eax, [ebp - 0x210]
push eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax]
push dword [eax + 0x18]
push dword [ebp - 0x220]
call fcn.0043d844
mov ebx, eax
test ebx, ebx
jns 0x41e45a
push str.Failed_to_build_executable_path.
push ebx
call fcn.0043ccee
pop ecx
pop ecx
jmp 0x41ea53
mov ecx, dword [esi + 0x10]
mov eax, ecx
sub eax, 1
je 0x41e497
sub eax, 1
je 0x41e48c
sub eax, 3
je 0x41e481
push ecx
mov eax, 0x80070057
push str.Invalid_Exe_package_action:__d.
mov ebx, eax
push eax
jmp 0x41e3ec
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x98]
jmp 0x41e4a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
jmp 0x41e4a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x9c]
xor ecx, ecx
test eax, eax
je 0x41e4ab
cmp word [eax], cx
jne 0x41e4b0
mov eax, 0x44a510
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004405ef
mov ebx, eax
test ebx, ebx
jns 0x41e4cb
push str.Failed_to_copy_package_arguments.
jmp 0x41e44d
mov eax, dword [esi + 8]
xor ebx, ebx
mov dword [ebp - 0x240], ebx
cmp dword [eax + 0xc0], ebx
jbe 0x41e5e1
mov edx, ebx
mov dword [ebp - 0x244], ebx
mov edi, dword [eax + 0xbc]
lea eax, [ebp - 0x23c]
add edi, edx
mov dword [ebp - 0x23c], ebx
push eax
push dword [edi + 0xc]
push dword [ebp - 0x22c]
call fcn.004064e1
mov ebx, eax
test ebx, ebx
js 0x41e635
cmp dword [ebp - 0x23c], 0
je 0x41e5ae
push 0
push 0x454164
lea eax, [ebp - 0x218]
push eax
call fcn.0044033e
mov ebx, eax
test ebx, ebx
js 0x41e62b
mov eax, dword [esi + 0x10]
sub eax, 1
je 0x41e597
sub eax, 1
je 0x41e577
sub eax, 3
jne 0x41e619
push eax
push dword [edi + 8]
lea eax, [ebp - 0x218]
push eax
call fcn.0044033e
mov ebx, eax
test ebx, ebx
jns 0x41e5ae
push str.Failed_to_get_command_line_argument_for_repair.
jmp 0x41e44d
push 0
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call fcn.0044033e
mov ebx, eax
test ebx, ebx
jns 0x41e5ae
push str.Failed_to_get_command_line_argument_for_install.
jmp 0x41e44d
push 0
push dword [edi + 4]
lea eax, [ebp - 0x218]
push eax
call fcn.0044033e
mov ebx, eax
test ebx, ebx
js 0x41e621
mov ecx, dword [ebp - 0x240]
xor ebx, ebx
mov eax, dword [esi + 8]
inc ecx
mov edx, dword [ebp - 0x244]
add edx, 0x10
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], edx
cmp ecx, dword [eax + 0xc0]
jb 0x41e4ea
mov edi, dword [ebp - 0x22c]
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x41e6b6
push ebx
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x218]
push edi
call fcn.00403f48
mov ebx, eax
test ebx, ebx
jns 0x41e63f
push str.Failed_to_format_argument_string.
jmp 0x41e44d
push dword [esi + 0x10]
jmp 0x41e46f
push str.Failed_to_get_command_line_argument_for_uninstall.
jmp 0x41e44d
push str.Failed_to_separate_command_line_arguments.
jmp 0x41e44d
push str.Failed_to_evaluate_executable_package_command_line_condition.
jmp 0x41e44d
push dword [ebp - 0x238]
lea eax, [ebp - 0x214]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.004403ae
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41e66f
push str.Failed_to_create_executable_command.
jmp 0x41e44d
push 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x218]
push edi
call fcn.00403f62
mov ebx, eax
test ebx, ebx
jns 0x41e694
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x41e44d
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.0044036c
add esp, 0x10
jmp 0x41e6ed
push dword [ebp - 0x210]
mov edi, str.__ls_
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.0044036c
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x41e665
push dword [ebp - 0x210]
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.0044036c
add esp, 0xc
mov ebx, eax
test ebx, ebx
jns 0x41e6fd
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x41e44d
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 1
jne 0x41e7d6
cmp dword [esi + 0x14], 0
mov edi, str._ls___ls_ls
je 0x41e774
push dword [esi + 0x14]
lea eax, [ebp - 0x214]
push str.burn.ignoredependencies
push dword [ebp - 0x214]
push edi
push eax
call fcn.004403ae
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41e746
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_command_line.
jmp 0x41e44d
push dword [esi + 0x14]
lea eax, [ebp - 0x21c]
push str.burn.ignoredependencies
push dword [ebp - 0x21c]
push edi
push eax
call fcn.0044036c
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41e774
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_obfuscated_command_line.
jmp 0x41e44d
cmp dword [esi + 0x18], 0
je 0x41e7d6
push dword [esi + 0x18]
lea eax, [ebp - 0x214]
push str.burn.ancestors
push dword [ebp - 0x214]
push edi
push eax
call fcn.004403ae
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41e7a8
push str.Failed_to_append_the_list_of_ancestors_to_the_command_line.
jmp 0x41e44d
push dword [esi + 0x18]
lea eax, [ebp - 0x21c]
push str.burn.ancestors
push dword [ebp - 0x21c]
push edi
push eax
call fcn.0044036c
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41e7d6
push str.Failed_to_append_the_list_of_ancestors_to_the_obfuscated_command_line.
jmp 0x41e44d
push dword [ebp - 0x21c]
push dword [ebp - 0x210]
push dword [esi + 0x10]
call fcn.00410777
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp - 0x25c]
call fcn.00410e69
push eax
push 0x2000012d
push 2
call fcn.00402297
mov ecx, dword [esi + 0xc]
add esp, 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test ecx, ecx
jne 0x41e8b4
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 1
jne 0x41e866
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.004291cd
mov ebx, eax
test ebx, ebx
jns 0x41e9c9
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_as_embedded_from_path:__ls
jmp 0x41e3eb
test ecx, ecx
jne 0x41e8b4
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 2
jne 0x41e8b4
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.004299c7
mov ebx, eax
test ebx, ebx
jns 0x41e9c9
push dword [ebp - 0x210]
push str.Failed_to_run_netfx_chainer:__ls
jmp 0x41e3eb
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41e8d8
push dword [ebp - 0x220]
call edi
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x2b4], 0x44
push eax
lea eax, [ebp - 0x2b4]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41e950
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
push ebx
push 0x226
push str.exeengine.cpp
call fcn.0043bf09
push dword [ebp - 0x210]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x41ea38
cmp dword [esi + 0xc], 0
je 0x41e96c
push 0x1388
push dword [ebp - 0x258]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x41ea41
push dword [ebp - 0x230]
xor ebx, ebx
mov dword [ebp - 0x270], 2
lea eax, [ebp - 0x270]
mov dword [ebp - 0x268], 0x32
inc ebx
push eax
mov dword [ebp - 0x26c], ebx
call dword [ebp - 0x234]
cmp eax, ebx
je 0x41e9a4
test eax, eax
jne 0x41ea00
lea eax, [ebp - 0x224]
push eax
push 0x1f4
push dword [ebp - 0x258]
call fcn.0043e3fa
mov ebx, eax
cmp ebx, 0x80070102
je 0x41e96c
test ebx, ebx
js 0x41ea2d
push dword [ebp - 0x260]
push dword [ebp - 0x224]
push dword [esi + 8]
call fcn.0041ddd2
mov ebx, eax
test ebx, ebx
jns 0x41ea41
push ebx
push 0x241
push str.exeengine.cpp
call fcn.0043bf09
push dword [ebp - 0x224]
push str.Process_returned_error:_0x_x
jmp 0x41ea38
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x236
push str.exeengine.cpp
call fcn.0043bf09
push str.Bootstrapper_application_aborted_during_EXE_progress.
push ebx
call fcn.0043ccee
pop ecx
pop ecx
jmp 0x41ea41
push dword [ebp - 0x210]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.0043ccee
add esp, 0xc
cmp dword [ebp - 0x248], 0
je 0x41ea53
lea eax, [ebp - 0x20c]
push eax
call edi
push dword [ebp - 0x218]
call fcn.00440bcd
push dword [ebp - 0x238]
call fcn.00440bcd
cmp dword [ebp - 0x228], 0
je 0x41ea7d
push dword [ebp - 0x228]
call fcn.00444e5d
cmp dword [ebp - 0x220], 0
je 0x41ea91
push dword [ebp - 0x220]
call fcn.00444e5d
cmp dword [ebp - 0x210], 0
je 0x41eaa5
push dword [ebp - 0x210]
call fcn.00444e5d
push dword [ebp - 0x214]
call fcn.00440bcd
cmp dword [ebp - 0x21c], 0
je 0x41eac4
push dword [ebp - 0x21c]
call fcn.00444e5d
cmp dword [ebp - 0x254], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41eae5
push dword [ebp - 0x254]
call esi
xor edi, edi
mov dword [ebp - 0x254], edi
jmp 0x41eae7
xor edi, edi
cmp dword [ebp - 0x258], 0
je 0x41eafe
push dword [ebp - 0x258]
call esi
mov dword [ebp - 0x258], edi
mov esi, dword [ebp - 0x22c]
push 1
push edi
push str.WixBundleExecutePackageCacheFolder
push esi
call fcn.00404ec6
push 1
push edi
push str.WixBundleExecutePackageAction
push esi
call fcn.00404ec6
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a807
mov esp, ebp
pop ebp
ret 0x18