Function at 0x180016a50
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x710
mov rax, qword [0x1801e4940]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rax, qword [rcx + 0x40]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov rbp, rcx
mov rdx, qword [rax]
mov eax, dword [rdx + 8]
sub eax, 0x8c
je 0x180016aa7
cmp eax, 1
jne 0x180016aa7
lea r14, str.RegExp.exe
lea r15, [0x1800302d8]
jmp 0x180016ab5
lea r15, [0x1800302dc]
lea r14, [0x1800302e0]
xor eax, eax
lea rdi, [rsp + 0xe0]
mov ecx, 0x20a
lea rdx, [rsp + 0xe0]
rep stosb byte [rdi], al
lea rcx, str._temp_
mov r8d, 0x104
call fcn.18001fd40
dec eax
cmp eax, 0x103
ja 0x180016d09
xor ecx, ecx
mov qword [rsp + 0x738], rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0xf62e6ce0
mov byte [rsp + 0x20], 1
mov rdx, rax
lea r8, [rsp + 0x50]
mov ecx, 0x7d1
call fcn.180023bd0
mov rsi, rax
test rax, rax
jne 0x180016b66
lea rdx, str.____Failed_to_load_helper_dll_r_n
mov ecx, 1
call fcn.1800224a0
xor eax, eax
mov rsi, qword [rsp + 0x738]
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.180028780
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov edx, dword [rsp + 0x50]
lea r8, str.RegisterForProvider2
mov r9d, 1
mov rcx, rsi
call fcn.1800227f0
test eax, eax
je 0x180016ce9
lea r9, [rsp + 0xe0]
mov qword [rsp + 0x20], r14
lea r8, str._ws_ws
mov edx, 0x208
lea rcx, [rsp + 0x2f0]
call fcn.180015b10
mov r8d, dword [rsp + 0x50]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x2f0]
mov r9d, 1
mov dword [rsp + 0x20], ebx
mov rdx, rsi
call fcn.180020370
test rax, rax
je 0x180016cca
xor eax, eax
lea rdi, [rsp + 0x70]
mov ecx, 0x68
rep stosb byte [rdi], al
lea rdi, [rsp + 0x58]
mov dword [rsp + 0x70], 0x68
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x2f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, r15
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180016c9e
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
lea rdx, [0x180021730]
lea rcx, [0x1800215e0]
call fcn.180024d10
mov rcx, qword [rsp + 0x60]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rdi, rdi
je 0x180016c9e
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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 + 0x28], rbx
mov rcx, rsi
setne bl
call fcn.1800212b0
mov eax, ebx
jmp 0x180016b35
mov edx, dword [rsp + 0x54]
lea rcx, str.____Failed_to_write_help_dll_on_disk
call fcn.180023040
mov rcx, rsi
call fcn.1800212b0
mov eax, ebx
jmp 0x180016b35
lea rdx, str.____Error_while_configuring_helper_dll_r_n
mov ecx, 1
call fcn.1800224a0
mov rcx, rsi
call fcn.1800212b0
mov eax, ebx
jmp 0x180016b35
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180016b3d