Function at 0x1412ab520
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov r15d, r8d
mov r14, rdx
mov rsi, rcx
mov dword [rbp + 0x7f], 1
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rbp + 0x7f], 1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
lea rax, [rbp - 0x61]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1412ab5cc
lea rdx, [0x1400c0128]
mov ecx, eax
call fcn.1411cae40
jmp 0x1412ab86e
mov ecx, dword [rbp - 0x65]
inc ecx
mov dword [rbp - 0x65], ecx
mov eax, dword [rbp - 0x61]
inc eax
mov dword [rbp - 0x61], eax
cmp r15d, 1
jne 0x1412ab5e8
mov r13d, dword [rbp - 0x29]
jmp 0x1412ab5ee
mov r13d, dword [rbp - 0x25]
mov eax, ecx
mov dword [rbp - 0x5d], r13d
inc eax
movsxd rdx, eax
add rdx, rdx
xor r8d, r8d
lea rcx, [rbp - 0x41]
call fcn.1411df4d0
nop
mov edi, r12d
mov ebx, 0xffffffff
test r13d, r13d
jle 0x1412ab847
mov r13, qword [rbp + 0x67]
nop dword [rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov rdx, qword [rbp - 0x31]
mov eax, edx
shr eax, 1
mov dword [rbp - 0x69], eax
mov rax, qword [rbp - 0x41]
cmp r15d, 1
jne 0x1412ab689
test rax, rax
je 0x1412ab651
mov eax, dword [rax]
cmp eax, r15d
jle 0x1412ab660
mov rdx, qword [rbp - 0x31]
mov r8d, 1
lea rcx, [rbp - 0x41]
call fcn.1411e0fd0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, qword [rbp - 0x39]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1412ab6cf
test rax, rax
je 0x1412ab699
mov eax, dword [rax]
cmp eax, 1
jle 0x1412ab6a8
mov rdx, qword [rbp - 0x31]
mov r8d, 1
lea rcx, [rbp - 0x41]
call fcn.1411e0fd0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, qword [rbp - 0x39]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1412ab885
mov r8d, dword [rbp - 0x69]
lea rdx, [0x14004798c]
mov rax, qword [rbp - 0x39]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1411c24e0
nop
mov r14, qword [rax]
mov r15, qword [rax + 8]
mov r12, qword [rax + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov eax, dword [rbp + 0x7f]
or eax, 0xa
mov dword [rbp + 0x7f], eax
test al, 4
je 0x1412ab746
and dword [rbp + 0x7f], 0xfffffffb
test r13, r13
je 0x1412ab746
mov eax, ebx
lock xadd dword [r13], eax
cmp eax, 1
jne 0x1412ab746
mov edx, 2
mov r8d, 8
mov rcx, r13
call fcn.1411dba10
nop
mov eax, dword [rbp + 0x7f]
test al, 2
je 0x1412ab779
and dword [rbp + 0x7f], 0xfffffffd
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1412ab779
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ab779
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x19]
call fcn.1411dba10
mov rcx, qword [rbp - 0x59]
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], r12
test rcx, rcx
je 0x1412ab7a9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ab7a9
mov edx, 2
mov r8d, 8
call fcn.1411dba10
cmp qword [rbp - 0x49], 0
jne 0x1412ab7d9
mov qword [rbp + 7], 1
lea rax, [0x140047418]
mov qword [rbp + 0xf], rax
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x59]
call fcn.1411bdb40
lea r8, [rbp - 0x59]
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1411b54a0
mov rax, qword [rsi]
test rax, rax
je 0x1412ab7f8
mov eax, dword [rax]
cmp eax, 1
jle 0x1412ab809
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1411b4d30
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1412ab831
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ab831
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x59]
call fcn.1411dba10
mov r14, qword [rbp + 0x6f]
mov r15d, dword [rbp + 0x77]
xor r12d, r12d
inc edi
cmp edi, dword [rbp - 0x5d]
jl 0x1412ab620
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x1412ab86e
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1412ab86e
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x41]
call fcn.1411dba10
nop
mov rax, rsi
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [0x1400c0150]
mov ecx, eax
call fcn.1411cae40
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1412ab83c
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1412ab83c
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x59]
call fcn.1411dba10
jmp 0x1412ab83c