Function at 0x1400bf990
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov qword [rbp + 0x98], 0xfffffffffffffffe
mov qword [rsp + 0x260], rbx
mov rax, qword [0x1415b0b50]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1400bfa69
lea rcx, [rbp - 0x28]
call fcn.1400c0d00
lea r15, [rsi + 0x18]
mov rdx, qword [r15]
mov rcx, qword [rax]
mov qword [r15], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x28]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400bfa15
cmp eax, edi
je 0x1400bfa23
lock dec dword [rcx]
jne 0x1400bfa23
mov rcx, qword [rbp - 0x28]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011b40
lea rdx, [rbp - 8]
mov rcx, rsi
call fcn.1400c0aa0
lea r12, [rsi + 0x10]
mov rdx, qword [r12]
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 8]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfa59
cmp eax, 0xffffffff
je 0x1400bfab9
lock dec dword [rcx]
jne 0x1400bfab9
mov rcx, qword [rbp - 8]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011b40
jmp 0x1400bfab9
lea rcx, [rbp - 0x48]
call fcn.1400a9470
lea r15, [rsi + 0x18]
mov rdx, qword [r15]
mov rcx, qword [rax]
mov qword [r15], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400bfa9c
cmp eax, edi
je 0x1400bfaaa
lock dec dword [rcx]
jne 0x1400bfaaa
mov rcx, qword [rbp - 0x48]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011b40
lea r12, [rsi + 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.140029870
mov rax, qword [r15]
lea r14, [0x14143f7c8]
cmp dword [rax + 4], 0
je 0x1400c004b
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov rdx, r15
lea rcx, [rbp - 0x18]
call fcn.1400a7330
mov rbx, rax
mov r8d, edi
lea rdx, [0x141555b48]
lea rcx, [rbp - 0x30]
call fcn.140001960
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rbp + 8], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 8]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x28]
call fcn.140021260
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rcx, r14
mov qword [rsp + 0x60], rcx
mov eax, dword [0x14143f7c8]
test eax, eax
je 0x1400bfb58
cmp eax, 0xffffffff
je 0x1400bfb67
mov eax, edi
lock xadd dword [0x14143f7c8], eax
dec eax
jne 0x1400bfb67
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfb84
cmp eax, 0xffffffff
je 0x1400bfb93
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bfb93
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfbb0
cmp eax, 0xffffffff
je 0x1400bfbbe
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bfbbe
mov rcx, qword [rbp - 0x18]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
lea rcx, [rsp + 0x50]
call fcn.14001afc0
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c001e
lea r8, [0x141555fc0]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.1400c0860
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rax]
mov qword [rsi + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfc33
cmp eax, 0xffffffff
je 0x1400bfc41
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bfc41
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
lea r8, [0x141555f70]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400c0860
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rax]
mov qword [rsi + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfc81
cmp eax, 0xffffffff
je 0x1400bfc8f
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bfc8f
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
lea r8, [0x141555f68]
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.1400c0860
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rax]
mov qword [rsi + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rbp]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfccf
cmp eax, 0xffffffff
je 0x1400bfcdd
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bfcdd
mov rcx, qword [rbp]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x31]
call fcn.1400be050
nop
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.1400212a0
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov rcx, r14
mov qword [rsp + 0x70], rcx
mov eax, dword [0x14143f7c8]
test eax, eax
je 0x1400bfd3a
cmp eax, 0xffffffff
je 0x1400bfd49
mov eax, edi
lock xadd dword [0x14143f7c8], eax
dec eax
jne 0x1400bfd49
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfd66
cmp eax, 0xffffffff
je 0x1400bfd74
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bfd74
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov qword [rsp + 0x48], r13
lea rcx, [rbp - 0x80]
call fcn.14001afc0
mov rdx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r9d, r9d
xor r8d, r8d
test eax, eax
jne 0x1400bff3c
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea rdx, [0x141555fd0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x141555fe8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [rsp + 0x5c]
cmp ebx, dword [rsp + 0x40]
jg 0x1400bff2c
mov r8d, 0xa
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140016560
nop
mov rcx, rax
call fcn.14001afc0
xor r14b, r14b
mov dword [rsp + 0x7c], 0x2c
lea rcx, [rsp + 0x7c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bfeb3
mov dword [rbp - 0x78], r13d
mov ecx, dword [rbp + 0xd4]
add ecx, dword [rbp + 0xd0]
mov dword [rbp - 0x74], ecx
mov eax, dword [rbp + 0xd8]
sub eax, ecx
add eax, dword [rbp + 0xd0]
mov dword [rbp - 0x70], eax
movups xmm0, xmmword [rbp + 0xdc]
movups xmmword [rbp - 0x6c], xmm0
movups xmm0, xmmword [rbp + 0xec]
movups xmmword [rbp - 0x5c], xmm0
mov r14b, 1
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbp + 0x78], xmm1
movsd xmm0, qword [rbp - 0x58]
movsd qword [rbp + 0x88], xmm0
mov eax, dword [rbp - 0x50]
mov dword [rbp + 0x90], eax
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400bfef6
cmp eax, 0xffffffff
je 0x1400bff04
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bff04
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov dword [rbp + 0x68], ebx
test r14b, r14b
je 0x1400bff19
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x68]
call fcn.1400be140
inc ebx
cmp ebx, dword [rsp + 0x40]
jle 0x1400bfe23
lea r14, [0x14143f7c8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400bffe6
xor bl, bl
mov dword [rsp + 0x58], 0x2c
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea rdx, [0x141555f78]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bffae
mov dword [rbp - 0x78], r13d
mov ecx, dword [rbp + 0xa4]
add ecx, dword [rbp + 0xa0]
mov dword [rbp - 0x74], ecx
mov eax, dword [rbp + 0xa8]
sub eax, ecx
add eax, dword [rbp + 0xa0]
mov dword [rbp - 0x70], eax
movups xmm0, xmmword [rbp + 0xac]
movups xmmword [rbp - 0x6c], xmm0
movups xmm0, xmmword [rbp + 0xbc]
movups xmmword [rbp - 0x5c], xmm0
mov bl, 1
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbp + 0x48], xmm1
movsd xmm0, qword [rbp - 0x58]
movsd qword [rbp + 0x58], xmm0
mov eax, dword [rbp - 0x50]
mov dword [rbp + 0x60], eax
mov dword [rbp + 0x38], 0x7b2
test bl, bl
je 0x1400bffe6
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x38]
call fcn.1400be140
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400c000f
cmp eax, 0xffffffff
je 0x1400c001e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400c001e
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400c003d
cmp eax, 0xffffffff
je 0x1400c004b
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400c004b
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rax, qword [rsi + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x1400c0097
mov rcx, r12
call fcn.140029dd0
mov rcx, r15
call fcn.140029dd0
mov rcx, qword [rsi + 0x20]
cmp rcx, r14
je 0x1400c0097
mov qword [rsi + 0x20], r14
mov eax, dword [rcx]
test eax, eax
je 0x1400c0089
cmp eax, 0xffffffff
je 0x1400c0097
lock xadd dword [rcx], edi
dec edi
jne 0x1400c0097
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400fb630
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret