Function at 0x14149ad20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x141548130]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov rbx, rdx
mov qword [rbp - 8], rdx
mov r14, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x14149ae15
lea rcx, [rbp - 0x18]
call fcn.14149c250
lea r13, [r14 + 0x18]
mov rdx, qword [r13]
mov qword [rbp + 0xc8], rdx
mov rcx, qword [rax]
mov qword [r13], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x14149adb8
cmp eax, edi
je 0x14149adc6
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149adc6
mov rcx, qword [rbp - 0x18]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1413e6510
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.14149bff0
mov rdx, qword [r14 + 0x10]
mov qword [rbp + 0xd0], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x10], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x14149ae05
cmp eax, 0xffffffff
je 0x14149ae71
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149ae71
mov rcx, qword [rbp - 0x58]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1413e6510
jmp 0x14149ae71
lea rcx, [rbp - 0x50]
call fcn.14144c4a0
lea r13, [r14 + 0x18]
mov rdx, qword [r13]
mov qword [rbp + 0xd8], rdx
mov rcx, qword [rax]
mov qword [r13], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x14149ae57
cmp eax, edi
je 0x14149ae65
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149ae65
mov rcx, qword [rbp - 0x50]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1413e6510
lea rcx, [r14 + 0x10]
mov rdx, rbx
call fcn.1413e7010
xor r12b, r12b
mov rax, qword [r13]
cmp dword [rax + 4], 0
je 0x14149b440
xor esi, esi
mov qword [rsp + 0x38], rsi
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.141449370
mov rbx, rax
mov r8d, edi
lea rdx, [0x140101ea0]
lea rcx, [rbp - 0x48]
call fcn.1413bc190
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rbp], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1413dedf0
nop
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14149aef7
cmp eax, 0xffffffff
je 0x14149af06
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149af06
mov rcx, qword [rbp - 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14149af24
cmp eax, 0xffffffff
je 0x14149af32
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149af32
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
lea rcx, [rsp + 0x50]
call fcn.1413db220
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 0x14149b412
lea r8, [0x140102280]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.14149bdc0
mov rdx, qword [r14 + 0x20]
mov qword [rbp + 0xe0], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14149afaf
cmp eax, 0xffffffff
je 0x14149afbd
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149afbd
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
lea r8, [0x140102250]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.14149bdc0
mov rdx, qword [r14 + 0x28]
mov qword [rbp + 0xe8], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14149b005
cmp eax, 0xffffffff
je 0x14149b013
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149b013
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
lea r8, [0x140102248]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14149bdc0
mov rdx, qword [r14 + 0x30]
mov qword [rbp + 0xf0], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14149b05b
cmp eax, 0xffffffff
je 0x14149b069
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149b069
mov rcx, qword [rbp - 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov dword [rbp + 0x20], 0xc
lea rax, [0x140102290]
mov qword [rbp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x38], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.141483440
nop
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x70]
call fcn.1413db220
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 0x14149b316
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x1401022a0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x5c], 4
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401022b8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [rsp + 0x60]
cmp esi, dword [rsp + 0x40]
jg 0x14149b306
mov r15d, 0xee943c90
mov r13, qword [rbp - 8]
nop word [rax + rax]
mov r8d, 0xa
mov edx, esi
lea rcx, [rbp - 0x20]
call fcn.1413d6230
nop
mov rcx, rax
call fcn.1413db220
xor bl, bl
mov dword [rsp + 0x64], 0x2c
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf8]
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 0x14149b1ef
mov dword [rsp + 0x78], eax
mov ecx, dword [rbp + 0xfc]
add ecx, dword [rbp + 0xf8]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0x100]
sub eax, ecx
add eax, dword [rbp + 0xf8]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0x104]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0x114]
movups xmmword [rbp - 0x6c], xmm0
mov bl, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x50], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0x60], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x68], eax
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14149b22e
cmp eax, 0xffffffff
je 0x14149b23c
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149b23c
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
test bl, bl
je 0x14149b2f6
lea rbx, [r14 + 0x38]
mov rcx, qword [rbx]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
je 0x14149b27c
cmp dword [rcx], 1
jbe 0x14149b263
mov edx, dword [rcx + 4]
mov rcx, rbx
call fcn.14149a5d0
mov rax, qword [rbx]
movsxd rcx, dword [rax + 0xc]
lea rdx, [rbp + 0x40]
mov rcx, qword [rax + rcx*8 + 8]
call fcn.14149b530
test al, al
jne 0x14149b2f6
test r12b, r12b
jne 0x14149b2d6
xor ecx, ecx
cmp word [rbp - 0x7a], cx
sete cl
xor eax, eax
cmp word [rbp - 0x6a], ax
sete al
cmp ecx, eax
je 0x14149b2d6
mov r12b, 1
mov rcx, qword [r13]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp + 0x70], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
lea rax, [0x140181050]
mov qword [rbp + 0x88], rax
mov r9d, esi
lea rdx, [0x1401022d0]
lea rcx, [rbp + 0x70]
call fcn.1413cc1f0
mov rdx, qword [rbx]
mov r8d, esi
mov eax, dword [rdx + 8]
cmp dword [rdx + 0xc], eax
cmove r8d, r15d
mov dword [rbp + 0x40], r8d
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.141499ab0
inc esi
cmp esi, dword [rsp + 0x40]
jle 0x14149b160
lea r13, [r14 + 0x18]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14149b3d7
xor bl, bl
mov dword [rsp + 0x68], 0x2c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x128]
mov qword [rsp + 0x20], rax
lea rdx, [0x140102258]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14149b389
mov dword [rsp + 0x78], esi
mov ecx, dword [rbp + 0x12c]
add ecx, dword [rbp + 0x128]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0x130]
sub eax, ecx
add eax, dword [rbp + 0x128]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0x134]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0x144]
movups xmmword [rbp - 0x6c], xmm0
mov bl, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0xa0], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0xb0], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0xb8], eax
mov r15d, 0xee943c90
mov dword [rbp + 0x90], r15d
test bl, bl
je 0x14149b3d7
lea rcx, [r14 + 0x38]
lea rdx, [rbp + 0x90]
call fcn.141499ab0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14149b403
cmp eax, 0xffffffff
je 0x14149b412
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149b412
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14149b432
cmp eax, 0xffffffff
je 0x14149b440
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14149b440
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rax, qword [r14 + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x14149b49d
lea rcx, [r14 + 0x10]
call fcn.1413e7730
mov rcx, r13
call fcn.1413e7730
mov rcx, qword [r14 + 0x20]
lea rax, [0x140036840]
cmp rcx, rax
je 0x14149b49d
mov qword [rbp - 0x10], rcx
mov qword [r14 + 0x20], rax
mov eax, dword [rcx]
test eax, eax
je 0x14149b48f
cmp eax, 0xffffffff
je 0x14149b49d
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14149b49d
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1413e6510
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.1414c4ac0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret