Function at 0x1400af310
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x5b8
lea rax, [rsp + 0x130]
mov qword [rsp + 0x50], rax
lea rdx, [0x140255f90]
mov rcx, qword [rsp + 0x50]
call fcn.140022000
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14007c360
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140013a90
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140022000
nop
lea rcx, [rsp + 0x70]
call fcn.140026c10
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x78], rax
lea rdx, [0x140255fb8]
mov rcx, qword [rsp + 0x78]
call fcn.140022000
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.14007c360
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140013a90
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.140022000
nop
lea rcx, [rsp + 0x98]
call fcn.140026c10
nop
lea rax, [rsp + 0x170]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0xa0]
call fcn.140021e60
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xb8]
call fcn.14007bce0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140013a90
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xb8]
call fcn.140026c10
nop
cmp dword [rsp + 0x40], 0
jne 0x1400af5ea
mov dword [rsp + 0x44], 0x200
lea rax, [rsp + 0x190]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
call fcn.140021e60
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.14007bce0
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140013a90
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0xe8]
call fcn.140026c10
nop
cmp dword [rsp + 0x48], 0
je 0x1400af5a2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140255fd0]
mov rcx, qword [rsp + 0x5c0]
call fcn.140029fc0
nop
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0xf0]
call fcn.140028230
nop
lea rcx, [rsp + 0x110]
call fcn.140028230
movzx eax, byte [rsp + 0x30]
jmp 0x1400af61b
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x5c0]
call fcn.140029fc0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0xf0]
call fcn.140028230
nop
lea rcx, [rsp + 0x110]
call fcn.140028230
movzx eax, byte [rsp + 0x31]
jmp 0x1400af61b
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0xf0]
call fcn.140028230
nop
lea rcx, [rsp + 0x110]
call fcn.140028230
movzx eax, byte [rsp + 0x32]
add rsp, 0x5b8
ret