Function at 0x140053db0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401339d8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rdx
call fcn.140014190
lea r9, [0x1400e8328]
lea r8, str.ProgrammableKey::PKRegistrySetting::DeletePolicy
xor edx, edx
mov rcx, rax
call fcn.14009cf00
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x30], rbx
call fcn.140014190
cmp byte [rax + 0x64], r15b
je 0x140053e5a
lea ecx, [r15 + 0x28]
call fcn.140095e50
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140053e52
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
call fcn.140014190
lea r8, str.ProgrammableKey::PKRegistrySetting::DeletePolicy
mov rdx, rax
mov rcx, rbx
call fcn.140098570
mov rbx, rax
jmp 0x140053e55
mov rbx, r15
mov qword [rsp + 0x30], rbx
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14001beb0
nop
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x140053ea9
lea rcx, [rdx + 1]
mov qword [rsp + 0x58], rcx
lea rax, [rsp + 0x48]
cmp r8, 8
cmovae rax, qword [rsp + 0x48]
mov r8d, 0x5c
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r15w
jmp 0x140053eca
mov qword [rsp + 0x20], 1
lea r9, [0x1400eacc4]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x48]
call fcn.140015940
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x140053ed7
mov r9, qword [r14]
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140053f1f
lea rsi, [rcx + rdx]
mov qword [rsp + 0x58], rsi
lea rdi, [rsp + 0x48]
cmp r8, 8
cmovae rdi, qword [rsp + 0x48]
lea rcx, [rdi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.1400a5110
mov word [rdi + rsi*2], r15w
jmp 0x140053f31
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.140015940
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
test eax, eax
je 0x140053f73
call fcn.140014190
lea r9, str.Failed_to_delete_the_policy.
lea r8, str.ProgrammableKey::PKRegistrySetting::DeletePolicy
mov edx, 5
mov rcx, rax
call fcn.14009cf00
call fcn.140014190
lea r9, [0x1400e8328]
lea r8, str.ProgrammableKey::PKRegistrySetting::DeletePolicy
mov edx, 1
mov rcx, rax
call fcn.14009cf00
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140053fd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053fcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054033
call fcn.140095e90
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
test rbx, rbx
je 0x140054001
mov rcx, rbx
call fcn.140099040
mov edx, 0x28
mov rcx, rbx
call fcn.140095e90
nop
jmp 0x140054008
mov rcx, r14
call fcn.140012b50
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400964b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1400b1720
nop
int3