Function at 0x14002c337
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
push r15
mov rax, 0xb
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14002c34f
sub rsp, 0x28
mov rax, qword [rsp + 0xb0]
mov qword [0x140028cb0], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140001e50
add rsp, 0x10
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.140001e50
add rsp, 0x10
mov dword [rsp + 0x38], 0
mov rax, qword [0x140028cb0]
push rax
sub rsp, 8
push rax
movabs rcx, 0xff
pop rdx
sub rsp, 0x20
call fcn.140001770
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140001d60
mov dword [rsp + 0x50], 0xff
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
sub rsp, 8
lea rax, [rsp + 0x40]
push rax
push 0x20019
push 0
push qword [rsp + 0x48]
movsxd rax, dword [rsp + 0xb8]
mov rcx, rax
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegOpenKeyExW
add rsp, 0x30
and rax, rax
je 0x14002c44a
movabs rdx, 0x14002802e
lea rcx, [rsp + 0x48]
call fcn.140001ec0
jmp 0x14002c679
lea rax, [rsp + 0x50]
push rax
push 0
lea rax, [rsp + 0x50]
push rax
push 0
push qword [rsp + 0x50]
movsxd rax, dword [rsp + 0x60]
mov rcx, rax
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
and rax, rax
je 0x14002c49c
movabs rdx, 0x14002802e
lea rcx, [rsp + 0x48]
call fcn.140001ec0
jmp 0x14002c66c
mov rax, qword [0x140028cb0]
push rax
sub rsp, 8
push rax
movsxd rax, dword [rsp + 0x68]
mov rcx, rax
pop rdx
sub rsp, 0x20
call fcn.140001770
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140001d60
lea rax, [rsp + 0x50]
push rax
mov rax, qword [rsp + 0x50]
push rax
lea rax, [rsp + 0x50]
push rax
push 0
push qword [rsp + 0x50]
movsxd rax, dword [rsp + 0x60]
mov rcx, rax
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r15, qword [rsp + 0x40]
cmp r15, 7
jne 0x14002c66c
movabs rdx, 0x14002802e
lea rcx, [rsp + 0x68]
call fcn.140001ec0
movabs rdx, 0x14002802e
lea rcx, [rsp + 0x70]
call fcn.140001ec0
movsxd r15, dword [rsp + 0x50]
cmp r15d, dword [rsp + 0x58]
jle 0x14002c63e
mov rax, qword [0x140028cb0]
push rax
sub rsp, 8
push rax
mov rax, qword [rsp + 0x60]
mov r15, rax
movsxd rcx, dword [rsp + 0x70]
add r15, rcx
mov rax, r15
mov rcx, rax
pop rdx
sub rsp, 0x20
call fcn.140001c10
add rsp, 0x28
lea rcx, [rsp + 0x70]
pop rdx
call fcn.140001d60
mov rax, qword [0x140028cb0]
push rax
sub rsp, 8
push rax
mov rcx, qword [rsp + 0x80]
pop rdx
sub rsp, 0x20
call fcn.1400015e0
add rsp, 0x28
add qword [0x140028cb0], 2
movabs rcx, 0x14002802e
pop rdx
mov qword [0x140028cb0], rdx
add rdx, qword [0x140028ca8]
call fcn.140001f90
or rax, rax
jne 0x14002c61c
mov rcx, qword [rsp + 0x70]
push qword [0x140028cb0]
sub rsp, 0x28
call fcn.140001de0
add rsp, 0x28
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.140001de0
add rsp, 0x28
movabs rcx, 0x140028036
sub rsp, 0x28
call fcn.140001de0
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.140001d60
movsxd r15, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
call fcn.140001a00
add r15, rax
add r15, 2
mov rax, r15
mov dword [rsp + 0x58], eax
jmp 0x14002c536
mov rax, qword [0x140028cb0]
push rax
sub rsp, 8
push rax
mov rcx, qword [rsp + 0x88]
pop rdx
sub rsp, 0x20
call fcn.1400016a0
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140001d60
movsxd rax, dword [rsp + 0x38]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov rcx, qword [rsp + 0x48]
push qword [0x140028cb0]
sub rsp, 0x28
call fcn.140001de0
add rsp, 0x28
pop rax
add rax, qword [0x140028ca8]
jmp 0x14002c6ae
push rax
mov rcx, qword [rsp + 0x70]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140001f70
add rsp, 0x28
pop rax
add rsp, 0x80
pop r15
ret