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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x250], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004292a0
push 0x44
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x238], ebx
push ebx
push eax
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], ebx
call fcn.004292a0
xor eax, eax
mov dword [ebp - 0x224], ebx
lea edi, [ebp - 0x248]
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 - 0x260]
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.00415e85
mov ebx, eax
test ebx, ebx
jns 0x41d1de
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push ebx
call fcn.00437258
add esp, 0xc
jmp 0x41d6c7
mov edi, dword [ebp - 0x214]
push 1
push dword [ebp - 0x220]
push str.WixBundleExecutePackageCacheFolder
push edi
call fcn.004049c8
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.00437d63
mov ebx, eax
test ebx, ebx
jns 0x41d22c
push str.Failed_to_build_executable_path.
push ebx
call fcn.00437258
pop ecx
pop ecx
jmp 0x41d6cd
mov eax, dword [esi + 0x10]
dec eax
je 0x41d25c
dec eax
je 0x41d251
sub eax, 3
je 0x41d246
mov ebx, 0x8000ffff
push str.Failed_to_get_action_arguments_for_executable_package.
jmp 0x41d21f
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x98]
jmp 0x41d265
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x94]
jmp 0x41d265
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x9c]
test edi, edi
je 0x41d319
xor eax, eax
cmp word [edi], ax
je 0x41d319
push eax
lea eax, [ebp - 0x230]
push eax
push edi
push dword [ebp - 0x214]
call fcn.00403cad
mov ebx, eax
test ebx, ebx
jns 0x41d2a4
push str.Failed_to_format_argument_string.
push ebx
call fcn.00437258
pop ecx
pop ecx
jmp 0x41d6c7
push dword [ebp - 0x230]
lea eax, [ebp - 0x218]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.0043a887
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x41d2d1
push str.Failed_to_create_executable_command.
jmp 0x41d297
push 0
lea eax, [ebp - 0x228]
push eax
push edi
mov edi, dword [ebp - 0x214]
push edi
call fcn.00403cc7
mov ebx, eax
test ebx, ebx
jns 0x41d2f7
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x41d21f
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.0043a845
add esp, 0x10
jmp 0x41d356
push dword [ebp - 0x210]
mov edi, str.__ls_
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0043a845
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x41d2ca
push dword [ebp - 0x210]
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.0043a845
mov edi, dword [ebp - 0x214]
add esp, 0xc
mov ebx, eax
test ebx, ebx
jns 0x41d366
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x41d21f
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 1
jne 0x41d44a
cmp dword [esi + 0x14], 0
je 0x41d3e0
push dword [esi + 0x14]
lea eax, [ebp - 0x218]
push str.burn.ignoredependencies
push dword [ebp - 0x218]
push str._ls___ls_ls
push eax
call fcn.0043a887
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41d3ae
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_command_line.
jmp 0x41d21f
push dword [esi + 0x14]
lea eax, [ebp - 0x21c]
push str.burn.ignoredependencies
push dword [ebp - 0x21c]
push str._ls___ls_ls
push eax
call fcn.0043a845
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41d3e0
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_obfuscated_command_line.
jmp 0x41d21f
cmp dword [esi + 0x18], 0
je 0x41d44a
push dword [esi + 0x18]
lea eax, [ebp - 0x218]
push str.burn.ancestors
push dword [ebp - 0x218]
push str._ls___ls_ls
push eax
call fcn.0043a887
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41d418
push str.Failed_to_append_the_list_of_ancestors_to_the_command_line.
jmp 0x41d21f
push dword [esi + 0x18]
lea eax, [ebp - 0x21c]
push str.burn.ancestors
push dword [ebp - 0x21c]
push str._ls___ls_ls
push eax
call fcn.0043a845
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x41d44a
push str.Failed_to_append_the_list_of_ancestors_to_the_obfuscated_command_line.
jmp 0x41d21f
push dword [ebp - 0x21c]
push dword [ebp - 0x210]
push dword [esi + 0x10]
call fcn.0040ff27
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp - 0x250]
call fcn.0041056b
push eax
push 0x2000012d
push 2
call fcn.0040206d
mov ecx, dword [esi + 0xc]
add esp, 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test ecx, ecx
jne 0x41d528
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 1
jne 0x41d4da
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call fcn.00427d03
mov ebx, eax
test ebx, ebx
jns 0x41d63d
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_as_embedded_from_path:__ls
jmp 0x41d1d0
test ecx, ecx
jne 0x41d528
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 2
jne 0x41d528
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call fcn.00428504
mov ebx, eax
test ebx, ebx
jns 0x41d63d
push dword [ebp - 0x210]
push str.Failed_to_run_netfx_chainer:__ls
jmp 0x41d1d0
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41d54c
push dword [ebp - 0x220]
call edi
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2a4], 0x44
push eax
lea eax, [ebp - 0x2a4]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41d5c4
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 0x21d
push str.exeengine.cpp
call fcn.00436473
push dword [ebp - 0x210]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x41d6ac
cmp dword [esi + 0xc], 0
je 0x41d5e0
push 0x1388
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x41d6b5
push dword [ebp - 0x234]
xor ebx, ebx
mov dword [ebp - 0x260], 2
lea eax, [ebp - 0x260]
mov dword [ebp - 0x258], 0x32
inc ebx
push eax
mov dword [ebp - 0x25c], ebx
call dword [ebp - 0x22c]
cmp eax, ebx
je 0x41d618
test eax, eax
jne 0x41d674
lea eax, [ebp - 0x224]
push eax
push 0x1f4
push dword [ebp - 0x248]
call fcn.0043887b
mov ebx, eax
cmp ebx, 0x80070102
je 0x41d5e0
test ebx, ebx
js 0x41d6a1
push dword [ebp - 0x24c]
push dword [ebp - 0x224]
push dword [esi + 8]
call fcn.0041cfc2
mov ebx, eax
test ebx, ebx
jns 0x41d6b5
push ebx
push 0x238
push str.exeengine.cpp
call fcn.00436473
push dword [ebp - 0x224]
push str.Process_returned_error:_0x_x
jmp 0x41d6ac
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x22d
push str.exeengine.cpp
call fcn.00436473
push str.Bootstrapper_application_aborted_during_EXE_progress.
push ebx
call fcn.00437258
pop ecx
pop ecx
jmp 0x41d6b5
push dword [ebp - 0x210]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.00437258
add esp, 0xc
cmp dword [ebp - 0x238], 0
je 0x41d6c7
lea eax, [ebp - 0x20c]
push eax
call edi
mov edi, dword [ebp - 0x214]
push dword [ebp - 0x230]
call fcn.0043b084
cmp dword [ebp - 0x228], 0
je 0x41d6ec
push dword [ebp - 0x228]
call fcn.0043af5b
cmp dword [ebp - 0x220], 0
je 0x41d700
push dword [ebp - 0x220]
call fcn.0043af5b
cmp dword [ebp - 0x210], 0
je 0x41d714
push dword [ebp - 0x210]
call fcn.0043af5b
push dword [ebp - 0x218]
call fcn.0043b084
cmp dword [ebp - 0x21c], 0
je 0x41d733
push dword [ebp - 0x21c]
call fcn.0043af5b
cmp dword [ebp - 0x244], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41d754
push dword [ebp - 0x244]
call esi
xor eax, eax
mov dword [ebp - 0x244], eax
jmp 0x41d756
xor eax, eax
cmp dword [ebp - 0x248], 0
je 0x41d76f
push dword [ebp - 0x248]
call esi
xor eax, eax
mov dword [ebp - 0x248], eax
push 1
push eax
push str.WixBundleExecutePackageCacheFolder
push edi
call fcn.004049c8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042928d
mov esp, ebp
pop ebp
ret 0x18