Function at 0x14009fb50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rbp + 0x200], rax
xorps xmm1, xmm1
lea r8, str.SOFTWAREMonectPCRemoteReceiver
xorps xmm0, xmm0
xor eax, eax
mov edi, edx
mov rbx, rcx
xor esi, esi
mov edx, 0x100
mov qword [rcx + 0xd8], rsi
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm1
movups xmmword [rcx + 0x70], xmm1
movups xmmword [rcx + 0x80], xmm1
movups xmmword [rcx + 0x90], xmm1
movups xmmword [rcx + 0xa0], xmm1
mov dword [rcx + 0xb0], eax
lea rax, [rcx + 4]
mov qword [rcx + 0xb8], rcx
mov byte [rcx], dil
mov word [rcx + 1], 0x202
mov byte [rcx + 3], 1
mov qword [rcx + 0xc0], rax
lea rax, [rcx + 0xa]
mov qword [rcx + 0xc8], rax
lea rax, [rcx + 0xc]
mov qword [rcx + 0xd0], rax
mov byte [rcx + 0xb], 1
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x60], 0xffffffff80000002
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14009fc7e
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xorps xmm0, xmm0
lea rdx, str.dsu_controller__d_mac
mov r8d, edi
lea rcx, [rbp + 0x180]
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
call fcn.14009fe70
xor eax, eax
mov dword [rsp + 0x50], 6
mov dword [rbp + 0x170], eax
lea r9, [rbp + 0x170]
mov word [rbp + 0x174], ax
lea rdx, [rbp + 0x180]
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140088010
test eax, eax
jne 0x14009fdfd
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jge 0x14009fd37
dec eax
or eax, 0xffffff00
inc eax
mov byte [rbp + 0x170], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jge 0x14009fd53
dec eax
or eax, 0xffffff00
inc eax
mov byte [rbp + 0x171], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jge 0x14009fd6f
dec eax
or eax, 0xffffff00
inc eax
mov byte [rbp + 0x172], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jge 0x14009fd8b
dec eax
or eax, 0xffffff00
inc eax
mov byte [rbp + 0x173], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jge 0x14009fda7
dec eax
or eax, 0xffffff00
inc eax
mov byte [rbp + 0x174], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x800000ff
jge 0x14009fdc3
dec eax
or eax, 0xffffff00
inc eax
mov rcx, qword [rsp + 0x68]
mov byte [rbp + 0x175], al
test rcx, rcx
je 0x14009fdfd
lea rax, [rbp + 0x170]
mov dword [rsp + 0x28], 6
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbx + 0xc0]
test rax, rax
jne 0x14009fe1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14009fe30
mov ecx, dword [rbp + 0x170]
mov dword [rax], ecx
movzx ecx, word [rbp + 0x174]
mov word [rax + 4], cx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14009fe40
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401d0310
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret