Function at 0x140088010
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2490
call fcn.1401d0dc0
sub rsp, rax
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x2480], rax
mov r14, qword [rsp + 0x24e0]
mov r15, rcx
mov rcx, qword [rcx + 8]
mov rsi, r9
mov rbp, rdx
test rcx, rcx
je 0x14008827e
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_RegQueryInfoKeyW]
test eax, eax
jne 0x14008827e
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x480]
mov r8d, 0x2000
call sub.VCRUNTIME140.dll_memset
mov ebx, edi
cmp dword [rsp + 0x64], ebx
jbe 0x14008827a
nop dword [rax]
mov rcx, qword [r15 + 8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x480]
mov dword [rsp + 0x60], 0x2000
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_RegEnumValueW]
test eax, eax
jne 0x14008827e
lea rax, [rsp + 0x80]
mov r8, rbp
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140088164
add rax, 2
test ecx, ecx
jne 0x140088150
test edx, edx
je 0x14008817b
inc ebx
cmp ebx, dword [rsp + 0x64]
jb 0x1400880e0
mov eax, edi
jmp 0x140088280
cmp dword [rsp + 0x6c], 1
jne 0x14008820c
mov edx, 0x1000
lea rcx, [rsp + 0x480]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov eax, dword [r14]
cmp eax, ebx
jb 0x14008827a
lea ecx, [rbx + 1]
movsxd r8, ecx
add r8, r8
je 0x140088272
test rsi, rsi
jne 0x1400881dc
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 0x140088280
mov rcx, rsi
cmp rax, r8
jae 0x140088239
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 0x140088280
mov eax, dword [r14]
mov ebx, dword [rsp + 0x60]
cmp eax, ebx
jb 0x14008827a
mov r8d, ebx
test ebx, ebx
je 0x140088272
test rsi, rsi
jne 0x140088231
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x140088268
mov rcx, rsi
cmp rax, r8
jb 0x140088252
lea rdx, [rsp + 0x480]
call sub.VCRUNTIME140.dll_memcpy
mov edi, 1
mov dword [r14], ebx
mov eax, edi
jmp 0x140088280
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 0x140088280
xor eax, eax
mov rcx, qword [rsp + 0x2480]
xor rcx, rsp
call fcn.1401d0310
mov rbx, qword [rsp + 0x24c8]
add rsp, 0x2490
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret