Function at 0x14002f370
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r14, rcx
call fcn.140061c90
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140027730
nop
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rsi, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x38]
cmp rdi, 8
jae 0x14002f3f6
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], 7
jmp 0x14002f443
movabs rax, 0x7ffffffffffffffe
mov qword [rsp + 0x78], rax
mov rbx, rdi
or rbx, 7
mov qword [rsp + 0x50], rbx
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.140005370
mov qword [rsp + 0x58], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140151a90
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rdi
lea rax, [rsp + 0x58]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140006b00
mov rcx, rax
call fcn.140008c00
movzx ebx, al
lea rcx, [rsp + 0x58]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x48]
call fcn.140004ff0
test bl, bl
jne 0x14002f49c
call fcn.1400616f0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80d3
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_PostMessageW]
call fcn.140061f60
mov rcx, rax
call fcn.140064e40
test al, al
je 0x14002f500
call fcn.140061f60
mov rcx, rax
call fcn.140064d60
mov ebx, eax
mov r8d, eax
lea rdx, str.Platform_PX_type_is__d
mov ecx, 6
call fcn.140083970
mov ecx, 6
cmp ebx, 2
jne 0x14002f4ed
mov dword [sym.AMDRSServ.exe_AmdPowerXpressRequestHighPerformance], 1
lea rdx, str.Set_AmdPowerXpressRequestHighPerformance_to_1
jmp 0x14002f4fb
mov dword [sym.AMDRSServ.exe_AmdPowerXpressRequestHighPerformance], r15d
lea rdx, str.Set_AmdPowerXpressRequestHighPerformance_to_0
call fcn.140083970
call fcn.140061f60
mov rcx, rax
call fcn.140064c70
call fcn.140061f60
mov rcx, rax
call fcn.14006bb30
mov dword [r14 + 0x12c], eax
mov ebx, r15d
mov esi, 0xffffffff
test eax, eax
cmove ebx, esi
mov qword [rbp - 0x50], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xb0]
call fcn.140152140
mov qword [rsp + 0x20], 0x104
lea r9, [0x1401cc14c]
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x50]
call fcn.1401562ec
mov qword [rbp - 0x60], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x10009
xor r8d, r8d
lea rdx, str.SOFTWAREAMDDVR
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002f5b5
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, [rbp + 0xb0]
lea r8, str.SOFTWAREAMDDVR
lea rdx, [0x1401c6618]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rbp - 0x58], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002f61d
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14002f8bc
mov ecx, 0x508
call fcn.14014f310
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0x508
mov rcx, rax
call fcn.140152140
mov rcx, rbx
call fcn.1400c8690
nop
mov qword [r14 + 0x58], rax
mov ecx, 0xa8
call fcn.14014f310
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call fcn.140152140
mov rdx, r14
mov rcx, rbx
call fcn.140040750
nop
mov qword [r14 + 0x20], rax
mov ecx, 0x38
call fcn.14014f310
mov rbx, rax
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rax
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov byte [rbx + 0x18], al
mov dword [rbx + 0x1c], r15d
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov dword [rbx + 0x30], r15d
mov byte [rbx + 0x34], al
lea ecx, [rax + 0x18]
call fcn.14014f310
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rbx + 0x10], rax
mov qword [r14 + 0x28], rbx
mov ecx, 0x98
call fcn.14014f310
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x80], xmm0
mov qword [rax + 0x90], rcx
mov qword [rax], r14
mov dword [rax + 8], 1
mov dword [rax + 0xc], 0x15002
mov byte [rax + 0x10], cl
mov dword [rax + 0x14], esi
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov dword [rax + 0x38], r15d
mov qword [rax + 0x40], r15
mov dword [rax + 0x48], r15d
mov word [rax + 0x4c], cx
mov qword [rax + 0x50], r15
mov qword [rax + 0x58], r15
mov dword [rax + 0x60], r15d
mov dword [rax + 0x64], esi
mov word [rax + 0x68], cx
mov dword [rax + 0x6c], 1
mov dword [rax + 0x70], 1
mov dword [rax + 0x74], 1
mov dword [rax + 0x78], 4
mov qword [rax + 0x80], 0xffffffffffffffff
mov qword [rax + 0x88], 0xffffffffffffffff
mov dword [rax + 0x90], 1
mov dword [rax + 0x94], esi
mov qword [r14 + 0x30], rax
mov ecx, 0x28
call fcn.14014f310
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov qword [rax], r14
mov dword [rax + 8], r15d
mov byte [rax + 0xc], cl
mov dword [rax + 0x10], r15d
mov qword [rax + 0x18], r15
mov qword [r14 + 0x38], rax
mov ecx, 1
call fcn.14014f310
mov rdi, rax
mov qword [rsp + 0x50], rax
mov ecx, 0x18
call fcn.14014f310
mov rbx, rax
mov qword [rsp + 0x50], rax
mov dword [rax], r15d
mov qword [rax + 4], r15
mov qword [0x14023d3d0], rax
mov dword [rax], r15d
mov qword [rax + 4], r15
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rbx + 0x10], rax
mov qword [r14 + 0x40], rdi
mov ecx, 0x38
call fcn.14014f310
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rcx
mov byte [rax], 1
mov qword [rax + 8], r14
mov word [rax + 0x11], 1
mov byte [rax + 0x13], 1
mov byte [rax + 0x18], 1
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
mov word [rax + 0x30], 1
mov byte [rax + 0x13], cl
mov byte [rax + 0x18], cl
mov dword [rax + 0x14], esi
mov qword [r14 + 0x48], rax
mov rcx, r14
call fcn.140033310
mov ebx, eax
test eax, eax
je 0x14002f8be
mov r8d, eax
lea rdx, [0x1401cc150]
mov ecx, 6
call fcn.1400838f0
mov eax, ebx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret