Function at 0x14000a69c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb48]
sub rsp, 0xc48
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0xb30], rax
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
xor r12d, r12d
mov r15d, r12d
mov qword [rsp + 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x48], 0x208
mov dword [rsp + 0x68], 0x14
test rcx, rcx
jne 0x14000a714
xor eax, eax
jmp 0x14000ad0a
mov word [rbp - 0x28], r12w
mov word [rbp + 0x700], r12w
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r13d, 0x20019
mov r9d, r13d
mov rdx, rsi
mov rcx, rdi
call fcn.14000e39c
test eax, eax
jne 0x14000aca9
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, str.command
mov rcx, qword [rsp + 0x58]
call fcn.14000e39c
test eax, eax
jne 0x14000aca9
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x700]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000aca9
lea rdx, str.msohtmed.exe
lea rcx, [rbp + 0x700]
call fcn.14000de00
test rax, rax
je 0x14000aca9
mov dword [rbp - 0x44], 0x208
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov rdx, r14
mov rcx, rbx
call fcn.14000e39c
test eax, eax
jne 0x14000a84e
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, str.command
mov rcx, qword [rsp + 0x60]
call fcn.14000e39c
test eax, eax
jne 0x14000a84e
movzx eax, byte [rbp + 0xd0]
cmp dword [rsp + 0x50], 1
cmove eax, r12d
mov byte [rbp + 0xd0], al
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a84e
cmp word [rbp + 0xd0], r12w
jne 0x14000a8e1
lea rcx, [rbp - 0x50]
call fcn.14000a580
test eax, eax
je 0x14000aca9
movzx eax, word [r14]
sub ax, 0x41
movzx ecx, word [r14]
add cx, 0x20
cmp ax, 0x19
cmova cx, word [r14]
lea rax, str.open
mov rbx, r14
cmp cx, 0x65
cmove rbx, rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000a89a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov rdx, rbx
mov rcx, qword [rbp - 0x50]
call fcn.14000e39c
test eax, eax
jne 0x14000aca9
test rbx, rbx
je 0x14000a8e1
movzx eax, word [rbx]
sub ax, 0x41
movzx ecx, word [rbx]
add cx, 0x20
cmp ax, 0x19
cmova cx, word [rbx]
cmp cx, 0x6f
je 0x14000a905
movzx eax, word [r14]
sub ax, 0x41
movzx ecx, word [r14]
add cx, 0x20
cmp ax, 0x19
cmova cx, word [r14]
cmp cx, 0x6f
je 0x14000a905
mov bl, r12b
jmp 0x14000a951
mov bl, 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000a951
mov r8d, 0x14
lea rdx, str.Edit
lea rcx, [rbp - 0x28]
call fcn.14000dc08
mov dword [rsp + 0x68], 0xc
mov rdx, rsi
mov rcx, rdi
call fcn.14000b1f4
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000a96c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x34]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rdx, rsi
mov rcx, rdi
call fcn.14000e42c
test eax, eax
jne 0x14000aca9
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.14000adac
mov edi, 1
test bl, bl
je 0x14000a9d6
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, r12d
mov rsi, 0xffffffff80000000
mov eax, 0x208
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], 0xc8
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, [0x140047830]
mov rcx, qword [rsp + 0x58]
call fcn.14000e39c
test eax, eax
jne 0x14000ac2a
movzx eax, byte [rbp + 0x4f0]
cmp dword [rsp + 0x50], edi
cmove eax, r12d
mov byte [rbp + 0x4f0], al
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4f0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ac2a
mov eax, ebx
neg eax
sbb rdx, rdx
and edx, 0x140
lea rax, str.Word.Document
mov r8d, 0x10c
mov rdx, qword [rdx + rax]
lea rcx, [rbp + 0x910]
call fcn.14000dc08
mov r8d, 0x10c
lea rdx, [0x140046540]
lea rcx, [rbp + 0x910]
call fcn.14000dc84
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, [rbp + 0x910]
mov rcx, rsi
call fcn.14000e39c
test eax, eax
jne 0x14000ac2a
movzx eax, byte [rbp]
cmp dword [rsp + 0x50], edi
cmove eax, r12d
mov byte [rbp], al
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ac2a
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, [rbp]
mov rcx, rsi
call fcn.14000e39c
test eax, eax
jne 0x14000ac2a
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, [0x140047898]
mov rcx, qword [rbp - 0x78]
call fcn.14000e39c
test eax, eax
jne 0x14000ac2a
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov rdx, r14
mov rcx, qword [rsp + 0x78]
call fcn.14000e39c
test eax, eax
je 0x14000aba3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, [0x140047130]
mov rcx, qword [rsp + 0x78]
call fcn.14000e39c
test eax, eax
jne 0x14000ac2a
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, [0x140047830]
mov rcx, qword [rsp + 0x70]
call fcn.14000e39c
test eax, eax
jne 0x14000ac2a
movzx eax, byte [rbp + 0x2e0]
cmp dword [rsp + 0x50], edi
cmove eax, r12d
mov byte [rbp + 0x2e0], al
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ac2a
lea rcx, [rbp + 0x2e0]
call fcn.140007384
mov rdx, rax
lea rcx, [rbp + 0x4f0]
call fcn.14000dd3c
test rax, rax
jne 0x14000ad2d
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000ac39
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x80], r12
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000ac4d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r12
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000ac62
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], r12
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000ac76
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x78], r12
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000ac89
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x70], r12
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000ac9c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, edi
cmp ebx, edi
jle 0x14000a9e0
mov r15d, edi
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14000acb8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x60], r12
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000accc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r12
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14000ace0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x58], r12
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000acf3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x50], r12
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000ad07
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0xb30]
xor rcx, rsp
call fcn.14003ee60
add rsp, 0xc48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000ad3c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x80], r12
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000ad50
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r12
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000ad65
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], r12
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000ad79
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x78], r12
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000ad8c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x70], r12
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000aca9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000aca9