Function at 0x140001000
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x14007b960]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r14, r9
mov r15, r8
mov r12, rdx
mov qword [rsp + 0x68], r8
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
xor r13d, r13d
mov ebp, r13d
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x3c], 0x100
mov rdx, qword [rax]
lea rdi, [rdx - 0x18]
mov rbx, qword [r9]
sub rbx, 0x18
or rsi, 0xffffffffffffffff
cmp rdi, rbx
je 0x14000112b
cmp dword [rbx + 0x10], r13d
jl 0x14000111f
mov rcx, qword [rdi]
cmp rcx, qword [rbx]
jne 0x14000111f
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], r13d
jl 0x1400010bd
cmp rax, qword [rdi]
jne 0x1400010bd
mov rbp, rdi
lock add dword [rdi + 0x10], 1
jmp 0x1400010f8
mov rax, qword [rax]
mov r8d, 1
mov edx, dword [rdi + 8]
call qword [rax]
mov rbp, rax
test rax, rax
jne 0x1400010d9
call fcn.140002b80
int3
mov eax, dword [rdi + 8]
mov dword [rbp + 8], eax
mov eax, dword [rdi + 8]
add eax, 1
movsxd rdx, eax
lea r8, [rdi + 0x18]
lea rcx, [rbp + 0x18]
mov r9, rdx
call fcn.14003ee70
mov eax, esi
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001112
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
lea rax, [rbp + 0x18]
mov qword [r14], rax
mov ebp, dword [rsp + 0x38]
jmp 0x14000112b
mov r8d, dword [rdx - 0x10]
mov rcx, r9
call fcn.140003010
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000135c
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001350
cmp dword [rsp + 0x3c], eax
jne 0x14000119f
lea rdx, [0x1400664c7]
mov rbx, qword [rsp + 0x30]
jmp 0x140001305
call fcn.1400147f0
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400011bf
mov ecx, 0x80004005
call fcn.140002a50
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x70]
lea rax, [rsp + 0x70]
test rax, 0xffffffffffff0000
jne 0x140001210
movzx edi, cx
mov ecx, edi
call fcn.1400147dc
test rax, rax
je 0x1400012f4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002df0
mov rbx, qword [rsp + 0x30]
jmp 0x1400012f4
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140001285
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400012f4
cmp dword [rdx + 0x10], eax
jge 0x14000125a
cmp dword [rbx - 0xc], eax
jge 0x14000124f
mov ecx, 0x80070057
call fcn.140002a50
int3
mov dword [rbx - 0x10], r13d
mov byte [rbx], al
jmp 0x1400012f4
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001271
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
jmp 0x1400012f4
mov ebp, dword [rbx - 0x10]
lea r12, [rsp + 0x70]
sub r12, rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400012b2
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002a70
mov rbx, qword [rsp + 0x30]
cmp r12, rbp
ja 0x1400012ce
movsxd rbp, edi
lea r8, [r12 + rbx]
mov r9, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.14003ef50
jmp 0x1400012e4
movsxd rbp, edi
mov r9, rbp
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rbx
call fcn.14003ee70
test edi, edi
js 0x140001345
cmp edi, dword [rbx - 0xc]
jg 0x140001345
mov dword [rbx - 0x10], edi
mov byte [rbx + rbp], 0
mov ebp, 1
mov dword [rsp + 0x38], ebp
mov rdx, rbx
test rbx, rbx
je 0x140001316
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r13d, [rcx - 1]
mov r8d, r13d
mov rcx, r14
call fcn.140003010
nop
test bpl, 1
je 0x140001350
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001350
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
jmp 0x140001350
mov ecx, 0x80070057
call fcn.140002a50
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000137b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x14000139c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14003dbe0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret