Function at 0x14020c5b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov dword [rsp + 0xe8], 0
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
cmp dword [rax + 0x30], 0
je 0x14020c5f2
xor eax, eax
jmp 0x14020cada
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x68]
call qword [0x1403f4480]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jle 0x14020c68c
mov edx, dword [rsp + 0x60]
sub edx, 1
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator__]
movzx eax, ax
cmp eax, 0x5c
jne 0x14020c68c
mov r8d, dword [rsp + 0x60]
sub r8d, 1
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDockState::GetVersion]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CView::CView]
cmp dword [rsp + 0x160], 0
je 0x14020c6a4
mov qword [rsp + 0x108], 0xffffffff80000002
jmp 0x14020c6b0
mov qword [rsp + 0x108], 0xffffffff80000001
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x14020c70c
mov dword [rsp + 0x98], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x98]
jmp 0x14020cada
mov dword [rsp + 0x7c], 1
cmp dword [rsp + 0x7c], 0
jbe 0x14020ca1b
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14020c7b8
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x9c], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x9c]
jmp 0x14020cada
cmp dword [rsp + 0x7c], 0
jbe 0x14020ca16
mov eax, dword [rsp + 0x80]
add eax, 1
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call sub.mfc90u.dll_new__
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov r9d, dword [rsp + 0x80]
add r9d, 1
mov r8, qword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14020c91b
lea rdx, [0x140405e1c]
lea rcx, [rsp + 0xb0]
call qword [0x1403f3fc8]
nop
mov eax, dword [rsp + 0xe8]
or eax, 1
mov dword [rsp + 0xe8], eax
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.140014560
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0xe8]
or eax, 2
mov dword [rsp + 0xe8], eax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0xc0]
call fcn.140002470
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0xe8]
or eax, 4
mov dword [rsp + 0xe8], eax
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x160]
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [rax + 0x60]
test eax, eax
je 0x14020c91b
mov dword [rsp + 0x130], 0
jmp 0x14020c926
mov dword [rsp + 0x130], 1
movzx eax, byte [rsp + 0x130]
mov byte [rsp + 0xa8], al
mov eax, dword [rsp + 0xe8]
and eax, 4
test eax, eax
je 0x14020c95a
and dword [rsp + 0xe8], 0xfffffffb
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov eax, dword [rsp + 0xe8]
and eax, 2
test eax, eax
je 0x14020c97f
and dword [rsp + 0xe8], 0xfffffffd
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov eax, dword [rsp + 0xe8]
and eax, 1
test eax, eax
je 0x14020c9a3
and dword [rsp + 0xe8], 0xfffffffe
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc90u.dll_CView::CView]
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x14020c9f9
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call sub.mfc90u.dll_delete__
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0xd0], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0xd0]
jmp 0x14020cada
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call sub.mfc90u.dll_delete__
jmp 0x14020c714
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x160], 0
je 0x14020ca3e
mov qword [rsp + 0x138], 0xffffffff80000002
jmp 0x14020ca4a
mov qword [rsp + 0x138], 0xffffffff80000001
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rsp + 0x78]
mov dword [rcx + 8], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov dword [rax + 0x10], 0
cmp dword [rsp + 0x78], 0
jne 0x14020cabd
mov dword [rsp + 0xe0], 1
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0xe0]
jmp 0x14020cada
mov dword [rsp + 0xe4], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0xe4]
add rsp, 0x148
ret