Function at 0x14005e16d
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
add r9, r8
lea rbx, [rbp + 8]
mov qword [rbx], r8
mov qword [rbx + 8], r9
mov word [rbx + 0x10], 0
mov dword [rbx + 0x18], 1
lea r14, [rbp - 0x48]
mov rcx, r14
mov rdx, rbx
call fcn.14002c679
xor eax, eax
lea r9, [rbp - 0x2c]
mov dword [r9], eax
lea r15, [rbp + 0x2c]
mov dword [r15], eax
mov rdi, qword [rdi]
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
call fcn.140071351
test edx, edx
je 0x14005e221
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
mov dword [rsi], 6
lea rcx, [rbp - 0x48]
call fcn.140016010
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov eax, dword [rbp - 0x2c]
dec eax
cmp eax, 0xa
ja case.0x14005e23d.5
lea rcx, [0x1401c6d7c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r8d, dword [rbp + 0x2c]
shr r8d, 1
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140071232
mov rdx, qword [rbp - 0x40]
mov rbx, qword [rbp - 8]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
call fcn.140071351
test edx, edx
je 0x14005e3f8
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
mov dword [rsi], 6
lea rcx, [rbp - 0x10]
call fcn.140016010
jmp 0x14005e205
mov r8d, dword [rbp + 0x2c]
lea rcx, [rbp - 0x28]
xor edx, edx
call fcn.140072238
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
call fcn.140071351
test edx, edx
je 0x14005e45e
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
mov dword [rsi], 6
lea rcx, [rbp - 0x28]
call fcn.140001b46
jmp 0x14005e205
cmp dword [rbp + 0x2c], 8
jne case.0x14005e23d.5
mov qword [rbp + 8], 0
mov rdx, qword [rbp - 0x40]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
call fcn.140071351
test edx, edx
jne 0x14005e1f8
mov rax, qword [rbp + 8]
mov dword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x14005e205
cmp dword [rbp + 0x2c], 4
jne case.0x14005e23d.5
mov dword [rbp + 8], 0
mov rdx, qword [rbp - 0x40]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
call fcn.140071351
test edx, edx
jne 0x14005e1f8
mov eax, dword [rbp + 8]
mov dword [rsi], 0
mov dword [rsi + 4], eax
jmp 0x14005e205
call fcn.140071376
jmp 0x14005e1f8
mov r8d, dword [rbp + 0x2c]
shr r8d, 1
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140071232
mov rdx, qword [rbp - 0x40]
mov rbx, qword [rbp - 8]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
call fcn.140071351
test edx, edx
je 0x14005e491
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
mov dword [rsi], 6
lea rcx, [rbp - 0x10]
call fcn.140016010
jmp 0x14005e205
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.14007133a
lea rcx, [rax + rdx*2]
lea rdx, [rbp + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov word [rdx + 0x10], 0
lea rcx, [rbp - 0x28]
call fcn.140071838
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp + 0xc], xmm0
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x1c], rax
mov dword [rsi], 2
movups xmm0, xmmword [rbp + 8]
mov rax, qword [rbp + 0x14]
mov rcx, qword [rbp + 0x1c]
movups xmmword [rsi + 4], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
lea rcx, [rbp - 0x10]
call fcn.140016010
jmp 0x14005e205
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x1c], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp + 0xc], xmm0
mov dword [rsi], 3
movups xmm0, xmmword [rbp + 8]
mov rax, qword [rbp + 0x14]
mov rcx, qword [rbp + 0x1c]
movups xmmword [rsi + 4], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
jmp 0x14005e205
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.14007133a
lea r8, [rbp + 8]
mov qword [r8], rax
mov qword [r8 + 8], rdx
mov byte [r8 + 0x10], 0
lea rcx, [rbp - 0x28]
mov rdx, r8
call fcn.14002c1e4
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp + 0xc], xmm0
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x1c], rax
mov dword [rsi], 4
movups xmm0, xmmword [rbp + 8]
mov rax, qword [rbp + 0x14]
mov rcx, qword [rbp + 0x1c]
movups xmmword [rsi + 4], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
lea rcx, [rbp - 0x10]
call fcn.140016010
jmp 0x14005e205