Function at 0x1400b00c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x1401cd010]
xor rax, rsp
mov qword [rbp + 0x360], rax
xor ebx, ebx
mov r13, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
bt rcx, 9
jae 0x1400b02a9
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rbx
lea edx, [rbx + 1]
lea rcx, [0x140147518]
call fcn.14000d748
test eax, eax
jne 0x1400b02a9
mov r12d, ebx
xor edx, edx
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x160]
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400b029e
cmp dword [rsp + 0x48], 1
mov qword [rsp + 0x50], rbx
jne 0x1400b020f
mov r9d, dword [rsp + 0x44]
test r9d, r9d
je 0x1400b020f
mov ebx, dword [rsi]
cmp ebx, r9d
jbe 0x1400b020d
test r9d, r9d
js 0x1400b0373
mov r8, qword [r14]
lea rcx, [rsp + 0x60]
mov edx, r9d
call fcn.140013148
test eax, eax
jne 0x1400b020d
mov edi, dword [rsp + 0x40]
lea rdx, [rsp + 0x50]
shr edi, 1
mov r8, r13
dec edi
lea ecx, [rbx + rdi]
add rcx, rcx
call fcn.140012630
xor ebx, ebx
test eax, eax
js 0x1400b020f
mov r8d, dword [rsi]
lea rbx, [rdi + rdi]
add r8d, edi
mov r15d, 0x16
add r8, r8
test rbx, rbx
je 0x1400b0249
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x1400b021a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], r15d
jmp 0x1400b0243
xor ebx, ebx
inc r12d
mov edx, r12d
jmp 0x1400b0133
cmp r8, rbx
jb 0x1400b0230
mov r8, rbx
lea rdx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400b0249
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x50]
movsxd r8, dword [rsi]
mov rdx, qword [r14]
lea rcx, [rbx + rax]
add r8, r8
je 0x1400b0282
test rcx, rcx
je 0x1400b0273
test rdx, rdx
je 0x1400b026e
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400b0282
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rcx, qword [rsp + 0x50]
mov qword [r14], rcx
add dword [rsi], edi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400b0349
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
bt r15, 0xa
jae 0x1400b0347
lea r8, [rsp + 0x48]
mov word [rsp + 0x60], bx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x48], 0x200
lea rcx, [0x140147a60]
call fcn.140012280
lea rax, [rsp + 0x60]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], bx
jne 0x1400b02e0
mov qword [rsp + 0x50], rbx
test edi, edi
je 0x1400b0347
mov ecx, dword [rsi]
lea rdx, [rsp + 0x50]
add ecx, edi
mov r8, r13
add rcx, rcx
call fcn.140012630
test eax, eax
js 0x1400b0347
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov eax, edi
lea rbx, [rax + rax]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd r8, dword [rsi]
mov rcx, qword [rsp + 0x50]
add r8, r8
mov rdx, qword [r14]
add rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
mov qword [r14], rax
add dword [rsi], edi
jmp 0x1400b0297
xor al, al
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14012aa20
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x1402520
call fcn.14000ad28
int3