Function at 0x41a8f2
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.004284d0
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.004284d0
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.004188b9
mov edi, eax
cmp edi, ebx
jge 0x41a9d9
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push edi
call fcn.00430126
add esp, 0xc
jmp 0x41aeef
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.004325d7
mov edi, eax
cmp edi, ebx
jge 0x41aa0e
push str.Failed_to_build_executable_path.
push edi
call fcn.00430126
pop ecx
pop ecx
jmp 0x41aeef
mov eax, dword [esi + 0x10]
dec eax
je 0x41aa3e
dec eax
je 0x41aa33
sub eax, 3
je 0x41aa28
mov edi, 0x8000ffff
push str.Failed_to_get_action_arguments_for_executable_package.
jmp 0x41aa01
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x98]
jmp 0x41aa47
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x94]
jmp 0x41aa47
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x228], eax
cmp eax, ebx
je 0x41aafa
cmp word [eax], bx
je 0x41aafa
push ebx
lea ecx, [ebp - 0x224]
push ecx
push eax
push dword [ebp - 0x238]
call fcn.00408c1c
mov edi, eax
cmp edi, ebx
jge 0x41aa7f
push str.Failed_to_format_argument_string.
jmp 0x41aa01
push dword [ebp - 0x224]
lea eax, [ebp - 0x214]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.00431d32
mov edi, eax
add esp, 0x10
cmp edi, ebx
jge 0x41aaaf
push str.Failed_to_create_executable_command.
jmp 0x41aa01
push ebx
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x228]
push dword [ebp - 0x238]
call fcn.0040b5d0
mov edi, eax
cmp edi, ebx
jge 0x41aad8
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x41aa01
push dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.00431d32
add esp, 0x10
jmp 0x41ab34
push dword [ebp - 0x210]
lea eax, [ebp - 0x214]
push str.__ls_
push eax
call fcn.00431d32
mov edi, eax
add esp, 0xc
cmp edi, ebx
jl 0x41aaa5
push dword [ebp - 0x210]
lea eax, [ebp - 0x218]
push str.__ls_
push eax
call fcn.00431d32
add esp, 0xc
mov edi, eax
cmp edi, ebx
jge 0x41ab44
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x41aa01
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 1
jne 0x41ac21
mov eax, dword [esi + 0x14]
mov ebx, str._ls___ls_ls
test eax, eax
je 0x41abc1
push eax
push str.burn.ignoredependencies
push dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00431d32
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41ab96
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_command_line.
push edi
call fcn.00430126
pop ecx
pop ecx
xor ebx, ebx
jmp 0x41aeef
push dword [esi + 0x14]
lea eax, [ebp - 0x218]
push str.burn.ignoredependencies
push dword [ebp - 0x218]
push ebx
push eax
call fcn.00431d32
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41abc1
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_obfuscated_command_line.
jmp 0x41ab87
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41ac1f
push eax
push str.burn.ancestors
push dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00431d32
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41abf1
push str.Failed_to_append_the_list_of_ancestors_to_the_command_line.
jmp 0x41ab87
push dword [esi + 0x18]
lea eax, [ebp - 0x218]
push str.burn.ancestors
push dword [ebp - 0x218]
push ebx
push eax
call fcn.00431d32
mov edi, eax
add esp, 0x14
test edi, edi
jns 0x41ac1f
push str.Failed_to_append_the_list_of_ancestors_to_the_obfuscated_command_line.
jmp 0x41ab87
xor ebx, ebx
push dword [ebp - 0x218]
push dword [ebp - 0x210]
push dword [esi + 0x10]
call fcn.004117d3
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp - 0x250]
call fcn.00411b9a
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 0x41aca9
mov edx, dword [esi + 8]
cmp dword [edx + 0xb0], ecx
jne 0x41aca9
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.00425adf
mov edi, eax
cmp edi, ebx
jge 0x41ae4f
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_as_embedded_from_path:__ls
jmp 0x41a9cb
cmp eax, 2
jne 0x41acf0
mov edx, dword [esi + 8]
cmp dword [edx + 0xb0], ecx
jne 0x41acf0
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.00425b13
mov edi, eax
cmp edi, ebx
jge 0x41aeef
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_asynchronously_from_path:__ls
jmp 0x41a9cb
cmp eax, ecx
jne 0x41ad3e
mov eax, dword [esi + 8]
cmp dword [eax + 0xb0], 2
jne 0x41ad3e
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.00425363
mov edi, eax
cmp edi, ebx
jge 0x41ae4f
push dword [ebp - 0x210]
push str.Failed_to_run_netfx_chainer:__ls
jmp 0x41a9cb
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41ad66
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 0x41addd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41adb2
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x41adbd
mov edi, 0x80004005
push edi
push 0x263
push str.exeengine.cpp
call fcn.00432f06
push dword [ebp - 0x210]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x41ae84
mov eax, dword [esi + 0xc]
cmp eax, 3
je 0x41aec9
cmp eax, 2
je 0x41aec9
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 0x41ae2a
cmp eax, ebx
jne 0x41ae8f
lea eax, [ebp - 0x220]
push eax
push 0x1f4
push dword [ebp - 0x24c]
call fcn.004306d3
mov edi, eax
cmp edi, 0x80070102
je 0x41adf2
cmp edi, ebx
jl 0x41aebc
mov edi, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x220]
mov eax, dword [esi + 8]
call fcn.0041a3c7
mov edi, eax
cmp edi, ebx
jge 0x41aeda
push edi
push 0x27e
push str.exeengine.cpp
call fcn.00432f06
push dword [ebp - 0x220]
push str.Process_returned_error:_0x_x
push edi
call fcn.00430126
add esp, 0xc
jmp 0x41aeda
xor ecx, ecx
cmp eax, 2
setne cl
lea edi, [ecx - 0x7ff8f9be]
push edi
push 0x273
push str.exeengine.cpp
call fcn.00432f06
push str.Bootstrapper_application_aborted_during_EXE_progress.
push edi
call fcn.00430126
pop ecx
pop ecx
jmp 0x41aeda
push dword [ebp - 0x210]
push str.Failed_to_wait_for_executable_to_complete:__ls
jmp 0x41ae84
push 0x1388
push dword [ebp - 0x24c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [ebp - 0x23c], ebx
je 0x41aeef
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x224], ebx
je 0x41af02
push dword [ebp - 0x224]
call fcn.00430887
cmp dword [ebp - 0x22c], ebx
je 0x41af15
push dword [ebp - 0x22c]
call fcn.00430887
cmp dword [ebp - 0x21c], ebx
je 0x41af28
push dword [ebp - 0x21c]
call fcn.00430887
cmp dword [ebp - 0x210], ebx
je 0x41af3b
push dword [ebp - 0x210]
call fcn.00430887
cmp dword [ebp - 0x214], ebx
je 0x41af4e
push dword [ebp - 0x214]
call fcn.00430887
cmp dword [ebp - 0x218], ebx
je 0x41af61
push dword [ebp - 0x218]
call fcn.00430887
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], ebx
je 0x41af7d
push dword [ebp - 0x248]
call esi
mov dword [ebp - 0x248], ebx
cmp dword [ebp - 0x24c], ebx
je 0x41af8d
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.0042854a
leave
ret 0x18