Function at 0x140002360
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r14, r8
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov esi, 0xfff
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
mov dword [rsp + 0x40], 1
mov r9d, esi
mov edx, esi
call fcn.140004b60
mov dword [rsp + 0xa8], 0x1ffe
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400023dd
mov rax, qword [rbx]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x1400023ea
mov r8, qword [r14]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400023f7
mov rdx, qword [r15]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, 0xea
jne 0x14000251b
nop dword [rax]
mov eax, dword [rsp + 0xa8]
shr eax, 1
mov ecx, eax
mov dword [rsp + 0xa8], eax
cmp eax, esi
jbe 0x14000244a
mov esi, ecx
jmp 0x140002457
add rsi, rsi
lea eax, [rsi + rsi]
mov dword [rsp + 0xa8], eax
mov rdi, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
cmp rsi, rdi
ja 0x14000247a
mov rax, rbx
cmp rcx, 8
jb 0x140002470
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax + rsi*2], bp
jmp 0x1400024bf
mov rdx, rsi
sub rdx, rdi
mov rax, rcx
sub rax, rdi
cmp rdx, rax
ja 0x1400024b4
mov qword [rbx + 0x10], rsi
mov r8, rbx
cmp rcx, 8
jb 0x14000249b
mov r8, qword [rbx]
lea rdi, [r8 + rdi*2]
test rdx, rdx
je 0x1400024ad
movzx eax, bp
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r8 + rsi*2], bp
jmp 0x1400024bf
mov r9, rdx
mov rcx, rbx
call fcn.140004b60
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400024cc
mov rax, qword [rbx]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x1400024d9
mov r8, qword [r14]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400024e6
mov rdx, qword [r15]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, 0xea
je 0x140002430
test eax, eax
jne 0x1400025cb
mov eax, dword [rsp + 0xa8]
shr eax, 1
mov dword [rsp + 0xa8], eax
lea r8d, [rax - 1]
mov rcx, qword [rbx + 0x10]
cmp r8, rcx
ja 0x140002558
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000254d
mov rax, qword [rbx]
mov qword [rbx + 0x10], r8
mov word [rax + r8*2], bp
jmp 0x1400025a1
mov rdx, r8
sub rdx, rcx
mov rdi, qword [rbx + 0x18]
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x140002596
mov qword [rbx + 0x10], r8
mov r9, rbx
cmp rdi, 8
jb 0x14000257d
mov r9, qword [rbx]
lea rdi, [r9 + rcx*2]
test rdx, rdx
je 0x14000258f
movzx eax, bp
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r9 + r8*2], bp
jmp 0x1400025a1
mov r9, rdx
mov rcx, rbx
call fcn.140004b60
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140005220
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400020a0
nop
mov r8, rax
lea rdx, str.Windows_system_error_code:
lea rcx, [rsp + 0x88]
call fcn.140004920
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001f30
lea rdx, [0x140009178]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3