Function at 0x1400229e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov ebx, edx
mov r14, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
call fcn.140016e10
mov qword [r14], rax
mov dword [rsp + 0x34], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.1401659c0
lea rdx, [rbp - 0x60]
mov ecx, ebx
call fcn.1401bf500
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x60]
call fcn.1400205e0
mov esi, r15d
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140022c19
mov ecx, r15d
cmp rcx, rdx
jae 0x140022c62
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + rcx*8]
sub rcx, 0x18
call fcn.14001dc80
lea rbx, [rax + 0x18]
mov qword [rbp - 0x78], rbx
cmp dword [rbx - 0x10], 0
je 0x140022beb
mov dword [rsp + 0x60], 0xffffffff
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140022b3b
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, dword [rsp + 0x60]
cmp ecx, 0xffffffff
je 0x140022beb
mov dword [rsp + 0x30], ecx
cmp dword [rbx - 8], 1
jle 0x140022b66
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x78]
call fcn.1400171b0
mov rbx, qword [rbp - 0x78]
mov ecx, dword [rsp + 0x30]
mov rdx, qword [r14]
mov rdi, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x140022b8d
cmp dword [rax + 0x20], ecx
jae 0x140022b81
mov rax, qword [rax + 0x10]
jmp 0x140022b87
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140022b76
cmp rdi, rdx
je 0x140022b97
cmp ecx, dword [rdi + 0x20]
jae 0x140022bcc
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.140024b60
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140024ba0
mov rdi, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140022bd3
lea rcx, [rdi + 0x28]
mov rdx, rbx
call fcn.140016750
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140022c07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc esi
mov ecx, esi
mov rdx, qword [rsp + 0x70]
cmp rcx, rdx
jb 0x140022aa5
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140022c33
mov rcx, rbx
call fcn.140021b70
mov rcx, rbx
call fcn.14016e4d0
mov rax, r14
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400151f0
int3