Function at 0x1400f1910
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14072a340]
xor rax, rsp
mov qword [rbp + 0x260], rax
movzx r14d, byte [0x14078027f]
lea rax, [0x140543574]
lea rdx, [0x14054356c]
test r14b, r14b
cmovne rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x1400f1985
lea rcx, [rbp + 0x180]
call fcn.140006600
nop
mov esi, dword [rbp + 0x190]
inc esi
lea rdi, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rdi, qword [rbp + 0x180]
movabs rax, 0x2d365e35c143c0de
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xc766a06b80310f58
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs r12, 0x5a591254b337acab
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x200], rax
movabs r13, 0xc71fc305e5456e14
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x208], rax
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
lea rax, [rbp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400f1a46
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.140006600
nop
movabs rax, 0x19057f31c744d5f8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xa85cb76b80371c61
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x2288fad293406323
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xa8a1799164d66c42
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xb82a0456919d053c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rcx, 0x3627b5c1d0bb5a08
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x220], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x228], rax
movabs rax, 0x56eda9befc32174d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x230], rax
movabs rax, 0xcdc210e716b33f1e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x238], rax
movabs rax, 0xb82a3060e1ee594f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x240], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x248], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x220]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x240]
vmovdqa xmmword [rbp + 0x80], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 8], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x18], xmm1
lea rax, [rbp + 0x60]
mov r8, rbx
vzeroupper
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400f1bb0
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 8]
call fcn.140006600
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
xor r15d, r15d
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x168]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400f1c53
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9d, [r15 + 1]
xor r8d, r8d
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 8]
call fcn.1400062c0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400062c0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.POWRPROF.dll_PowerGetActiveScheme]
test eax, eax
jne 0x1400f1cdc
mov rsi, qword [rbp + 0x170]
mov dword [rsp + 0x20], r14d
lea r9, [0x1402fe7a0]
lea r8, str.Q2ST
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.POWRPROF.dll_PowerWriteACValueIndex]
mov dword [rsp + 0x20], r14d
lea r9, [0x1402fe7a0]
lea r8, str.Q2ST
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.POWRPROF.dll_PowerWriteDCValueIndex]
mov rdx, qword [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.POWRPROF.dll_PowerSetActiveScheme]
call qword [sym.imp.ole32.dll_CoUninitialize]
test r14b, r14b
jne 0x1400f1f97
movabs rax, 0x19057f31c744d5f8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xa85cb76b80371c61
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x2288fad293406323
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xa1ad629378dc7c42
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xd6455913928b0a13
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x4442d2a0beda1728
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x65d390c48baf873d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x84ead632483bdb36
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x39c80d0e003c09d0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rdx, 0x4bc7c6fdcbbea1fc
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x56eda9befc32174d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
movabs rax, 0xcdc210e716b33f1e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
movabs rax, 0xb82a3060e1ee594f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
movabs rax, 0x3627b5c1d0bb5a08
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
movabs rax, 0x39bff5aaf9caec61
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
movabs rcx, 0xf4aeb2532d49b362
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
movabs rax, 0x39ad616c61524cb3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmm0, xmmword [rbp + 0xa0]
vxorps xmm0, xmm0, xmmword [rbp + 0x1e0]
vmovdqa xmmword [rbp + 0xa0], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 8], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x18], xmm1
lea rax, [rbp + 0x60]
vzeroupper
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400f1f10
mov r8, rbx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 8]
call fcn.140006600
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400f1f8e
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
xor r9d, r9d
mov rcx, 0xffffffff80000002
mov r8d, 0x100
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExA]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 8]
jmp 0x1400f22c6
mov dword [rbp + 0x178], r15d
movabs rax, 0x2a1d7635d645c4ff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xc77aaf67842b2b77
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x210], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x218], rax
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x210]
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
lea rax, [rbp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400f2015
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x100]
call fcn.140006600
nop
movabs rax, 0x19057f31c744d5f8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xa85cb76b80371c61
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0x2288fad293406323
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0xa1ad629378dc7c42
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0xd6455913928b0a13
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rax, 0x4442d2a0beda1728
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs rax, 0x39d390c48baf873d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs rcx, 0xf4aeb2532d49b362
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x56eda9befc32174d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
movabs rax, 0xcdc210e716b33f1e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
movabs rax, 0xb82a3060e1ee594f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
movabs rax, 0x3627b5c1d0bb5a08
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
movabs rax, 0x39bff5aaf9caec61
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
vmovdqu ymm0, ymmword [rbp + 0x120]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x120], ymm1
vmovdqu ymm0, ymmword [rbp + 0x140]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0x140], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xe0], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xf0], xmm1
lea rax, [rbp + 0x120]
vzeroupper
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400f21f4
mov r8, rbx
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xe0]
call fcn.140006600
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x160]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400f22b2
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rdx, qword [rbp + 0x100]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0xe0]
call fcn.1400062c0
nop
lea rcx, [rbp + 0x100]
call fcn.1400062c0
nop
lea rcx, [rbp + 0x180]
call fcn.1400062c0
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1402cf370
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret