Function at 0x1400bf000
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 [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1400bf0d9
lea rcx, [rbp - 0x28]
call fcn.1400c0370
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 0x1400bf085
cmp eax, edi
je 0x1400bf093
lock dec dword [rcx]
jne 0x1400bf093
mov rcx, qword [rbp - 0x28]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400112a0
lea rdx, [rbp - 8]
mov rcx, rsi
call fcn.1400c0110
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 0x1400bf0c9
cmp eax, 0xffffffff
je 0x1400bf129
lock dec dword [rcx]
jne 0x1400bf129
mov rcx, qword [rbp - 8]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400112a0
jmp 0x1400bf129
lea rcx, [rbp - 0x48]
call fcn.1400a8c20
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 0x1400bf10c
cmp eax, edi
je 0x1400bf11a
lock dec dword [rcx]
jne 0x1400bf11a
mov rcx, qword [rbp - 0x48]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400112a0
lea r12, [rsi + 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.140029140
mov rax, qword [r15]
lea r14, [0x14135c948]
cmp dword [rax + 4], 0
je 0x1400bf6bb
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov rdx, r15
lea rcx, [rbp - 0x18]
call fcn.1400a6b80
mov rbx, rax
mov r8d, edi
lea rdx, [0x141472db8]
lea rcx, [rbp - 0x30]
call fcn.1400015b0
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.1400209e0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rcx, r14
mov qword [rsp + 0x60], rcx
mov eax, dword [0x14135c948]
test eax, eax
je 0x1400bf1c8
cmp eax, 0xffffffff
je 0x1400bf1d7
mov eax, edi
lock xadd dword [0x14135c948], eax
dec eax
jne 0x1400bf1d7
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400bf1f4
cmp eax, 0xffffffff
je 0x1400bf203
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf203
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx]
test eax, eax
je 0x1400bf220
cmp eax, 0xffffffff
je 0x1400bf22e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf22e
mov rcx, qword [rbp - 0x18]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea rcx, [rsp + 0x50]
call fcn.14001a740
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 0x1400bf68e
lea r8, [0x141473230]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.1400bfed0
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 0x1400bf2a3
cmp eax, 0xffffffff
je 0x1400bf2b1
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf2b1
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea r8, [0x1414731e0]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400bfed0
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 0x1400bf2f1
cmp eax, 0xffffffff
je 0x1400bf2ff
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf2ff
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea r8, [0x1414731d8]
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.1400bfed0
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 0x1400bf33f
cmp eax, 0xffffffff
je 0x1400bf34d
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf34d
mov rcx, qword [rbp]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x31]
call fcn.1400bd690
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.140020a20
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov rcx, r14
mov qword [rsp + 0x70], rcx
mov eax, dword [0x14135c948]
test eax, eax
je 0x1400bf3aa
cmp eax, 0xffffffff
je 0x1400bf3b9
mov eax, edi
lock xadd dword [0x14135c948], eax
dec eax
jne 0x1400bf3b9
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400bf3d6
cmp eax, 0xffffffff
je 0x1400bf3e4
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf3e4
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov qword [rsp + 0x48], r13
lea rcx, [rbp - 0x80]
call fcn.14001a740
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 0x1400bf5ac
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, [0x141473240]
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, [0x141473258]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [rsp + 0x5c]
cmp ebx, dword [rsp + 0x40]
jg 0x1400bf59c
mov r8d, 0xa
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140015ce0
nop
mov rcx, rax
call fcn.14001a740
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 0x1400bf523
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 0x1400bf566
cmp eax, 0xffffffff
je 0x1400bf574
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf574
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov dword [rbp + 0x68], ebx
test r14b, r14b
je 0x1400bf589
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x68]
call fcn.1400bd780
inc ebx
cmp ebx, dword [rsp + 0x40]
jle 0x1400bf493
lea r14, [0x14135c948]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400bf656
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, [0x1414731e8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bf61e
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 0x1400bf656
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x38]
call fcn.1400bd780
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 0x1400bf67f
cmp eax, 0xffffffff
je 0x1400bf68e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf68e
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400bf6ad
cmp eax, 0xffffffff
je 0x1400bf6bb
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400bf6bb
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rax, qword [rsi + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x1400bf707
mov rcx, r12
call fcn.1400296a0
mov rcx, r15
call fcn.1400296a0
mov rcx, qword [rsi + 0x20]
cmp rcx, r14
je 0x1400bf707
mov qword [rsi + 0x20], r14
mov eax, dword [rcx]
test eax, eax
je 0x1400bf6f9
cmp eax, 0xffffffff
je 0x1400bf707
lock xadd dword [rcx], edi
dec edi
jne 0x1400bf707
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret