Function at 0x140055f80
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1401339d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
call fcn.140014190
lea r9, [0x1400e8328]
lea r8, str.ProgrammableKey::PKRegistrySetting::ReloadConfig
xor edx, edx
mov rcx, rax
call fcn.14009cf00
xor r14d, r14d
mov ebx, r14d
mov qword [rsp + 0x30], rbx
call fcn.140014190
cmp byte [rax + 0x64], r14b
je 0x140056024
lea ecx, [r14 + 0x28]
call fcn.140095e50
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14005601c
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::ReloadConfig
mov rdx, rax
mov rcx, rbx
call fcn.140098570
mov rbx, rax
jmp 0x14005601f
mov rbx, r14
mov qword [rsp + 0x30], rbx
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
nop
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x140056073
lea rcx, [rdx + 1]
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x40]
cmp r8, 8
cmovae rax, qword [rsp + 0x40]
mov r8d, 0x5c
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r14w
jmp 0x140056094
mov qword [rsp + 0x20], 1
lea r9, [0x1400eacc4]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.140015940
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400560a1
mov r9, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400560e9
lea rsi, [rcx + rdx]
mov qword [rsp + 0x50], rsi
lea rdi, [rsp + 0x40]
cmp r8, 8
cmovae rdi, qword [rsp + 0x40]
lea rcx, [rdi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.1400a5110
mov word [rdi + rsi*2], r14w
jmp 0x1400560fb
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.140015940
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
test eax, eax
je 0x14005613d
call fcn.140014190
lea r9, str.Failed_to_delete_user_config.
lea r8, str.ProgrammableKey::PKRegistrySetting::ReloadConfig
mov edx, 5
mov rcx, rax
call fcn.14009cf00
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
call fcn.1400491a0
test al, al
je 0x14005619e
call fcn.140049440
test al, al
je 0x14005617c
call fcn.140014190
lea r9, str.Sucessfully_loaded_user_config.
lea r8, str.ProgrammableKey::PKRegistrySetting::ReloadConfig
mov edx, 3
mov rcx, rax
call fcn.14009cf00
jmp 0x1400561be
call fcn.140014190
lea r9, str.Failed_to_load_user_config.
lea r8, str.ProgrammableKey::PKRegistrySetting::ReloadConfig
mov edx, 5
mov rcx, rax
call fcn.14009cf00
jmp 0x1400561be
call fcn.140014190
lea r9, str.Failed_to_clear_user_config.
lea r8, str.ProgrammableKey::PKRegistrySetting::ReloadConfig
mov edx, 5
mov rcx, rax
call fcn.14009cf00
call fcn.140014190
lea r9, [0x1400e8328]
lea r8, str.ProgrammableKey::PKRegistrySetting::ReloadConfig
mov edx, 1
mov rcx, rax
call fcn.14009cf00
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14005621d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056218
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056270
call fcn.140095e90
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
test rbx, rbx
je 0x14005624c
mov rcx, rbx
call fcn.140099040
mov edx, 0x28
mov rcx, rbx
call fcn.140095e90
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400964b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.1400b1720
nop
int3