Function at 0x1400db9c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x70
xor edi, edi
xor bp, bp
sub r8d, 3
movaps xmmword [rax - 0x28], xmm6
xorps xmm6, xmm6
mov r13, r9
mov dword [rax + 0x18], edi
mov ebx, edi
mov r10, rdx
mov r12, rcx
je 0x1400dbc16
sub r8d, 1
je 0x1400dbb5f
sub r8d, 7
je 0x1400dbaab
cmp r8d, 8
jne 0x1400dbcc1
cmp qword [rcx], rbx
mov qword [rax - 0x50], rdi
lea esi, [rdi + 1]
je 0x1400dba84
lea rdx, [rax - 0x50]
mov rcx, r10
call fcn.1400da030
test eax, eax
js 0x1400dba84
mov rdi, qword [rsp + 0x38]
mov rcx, qword [r12]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400dba7b
cmp dword [rsp + 0x34], 4
cmove ebx, esi
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, 4
call fcn.140146510
test rax, rax
mov qword [r13], rax
je 0x1400dbcc1
mov ecx, dword [rsp + 0xa0]
mov dword [rax], ecx
mov eax, esi
jmp 0x1400dbcc3
xor eax, eax
mov qword [rsp + 0x38], rdi
cmp qword [rcx], rax
lea esi, [rax + 1]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
je 0x1400dbb3e
lea rdx, [rsp + 0x38]
mov rcx, r10
call fcn.1400da030
test eax, eax
js 0x1400dbb36
mov rdi, qword [rsp + 0x38]
mov rcx, qword [r12]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 0x18
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400dbb2d
cmp dword [rsp + 0x30], 3
cmove ebx, esi
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
cmovne bp, word [rsp + 0x48]
mov ecx, 2
call fcn.140146510
test rax, rax
mov qword [r13], rax
je 0x1400dbcc1
mov word [rax], bp
mov eax, esi
jmp 0x1400dbcc3
xor eax, eax
mov qword [rsp + 0x38], rdi
cmp qword [rcx], rax
lea esi, [rax + 1]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
je 0x1400dbbf4
lea rdx, [rsp + 0x38]
mov rcx, r10
call fcn.1400da030
test eax, eax
js 0x1400dbbea
mov rdi, qword [rsp + 0x38]
mov rcx, qword [r12]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 0x18
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400dbbe1
cmp dword [rsp + 0x30], 3
cmove ebx, esi
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
je 0x1400dbbf4
movss xmm6, dword [rsp + 0x48]
mov ecx, 4
call fcn.140146510
test rax, rax
mov qword [r13], rax
je 0x1400dbcc1
movss dword [rax], xmm6
mov eax, esi
jmp 0x1400dbcc3
xor eax, eax
mov qword [rsp + 0x38], rdi
cmp qword [rcx], rax
lea esi, [rax + 1]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
je 0x1400dbca8
lea rdx, [rsp + 0x38]
mov rcx, r10
call fcn.1400da030
test eax, eax
js 0x1400dbca1
mov rbp, qword [rsp + 0x38]
mov rcx, qword [r12]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov rdx, rbp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 0x18
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400dbc98
cmp dword [rsp + 0x30], 3
cmove ebx, esi
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
cmovne edi, dword [rsp + 0x48]
mov ecx, 4
call fcn.140146510
test rax, rax
mov qword [r13], rax
je 0x1400dbcc1
mov dword [rax], edi
mov eax, esi
jmp 0x1400dbcc3
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret