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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp - 0x58], 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 + 0xc0], rax
mov rsi, rcx
mov rax, qword [0x1404672c0]
call qword [rax + 0x1c28]
test al, al
jne 0x1400f0c5d
mov eax, 1
jmp 0x1400f0f34
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x60]
mov ecx, 7
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]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor r13d, r13d
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400f0ce4
mov r12d, r13d
jmp 0x1400f0f26
lea rax, vtable.CList_unsigned_int__unsigned_int_.0
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
movdqa xmm0, xmmword [0x14030a480]
movdqu xmmword [rbp - 0x68], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.BCGCBPRO2300u120.dll_public:_void___cdecl_CBCGPRibbonBar::GetQuickAccessCommands_class_CList_unsigned_int__unsigned_int_____ptr64____ptr64]
mov r15, qword [rsp + 0x78]
mov r14d, r13d
mov r12d, 1
cmp qword [rbp - 0x78], r14
jle 0x1400f0edc
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov ebx, dword [r15 + 0x10]
mov r15, qword [r15]
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.1400ed9f0
test rax, rax
jne 0x1400f0d7a
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.1400ee340
test rax, rax
jne 0x1400f0d7a
mov edx, ebx
mov rcx, rsi
call fcn.1400ee130
test rax, rax
je 0x1400f0db5
mov rcx, qword [rax + 8]
mov rax, qword [0x140467260]
call qword [rax + 0x38]
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x50], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140002800
nop
mov rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
nop
jmp 0x1400f0dfd
mov edx, ebx
mov rcx, rsi
call fcn.1400ee5e0
cmp rax, 0xffffffffffffffff
je 0x1400f0e10
mov rcx, rax
mov rax, qword [0x140467260]
call qword [rax + 0x38]
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x50], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140002800
nop
mov rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
nop
lea rax, [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
je 0x1400f0e10
call qword [sym.imp.MSVCR120.dll_free]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
test al, al
jne 0x1400f0e98
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8d, r14d
lea rdx, str.Element_d
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
lea edi, [rax*2 + 2]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rbx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, r12d
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400f0eb4
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
movsxd rax, r14d
cmp rax, qword [rbp - 0x78]
jge 0x1400f0edc
jmp 0x1400f0d34
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]
mov r12d, r13d
jmp 0x1400f0ee8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rax, vtable.CList_unsigned_int__unsigned_int_.0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400f0f08
nop
mov rax, qword [rax]
test rax, rax
jne 0x1400f0f00
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
mov rcx, qword [rbp - 0x68]
call sub.mfc120u.dll_Ordinal_4652
mov qword [rbp - 0x68], r13
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, r12d
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x1d0]
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