Function at 0x140019dd0
Capabilities:
Create process on windows
Delete file
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, rcx
lea rcx, [rbp - 0x70]
call fcn.1400193f0
nop
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14001d000
nop
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
sub r8, rdx
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14001a1bb
lea rcx, [rbp - 0x48]
call fcn.1400224e0
test rax, rax
jne 0x140019e7a
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp - 0x70]
mov rbx, qword [rbp - 0x60]
cmp qword [rbp - 0x58], 0x10
jb 0x140019e92
mov rdi, qword [rbp - 0x70]
add rbx, rdi
jmp 0x140019e99
add rbx, rcx
lea rdi, [rbp - 0x70]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov ecx, r14d
mov qword [rsp + 0x60], rcx
mov esi, 7
mov r8d, esi
mov qword [rsp + 0x68], rsi
mov rdx, rbx
sub rdx, rdi
cmp rdx, rsi
jbe 0x140019ed8
lea rcx, [rsp + 0x50]
call fcn.140025830
mov ecx, r14d
mov qword [rsp + 0x60], rcx
mov r8, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
cmp rdi, rbx
je 0x140019f33
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x140019f15
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp r8, 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x140019f1f
lea rcx, [rsp + 0x50]
call fcn.140025c60
inc rdi
cmp rdi, rbx
je 0x140019f33
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
jmp 0x140019ee7
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARERecoilWizard
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140019fbd
mov eax, dword [rsp + 0x60]
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.TMPD
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001a002
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019ffd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019ffd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
mov dword [rbp + 0xc0], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
lea rcx, [rbp - 0x70]
mov rbx, qword [rbp - 0x60]
cmp qword [rbp - 0x58], 0x10
jb 0x14001a051
mov rdi, qword [rbp - 0x70]
add rbx, rdi
jmp 0x14001a058
add rbx, rcx
lea rdi, [rbp - 0x70]
mov qword [rsp + 0x50], r14
mov rcx, r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rsi
mov rdx, rbx
sub rdx, rdi
cmp rdx, 7
jbe 0x14001a08d
lea rcx, [rsp + 0x50]
call fcn.140025830
mov rcx, r14
mov qword [rsp + 0x60], rcx
mov rsi, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
cmp rdi, rbx
je 0x14001a0ec
nop dword [rax]
movsx r9d, byte [rdi]
cmp rcx, rsi
jae 0x14001a0ce
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rsi, 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x14001a0d8
lea rcx, [rsp + 0x50]
call fcn.140025c60
inc rdi
mov rsi, qword [rsp + 0x68]
cmp rdi, rbx
je 0x14001a0ec
mov rcx, qword [rsp + 0x60]
jmp 0x14001a0a0
lea rcx, [rsp + 0x50]
cmp rsi, 8
cmovae rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001a17d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a178
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a178
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
test bl, bl
jne 0x14001a1bb
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x48], rax
cmp qword [rbp + 0x38], 0
je 0x14001a21a
mov rax, qword [rbp - 0x30]
lea rcx, [rbp + 0x28]
cmp qword [rax], rcx
jne 0x14001a21a
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
mov qword [rax], rcx
mov rax, qword [rbp - 0x10]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 8]
mov dword [rax], edx
cmp byte [rbp + 0x34], 0
je 0x14001a229
lea rcx, [rbp - 0x48]
call fcn.1400224e0
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14001a287
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a282
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140027490
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret