Function at 0x14000c5e0
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.140004c10
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.140004c10
mov rdi, qword [rsp + 0xb8]
call fcn.140009190
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 0x14000c702
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000c6ce
lea rcx, [rsp + 0x38]
call fcn.140015b00
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000c94c
mov rcx, qword [rsp + 0x88]
add rdx, rdx
mov r8d, 2
jmp 0x14000c947
mov rbx, qword [rsp + 0x58]
mov dword [rsp + 0x54], 0x800
movzx eax, byte [0x140118141]
mov ecx, 0x800
mov edx, 1
call fcn.1400053d0
test rax, rax
je 0x14000ca03
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 0x14000c864
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
cmp edx, 0x800700ea
jne 0x14000c981
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 0x14000c84e
test rax, rax
je 0x14000c7ee
mov rcx, r12
call fcn.140015b00
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 0x14000c864
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
cmp edx, 0x800700ea
je 0x14000c7c0
jmp 0x14000c981
lea rcx, [rsp + 0x58]
call fcn.1400410d0
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14000c7e6
jmp 0x14000c7ee
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.14000f800
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x14000c8bc
mov rcx, qword [rsp + 0xa0]
nop word cs:[rax + rax]
cmp byte [rcx + rax - 1], 0
jne 0x14000c8be
dec rax
jne 0x14000c8b0
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 0x14000c8ed
mov r8d, 1
mov rcx, r15
call fcn.1400053e0
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
je 0x14000c92e
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000c92e
lea rcx, [rsp + 0x38]
call fcn.140015b00
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000c94c
add rdx, rdx
mov r8d, 2
mov rcx, r14
call fcn.1400053e0
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
je 0x14000c96a
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.1400053e0
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 0x14000c99d
lea rcx, [rsp + 0x38]
call fcn.140015b00
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000c9b5
mov r8d, 1
mov rcx, r15
call fcn.1400053e0
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
je 0x14000c6db
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000c6db
lea rcx, [rsp + 0x38]
call fcn.140015b00
jmp 0x14000c6db
mov ecx, 1
mov edx, 0x800
call fcn.140044d80
int3