Function at 0x14001cb90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14006d0c8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r8
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
xor esi, esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cd76
mov eax, dword [rsp + 0x40]
sub eax, 1
je 0x14001cd9f
sub eax, 2
je 0x14001cc9f
sub eax, 1
je 0x14001cc5d
cmp eax, 7
jne 0x14001cd76
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cd76
mov rcx, qword [rsp + 0x38]
mov qword [rbx], rcx
mov byte [rbx + 0x20], 2
jmp 0x14001cd7a
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cd76
mov eax, dword [rsp + 0x38]
mov dword [rbx], eax
mov byte [rbx + 0x20], 1
jmp 0x14001cd7a
mov r14d, dword [rsp + 0x30]
mov rdi, rsi
test r14, r14
je 0x14001ccfa
cmp r14, 0x1000
jb 0x14001ccde
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14001cec3
call fcn.140029df8
test rax, rax
je 0x14001cec8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001cce9
mov rcx, r14
call fcn.140029df8
mov rsi, rax
lea rdi, [rsi + r14]
mov r8, r14
xor edx, edx
mov rcx, rsi
call fcn.14002c600
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cd34
mov qword [rbx], rsi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov byte [rbx + 0x20], 4
mov rax, rbx
jmp 0x14001cd7d
test rsi, rsi
je 0x14001cd6c
sub rdi, rsi
cmp rdi, 0x1000
jb 0x14001cd61
add rdi, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14001cec8
mov rsi, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.140029e34
jmp 0x14001cebe
mov byte [rbx + 0x20], 0
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002a430
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r14d, dword [rsp + 0x30]
shr r14, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
cmp r14, 8
jae 0x14001cde2
mov qword [rsp + 0x58], r14
test r14, r14
je 0x14001ce2b
mov eax, 0x20
movzx eax, ax
lea rdi, [rsp + 0x48]
mov rcx, r14
rep stosw word [rdi], ax
jmp 0x14001ce2b
mov rdi, r14
or rdi, 7
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x48]
call fcn.14000c2b0
mov rdx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rdi
mov eax, 0x20
movzx eax, ax
mov rdi, rdx
mov rcx, r14
rep stosw word [rdi], ax
mov word [rdx + r14*2], si
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001ce7f
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbx + 0x20], 3
mov rax, rbx
jmp 0x14001cd7d
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14001cebe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ceb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cece
call fcn.140029e34
nop
jmp 0x14001cd76
call fcn.14000bed0
call fcn.1400309b4
nop
call fcn.1400309b4
int3