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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x4530d0]
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.004272a0
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.004272a0
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.00416cd0
mov edi, eax
cmp edi, ebx
jge 0x419a3f
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push edi
call fcn.0042eef6
add esp, 0xc
jmp 0x419ed1
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.00431352
mov edi, eax
cmp edi, ebx
jge 0x419a74
push str.Failed_to_build_executable_path.
push edi
call fcn.0042eef6
pop ecx
pop ecx
jmp 0x419ed1
mov eax, dword [esi + 0x10]
dec eax
je 0x419aa4
dec eax
je 0x419a99
sub eax, 3
je 0x419a8e
mov edi, 0x8000ffff
push str.Failed_to_get_action_arguments_for_executable_package.
jmp 0x419a67
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x98]
jmp 0x419aad
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
jmp 0x419aad
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x22c], eax
cmp eax, ebx
je 0x419b60
cmp word [eax], bx
je 0x419b60
push ebx
lea ecx, [ebp - 0x224]
push ecx
push eax
push dword [ebp - 0x23c]
call fcn.00408a61
mov edi, eax
cmp edi, ebx
jge 0x419ae5
push str.Failed_to_format_argument_string.
jmp 0x419a67
push dword [ebp - 0x224]
lea eax, [ebp - 0x214]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.00430aad
mov edi, eax
add esp, 0x10
cmp edi, ebx
jge 0x419b15
push str.Failed_to_create_executable_command.
jmp 0x419a67
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x23c]
call fcn.0040b43b
mov edi, eax
cmp edi, ebx
jge 0x419b3e
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x419a67
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.00430aad
add esp, 0x10
jmp 0x419b9a
push dword [ebp - 0x210]
lea eax, [ebp - 0x214]
push str.__ls_
push eax
call fcn.00430aad
mov edi, eax
add esp, 0xc
cmp edi, ebx
jl 0x419b0b
push dword [ebp - 0x210]
lea eax, [ebp - 0x218]
push str.__ls_
push eax
call fcn.00430aad
add esp, 0xc
mov edi, eax
cmp edi, ebx
jge 0x419baa
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x419a67
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 1
jne 0x419c87
mov eax, dword [esi + 0x14]
mov ebx, str._ls___ls_ls
test eax, eax
je 0x419c27
push eax
push str.burn.ignoredependencies
push dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00430aad
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x419bfc
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_command_line.
push edi
call fcn.0042eef6
pop ecx
pop ecx
xor ebx, ebx
jmp 0x419ed1
push dword [esi + 0x14]
lea eax, [ebp - 0x218]
push str.burn.ignoredependencies
push dword [ebp - 0x218]
push ebx
push eax
call fcn.00430aad
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x419c27
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_obfuscated_command_line.
jmp 0x419bed
mov eax, dword [esi + 0x18]
test eax, eax
je 0x419c85
push eax
push str.burn.ancestors
push dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00430aad
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x419c57
push str.Failed_to_append_the_list_of_ancestors_to_the_command_line.
jmp 0x419bed
push dword [esi + 0x18]
lea eax, [ebp - 0x218]
push str.burn.ancestors
push dword [ebp - 0x218]
push ebx
push eax
call fcn.00430aad
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x419c85
push str.Failed_to_append_the_list_of_ancestors_to_the_obfuscated_command_line.
jmp 0x419bed
xor ebx, ebx
push dword [ebp - 0x218]
push dword [ebp - 0x210]
push dword [esi + 0x10]
call fcn.004113d6
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp - 0x254]
call fcn.0041175a
push eax
push 0x2000012d
push 2
call fcn.00401607
mov eax, dword [esi + 0xc]
add esp, 0x1c
cmp eax, ebx
jne 0x419d5f
mov ecx, dword [esi + 8]
cmp dword [ecx + 0xb0], 1
jne 0x419d11
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.00424833
mov edi, eax
cmp edi, ebx
jge 0x419e7e
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_as_embedded_from_path:__ls
jmp 0x419a31
cmp eax, ebx
jne 0x419d5f
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 2
jne 0x419d5f
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.004242c1
mov edi, eax
cmp edi, ebx
jge 0x419e7e
push dword [ebp - 0x210]
push str.Failed_to_run_netfx_chainer:__ls
jmp 0x419a31
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x419d87
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 0x419dfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x419dd3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x419dde
mov edi, 0x80004005
push edi
push 0x217
push str.exeengine.cpp
call fcn.0043166e
push dword [ebp - 0x210]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x419eb3
cmp dword [esi + 0xc], ebx
je 0x419e19
push 0x1388
push dword [ebp - 0x24c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x419ebc
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 0x419e55
cmp eax, ebx
jne 0x419f82
lea eax, [ebp - 0x220]
push eax
push 0x1f4
push dword [ebp - 0x24c]
call fcn.0042f4a3
mov edi, eax
cmp edi, 0x80070102
je 0x419e19
cmp edi, ebx
jl 0x419fb2
mov edi, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x220]
mov eax, dword [esi + 8]
call fcn.00419516
mov edi, eax
cmp edi, ebx
jge 0x419ebc
push edi
push 0x232
push str.exeengine.cpp
call fcn.0043166e
push dword [ebp - 0x220]
push str.Process_returned_error:_0x_x
push edi
call fcn.0042eef6
add esp, 0xc
cmp dword [ebp - 0x238], ebx
je 0x419ed1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x224], ebx
je 0x419ee4
push dword [ebp - 0x224]
call fcn.0042f657
cmp dword [ebp - 0x228], ebx
je 0x419ef7
push dword [ebp - 0x228]
call fcn.0042f657
cmp dword [ebp - 0x21c], ebx
je 0x419f0a
push dword [ebp - 0x21c]
call fcn.0042f657
cmp dword [ebp - 0x210], ebx
je 0x419f1d
push dword [ebp - 0x210]
call fcn.0042f657
cmp dword [ebp - 0x214], ebx
je 0x419f30
push dword [ebp - 0x214]
call fcn.0042f657
cmp dword [ebp - 0x218], ebx
je 0x419f43
push dword [ebp - 0x218]
call fcn.0042f657
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], ebx
je 0x419f5f
push dword [ebp - 0x248]
call esi
mov dword [ebp - 0x248], ebx
cmp dword [ebp - 0x24c], ebx
je 0x419f6f
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.0042731a
leave
ret 0x18
xor ecx, ecx
cmp eax, 2
setne cl
lea edi, [ecx - 0x7ff8f9be]
push edi
push 0x227
push str.exeengine.cpp
call fcn.0043166e
push str.Bootstrapper_application_aborted_during_EXE_progress.
push edi
call fcn.0042eef6
pop ecx
pop ecx
jmp 0x419ebc
push dword [ebp - 0x210]
push str.Failed_to_wait_for_executable_to_complete:__ls
jmp 0x419eb3