Function at 0x1400f8b70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ebp, r9d
mov r15d, r8d
mov r14d, edx
mov r13, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [0x1401eba48]
mov rax, qword [0x1401eba48]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rcx, [0x1401eba48]
mov rax, qword [0x1401eba48]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
cmp ebp, 0xc
je 0x1400f8bfb
cmp ebp, 0xd
je 0x1400f8bfb
xor r12d, r12d
lea rax, [r13 + 0x50]
jmp 0x1400f8c23
mov r12d, 1
mov dword [rsp + 0x20], ebp
mov r9d, r15d
mov r8d, r14d
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.1400f82f0
nop
mov ebx, r12d
mov dword [rsp + 0x30], ebx
mov rdi, qword [rax]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1400f8c4e
cmp rax, qword [rdi - 0x18]
jne 0x1400f8c4e
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
mov ebx, dword [rsp + 0x30]
jmp 0x1400f8c8c
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x1400f8c6a
call fcn.1400b7870
int3
mov eax, dword [rdi - 0x10]
mov dword [rsi + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rsi + 0x18]
call fcn.140144ee0
lea rax, [rsi + 0x18]
mov qword [rsp + 0x58], rax
or esi, 0xffffffff
test bl, 1
je 0x1400f8cd0
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400f8ccc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x30]
jmp 0x1400f8cd0
mov ebx, dword [rsp + 0x30]
test r12d, r12d
je 0x1400f8cf9
mov dword [rsp + 0x20], ebp
mov r9d, r15d
mov r8d, r14d
lea rdx, [rsp + 0x98]
mov rcx, r13
call fcn.1400f8660
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
jmp 0x1400f8cfd
lea rax, [r13 + 0x48]
mov rdi, qword [rax]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1400f8d28
cmp rax, qword [rdi - 0x18]
jne 0x1400f8d28
lea r12, [rdi - 0x18]
lock add dword [rdi - 8], 1
mov ebx, dword [rsp + 0x30]
jmp 0x1400f8d69
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
jne 0x1400f8d44
call fcn.1400b7870
int3
mov eax, dword [rdi - 0x10]
mov dword [r12 + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [r12 + 0x18]
call fcn.140144ee0
lea rax, [r12 + 0x18]
mov qword [rsp + 0x50], rax
test bl, 2
je 0x1400f8d9b
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8d9b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r12d, r12d
mov ecx, r12d
lea r8, [0x1401f9f30]
mov rax, r8
nop
nop
cmp ebp, dword [rax]
je 0x1400f8e4c
add ecx, 1
add rax, 0x20
cmp ecx, 7
jb 0x1400f8db0
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8de5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8e06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8e27
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400f8e45
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400f9219
movsxd r9, ecx
shl r9, 5
mov rdx, qword [r9 + r8 + 0x18]
lea rcx, [rsp + 0xa8]
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [r9 + r8 + 0x10]
mov dword [rsp + 0x48], eax
mov r8d, ebp
lea rdx, [rsp + 0x90]
mov rcx, r13
call fcn.1400f7f90
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x38]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400f8ef9
cmp dword [rbx + 0x10], 0
jl 0x1400f8eea
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400f8eea
call fcn.140002ed0
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x1400f8edf
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x1400f8ef9
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140003210
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8f1c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.1400db5c0
test eax, eax
jne 0x1400f8fc3
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8f5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8f7d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f8f9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400f8fbc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400f9219
mov ebp, r12d
cmp dword [rsp + 0x48], r12d
jle 0x1400f9192
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0xb8], ebp
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400f914b
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.1400db3f0
nop
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x80], r12
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f9125
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f90e6
cmp dword [rsp + 0x7c], 4
jne 0x1400f90e6
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f90ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400f90be
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400f9185
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.1400dadf0
jmp 0x1400f9185
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f9107
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400f911e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x38]
jmp 0x1400f914b
mov rbx, qword [rsp + 0x38]
jmp 0x1400f914b
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f9146
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400f9185
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xa8]
call fcn.1400da590
test eax, eax
je 0x1400f9185
test rbx, rbx
je 0x1400f9185
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.1400dadf0
add ebp, 1
cmp ebp, dword [rsp + 0x48]
jl 0x1400f8fd1
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f91b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f91d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400f91f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400f9214
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140144dc0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret