Function at 0x1401052d0
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.140104e00
nop
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140104f60
nop
mov ebx, dword [rdi + 0x9c]
xor r12d, r12d
mov qword [rsp + 0x70], r12
or ebx, 0x20019
lea rcx, [rsp + 0x68]
call fcn.140022180
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 0x140105920
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x140105920
lea rcx, [rsp + 0x60]
call fcn.140022180
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 0x1401053ba
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140105920
mov ecx, dword [rsp + 0x48]
lea eax, [rcx - 1]
mov edx, dword [rbp + 0xc0]
cmp eax, 1
jbe 0x1401053d6
cmp ecx, 7
jne 0x1401053df
add edx, 4
jmp 0x1401053d9
add edx, 2
mov dword [rbp + 0xc0], edx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.14002dd80
nop
mov rax, qword [rsp + 0x30]
mov r13d, 1
cmp dword [rax], r13d
ja 0x140105404
cmp qword [rax + 0x10], 0x18
je 0x140105426
mov r8d, r12d
cmp dword [rax + 8], 0x80000000
cmovae r8d, r13d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x30]
call fcn.14002f3a0
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax + 0x10]
add rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140022180
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 0x14010546e
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x1401058f0
mov r8d, dword [rsp + 0x48]
cmp r8d, 0xb
ja case.0x14010548f.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0x1059a4]
add rcx, rdx
jmp rcx
lea rax, [0x1401e6610]
mov qword [rsp + 0x50], rax
cmp dword [rbp + 0xc0], 0
je 0x140105501
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x78]
call fcn.1400091b0
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 0x1401054f3
cmp eax, 0xffffffff
je 0x140105501
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140105501
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
test r14, r14
je 0x14010553a
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.1400d9e60
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.1400b9e30
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x14010555d
cmp ecx, 0xffffffff
je 0x1401058e5
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401058e5
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call fcn.14002cfa0
jmp 0x1401058e5
lea rsi, [0x1401e6688]
mov qword [rsp + 0x40], rsi
cmp dword [rbp + 0xc0], 0
je 0x14010565e
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x38]
call fcn.1400091b0
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
lea esi, [rax + 1]
test eax, eax
je 0x14010562d
nop word [rax + rax]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14000d510
nop
mov eax, dword [rbx]
test eax, eax
je 0x1401055eb
cmp eax, 0xffffffff
je 0x1401055fc
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1401055fc
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.14002cfa0
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.1400091b0
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
inc esi
add esi, eax
test eax, eax
jne 0x1401055c0
mov eax, dword [rbx]
test eax, eax
je 0x140105648
cmp eax, 0xffffffff
je 0x140105659
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x140105659
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.14002cfa0
mov rsi, qword [rsp + 0x40]
test r14, r14
je 0x14010569b
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x68]
call fcn.1400d9b10
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.1400b9e30
mov rsi, qword [rsp + 0x40]
mov eax, dword [rsi]
test eax, eax
je 0x1401056b6
cmp eax, 0xffffffff
je 0x14010570f
mov eax, edi
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x14010570f
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 0x140105706
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1401056f0
cmp eax, 0xffffffff
je 0x140105701
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140105701
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002cfa0
cmp rbx, r14
jne 0x1401056d3
mov rcx, rsi
call fcn.14002d690
nop
jmp 0x1401058e5
lea rax, [0x1401e6610]
mov qword [rsp + 0x58], rax
cmp dword [rbp + 0xc0], 0
je 0x14010578c
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.1400091b0
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 0x14010577e
cmp eax, 0xffffffff
je 0x14010578c
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14010578c
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
test r14, r14
je 0x1401057c5
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x78]
call fcn.1400d9e60
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.1400b9e30
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401057e8
cmp ecx, 0xffffffff
je 0x1401058e5
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401058e5
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.14002cfa0
jmp 0x1401058e5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x1401058e5
mov edx, dword [rax + rcx]
lea rcx, [rbp - 0x60]
call fcn.1400b9c00
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 0x1401058dc
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x1401058e5
mov rdx, qword [rax + rcx]
lea rcx, [rbp - 0x50]
call fcn.1400b9cd0
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 0x1401058dc
mov qword [rbp + 0x20], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
lea rax, [0x140347c70]
mov qword [rbp + 0x38], rax
lea rdx, [0x1402e4168]
lea rcx, [rbp + 0x20]
call fcn.140013380
test r14, r14
je 0x1401058e5
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.1400b9e30
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 0x140105910
cmp eax, 0xffffffff
je 0x140105922
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140105922
mov rcx, qword [rsp + 0x30]
mov r8d, 8
mov rdx, r13
call fcn.14002cfa0
jmp 0x140105922
xor bl, bl
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x140105942
cmp eax, 0xffffffff
je 0x140105951
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140105951
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14010596f
cmp eax, 0xffffffff
je 0x14010597d
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14010597d
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
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