Function at 0x1400882b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1290
call fcn.1401d0dc0
sub rsp, rax
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x1280], rax
mov r14, qword [rsp + 0x12e0]
mov r15, rcx
mov rcx, qword [rcx + 8]
mov rsi, r9
mov rbp, rdx
test rcx, rcx
je 0x14008851c
xor edi, edi
lea rax, [rsp + 0x64]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x14008851c
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov ebx, edi
cmp dword [rsp + 0x64], ebx
jbe 0x140088518
nop dword [rax]
mov rcx, qword [r15 + 8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x280]
mov dword [rsp + 0x60], 0x1000
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x80]
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x68], 0x200
mov qword [rsp + 0x28], rax
mov edx, ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14008851c
lea rax, [rsp + 0x80]
mov r8, rbp
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140088403
inc rax
test ecx, ecx
jne 0x1400883f0
test edx, edx
je 0x14008841a
inc ebx
cmp ebx, dword [rsp + 0x64]
jb 0x140088380
mov eax, edi
jmp 0x14008851e
cmp dword [rsp + 0x6c], 1
jne 0x1400884aa
mov edx, 0x1000
lea rcx, [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov eax, dword [r14]
cmp eax, ebx
jb 0x140088518
lea ecx, [rbx + 1]
movsxd r8, ecx
test ecx, ecx
je 0x140088510
test rsi, rsi
jne 0x14008847a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov edi, 1
mov dword [r14], ebx
mov eax, edi
jmp 0x14008851e
mov rcx, rsi
cmp rax, r8
jae 0x1400884d7
mov r8, rax
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], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov edi, 1
mov dword [r14], ebx
mov eax, edi
jmp 0x14008851e
mov eax, dword [r14]
mov ebx, dword [rsp + 0x60]
cmp eax, ebx
jb 0x140088518
mov r8d, ebx
test ebx, ebx
je 0x140088510
test rsi, rsi
jne 0x1400884cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x140088506
mov rcx, rsi
cmp rax, r8
jb 0x1400884f0
lea rdx, [rsp + 0x280]
call sub.VCRUNTIME140.dll_memcpy
mov edi, 1
mov dword [r14], ebx
mov eax, edi
jmp 0x14008851e
mov r8, rax
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], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov ebx, dword [rsp + 0x60]
mov edi, 1
mov dword [r14], ebx
mov eax, edi
jmp 0x14008851e
xor eax, eax
mov rcx, qword [rsp + 0x1280]
xor rcx, rsp
call fcn.1401d0310
mov rbx, qword [rsp + 0x12c8]
add rsp, 0x1290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret