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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x456130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x254], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004284a0
push 0x44
lea eax, [ebp - 0x2a8]
push ebx
push eax
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
call fcn.004284a0
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.004188ab
mov edi, eax
cmp edi, ebx
jge 0x41a9c0
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push edi
call fcn.004300f7
add esp, 0xc
jmp 0x41aed6
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.00432639
mov edi, eax
cmp edi, ebx
jge 0x41a9f5
push str.Failed_to_build_executable_path.
push edi
call fcn.004300f7
pop ecx
pop ecx
jmp 0x41aed6
mov eax, dword [esi + 0x10]
dec eax
je 0x41aa25
dec eax
je 0x41aa1a
sub eax, 3
je 0x41aa0f
mov edi, 0x8000ffff
push str.Failed_to_get_action_arguments_for_executable_package.
jmp 0x41a9e8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x98]
jmp 0x41aa2e
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
jmp 0x41aa2e
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x228], eax
cmp eax, ebx
je 0x41aae1
cmp word [eax], bx
je 0x41aae1
push ebx
lea ecx, [ebp - 0x224]
push ecx
push eax
push dword [ebp - 0x238]
call fcn.00408c6a
mov edi, eax
cmp edi, ebx
jge 0x41aa66
push str.Failed_to_format_argument_string.
jmp 0x41a9e8
push dword [ebp - 0x224]
lea eax, [ebp - 0x214]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.00431d94
mov edi, eax
add esp, 0x10
cmp edi, ebx
jge 0x41aa96
push str.Failed_to_create_executable_command.
jmp 0x41a9e8
push ebx
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x228]
push dword [ebp - 0x238]
call fcn.0040b63a
mov edi, eax
cmp edi, ebx
jge 0x41aabf
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x41a9e8
push dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.00431d94
add esp, 0x10
jmp 0x41ab1b
push dword [ebp - 0x210]
lea eax, [ebp - 0x214]
push str.__ls_
push eax
call fcn.00431d94
mov edi, eax
add esp, 0xc
cmp edi, ebx
jl 0x41aa8c
push dword [ebp - 0x210]
lea eax, [ebp - 0x218]
push str.__ls_
push eax
call fcn.00431d94
add esp, 0xc
mov edi, eax
cmp edi, ebx
jge 0x41ab2b
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x41a9e8
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 1
jne 0x41ac08
mov eax, dword [esi + 0x14]
mov ebx, str._ls___ls_ls
test eax, eax
je 0x41aba8
push eax
push str.burn.ignoredependencies
push dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00431d94
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41ab7d
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_command_line.
push edi
call fcn.004300f7
pop ecx
pop ecx
xor ebx, ebx
jmp 0x41aed6
push dword [esi + 0x14]
lea eax, [ebp - 0x218]
push str.burn.ignoredependencies
push dword [ebp - 0x218]
push ebx
push eax
call fcn.00431d94
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41aba8
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_obfuscated_command_line.
jmp 0x41ab6e
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41ac06
push eax
push str.burn.ancestors
push dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00431d94
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41abd8
push str.Failed_to_append_the_list_of_ancestors_to_the_command_line.
jmp 0x41ab6e
push dword [esi + 0x18]
lea eax, [ebp - 0x218]
push str.burn.ancestors
push dword [ebp - 0x218]
push ebx
push eax
call fcn.00431d94
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41ac06
push str.Failed_to_append_the_list_of_ancestors_to_the_obfuscated_command_line.
jmp 0x41ab6e
xor ebx, ebx
push dword [ebp - 0x218]
push dword [ebp - 0x210]
push dword [esi + 0x10]
call fcn.00411840
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp - 0x250]
call fcn.00411c07
push eax
push 0x2000012d
push 2
call fcn.00401566
mov eax, dword [esi + 0xc]
xor ecx, ecx
inc ecx
add esp, 0x1c
cmp eax, ecx
jne 0x41ac90
mov edx, dword [esi + 8]
cmp dword [edx + 0xb0], ecx
jne 0x41ac90
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.00425aba
mov edi, eax
cmp edi, ebx
jge 0x41ae36
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_as_embedded_from_path:__ls
jmp 0x41a9b2
cmp eax, 2
jne 0x41acd7
mov edx, dword [esi + 8]
cmp dword [edx + 0xb0], ecx
jne 0x41acd7
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.00425aee
mov edi, eax
cmp edi, ebx
jge 0x41aed6
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_asynchronously_from_path:__ls
jmp 0x41a9b2
cmp eax, ecx
jne 0x41ad25
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 2
jne 0x41ad25
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.0042533e
mov edi, eax
cmp edi, ebx
jge 0x41ae36
push dword [ebp - 0x210]
push str.Failed_to_run_netfx_chainer:__ls
jmp 0x41a9b2
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41ad4d
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x23c], 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 0x41adc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41ad99
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x41ada4
mov edi, 0x80004005
push edi
push 0x263
push str.exeengine.cpp
call fcn.00432f68
push dword [ebp - 0x210]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x41ae6b
mov eax, dword [esi + 0xc]
cmp eax, 3
je 0x41aeb0
cmp eax, 2
je 0x41aeb0
push dword [ebp - 0x234]
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 - 0x230]
cmp eax, edi
je 0x41ae11
cmp eax, ebx
jne 0x41ae76
lea eax, [ebp - 0x220]
push eax
push 0x1f4
push dword [ebp - 0x24c]
call fcn.004306a4
mov edi, eax
cmp edi, 0x80070102
je 0x41add9
cmp edi, ebx
jl 0x41aea3
mov edi, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x220]
mov eax, dword [esi + 8]
call fcn.0041a3ae
mov edi, eax
cmp edi, ebx
jge 0x41aec1
push edi
push 0x27e
push str.exeengine.cpp
call fcn.00432f68
push dword [ebp - 0x220]
push str.Process_returned_error:_0x_x
push edi
call fcn.004300f7
add esp, 0xc
jmp 0x41aec1
xor ecx, ecx
cmp eax, 2
setne cl
lea edi, [ecx - 0x7ff8f9be]
push edi
push 0x273
push str.exeengine.cpp
call fcn.00432f68
push str.Bootstrapper_application_aborted_during_EXE_progress.
push edi
call fcn.004300f7
pop ecx
pop ecx
jmp 0x41aec1
push dword [ebp - 0x210]
push str.Failed_to_wait_for_executable_to_complete:__ls
jmp 0x41ae6b
push 0x1388
push dword [ebp - 0x24c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [ebp - 0x23c], ebx
je 0x41aed6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x224], ebx
je 0x41aee9
push dword [ebp - 0x224]
call fcn.00430858
cmp dword [ebp - 0x22c], ebx
je 0x41aefc
push dword [ebp - 0x22c]
call fcn.00430858
cmp dword [ebp - 0x21c], ebx
je 0x41af0f
push dword [ebp - 0x21c]
call fcn.00430858
cmp dword [ebp - 0x210], ebx
je 0x41af22
push dword [ebp - 0x210]
call fcn.00430858
cmp dword [ebp - 0x214], ebx
je 0x41af35
push dword [ebp - 0x214]
call fcn.00430858
cmp dword [ebp - 0x218], ebx
je 0x41af48
push dword [ebp - 0x218]
call fcn.00430858
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], ebx
je 0x41af64
push dword [ebp - 0x248]
call esi
mov dword [ebp - 0x248], ebx
cmp dword [ebp - 0x24c], ebx
je 0x41af74
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.0042851a
leave
ret 0x18