Function at 0x180002e68
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.180006260
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r8, str.SfxCA__d
mov edx, MsiProvideComponentW
mov r9d, eax
lea rcx, [rbp + 0x60]
call fcn.1800041c0
mov r8b, 1
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1800026ac
lea rcx, [rsp + 0x70]
call fcn.180002918
test eax, eax
je 0x180002ef0
lea rdi, str.Failed_to_create_communication_pipe_for_new_CA_process._Error_code:__d
jmp 0x180003090
lea rcx, [rsp + 0x70]
call fcn.180003564
test eax, eax
je 0x180002f0a
lea rdi, str.Failed_to_open_communication_pipe_for_new_CA_process._Error_code:__d
jmp 0x180003090
xor edx, edx
lea rcx, [rbp + 0x340]
mov r8d, 0x208
call fcn.180006260
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.180006260
mov edx, r14d
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x180017dc4]
mov edx, r14d
lea rcx, [rbp + 0x130]
call fcn.18000991c
lea r8, str.rundll32.exe
mov edx, r14d
lea rcx, [rbp + 0x130]
call fcn.18000991c
xor edx, edx
lea rcx, [rbp + 0x550]
mov r8d, 0x800
call fcn.180006260
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.1800041c0
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 0x180003052
lea rdi, str.Failed_to_create_new_CA_process_via_RUNDLL32._Error_code:__d
jmp 0x18000308a
mov rcx, qword [rsp + 0x58]
or edi, 0xffffffff
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18000306f
lea rdi, str.Failed_to_wait_for_CA_process._Error_code:__d
jmp 0x18000308a
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x180003098
lea rdi, str.Failed_to_get_exit_code_of_CA_process._Error_code:__d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rdi
jmp 0x1800030a9
mov r8d, dword [rsp + 0x50]
test r8d, r8d
je 0x1800030b7
lea rdx, str.RUNDLL32_returned_error_code:__d
mov ecx, ebx
call fcn.180004644
mov edi, 0x643
jmp 0x1800030fd
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 0x1800030f9
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.180002738
mov eax, edi
mov rcx, qword [rbp + 0xd50]
xor rcx, rsp
call fcn.1800051d0
mov rbx, qword [rsp + 0xe90]
add rsp, 0xe60
pop r14
pop rdi
pop rbp
ret