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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, qword [rcx + 0x40]
test rdi, rdi
jne 0x14015b55f
xor al, al
jmp 0x14015b866
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x60]
mov ecx, 6
call fcn.140195770
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor r14d, r14d
mov r12d, r14d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14015b856
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0xe8]
call qword [sym.imp.USER32.dll_CopyAcceleratorTableW]
movsxd rbx, eax
mov r13, rbx
mov eax, 6
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call sub.mfc120u.dll_Ordinal_265
mov rsi, rax
mov qword [rsp + 0x78], rax
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rdi + 0xe8]
call qword [sym.imp.USER32.dll_CopyAcceleratorTableW]
mov rcx, qword [0x1404672c0]
call qword [rcx + 0x1168]
mov r15, rax
test rax, rax
je 0x14015b856
xor edi, edi
test ebx, ebx
jle 0x14015b83f
add rsi, 4
nop word [rax + rax]
lea rdx, [0x1402d20f0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
movzx ebx, word [rsi]
xor r8d, r8d
mov edx, ebx
mov rcx, r15
mov rax, qword [0x1404672c0]
call qword [rax + 0x11e8]
test rax, rax
jne 0x14015b6aa
xor r8d, r8d
mov edx, ebx
mov rcx, r15
mov rax, qword [0x1404672c0]
call qword [rax + 0x1210]
test rax, rax
je 0x14015b6f6
mov rcx, qword [rax + 8]
mov rax, qword [0x140467260]
call qword [rax + 0x38]
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x70], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140002800
nop
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x14015b6f6
call qword [sym.imp.MSVCR120.dll_free]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
test al, al
jne 0x14015b802
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8d, r12d
lea rdx, str.Accel_d
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
inc r12d
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14015b821
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
lea ebx, [rax*2 + 2]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movsxd rax, r14d
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x78]
lea rax, [rax + rcx*2]
mov dword [rsp + 0x28], 6
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.Accel
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
inc r14d
inc rdi
add rsi, 6
cmp rdi, r13
jge 0x14015b83a
jmp 0x14015b660
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x14015b856
mov rsi, qword [rsp + 0x78]
mov rcx, rsi
call sub.mfc120u.dll_Ordinal_266
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x14015b858
xor bl, bl
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret