Function at 0x141940fe0
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 [0x1419e93b0]
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 0x1419410d5
lea rcx, [rbp - 0x18]
call fcn.141942510
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 0x141941078
cmp eax, edi
je 0x141941086
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141941086
mov rcx, qword [rbp - 0x18]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1418993e0
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1419422b0
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 0x1419410c5
cmp eax, 0xffffffff
je 0x141941131
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141941131
mov rcx, qword [rbp - 0x58]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1418993e0
jmp 0x141941131
lea rcx, [rbp - 0x50]
call fcn.1418fcb60
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 0x141941117
cmp eax, edi
je 0x141941125
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141941125
mov rcx, qword [rbp - 0x50]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1418993e0
lea rcx, [r14 + 0x10]
mov rdx, rbx
call fcn.141899ee0
xor r12b, r12b
mov rax, qword [r13]
cmp dword [rax + 4], 0
je 0x141941700
xor esi, esi
mov qword [rsp + 0x38], rsi
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.1418f9970
mov rbx, rax
mov r8d, edi
lea rdx, [0x1400fddd8]
lea rcx, [rbp - 0x48]
call fcn.141872fc0
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.141891e30
nop
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1419411b7
cmp eax, 0xffffffff
je 0x1419411c6
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419411c6
mov rcx, qword [rbp - 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1419411e4
cmp eax, 0xffffffff
je 0x1419411f2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419411f2
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
lea rcx, [rsp + 0x50]
call fcn.14188e360
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 0x1419416d2
lea r8, [0x1400fe1b0]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.141942080
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 0x14194126f
cmp eax, 0xffffffff
je 0x14194127d
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14194127d
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
lea r8, [0x1400fe180]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.141942080
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 0x1419412c5
cmp eax, 0xffffffff
je 0x1419412d3
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419412d3
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
lea r8, [0x1400fe178]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.141942080
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 0x14194131b
cmp eax, 0xffffffff
je 0x141941329
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141941329
mov rcx, qword [rbp - 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
mov dword [rbp + 0x20], 0xc
lea rax, [0x1400fe1c0]
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.1419304a0
nop
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x70]
call fcn.14188e360
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 0x1419415d6
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, [0x1400fe1d0]
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, [0x1400fe1e8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [rsp + 0x60]
cmp esi, dword [rsp + 0x40]
jg 0x1419415c6
mov r15d, 0xee943c90
mov r13, qword [rbp - 8]
nop word [rax + rax]
mov r8d, 0xa
mov edx, esi
lea rcx, [rbp - 0x20]
call fcn.1418893e0
nop
mov rcx, rax
call fcn.14188e360
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 0x1419414af
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 0x1419414ee
cmp eax, 0xffffffff
je 0x1419414fc
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419414fc
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test bl, bl
je 0x1419415b6
lea rbx, [r14 + 0x38]
mov rcx, qword [rbx]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
je 0x14194153c
cmp dword [rcx], 1
jbe 0x141941523
mov edx, dword [rcx + 4]
mov rcx, rbx
call fcn.141940870
mov rax, qword [rbx]
movsxd rcx, dword [rax + 0xc]
lea rdx, [rbp + 0x40]
mov rcx, qword [rax + rcx*8 + 8]
call fcn.1419417f0
test al, al
jne 0x1419415b6
test r12b, r12b
jne 0x141941596
xor ecx, ecx
cmp word [rbp - 0x7a], cx
sete cl
xor eax, eax
cmp word [rbp - 0x6a], ax
sete al
cmp ecx, eax
je 0x141941596
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, [0x140179e20]
mov qword [rbp + 0x88], rax
mov r9d, esi
lea rdx, [0x1400fe200]
lea rcx, [rbp + 0x70]
call fcn.14187f920
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.14193fd50
inc esi
cmp esi, dword [rsp + 0x40]
jle 0x141941420
lea r13, [r14 + 0x18]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x141941697
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, [0x1400fe188]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x141941649
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 0x141941697
lea rcx, [r14 + 0x38]
lea rdx, [rbp + 0x90]
call fcn.14193fd50
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 0x1419416c3
cmp eax, 0xffffffff
je 0x1419416d2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419416d2
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1419416f2
cmp eax, 0xffffffff
je 0x141941700
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141941700
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
mov rax, qword [r14 + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x14194175d
lea rcx, [r14 + 0x10]
call fcn.14189a550
mov rcx, r13
call fcn.14189a550
mov rcx, qword [r14 + 0x20]
lea rax, [0x1400367e8]
cmp rcx, rax
je 0x14194175d
mov qword [rbp - 0x10], rcx
mov qword [r14 + 0x20], rax
mov eax, dword [rcx]
test eax, eax
je 0x14194174f
cmp eax, 0xffffffff
je 0x14194175d
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14194175d
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.14196a0d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret