Function at 0x140465520
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rdx, r8
lea rcx, [rsp + 0x60]
call fcn.140465050
nop
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1404651b0
nop
mov ebx, dword [rdi + 0x9c]
xor r12d, r12d
mov qword [rsp + 0x70], r12
or ebx, 0x20019
lea rcx, [rsp + 0x68]
call fcn.14036dfa0
mov rdx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or edi, 0xffffffff
test eax, eax
jne 0x140465b70
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x140465b70
lea rcx, [rsp + 0x60]
call fcn.14036dfa0
mov rdx, rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14046560a
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140465b70
mov ecx, dword [rsp + 0x48]
lea eax, [rcx - 1]
mov edx, dword [rbp + 0xc0]
cmp eax, 1
jbe 0x140465626
cmp ecx, 7
jne 0x14046562f
add edx, 4
jmp 0x140465629
add edx, 2
mov dword [rbp + 0xc0], edx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.14037a270
nop
mov rax, qword [rsp + 0x30]
mov r13d, 1
cmp dword [rax], r13d
ja 0x140465654
cmp qword [rax + 0x10], 0x18
je 0x140465676
mov r8d, r12d
cmp dword [rax + 8], 0x80000000
cmovae r8d, r13d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x30]
call fcn.14037c070
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax + 0x10]
add rbx, rax
lea rcx, [rsp + 0x60]
call fcn.14036dfa0
mov rdx, rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1404656be
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x140465b40
mov r8d, dword [rsp + 0x48]
cmp r8d, 0xb
ja case.0x1404656df.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0x465bf4]
add rcx, rdx
jmp rcx
lea rax, [0x1400495e0]
mov qword [rsp + 0x50], rax
cmp dword [rbp + 0xc0], 0
je 0x140465751
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x78]
call fcn.1402d3550
mov rdx, qword [rsp + 0x50]
mov qword [rbp + 0x48], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x140465743
cmp eax, 0xffffffff
je 0x140465751
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140465751
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test r14, r14
je 0x14046578a
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.1403be8d0
mov rcx, qword [r14]
mov qword [rbp - 0x40], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x38], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x58]
call fcn.1403b15f0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1404657ad
cmp ecx, 0xffffffff
je 0x140465b35
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140465b35
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call fcn.140379300
jmp 0x140465b35
lea rsi, [0x140049658]
mov qword [rsp + 0x40], rsi
cmp dword [rbp + 0xc0], 0
je 0x1404658ae
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x38]
call fcn.1402d3550
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
lea esi, [rax + 1]
test eax, eax
je 0x14046587d
nop word [rax + rax]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1402d73d0
nop
mov eax, dword [rbx]
test eax, eax
je 0x14046583b
cmp eax, 0xffffffff
je 0x14046584c
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x14046584c
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.140379300
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
movsxd rax, esi
lea rdx, [rdx + rax*2]
mov r8d, edi
lea rcx, [rsp + 0x38]
call fcn.1402d3550
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
inc esi
add esi, eax
test eax, eax
jne 0x140465810
mov eax, dword [rbx]
test eax, eax
je 0x140465898
cmp eax, 0xffffffff
je 0x1404658a9
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1404658a9
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.140379300
mov rsi, qword [rsp + 0x40]
test r14, r14
je 0x1404658eb
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x68]
call fcn.1403be580
mov rcx, qword [r14]
mov qword [rbp - 0x30], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x28], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x68]
call fcn.1403b15f0
mov rsi, qword [rsp + 0x40]
mov eax, dword [rsi]
test eax, eax
je 0x140465906
cmp eax, 0xffffffff
je 0x14046595f
mov eax, edi
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x14046595f
mov rsi, qword [rsp + 0x40]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd r14, dword [rsi + 8]
add r14, 2
lea r14, [rsi + r14*8]
cmp r14, rbx
je 0x140465956
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x140465940
cmp eax, 0xffffffff
je 0x140465951
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140465951
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.140379300
cmp rbx, r14
jne 0x140465923
mov rcx, rsi
call fcn.1404e1e20
nop
jmp 0x140465b35
lea rax, [0x1400495e0]
mov qword [rsp + 0x58], rax
cmp dword [rbp + 0xc0], 0
je 0x1404659dc
mov rcx, qword [rsp + 0x30]
mov r9, qword [rcx + 0x10]
add r9, rcx
mov eax, dword [rcx + 4]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.1402d3550
mov rdx, qword [rsp + 0x58]
mov qword [rbp + 0x50], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1404659ce
cmp eax, 0xffffffff
je 0x1404659dc
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404659dc
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test r14, r14
je 0x140465a15
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x78]
call fcn.1403be8d0
mov rcx, qword [r14]
mov qword [rbp - 0x20], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x18], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x78]
call fcn.1403b15f0
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x140465a38
cmp ecx, 0xffffffff
je 0x140465b35
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140465b35
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.140379300
jmp 0x140465b35
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x140465b35
mov edx, dword [rax + rcx]
lea rcx, [rbp - 0x60]
call fcn.1403b1340
mov rax, qword [r14]
mov qword [rbp - 0x10], rax
mov eax, dword [r14 + 8]
mov dword [rbp - 8], eax
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x60], xmm1
lea rcx, [rbp - 0x60]
jmp 0x140465b2c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x140465b35
mov rdx, qword [rax + rcx]
lea rcx, [rbp - 0x50]
call fcn.1403b14a0
mov rax, qword [r14]
mov qword [rbp], rax
mov eax, dword [r14 + 8]
mov dword [rbp + 8], eax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp - 0x50], xmm1
lea rcx, [rbp - 0x50]
jmp 0x140465b2c
mov qword [rbp + 0x20], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp + 0x38], rax
lea rdx, [0x1400afde8]
lea rcx, [rbp + 0x20]
call fcn.14035ef00
test r14, r14
je 0x140465b35
mov dword [rbp - 0x68], 0x80000000
mov qword [rbp - 0x70], r12
mov rax, qword [r14]
mov qword [rbp + 0x10], rax
mov eax, dword [r14 + 8]
mov dword [rbp + 0x18], eax
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm1
lea rcx, [rbp - 0x70]
movups xmmword [r14], xmm0
call fcn.1403b15f0
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x140465b60
cmp eax, 0xffffffff
je 0x140465b72
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140465b72
mov rcx, qword [rsp + 0x30]
mov r8d, 8
mov rdx, r13
call fcn.140379300
jmp 0x140465b72
xor bl, bl
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x140465b92
cmp eax, 0xffffffff
je 0x140465ba1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140465ba1
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x140465bbf
cmp eax, 0xffffffff
je 0x140465bcd
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x140465bcd
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
movzx eax, bl
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret