Function at 0x14000d360
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x80], rcx
xor r14d, r14d
mov qword [rsp + 0x60], r14
movdqa xmm6, xmmword [0x140166ac0]
movdqu xmmword [rsp + 0x70], xmm6
mov byte [rsp + 0x60], r14b
cmp qword [rdx + 0x10], r14
jne 0x14000d3dd
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm6
movdqa xmm0, xmm6
movdqu xmmword [rsp + 0x70], xmm6
mov byte [rsp + 0x60], r14b
jmp 0x14000d68f
call fcn.14000d1b0
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.14000d2c0
nop
mov qword [rsp + 0x50], r14
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d666
cmp qword [rsp + 0x50], 0
je 0x14000d666
mov qword [rbp - 0x60], r14
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r14w
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14001b5c0
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r14d
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d631
mov eax, dword [rsp + 0x5c]
sub eax, 1
je 0x14000d55b
sub eax, 1
je 0x14000d55b
sub eax, 2
je 0x14000d4c3
sub eax, 3
je 0x14000d55b
cmp eax, 4
jne 0x14000d631
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x58], 8
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x20]
call fcn.1400fb5b0
lea rcx, [rbp - 0x20]
call fcn.14000eed0
nop
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x10]
call fcn.14000f240
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000d54d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140019270
movdqu xmm6, xmmword [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.14000e7b0
jmp 0x14000d631
xorps xmm0, xmm0
mov ebx, dword [rsp + 0x58]
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
test rbx, rbx
je 0x14000d599
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.140009180
mov qword [rbp - 0x78], rax
lea r8, [rbx + rbx]
lea rbx, [rax + r8]
mov qword [rbp - 0x68], rbx
xor edx, edx
mov rcx, rax
call fcn.1400fb5b0
mov qword [rbp - 0x70], rbx
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x30], r14
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov rdx, qword [rbp - 0x78]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000d5f1
lea rcx, [rsp + 0x30]
call fcn.140009050
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001b3f0
nop
lea rcx, [rsp + 0x30]
call fcn.140008fe0
nop
lea rcx, [rbp - 0x78]
call fcn.140008f80
movdqu xmm6, xmmword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.140008fe0
jmp 0x14000d685
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x40]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x60]
call fcn.1400091f0
mov rax, rdi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400f89b0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret