Function at 0x1400b46f0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14017dd28], eax
jg 0x1400b49fa
lea rdx, str.ShouldDeleteUseGlobalTimerRes
lea rcx, [rbp + 0xf]
call fcn.14003f460
mov rsi, qword [0x14017dd58]
mov r8, qword [rsi + 8]
mov rbx, rsi
xor r14d, r14d
mov rax, qword [rbp + 0xf]
cmp byte [r8 + 0x19], r14b
jne 0x1400b47b9
nop word [rax + rax]
test rax, rax
je 0x1400b49ef
mov rcx, qword [r8 + 0x20]
mov r9, rax
sub r9, rcx
movzx edx, word [rcx]
cmp dx, word [rcx + r9]
jne 0x1400b479b
add rcx, 2
test dx, dx
jne 0x1400b4783
mov ecx, r14d
jmp 0x1400b47a0
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x1400b47ad
mov r8, qword [r8 + 0x10]
jmp 0x1400b47b3
mov rbx, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], r14b
je 0x1400b4770
cmp byte [rbx + 0x19], r14b
jne 0x1400b47f6
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1400b49ef
mov rcx, rax
sub r8, rax
movzx edx, word [rcx]
cmp dx, word [rcx + r8]
jne 0x1400b47ea
add rcx, 2
test dx, dx
jne 0x1400b47d2
mov ecx, r14d
jmp 0x1400b47ef
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x1400b47f9
mov rbx, rsi
lea rdx, [rax - 0x18]
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b4817
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp rbx, rsi
jne 0x1400b4900
mov dword [rbp + 0x37], r14d
mov eax, dword [0x14017dd38]
or eax, 1
lea rcx, [rbp + 0x37]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x14017dd40]
mov rcx, qword [0x14017dd30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400b49c6
mov dword [rbp + 0x27], r14d
mov dword [rbp + 0x3b], 4
mov dword [rbp + 0x3f], 4
lea rax, [rbp + 0x3b]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3f]
xor r8d, r8d
lea rdx, str.ShouldDeleteUseGlobalTimerRes
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x17]
test eax, eax
jne 0x1400b49c0
mov ebx, dword [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.ShouldDeleteUseGlobalTimerRes
lea rcx, [rbp + 7]
call fcn.14003f460
nop
lea rdx, [rbp + 7]
lea rcx, [0x14017dd58]
call fcn.1400749e0
mov dword [rax], ebx
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b4900
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.ShouldDeleteUseGlobalTimerRes
lea rcx, [rbp + 0x2f]
call fcn.14003f460
nop
lea rdx, [rbp + 0x2f]
lea rcx, [0x14017dd58]
call fcn.1400749e0
mov ebx, dword [rax]
mov rdx, qword [rbp + 0x2f]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400b493e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
je 0x1400b4949
xor edx, edx
call fcn.1400b4420
mov dword [rbp + 0x2f], r14d
mov eax, dword [0x14017dd38]
or eax, 2
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x14017dd40]
mov rcx, qword [0x14017dd30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400b49c6
lea rdx, str.ShouldDeleteUseGlobalTimerRes
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400b49bc
lea rdx, str.ShouldDeleteUseGlobalTimerRes
lea rcx, [0x14017dd30]
call fcn.140072f30
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002b00
int3
lea rcx, [0x14017dd28]
call fcn.1400feccc
cmp dword [0x14017dd28], 0xffffffff
jne 0x1400b473f
lea r8, [0x1401454c0]
mov rdx, 0xffffffff80000002
lea rcx, [0x14017dd30]
call fcn.140072e60
lea rcx, [0x1401383f0]
call fcn.1400ff03c
nop
lea rcx, [0x14017dd28]
call fcn.1400fec60
jmp 0x1400b473f