Function at 0x1400db9d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r12, rdx
mov r13, rcx
test rdx, rdx
je 0x1400dba55
cmp qword [rcx], 0
jne 0x1400dba81
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x1400dba55
test byte [rcx + 0x1c], 1
je 0x1400dba55
cmp byte [rcx + 0x19], 4
jb 0x1400dba55
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x1b
mov r9d, eax
lea r8, [0x1405f7168]
mov rcx, qword [str.0cg_]
mov rcx, qword [rcx + 0x10]
call fcn.140082b10
xor al, al
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r15, [rdx + 0x10]
mov rbx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400dba92
mov rbx, qword [r15]
mov edx, 0x5c
mov rcx, rbx
call fcn.14035b2dc
test rax, rax
je 0x1400dbaa8
lea rbx, [rax + 2]
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], ax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], ax
jne 0x1400dbad0
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.1400739a0
nop
mov ecx, dword [r12 + 0x78]
cmp ecx, 1
jne 0x1400dbb00
mov r14d, 0x40102
lea rdi, str._policy_
jmp 0x1400dbb1f
mov r14d, 0x102
test ecx, ecx
je 0x1400dbb18
cmp ecx, 1
je 0x1400dbaf7
lea rdi, [0x1405e4f00]
jmp 0x1400dbb1f
lea rdi, str._local_
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
mov r8, rsi
inc r8
cmp word [rdi + r8*2], ax
jne 0x1400dbb54
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400739a0
nop
mov rbx, qword [r13]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x14060af30]
movdqu xmmword [rbp + 0xd8], xmm1
xor r13d, r13d
mov word [rbp + 0xc8], r13w
mov dword [rbp + 0xe8], 2
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp + 0xc8]
call fcn.1400739a0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400dbc4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dbc47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc400
call fcn.140359090
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
cmp qword [rbp + 0xc0], 0
jne 0x1400dbcb9
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x1400dbcb2
test byte [rcx + 0x1c], 1
je 0x1400dbcb2
cmp byte [rcx + 0x19], 4
jb 0x1400dbcb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
mov edx, 0x1c
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1405f7168]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
xor bl, bl
jmp 0x1400dc390
bt r14d, 0x12
jae 0x1400dbd1e
lea rdx, str.D:P_A_CI_KA___SY__A_CI_KA___BA_
lea rcx, [rbp + 0xf0]
call fcn.1400c0440
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x1400dbe37
mov r8, rcx
mov edx, 0x80000004
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov rcx, qword [rbp + 0x118]
test eax, eax
jne 0x1400dbe37
test rcx, rcx
je 0x1400dbd12
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp + 0xf0]
call fcn.140073b90
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rbx, qword [rbp + 0xc0]
movdqu xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x14060af30]
movdqu xmmword [rbp + 0xa8], xmm1
mov word [rbp + 0x98], r13w
mov dword [rbp + 0xb8], 2
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
lea rcx, [rbp + 0x98]
call fcn.1400739a0
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
mov rcx, qword [rbp + 0x90]
test rcx, rcx
jne 0x1400dbea4
lea rax, str.0cg_
mov rdx, qword [str.0cg_]
cmp rdx, rax
je 0x1400dbe30
test byte [rdx + 0x1c], 1
je 0x1400dbe30
cmp byte [rdx + 0x19], 4
jb 0x1400dbe30
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae r9, qword [rbp + 0x28]
mov rcx, qword [str.0cg_]
mov edx, 0x1e
mov dword [rsp + 0x20], eax
lea r8, [0x1405f7168]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
mov rcx, qword [rbp + 0x90]
xor bl, bl
jmp 0x1400dc371
lea rax, str.0cg_
mov rdx, qword [str.0cg_]
cmp rdx, rax
je 0x1400dbe86
test byte [rdx + 0x1c], 1
je 0x1400dbe86
cmp byte [rdx + 0x19], 4
jb 0x1400dbe86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x1405f7168]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x1400dbe91
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp + 0xf0]
call fcn.140073b90
xor bl, bl
jmp 0x1400dc390
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
lea r14, [r12 + 0x38]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400dbecc
mov rdx, qword [r14]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r13w
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400dbee4
lea rcx, [rbp - 0x60]
call fcn.1400739a0
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.1400c0520
mov rbx, rax
mov qword [rsp + 0x78], rax
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400dbf1b
mov rdx, qword [r15]
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r13w
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400dbf33
lea rcx, [rbp - 0x80]
call fcn.1400739a0
nop
mov qword [rbp + 0x50], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
lea rax, [rbp - 0x80]
mov r13, qword [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, r13
mov qword [rsp + 0x70], rax
mov rdi, qword [rbp - 0x70]
cmp rdi, 8
jae 0x1400dbf89
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], 7
jmp 0x1400dbfee
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400dc406
lfence
add rcx, rcx
call fcn.140073800
mov qword [rbp + 0x50], rax
mov rbx, qword [rbp - 0x70]
lea r8, [rbx*2 + 2]
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.14035bc80
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rdi
mov r13, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
xor eax, eax
mov qword [rbp + 0x80], rax
mov rax, qword [rbx]
mov qword [rsp + 0x78], rax
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x70], rcx
cmp rax, rcx
je 0x1400dc05a
mov rbx, rcx
sub rbx, rax
mov rcx, rbx
call fcn.140073800
mov rdi, rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
lea rcx, [rax + rbx]
mov qword [rbp + 0x80], rcx
mov r8, rbx
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call fcn.14035bc80
sub rdi, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
add rax, rdi
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x88], 1
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x1400dc0a4
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400dc09b
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc40c
mov rcx, r13
call fcn.140359090
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400dc0ef
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc0d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc412
call fcn.140359090
xor r13d, r13d
mov qword [rbp], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
jmp 0x1400dc0f2
xor r13d, r13d
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400dc132
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc12d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc418
call fcn.140359090
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r13w
mov rcx, qword [rbp + 0x78]
mov rax, qword [rbp + 0x70]
sub rcx, rax
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x88]
xor r8d, r8d
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8d, eax
test eax, eax
je 0x1400dc1d0
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x1400dc1c9
test byte [rcx + 0x1c], 1
je 0x1400dc1c9
cmp byte [rcx + 0x19], 4
jb 0x1400dc1c9
cmp qword [r15 + 0x18], 8
jb 0x1400dc1ac
mov r15, qword [r15]
mov edx, 0x1f
mov dword [rsp + 0x20], r8d
mov r9, r15
lea r8, [0x1405f7168]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
xor bl, bl
jmp 0x1400dc315
mov rax, qword [r12]
mov qword [rbp + 0x18], rax
mov rax, qword [r12 + 8]
mov qword [rbp + 0x20], rax
lea rdx, [r12 + 0x58]
cmp qword [rdx + 0x18], 8
jb 0x1400dc1f0
mov rdx, qword [rdx]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r13w
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400dc210
lea rcx, [rbp - 0x20]
call fcn.1400739a0
nop
cmp qword [r14 + 0x18], 8
jb 0x1400dc22f
mov r14, qword [r14]
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x1400dc244
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.1400739a0
nop
lea r8, [rbp + 0x18]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1400da700
movzx ebx, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400dc2b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc2ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc41e
call fcn.140359090
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400dc304
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc2ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc424
call fcn.140359090
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r13w
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1400dc361
mov rdx, qword [rbp + 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc34d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc42a
call fcn.140359090
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r13
lea rcx, [rbp + 0x50]
call fcn.140073b90
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x1400dc383
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x90], r13
lea rcx, [rbp + 0x98]
call fcn.140073b90
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1400dc3a9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xc0], r13
lea rcx, [rbp + 0xc8]
call fcn.140073b90
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x1400dc3f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc3ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc3fa
call fcn.140359090
movzx eax, bl
jmp 0x1400dba57
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140073980
nop
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
int3