Function at 0x14000cb90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140177090]
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 + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r14b
cmp qword [rdx + 0x10], r14
jne 0x14000cc0d
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rcx + 0x10], xmm1
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r14b
jmp 0x14000ceb5
call fcn.14000c9f0
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.14000cb00
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 0x14000ce87
cmp qword [rsp + 0x50], 0
je 0x14000ce87
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.14001a690
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r14d
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
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 0x14000ce4d
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x14000ce4d
cmp eax, 2
jbe 0x14000cd80
cmp eax, 4
je 0x14000cced
cmp eax, 7
je 0x14000cd80
cmp eax, 0xb
jne 0x14000ce4d
mov qword [rbp - 0x80], r14
mov dword [rsp + 0x58], 8
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
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.1400ec680
lea rcx, [rbp - 0x20]
call fcn.14000e2e0
nop
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x10]
call fcn.14000e580
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000cd72
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140018430
nop
lea rcx, [rbp - 0x20]
call fcn.14000dbc0
jmp 0x14000ce4d
xorps xmm0, xmm0
mov ebx, dword [rsp + 0x58]
movdqu xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov rsi, r14
test rbx, rbx
je 0x14000cdc4
mov edx, ebx
lea rcx, [rbp - 0x58]
call fcn.1400089e0
mov rsi, rax
mov qword [rbp - 0x58], rax
lea r8, [rbx + rbx]
lea rbx, [rax + r8]
mov qword [rbp - 0x48], rbx
xor edx, edx
mov rcx, rax
call fcn.1400ec680
mov qword [rbp - 0x50], rbx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rsi + r8*2], 0
jne 0x14000ce10
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400088b0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001a4c0
nop
lea rcx, [rsp + 0x30]
call fcn.140008840
nop
lea rcx, [rbp - 0x58]
call 0x1400087e0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x78]
call fcn.140008840
jmp 0x14000ceab
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x40]
call fcn.140008840
nop
lea rcx, [rsp + 0x60]
call fcn.140008a50
mov rax, rdi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400e9d60
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret