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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x470008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x260], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00430b10
or dword [ebp - 0x22c], 0xffffffff
lea eax, [ebp - 0x2b8]
push 0x44
push ebx
push eax
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
call fcn.00430b10
xor eax, eax
mov dword [ebp - 0x224], ebx
lea edi, [ebp - 0x25c]
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 - 0x274]
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 + 0x28]
push dword [eax + 0x18]
call fcn.0041abce
mov ebx, eax
test ebx, ebx
jns 0x422a17
mov eax, dword [esi + 8]
push dword [eax]
push str.Failed_to_get_cached_path_for_package:__ls
push ebx
call fcn.0044466b
add esp, 0xc
jmp 0x4230c3
mov edi, dword [ebp - 0x230]
push 1
push dword [ebp - 0x220]
push str.WixBundleExecutePackageCacheFolder
push edi
call fcn.004086ad
mov eax, dword [esi + 0x10]
push 1
cdq
push edx
push eax
push str.WixBundleExecutePackageAction
push edi
call fcn.0040866c
lea eax, [ebp - 0x210]
push eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x84]
mov eax, dword [eax]
push dword [eax + 0x18]
push dword [ebp - 0x220]
call fcn.00402ece
mov ebx, eax
test ebx, ebx
jns 0x422a7b
push str.Failed_to_build_executable_path.
push ebx
call fcn.0044466b
pop ecx
pop ecx
jmp 0x4230c3
mov ecx, dword [esi + 0x10]
mov eax, ecx
sub eax, 1
je 0x422ab8
sub eax, 1
je 0x422aad
sub eax, 4
je 0x422aa2
push ecx
mov eax, 0x80070057
push str.Invalid_Exe_package_action:__d.
mov ebx, eax
push eax
jmp 0x422a0a
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xa0]
jmp 0x422ac1
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x9c]
jmp 0x422ac1
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xa4]
xor ecx, ecx
test eax, eax
je 0x422acc
cmp word [eax], cx
jne 0x422ad1
mov eax, 0x4508e4
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00402315
mov ebx, eax
test ebx, ebx
jns 0x422aec
push str.Failed_to_copy_package_arguments.
jmp 0x422a6e
mov eax, dword [esi + 8]
xor ebx, ebx
mov dword [ebp - 0x244], ebx
cmp dword [eax + 0xcc], ebx
jbe 0x422c04
mov edx, ebx
mov dword [ebp - 0x248], ebx
mov edi, dword [eax + 0xc8]
lea eax, [ebp - 0x240]
add edi, edx
mov dword [ebp - 0x240], ebx
push eax
push dword [edi + 0xc]
push dword [ebp - 0x230]
call fcn.00409cf6
mov ebx, eax
test ebx, ebx
js 0x422c50
cmp dword [ebp - 0x240], 0
je 0x422bd1
push 0
push 0x450b68
lea eax, [ebp - 0x21c]
push eax
call fcn.0040206b
mov ebx, eax
test ebx, ebx
js 0x422c46
mov ecx, dword [esi + 0x10]
mov eax, ecx
sub eax, 1
je 0x422bba
sub eax, 1
je 0x422b9a
sub eax, 4
jne 0x422a8f
push eax
push dword [edi + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040206b
mov ebx, eax
test ebx, ebx
jns 0x422bd1
push str.Failed_to_get_command_line_argument_for_repair.
jmp 0x422a6e
push 0
push dword [edi]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040206b
mov ebx, eax
test ebx, ebx
jns 0x422bd1
push str.Failed_to_get_command_line_argument_for_install.
jmp 0x422a6e
push 0
push dword [edi + 4]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040206b
mov ebx, eax
test ebx, ebx
js 0x422c3c
mov ecx, dword [ebp - 0x244]
xor ebx, ebx
mov eax, dword [esi + 8]
inc ecx
mov edx, dword [ebp - 0x248]
add edx, 0x10
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x248], edx
cmp ecx, dword [eax + 0xcc]
jb 0x422b0b
mov edi, dword [ebp - 0x230]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x422cd1
push ebx
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x21c]
push edi
call fcn.004076b3
mov ebx, eax
test ebx, ebx
jns 0x422c5a
push str.Failed_to_format_argument_string.
jmp 0x422a6e
push str.Failed_to_get_command_line_argument_for_uninstall.
jmp 0x422a6e
push str.Failed_to_separate_command_line_arguments.
jmp 0x422a6e
push str.Failed_to_evaluate_executable_package_command_line_condition.
jmp 0x422a6e
push dword [ebp - 0x23c]
lea eax, [ebp - 0x214]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.004020db
mov ebx, eax
add esp, 0x10
test ebx, ebx
jns 0x422c8a
push str.Failed_to_create_executable_command.
jmp 0x422a6e
push 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x21c]
push edi
call fcn.004076cd
mov ebx, eax
test ebx, ebx
jns 0x422caf
push str.Failed_to_format_obfuscated_argument_string.
jmp 0x422a6e
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push dword [ebp - 0x210]
push str.__ls___s
push eax
call fcn.00402099
add esp, 0x10
jmp 0x422d08
push dword [ebp - 0x210]
mov edi, str.__ls_
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.00402099
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x422c80
push dword [ebp - 0x210]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00402099
add esp, 0xc
mov ebx, eax
test ebx, ebx
jns 0x422d18
push str.Failed_to_create_obfuscated_executable_command.
jmp 0x422a6e
mov eax, dword [esi + 8]
xor edi, edi
cmp dword [eax + 0xbc], edi
je 0x422e04
cmp dword [esi + 0x14], edi
je 0x422d9b
cmp dword [eax + 0xb8], 1
jne 0x422d9b
push dword [esi + 0x14]
lea eax, [ebp - 0x214]
push str.burn.ignoredependencies
push dword [ebp - 0x214]
push str._ls___ls_ls
push eax
call fcn.004020db
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x422d69
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_command_line.
jmp 0x422a6e
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.00402099
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x422d9b
push str.Failed_to_append_the_list_of_dependencies_to_ignore_to_the_obfuscated_command_line.
jmp 0x422a6e
cmp dword [esi + 0x18], edi
je 0x422e04
push dword [esi + 0x18]
lea eax, [ebp - 0x214]
push str.burn.ancestors
push dword [ebp - 0x214]
push str._ls___ls_ls
push eax
call fcn.004020db
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x422dd2
push str.Failed_to_append_the_list_of_ancestors_to_the_command_line.
jmp 0x422a6e
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.00402099
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x422e04
push str.Failed_to_append_the_list_of_ancestors_to_the_obfuscated_command_line.
jmp 0x422a6e
mov eax, dword [esi + 8]
cmp dword [eax + 0xb8], 1
jne 0x422e45
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x210]
call fcn.00417295
mov ebx, eax
test ebx, ebx
jns 0x422e45
push str.burn.filehandle.self
push str.Failed_to_append__ls
jmp 0x422a09
push dword [ebp - 0x218]
push dword [ebp - 0x210]
push dword [esi + 0x10]
call fcn.00414433
push eax
mov eax, dword [esi + 8]
push dword [eax]
push dword [ebp - 0x260]
call fcn.00414bfd
push eax
push 0x2000012d
push 2
call fcn.00405721
add esp, 0x1c
cmp dword [esi + 0xc], edi
jne 0x422f14
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xb8]
cmp eax, 1
jne 0x422ed0
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x238]
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.0042dc70
mov ebx, eax
test ebx, ebx
jns 0x423035
push dword [ebp - 0x210]
push str.Failed_to_run_bundle_as_embedded_from_path:__ls
jmp 0x422a09
cmp eax, 2
jne 0x422f14
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x238]
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.0042e434
mov ebx, eax
test ebx, ebx
jns 0x423035
push dword [ebp - 0x210]
push str.Failed_to_run_netfx_chainer:__ls
jmp 0x422a09
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x422f3c
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x2b8], 0x44
push eax
lea eax, [ebp - 0x2b8]
push eax
push edi
push edi
push 0x8000000
push 1
push edi
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x422fb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x422f8c
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
js 0x422f93
mov ebx, 0x80004005
push ebx
push 0x222
push str.c:_agent_work18_swix_src_burnengineexeengine.cpp
call fcn.00403953
push dword [ebp - 0x210]
push str.Failed_to_CreateProcess_on_path:__ls
jmp 0x4230a4
cmp dword [esi + 0xc], edi
je 0x422fce
push 0x1388
push dword [ebp - 0x25c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x4230ad
mov edi, dword [ebp - 0x234]
push dword [ebp - 0x238]
xor ebx, ebx
mov dword [ebp - 0x274], 2
lea eax, [ebp - 0x274]
mov dword [ebp - 0x26c], 0x32
inc ebx
mov ecx, edi
push eax
mov dword [ebp - 0x270], ebx
call dword [0x4503dc]
call edi
cmp eax, ebx
je 0x423010
test eax, eax
jne 0x42306c
lea eax, [ebp - 0x224]
push eax
push 0x1f4
push dword [ebp - 0x25c]
call fcn.00444ecc
mov ebx, eax
cmp ebx, 0x80070102
je 0x422fd4
test ebx, ebx
js 0x423099
push dword [ebp - 0x264]
push dword [ebp - 0x224]
push dword [esi + 8]
call fcn.00422395
mov ebx, eax
test ebx, ebx
jns 0x4230ad
push ebx
push 0x23d
push str.c:_agent_work18_swix_src_burnengineexeengine.cpp
call fcn.00403953
push dword [ebp - 0x224]
push str.Process_returned_error:_0x_x
jmp 0x4230a4
xor ebx, ebx
cmp eax, 2
setne bl
add ebx, 0x80070642
push ebx
push 0x232
push str.c:_agent_work18_swix_src_burnengineexeengine.cpp
call fcn.00403953
push str.Bootstrapper_application_aborted_during_EXE_progress.
push ebx
call fcn.0044466b
pop ecx
pop ecx
jmp 0x4230ad
push dword [ebp - 0x210]
push str.Failed_to_wait_for_executable_to_complete:__ls
push ebx
call fcn.0044466b
add esp, 0xc
cmp dword [ebp - 0x24c], 0
je 0x4230c3
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x21c]
call fcn.004028f5
push dword [ebp - 0x23c]
call fcn.004028f5
cmp dword [ebp - 0x228], 0
je 0x4230ed
push dword [ebp - 0x228]
call fcn.004027da
cmp dword [ebp - 0x220], 0
je 0x423101
push dword [ebp - 0x220]
call fcn.004027da
cmp dword [ebp - 0x210], 0
je 0x423115
push dword [ebp - 0x210]
call fcn.004027da
push dword [ebp - 0x214]
call fcn.004028f5
cmp dword [ebp - 0x218], 0
je 0x423134
push dword [ebp - 0x218]
call fcn.004027da
cmp dword [ebp - 0x258], 0
je 0x423153
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 0x258], edi
jmp 0x423155
xor edi, edi
cmp dword [ebp - 0x25c], 0
je 0x423170
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x25c], edi
cmp dword [ebp - 0x22c], 0xffffffff
je 0x42318c
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x22c], 0xffffffff
mov esi, dword [ebp - 0x230]
push 1
push edi
push str.WixBundleExecutePackageCacheFolder
push esi
call fcn.004086ad
push 1
push edi
push str.WixBundleExecutePackageAction
push esi
call fcn.004086ad
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f1b3
leave
ret 0x18