Function at 0x140009b64
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7c8]
sub rsp, 0x8a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov r14d, ecx
xor r13d, r13d
mov r12d, r13d
mov r15b, r13b
mov edi, r13d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x50], r13
lea rax, str.SOFTWAREMicrosoftSharedMHTML
lea rbx, str.SOFTWAREMicrosoftSharedHTML
test ecx, ecx
cmovne rbx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov esi, 0x20019
mov r9d, esi
mov rdx, rbx
mov rcx, 0xffffffff80000001
call fcn.14000e39c
test eax, eax
jne 0x140009c15
lea rdx, str.Default_Editor
mov rcx, qword [rsp + 0x70]
call fcn.14000b1f4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.14000e39c
test eax, eax
jne 0x140009c46
lea rdx, str.Default_Editor
mov rcx, qword [rsp + 0x58]
call fcn.14000b1f4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea rdx, str.Old_Default_Editor
mov rcx, qword [rsp + 0x58]
call fcn.14000e39c
test eax, eax
jne 0x140009c8a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea rdx, str.shell
mov rcx, qword [rsp + 0x68]
call fcn.14000e39c
test eax, eax
je 0x140009c9f
lea rcx, [rsp + 0x50]
call fcn.14000a580
test eax, eax
je 0x140009ed4
mov r15b, 1
mov ecx, r14d
call fcn.14000b984
mov rsi, rax
test rax, rax
je 0x140009d00
mov rcx, rax
test rcx, rcx
jne 0x140009cbc
mov rbx, r13
jmp 0x140009cda
mov rbx, rcx
movzx eax, word [rcx]
jmp 0x140009cd0
add rbx, 2
test ax, ax
je 0x140009cb7
movzx eax, word [rbx]
cmp ax, 0x3b
jne 0x140009cc4
mov word [rbx], r13w
cmp word [rcx], r13w
je 0x140009cf1
movzx r9d, r15b
mov r8, qword [rsp + 0x50]
mov rdx, rcx
call fcn.140009f58
lea rax, [rbx + 2]
neg rbx
sbb rcx, rcx
and rcx, rax
jne 0x140009cb2
mov qword [rsp + 0x48], r13
xor r9d, r9d
mov r8d, r14d
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffff80000002
call fcn.140007c08
test eax, eax
je 0x140009d32
lea rdx, str.KnownIDs
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140009d42
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, r13d
mov edx, r14d
mov ecx, ebx
call fcn.14000997c
inc ebx
cmp ebx, 9
jb 0x140009d45
test r14d, r14d
jne 0x140009e9a
mov dword [rsp + 0x78], r13d
mov ebx, r13d
xor edx, edx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x400
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140009e9a
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffff80000000
call fcn.14000e39c
test eax, eax
jne 0x140009e55
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, [0x140047558]
mov rcx, qword [rsp + 0x48]
call fcn.14000e39c
test eax, eax
jne 0x140009e44
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14000b3f0
test eax, eax
je 0x140009e6e
lea rdx, str.msohtmed.exe
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.14000de00
test rax, rax
je 0x140009e44
movzx r9d, r15b
mov r8, qword [rsp + 0x50]
lea rdx, [rbp - 0x70]
call fcn.140009f58
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140009e55
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140009e65
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
mov edx, ebx
jmp 0x140009d69
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140009e7e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140009e93
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x60]
jmp 0x140009eb9
mov ecx, r14d
call fcn.14000a064
lea rdx, str.Old_Default_Editor
mov rcx, qword [rsp + 0x58]
call fcn.14000b1f4
mov r12d, 1
test rsi, rsi
je 0x140009ec6
mov rcx, rsi
call fcn.1400027dc
test rdi, rdi
je 0x140009ed4
mov rcx, rdi
call fcn.1400027dc
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140009ee4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140009ef9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140009f0e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r13
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140009f23
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r12d
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.14003ee60
lea r11, [rsp + 0x8a0]
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