Function at 0x14000c5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rbx, rdx
mov rsi, rcx
mov rdi, qword [rsp + 0x130]
add r9, r8
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov word [rsp + 0x40], 0
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x30]
call fcn.140004c20
mov rax, qword [rsp + 0x138]
add rax, rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rax
mov word [rsp + 0x40], 0
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x30]
call fcn.140004c20
mov rdi, qword [rsp + 0xb8]
call fcn.1400091a0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c712
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fb0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000c6de
lea rcx, [rsp + 0x38]
call fcn.140015b10
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000c95c
mov rcx, qword [rsp + 0x88]
add rdx, rdx
mov r8d, 2
jmp 0x14000c957
mov rbx, qword [rsp + 0x58]
mov dword [rsp + 0x54], 0x800
movzx eax, byte [0x14011e1a1]
mov ecx, 0x800
mov edx, 1
call fcn.1400053e0
test rax, rax
je 0x14000ca13
mov r15, rax
mov qword [rsp + 0x58], 0x800
mov qword [rsp + 0x60], rax
mov r14, qword [rsp + 0x88]
mov dword [rsp + 0x70], 0
lea rbp, [rsp + 0x54]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x14000c874
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fb0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
cmp edx, 0x800700ea
jne 0x14000c991
lea r12, [rsp + 0x70]
mov r13, qword [sym.imp.advapi32.dll_RegQueryValueExW]
nop word [rax + rax]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x800700ea
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdx
mov r8d, dword [rsp + 0x54]
test r8, r8
jne 0x14000c85e
test rax, rax
je 0x14000c7fe
mov rcx, r12
call fcn.140015b10
mov r15, qword [rsp + 0x60]
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
mov r9, r12
call r13
test eax, eax
je 0x14000c874
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fb0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
cmp edx, 0x800700ea
je 0x14000c7d0
jmp 0x14000c991
lea rcx, [rsp + 0x58]
call fcn.140045660
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14000c7f6
jmp 0x14000c7fe
mov eax, dword [rsp + 0x54]
and eax, 0xfffffffe
add rax, r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rax
mov word [rsp + 0x40], 0
lea rcx, [rsp + 0x98]
lea rdx, [rsp + 0x30]
call fcn.14000f810
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x14000c8cc
mov rcx, qword [rsp + 0xa0]
nop word cs:[rax + rax]
cmp byte [rcx + rax - 1], 0
jne 0x14000c8ce
dec rax
jne 0x14000c8c0
xor eax, eax
mov qword [rsp + 0xa8], rax
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi], xmm0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000c8fd
mov r8d, 1
mov rcx, r15
call fcn.1400053f0
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
je 0x14000c93e
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fb0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000c93e
lea rcx, [rsp + 0x38]
call fcn.140015b10
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000c95c
add rdx, rdx
mov r8d, 2
mov rcx, r14
call fcn.1400053f0
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
je 0x14000c97a
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.1400053f0
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rcx, 0x8000000000000000
mov qword [rsi], rcx
test rax, rax
je 0x14000c9ad
lea rcx, [rsp + 0x38]
call fcn.140015b10
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000c9c5
mov r8d, 1
mov rcx, r15
call fcn.1400053f0
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
je 0x14000c6eb
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fb0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000c6eb
lea rcx, [rsp + 0x38]
call fcn.140015b10
jmp 0x14000c6eb
mov ecx, 1
mov edx, 0x800
call fcn.140049310
int3