Function at 0x14000d230
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 [0x14018a090]
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 [0x140167e50]
movdqu xmmword [rsp + 0x70], xmm6
mov byte [rsp + 0x60], r14b
cmp qword [rdx + 0x10], r14
jne 0x14000d2ad
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 0x14000d55f
call fcn.14000d080
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.14000d190
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 0x14000d536
cmp qword [rsp + 0x50], 0
je 0x14000d536
mov qword [rbp - 0x60], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r14w
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14001b490
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 0x14000d501
mov eax, dword [rsp + 0x5c]
sub eax, 1
je 0x14000d42b
sub eax, 1
je 0x14000d42b
sub eax, 2
je 0x14000d393
sub eax, 3
je 0x14000d42b
cmp eax, 4
jne 0x14000d501
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.1400fc160
lea rcx, [rbp - 0x20]
call fcn.14000eda0
nop
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x10]
call fcn.14000f110
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000d41d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140019140
movdqu xmm6, xmmword [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.14000e680
jmp 0x14000d501
xorps xmm0, xmm0
mov ebx, dword [rsp + 0x58]
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
test rbx, rbx
je 0x14000d469
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.140009010
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.1400fc160
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 [0x140167e40]
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 0x14000d4c1
lea rcx, [rsp + 0x30]
call fcn.140008ee0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001b2c0
nop
lea rcx, [rsp + 0x30]
call fcn.140008e70
nop
lea rcx, [rbp - 0x78]
call fcn.140008e10
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 [0x140167e50]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.140008e70
jmp 0x14000d555
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x40]
call fcn.140008e70
nop
lea rcx, [rsp + 0x60]
call fcn.140009080
mov rax, rdi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400f9560
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