Function at 0x1412be450
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14136fbc0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1412be4bb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov rcx, qword [rdx + 0x18]
and rcx, 0xfffffffffffffffe
or rcx, 2
and ecx, 3
mov qword [rdx + 0x18], rcx
jmp 0x1412be95b
cmp qword [r8], r15
mov rsi, r15
je 0x1412be4c7
mov rsi, qword [r8 + 8]
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x30], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1412be519
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rdi + 0x18], rax
jmp 0x1412be95b
mov ecx, dword [rsp + 0x50]
lea eax, [rcx - 1]
cmp eax, 1
mov eax, dword [rsp + 0x30]
jbe 0x1412be533
cmp ecx, 7
jne 0x1412be53a
add eax, 4
jmp 0x1412be536
add eax, 2
mov dword [rsp + 0x30], eax
mov ebx, eax
movdqa xmm0, xmmword [0x140046a30]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x60], rcx
cmp rbx, 0x100
jbe 0x1412be579
mov ecx, ebx
call fcn.14131f6a8
mov rcx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1412be984
mov qword [rbp - 0x70], rbx
mov eax, dword [rsp + 0x30]
mov qword [rbp - 0x68], rbx
mov r8d, eax
xor edx, edx
call fcn.1413415a0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x1412be5d2.6
mov eax, dword [rsp + 0x50]
cmp eax, 0xb
ja case.0x1412be5d2.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x12be98c]
add rcx, rdx
jmp rcx
cmp dword [rsp + 0x30], 0
jbe 0x1412be633
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.1411af5d0
mov rdx, rax
mov rcx, rdi
call fcn.14124eaf0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1412be949
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1412be949
mov rcx, qword [rsp + 0x38]
mov edx, 2
mov r8d, 8
call fcn.1411dba10
jmp 0x1412be949
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14124eaf0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1412be949
mov rbx, 0xffffffffffffffff
jmp 0x1412be60c
xorps xmm0, xmm0
cmp dword [rsp + 0x30], 0
jbe 0x1412be879
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x58], r15
movdqu xmmword [rsp + 0x60], xmm0
mov r14d, r15d
mov rbx, 0xffffffffffffffff
mov rsi, qword [rsp + 0x50]
movsxd rcx, r14d
mov rax, qword [rbp - 0x60]
lea rdx, [rax + rcx*2]
mov r8, rbx
lea rcx, [rsp + 0x70]
call fcn.1411c24e0
nop
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x48], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov eax, dword [rsp + 0x34]
or eax, 0xa
mov dword [rsp + 0x34], eax
test al, 4
je 0x1412be708
and dword [rsp + 0x34], 0xfffffffb
test rsi, rsi
je 0x1412be708
mov eax, ebx
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x1412be708
mov edx, 2
mov r8d, 8
mov rcx, rsi
call fcn.1411dba10
nop
mov eax, dword [rsp + 0x34]
test al, 2
je 0x1412be740
and dword [rsp + 0x34], 0xfffffffd
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1412be740
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412be740
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x70]
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x48]
inc r14d
add r14d, eax
test rax, rax
je 0x1412be7bf
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x58]
call fcn.1411b54a0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1412be775
mov eax, dword [rax]
cmp eax, 1
jle 0x1412be788
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1411b4d30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412be692
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412be692
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
jmp 0x1412be692
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1412be7e9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412be7e9
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1411dba10
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14124e980
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1412be949
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412be949
mov rax, qword [rsp + 0x68]
lea rcx, [rax + rax*2]
mov rsi, qword [rsp + 0x60]
lea r14, [rsi + rcx*8]
cmp rsi, r14
je 0x1412be85f
nop dword [rax + rax]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1412be856
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412be856
mov edx, 2
mov r8d, 8
mov rcx, qword [rsi]
call fcn.1411dba10
add rsi, 0x18
cmp rsi, r14
jne 0x1412be830
mov edx, 0x18
mov rcx, qword [rsp + 0x58]
mov r8d, 8
call fcn.1411dba10
jmp 0x1412be949
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14124e980
lea rcx, [rsp + 0x38]
call fcn.1411abad0
jmp 0x1412be949
cmp dword [rsp + 0x30], 0
jbe 0x1412be633
mov rax, qword [rbp - 0x68]
cqo
sub rax, rdx
sar rax, 1
mov r8, rax
mov rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.1411af5d0
mov rdx, rax
mov rcx, rdi
call fcn.14124eaf0
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1412be949
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1412be949
mov rcx, qword [rsp + 0x70]
jmp 0x1412be61e
mov rdx, qword [rbp - 0x60]
mov edx, dword [rdx]
mov rcx, rdi
call fcn.14124eba0
jmp 0x1412be949
mov rax, qword [rbp - 0x60]
mov edx, dword [rax]
bswap edx
mov rcx, rdi
call fcn.14124eba0
jmp 0x1412be949
mov rdx, qword [rbp - 0x60]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.14124edf0
jmp 0x1412be949
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor eax, eax
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x18]
and rax, 0xfffffffffffffffe
or rax, 2
and eax, 3
mov qword [rdi + 0x18], rax
lea rax, [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x1412be95b
call fcn.14131d86c
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1413164a0
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1411ef210
nop
nop
movabs al, byte [0xd4012be5d4012be8]
in eax, 43
add dword [rax - 0x8fed418], esp
call 0x12a32eacd
sub eax, dword [rcx]
sub ch, cl
sub eax, dword [rcx]
out 0x2b, al
add dword [rdx], ebp
jmp 0x12a55eadd