Function at 0x140006d20
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x358]
sub rsp, 0x450
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
mov rax, qword [0x14002f220]
xor rax, rsp
mov qword [rbp + reloc.MFC42u.dll_COleDateTime::operator], rax
mov rbx, rcx
mov edx, 1
call sub.MFC42u.dll_CHtmlView::GetType
mov ecx, dword [rbx + 0x378]
lea r14, [0x14001d4e0]
mov r15, 0xffffffff80000000
sub ecx, 0xad
je 0x140006ef8
sub ecx, 1
je 0x140006ecc
sub ecx, 1
je 0x140006dfb
cmp ecx, 1
jne 0x140007093
mov r9, qword [rbx + 0x358]
movups xmm0, xmmword [rbx + 0xc4]
lea rdx, str.LocalService
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
cmp dword [r9 - 8], 0
je 0x140006eaf
mov r8, r14
call fcn.140016ec8
movups xmm0, xmmword [rbx + 0xc4]
movdqu xmmword [rsp + 0x20], xmm0
mov r9, qword [rbx + 0x360]
lea r8, str.ServiceParameters
lea rdx, str.LocalService
lea rcx, [rsp + 0x20]
jmp 0x140006ea5
mov r9, qword [rbx + 0x358]
movups xmm0, xmmword [rbx + 0xc4]
lea rdx, str.InProcHandler32
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
cmp dword [r9 - 8], 0
je 0x140006eaf
mov r8, r14
call fcn.140016ec8
xor r9d, r9d
xor r8d, r8d
mov edx, CDialogTemplate::CDialogTemplate
mov rcx, qword [rbx + 0x318]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
lea r9, [rsp + 0x40]
mov edx, reloc.MFC42u.dll_CDialogTemplate::CDialogTemplate
mov rcx, qword [rbx + 0x318]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, str.None
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
movups xmm0, xmmword [rbx + 0xc4]
lea r8, str.ThreadingModel
lea rdx, str.InProcHandler32
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
test eax, eax
jne 0x140006ea0
call fcn.140016c18
jmp 0x140007093
lea r9, [rsp + 0x40]
call fcn.140016ec8
jmp 0x140007093
lea r8, [rbp + 0x140]
call fcn.140016ae4
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140007093
mov r9, qword [rbx + 0x358]
movups xmm0, xmmword [rbx + 0xc4]
lea rdx, str.LocalServer32
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
cmp dword [r9 - 8], 0
je 0x140006eaf
mov r8, r14
jmp 0x140006ea5
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rbx + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
movups xmm0, xmmword [rbx + 0xc4]
lea rdx, str.InProcServer32
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
cmp eax, 1
jne 0x140006fdc
lea r9, str.msjava.dll
mov r8, r14
call fcn.140016ec8
movups xmm0, xmmword [rbx + 0xc4]
movdqu xmmword [rsp + 0x20], xmm0
mov r9, qword [rbx + 0x358]
lea r8, str.JavaClass
lea rdx, str.InProcServer32
lea rcx, [rsp + 0x20]
call fcn.140016ec8
xor r9d, r9d
xor r8d, r8d
mov edx, CDialogTemplate::CDialogTemplate
mov rcx, qword [rbx + 0x318]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
lea r9, [rsp + 0x40]
mov edx, reloc.MFC42u.dll_CDialogTemplate::CDialogTemplate
mov rcx, qword [rbx + 0x318]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, str.None
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
movups xmm0, xmmword [rbx + 0xc4]
lea r8, str.ThreadingModel
lea rdx, str.InProcServer32
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
test eax, eax
jne 0x140006ff2
call fcn.140016c18
jmp 0x140007016
mov r9, qword [rbx + 0x358]
cmp dword [r9 - 8], 0
je 0x140006ffe
mov r8, r14
jmp 0x140006f68
lea r9, [rsp + 0x40]
call fcn.140016ec8
jmp 0x140007016
lea r8, [rbp + 0x140]
call fcn.140016ae4
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rcx, [rbx + 0x158]
call sub.MFC42u.dll_COleDocument::OnCmdMsg
test eax, eax
je 0x140007093
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rbx + reloc.MFC42u.dll_CMiniFrameWnd::CMiniFrameWnd]
call qword [sym.imp.USER32.dll_SendMessageW]
movups xmm0, xmmword [rbx + 0xc4]
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
cmp eax, 1
jne 0x140007084
call fcn.1400166a4
movups xmm0, xmmword [rbx + 0xc4]
movdqu xmmword [rsp + 0x20], xmm0
mov r9, qword [rbx + 0x368]
lea r8, str.DllSurrogate
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.140016e54
jmp 0x140007093
lea r8, str.DllSurrogate
mov rdx, r14
call fcn.140016bac
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rbx + 0x258]
lea rdx, [rsp + 0x30]
call sub.MFC42u.dll_CDialogTemplate::Load
mov r9, qword [rsp + 0x30]
movups xmm0, xmmword [rbx + 0xc4]
lea rdx, str.TreatAs
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
cmp dword [r9 - 8], 0
je 0x1400070de
mov r8, r14
call fcn.140016ec8
jmp 0x1400070f7
lea r8, [rbp + 0x140]
call fcn.140016ae4
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rbp + reloc.MFC42u.dll_COleDateTime::operator]
xor rcx, rsp
call fcn.140019330
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret