Function at 0x180002e54
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0xd60]
sub rsp, 0xe60
mov rax, qword [0x180031008]
xor rax, rsp
mov qword [rbp + 0xd50], rax
mov rdi, rdx
mov ebx, ecx
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0xc8
call fcn.180006290
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r8, str.SfxCA__d
mov edx, MsiProvideComponentW
mov r9d, eax
lea rcx, [rbp + 0x60]
call fcn.1800041dc
mov r8b, 1
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.180002698
lea rcx, [rsp + 0x70]
call fcn.180002904
test eax, eax
je 0x180002edf
mov r8d, eax
lea rdx, str.Failed_to_create_communication_pipe_for_new_CA_process._Error_code:__d
jmp 0x1800030aa
lea rcx, [rsp + 0x70]
call fcn.180003570
test eax, eax
je 0x180002efc
mov r8d, eax
lea rdx, str.Failed_to_open_communication_pipe_for_new_CA_process._Error_code:__d
jmp 0x1800030aa
xor edx, edx
lea rcx, [rbp + 0x340]
mov r8d, 0x208
call fcn.180006290
mov rcx, qword [0x180031ae8]
lea rdx, [rbp + 0x340]
mov r14d, 0x104
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rbp + 0x130]
mov r8d, 0x208
call fcn.180006290
mov edx, r14d
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x180017dd4]
mov edx, r14d
lea rcx, [rbp + 0x130]
call fcn.180009468
lea r8, str.rundll32.exe
mov edx, r14d
lea rcx, [rbp + 0x130]
call fcn.180009468
xor edx, edx
lea rcx, [rbp + 0x550]
mov r8d, 0x800
call fcn.180006290
mov qword [rsp + 0x40], rdi
lea rax, [rbp + 0x60]
mov dword [rsp + 0x38], ebx
lea r9, str.rundll32.exe
mov qword [rsp + 0x30], rax
lea r8, str._s___s___s__s__d__s
lea rax, str.zzzzInvokeManagedCustomActionOutOfProc
mov edx, 0x400
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x550]
lea rax, [rbp + 0x340]
mov qword [rsp + 0x20], rax
call fcn.1800041dc
xor eax, eax
lea rdi, [rbp - 0x10]
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 0x68]
mov ecx, edx
rep stosb byte [rdi], al
lea ecx, [rax + 0x18]
mov dword [rbp - 0x10], edx
lea rdi, [rsp + 0x58]
rep stosb byte [rdi], al
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x550]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x130]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18000304d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_create_new_CA_process_via_RUNDLL32._Error_code:__d
jmp 0x1800030aa
mov rcx, qword [rsp + 0x58]
or edi, 0xffffffff
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180003073
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_wait_for_CA_process._Error_code:__d
jmp 0x1800030aa
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x180003099
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_get_exit_code_of_CA_process._Error_code:__d
jmp 0x1800030aa
mov r8d, dword [rsp + 0x50]
test r8d, r8d
je 0x1800030b8
lea rdx, str.RUNDLL32_returned_error_code:__d
mov ecx, ebx
call fcn.18000465c
mov edi, 0x643
jmp 0x1800030fe
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x68], 0
je 0x1800030fa
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbp - 0x68]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x68], 0
mov edi, dword [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.180002724
mov eax, edi
mov rcx, qword [rbp + 0xd50]
xor rcx, rsp
call fcn.1800051e0
mov rbx, qword [rsp + 0xe90]
add rsp, 0xe60
pop r14
pop rdi
pop rbp
ret