Function at 0x1400019f0
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0xd8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14008a080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
lea ecx, [r14 + 0x40]
call fcn.14006bbf8
mov rbx, rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x90], reloc.WLDAP32.dll_Ordinal_60
mov qword [rbp + 0x98], 0x3f
movups xmm0, xmmword [str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14007e2f0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14007e300]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x14007e310]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x14007e318]
mov dword [rbx + 0x38], eax
mov byte [rbx + 0x3c], r14b
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.140003e90
nop
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.140003e90
nop
mov qword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_60
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], reloc.WS2_32.dll_ntohl
lea r9, str.REG_ADD__HKLM_
lea r8, [rbp + 0x80]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140005210
nop
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x140001b37
lea rax, [rcx + 6]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x78]
add rbx, rcx
lea r8d, [r14 + 6]
lea rdx, str.___v__
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], r14b
lea rax, [rbp - 0x78]
jmp 0x140001b57
mov qword [rsp + 0x20], 6
lea r9, str.___v__
xor r8d, r8d
lea edx, [r8 + 6]
lea rcx, [rbp - 0x78]
call fcn.140004ef0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.1400041b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x10
jb 0x140001c20
lea rax, [rcx + 0x10]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x68]
add rbx, rcx
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.___t_REG_SZ__d__
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x10], 0
lea rax, [rsp + 0x68]
jmp 0x140001c41
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, str.___t_REG_SZ__d__
xor r8d, r8d
lea edx, [r8 + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140004ef0
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.1400041b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x140001cfb
lea rax, [rcx + 4]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x48]
mov dword [rax + rcx], 0x662f2022
mov byte [rax + rcx + 4], 0
lea rax, [rsp + 0x48]
jmp 0x140001d1c
mov qword [rsp + 0x20], 4
lea r9, str.___f
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x48]
call fcn.140004ef0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140001d7a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
movdqa xmm0, xmmword [0x14007ece0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140001dcb
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
movdqa xmm0, xmmword [0x14007ece0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140001e1b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
movdqa xmm0, xmmword [0x14007ece0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001e6c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
movdqa xmm0, xmmword [0x14007ece0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140001ebb
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001eb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001eb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
movdqa xmm0, xmmword [0x14007ece0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
movabs rax, 0x7fffffffffffffff
movq rcx, xmm6
sub rax, rcx
cmp rax, 3
jb 0x140002318
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rax, qword [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 3
lea r9, [0x14007e358]
lea r8, [rbp + 0x20]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140005210
lea r9, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r9, qword [rbp - 0x10]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
lea r8, str.cmd.exe
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, rax
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140001f94
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
cmp ebx, 0x20
jg 0x14000214c
lea rdx, str.Failed_to_execute_command_with_error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004780
mov edx, ebx
mov rcx, rax
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__::operator___int____ptr64]
lea rdx, [0x140004a30]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140002008
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000217e
call fcn.14006bbf0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140002044
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000203e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021bd
call fcn.14006bbf0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140002080
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000207a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021fc
call fcn.14006bbf0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1400020c2
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002241
call fcn.14006bbf0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400020fc
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400020f7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000230a
mov rcx, r8
call fcn.14006bbf0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002145
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002140
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002311
mov rcx, r8
call fcn.14006bbf0
xor al, al
jmp 0x1400022cf
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14000218b
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002185
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002185
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400021ca
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x140002209
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002203
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002203
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x14000224e
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006bbf0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002288
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140002283
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000230a
mov rcx, r8
call fcn.14006bbf0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400022cd
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400022c8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002311
mov rcx, r8
call fcn.14006bbf0
mov al, 1
mov byte [rdi], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14006bbd0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001450
int3