Function at 0x1400c2b10
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov rbx, rdx
mov r14b, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
xor edx, edx
movzx ecx, r14b
call fcn.1401d3b80
mov r15, rax
mov qword [rbp + 0x68], rax
xor r12d, r12d
mov qword [rbp + 0x70], r12
movdqa xmm0, xmmword [0x14060af30]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r12w
mov dword [rbp + 0x90], 2
test rax, rax
jne 0x1400c2be9
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x1400c2be1
test byte [rcx + 0x1c], r14b
je 0x1400c2be1
cmp byte [rcx + 0x19], 2
jb 0x1400c2be1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
lea edx, [r15 + 0x17]
mov r9d, eax
lea r8, [0x1405f62c8]
mov rcx, qword [rcx + 0x10]
call fcn.140082b10
xor r14b, r14b
jmp 0x1400c331a
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
mov r8d, 8
lea rdx, str._policy_
lea rcx, [rsp + 0x70]
call fcn.1400739a0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x14060af30]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], r12w
mov dword [rbp + 0x28], 2
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.1400739a0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x40104
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400c2cea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2ce5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3375
call fcn.140359090
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
mov rcx, qword [rbp]
test rcx, rcx
jne 0x1400c2d5d
lea rax, str.0cg_
mov rdx, qword [str.0cg_]
cmp rdx, rax
je 0x1400c2d55
test byte [rdx + 0x1c], 1
je 0x1400c2d55
cmp byte [rdx + 0x19], 2
jb 0x1400c2d55
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
mov edx, 0x18
mov dword [rsp + 0x20], eax
lea r9, str._policy_
lea r8, [0x1405f62c8]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
mov rcx, qword [rbp]
xor r14b, r14b
jmp 0x1400c3301
mov qword [rbp + 0x30], r12
movdqa xmm0, xmmword [0x14060af30]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r12w
mov r8d, 0x1f
lea rdx, str.D:P_A_CI_KA___SY__A_CI_KA___BA_
lea rcx, [rbp + 0x30]
call fcn.1400739a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x68]
lea edx, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1400c2dcf
mov dword [rbp + 0x50], 0x18
mov dword [rbp + 0x60], r12d
mov rcx, qword [rsp + 0x68]
mov qword [rbp + 0x58], rcx
jmp 0x1400c2dd3
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x1400c3296
mov r8, rcx
mov edx, 0x80000004
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x1400c3292
mov rbx, qword [rbx]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x1400c31c8
lea rdi, [rbx + 0x40]
cmp qword [rbx + 0x58], 8
jb 0x1400c2e15
mov rdi, qword [rbx + 0x40]
mov edx, 0x5c
mov rcx, rdi
call fcn.14035b2dc
test rax, rax
je 0x1400c2e2b
lea rdi, [rax + 2]
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400c2e50
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400739a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov rdi, qword [rbp]
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
mov dword [rbp - 0x48], 2
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp - 0x68]
call fcn.1400739a0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x1400c31d1
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
lea rdx, [rbx + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400c0520
mov rdi, rax
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400733c0
nop
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400ae170
mov r9d, 1
mov dword [rbp - 8], r9d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400c2f8b
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2f82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c337b
call fcn.140359090
mov r9d, dword [rbp - 8]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x20]
sub rcx, rax
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400c30c4
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400c3008
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2ff7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3369
call fcn.140359090
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x40]
call fcn.140073b90
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400c3025
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x70], r12
lea rcx, [rbp - 0x68]
call fcn.140073b90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400c3070
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c306b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c336f
call fcn.140359090
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400c309f
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400c3097
cmp rbx, qword [rax + 0x10]
jne 0x1400c3097
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400c3084
mov rbx, rax
jmp 0x1400c2dfc
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1400c2dfc
nop
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400c30b0
jmp 0x1400c2dfc
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x1400c3117
test byte [rcx + 0x1c], 1
je 0x1400c3117
cmp byte [rcx + 0x19], 2
jb 0x1400c3117
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [rbx + 0x40]
cmp qword [r9 + 0x18], 8
jb 0x1400c30f7
mov r9, qword [r9]
mov rcx, qword [str.0cg_]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
lea r8, [0x1405f62c8]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
xor r14b, r14b
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400c3160
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c314f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3369
call fcn.140359090
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x40]
call fcn.140073b90
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400c317d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x70], r12
lea rcx, [rbp - 0x68]
call fcn.140073b90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400c31c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c31c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c336f
call fcn.140359090
mov rcx, qword [rbp + 0x58]
jmp 0x1400c32e9
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x1400c322a
test byte [rcx + 0x1c], 1
je 0x1400c322a
cmp byte [rcx + 0x19], 2
jb 0x1400c322a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r9, qword [rsp + 0x70]
mov rcx, qword [str.0cg_]
mov edx, 0x1a
mov dword [rsp + 0x20], eax
lea r8, [0x1405f62c8]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
mov rdx, qword [rbp - 0x70]
xor r14b, r14b
test rdx, rdx
je 0x1400c323f
mov rcx, rdx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x70], r12
lea rcx, [rbp - 0x68]
call fcn.140073b90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400c31c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c31c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c336f
jmp 0x1400c31c3
mov rcx, qword [rbp + 0x58]
lea rax, str.0cg_
mov rdx, qword [str.0cg_]
cmp rdx, rax
je 0x1400c32e6
test byte [rdx + 0x1c], 1
je 0x1400c32e6
cmp byte [rdx + 0x19], 2
jb 0x1400c32e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
mov edx, 0x19
mov dword [rsp + 0x20], eax
lea r9, str._policy_
lea r8, [0x1405f62c8]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
mov rcx, qword [rbp + 0x58]
xor r14b, r14b
test rcx, rcx
je 0x1400c32f4
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp + 0x30]
call fcn.140073b90
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400c3310
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp], r12
lea rcx, [rbp + 8]
call fcn.140073b90
nop
test r15, r15
je 0x1400c332c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x68], r12
lea rcx, [rbp + 0x70]
call fcn.140073b90
movzx eax, r14b
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
int3