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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x4510d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x14]
push ebx
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 - 0x250], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00425d30
push 0x44
lea eax, [ebp - 0x2a8]
push ebx
push eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
call fcn.00425d30
xor eax, eax
lea edi, [ebp - 0x24c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x264]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x21c]
push ecx
mov dword [ebp - 0x220], ebx
push dword [eax + 0x24]
push dword [eax + 0x14]
call fcn.00415ff0
mov edi, eax
cmp edi, ebx
jge 0x418cac
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push edi
call fcn.0042d996
add esp, 0xc
jmp 0x4190d6
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 - 0x21c]
call fcn.0042faa7
mov edi, eax
cmp edi, ebx
jge 0x418ce1
push str.Failed_to_build_executable_path.
push edi
call fcn.0042d996
pop ecx
pop ecx
jmp 0x4190d6
mov eax, dword [esi + 0x10]
dec eax
je 0x418d11
dec eax
je 0x418d06
sub eax, 3
je 0x418cfb
mov edi, 0x8000ffff
push str.Failed_to_get_action_arguments_for_executable_package.
jmp 0x418cd4
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x98]
jmp 0x418d1a
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
jmp 0x418d1a
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x22c], eax
cmp eax, ebx
je 0x418dcd
cmp word [eax], bx
je 0x418dcd
push ebx
lea ecx, [ebp - 0x224]
push ecx
push eax
push dword [ebp - 0x23c]
call fcn.0040874b
mov edi, eax
cmp edi, ebx
jge 0x418d52
push str.Failed_to_format_argument_string.
jmp 0x418cd4
push dword [ebp - 0x224]
lea eax, [ebp - 0x214]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.0042f202
mov edi, eax
add esp, 0x10
cmp edi, ebx
jge 0x418d82
push str.Failed_to_create_executable_command.
jmp 0x418cd4
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x23c]
call fcn.0040b005
mov edi, eax
cmp edi, ebx
jge 0x418dab
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x418cd4
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.0042f202
add esp, 0x10
jmp 0x418e07
push dword [ebp - 0x210]
lea eax, [ebp - 0x214]
push str.__ls_
push eax
call fcn.0042f202
mov edi, eax
add esp, 0xc
cmp edi, ebx
jl 0x418d78
push dword [ebp - 0x210]
lea eax, [ebp - 0x218]
push str.__ls_
push eax
call fcn.0042f202
add esp, 0xc
mov edi, eax
cmp edi, ebx
jge 0x418e17
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x418cd4
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x418e8c
mov ecx, dword [esi + 8]
cmp dword [ecx + 0xac], 1
jne 0x418e8c
push eax
push str.burn.ignoredependencies
push dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push str._ls___ls_ls
push eax
call fcn.0042f202
mov edi, eax
add esp, 0x14
cmp edi, ebx
jge 0x418e5a
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_command_line.
jmp 0x418cd4
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.0042f202
mov edi, eax
add esp, 0x14
cmp edi, ebx
jge 0x418e8c
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_obfuscated_command_line.
jmp 0x418cd4
push dword [ebp - 0x218]
push dword [ebp - 0x210]
push dword [esi + 0x10]
call fcn.00410ac1
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp - 0x254]
call fcn.00410e45
push eax
push 0x2000012d
push 2
call fcn.004015e7
mov eax, dword [esi + 0xc]
add esp, 0x1c
cmp eax, ebx
jne 0x418f64
mov ecx, dword [esi + 8]
cmp dword [ecx + 0xac], 1
jne 0x418f16
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.004232b5
mov edi, eax
cmp edi, ebx
jge 0x419083
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_as_embedded_from_path:__ls
jmp 0x418c9e
cmp eax, ebx
jne 0x418f64
mov eax, dword [esi + 8]
cmp dword [eax + 0xac], 2
jne 0x418f64
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.00422d43
mov edi, eax
cmp edi, ebx
jge 0x419083
push dword [ebp - 0x210]
push str.Failed_to_run_netfx_chainer:__ls
jmp 0x418c9e
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x418f8c
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp - 0x214]
mov dword [ebp - 0x2a8], 0x44
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x419003
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x418fd8
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x418fe3
mov edi, 0x80004005
push edi
push 0x200
push str.exeengine.cpp
call fcn.0042fdc3
push dword [ebp - 0x210]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x4190b8
cmp dword [esi + 0xc], ebx
je 0x41901e
push 0x1388
push dword [ebp - 0x24c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x4190c1
push dword [ebp - 0x230]
xor edi, edi
lea eax, [ebp - 0x264]
inc edi
push eax
mov dword [ebp - 0x264], 2
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x25c], 0x32
call dword [ebp - 0x234]
cmp eax, edi
je 0x41905a
cmp eax, ebx
jne 0x419187
lea eax, [ebp - 0x220]
push eax
push 0x1f4
push dword [ebp - 0x24c]
call fcn.0042dbca
mov edi, eax
cmp edi, 0x80070102
je 0x41901e
cmp edi, ebx
jl 0x4191b7
mov edi, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x220]
mov eax, dword [esi + 8]
call fcn.00418783
mov edi, eax
cmp edi, ebx
jge 0x4190c1
push edi
push 0x21b
push str.exeengine.cpp
call fcn.0042fdc3
push dword [ebp - 0x220]
push str.Process_returned_error:_0x_x
push edi
call fcn.0042d996
add esp, 0xc
cmp dword [ebp - 0x238], ebx
je 0x4190d6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x224], ebx
je 0x4190e9
push dword [ebp - 0x224]
call fcn.0042dd7e
cmp dword [ebp - 0x228], ebx
je 0x4190fc
push dword [ebp - 0x228]
call fcn.0042dd7e
cmp dword [ebp - 0x21c], ebx
je 0x41910f
push dword [ebp - 0x21c]
call fcn.0042dd7e
cmp dword [ebp - 0x210], ebx
je 0x419122
push dword [ebp - 0x210]
call fcn.0042dd7e
cmp dword [ebp - 0x214], ebx
je 0x419135
push dword [ebp - 0x214]
call fcn.0042dd7e
cmp dword [ebp - 0x218], ebx
je 0x419148
push dword [ebp - 0x218]
call fcn.0042dd7e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], ebx
je 0x419164
push dword [ebp - 0x248]
call esi
mov dword [ebp - 0x248], ebx
cmp dword [ebp - 0x24c], ebx
je 0x419174
push dword [ebp - 0x24c]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425daa
leave
ret 0x18
xor ecx, ecx
cmp eax, 2
setne cl
lea edi, [ecx - 0x7ff8f9be]
push edi
push 0x210
push str.exeengine.cpp
call fcn.0042fdc3
push str.Bootstrapper_application_aborted_during_EXE_progress.
push edi
call fcn.0042d996
pop ecx
pop ecx
jmp 0x4190c1
push dword [ebp - 0x210]
push str.Failed_to_wait_for_executable_to_complete:__ls
jmp 0x4190b8