Function at 0x1400b47b0
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 [0x141693be0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1400b4889
lea rcx, [rbp - 0x28]
call fcn.1400b5b50
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 0x1400b4835
cmp eax, edi
je 0x1400b4843
lock dec dword [rcx]
jne 0x1400b4843
mov rcx, qword [rbp - 0x28]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011e00
lea rdx, [rbp - 8]
mov rcx, rsi
call fcn.1400b5900
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 0x1400b4879
cmp eax, 0xffffffff
je 0x1400b48d9
lock dec dword [rcx]
jne 0x1400b48d9
mov rcx, qword [rbp - 8]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011e00
jmp 0x1400b48d9
lea rcx, [rbp - 0x48]
call fcn.140081af0
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 0x1400b48bc
cmp eax, edi
je 0x1400b48ca
lock dec dword [rcx]
jne 0x1400b48ca
mov rcx, qword [rbp - 0x48]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011e00
lea r12, [rsi + 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.140029e80
mov rax, qword [r15]
lea r14, [0x141524b70]
cmp dword [rax + 4], 0
je 0x1400b4e6b
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov rdx, r15
lea rcx, [rbp - 0x18]
call fcn.14007fbd0
mov rbx, rax
mov r8d, edi
lea rdx, [0x141604610]
lea rcx, [rbp - 0x30]
call fcn.140001a90
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.140021700
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rcx, r14
mov qword [rsp + 0x60], rcx
mov eax, dword [0x141524b70]
test eax, eax
je 0x1400b4978
cmp eax, 0xffffffff
je 0x1400b4987
mov eax, edi
lock xadd dword [0x141524b70], eax
dec eax
jne 0x1400b4987
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400b49a4
cmp eax, 0xffffffff
je 0x1400b49b3
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b49b3
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx]
test eax, eax
je 0x1400b49d0
cmp eax, 0xffffffff
je 0x1400b49de
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b49de
mov rcx, qword [rbp - 0x18]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
lea rcx, [rsp + 0x50]
call fcn.14001b320
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 0x1400b4e3e
lea r8, [0x141604a40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.1400b56c0
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 0x1400b4a53
cmp eax, 0xffffffff
je 0x1400b4a61
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b4a61
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
lea r8, [0x141604a10]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400b56c0
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 0x1400b4aa1
cmp eax, 0xffffffff
je 0x1400b4aaf
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b4aaf
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
lea r8, [0x141604a08]
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.1400b56c0
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 0x1400b4aef
cmp eax, 0xffffffff
je 0x1400b4afd
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b4afd
mov rcx, qword [rbp]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x31]
call fcn.1400b3300
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.140021740
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rax
mov rcx, r14
mov qword [rsp + 0x70], rcx
mov eax, dword [0x141524b70]
test eax, eax
je 0x1400b4b5a
cmp eax, 0xffffffff
je 0x1400b4b69
mov eax, edi
lock xadd dword [0x141524b70], eax
dec eax
jne 0x1400b4b69
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400b4b86
cmp eax, 0xffffffff
je 0x1400b4b94
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b4b94
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov qword [rsp + 0x48], r13
lea rcx, [rbp - 0x80]
call fcn.14001b320
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 0x1400b4d5c
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, [0x141604a50]
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, [0x141604a68]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [rsp + 0x5c]
cmp ebx, dword [rsp + 0x40]
jg 0x1400b4d4c
mov r8d, 0xa
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1400169c0
nop
mov rcx, rax
call fcn.14001b320
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 0x1400b4cd3
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 0x1400b4d16
cmp eax, 0xffffffff
je 0x1400b4d24
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b4d24
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov dword [rbp + 0x68], ebx
test r14b, r14b
je 0x1400b4d39
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x68]
call fcn.1400b33b0
inc ebx
cmp ebx, dword [rsp + 0x40]
jle 0x1400b4c43
lea r14, [0x141524b70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400b4e06
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, [0x141604a18]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b4dce
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 0x1400b4e06
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x38]
call fcn.1400b33b0
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 0x1400b4e2f
cmp eax, 0xffffffff
je 0x1400b4e3e
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b4e3e
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400b4e5d
cmp eax, 0xffffffff
je 0x1400b4e6b
mov eax, edi
lock xadd dword [rcx], eax
dec eax
jne 0x1400b4e6b
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov rax, qword [rsi + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x1400b4eb7
mov rcx, r12
call fcn.14002a3c0
mov rcx, r15
call fcn.14002a3c0
mov rcx, qword [rsi + 0x20]
cmp rcx, r14
je 0x1400b4eb7
mov qword [rsi + 0x20], r14
mov eax, dword [rcx]
test eax, eax
je 0x1400b4ea9
cmp eax, 0xffffffff
je 0x1400b4eb7
lock xadd dword [rcx], edi
dec edi
jne 0x1400b4eb7
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400fa620
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret