Function at 0x1400aebb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov qword [rsp + 0x140], 0xfffffffffffffffe
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x148]
call fcn.140010b30
nop
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 0x10
jb 0x1400aec44
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x1400aec4e
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400aef56
lea rax, [rsp + 0x90]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rax], 0
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x10], 0
lea rcx, [rsp + 0x90]
call fcn.140047078
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 0x10
jb 0x1400aed28
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1400aed32
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1400aef48
mov eax, dword [rsp + 0x34]
mov edx, eax
lea rcx, [rsp + 0x90]
call fcn.1400af4a0
lea rax, [rsp + 0x90]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 0x10
jb 0x1400aee18
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x1400aee22
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1400aef48
lea rcx, [rsp + 0x90]
call fcn.140047078
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x1400aef48
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x90]
call fcn.140044668
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov eax, 1
neg rax
add rax, qword [rsp + 0x80]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x90]
call fcn.140026d54
lea r9, [rsp + 0x30]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rax]
lea rcx, [rsp + 0x168]
call fcn.1400afaa0
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x148]
call fcn.1400106ec
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x168]
call fcn.14001196c
nop
lea rcx, [rsp + 0x90]
call fcn.1400288b4
nop
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x1a0]
call fcn.14000d7a0
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x148]
call fcn.14001196c
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x1b0]
call fcn.14001196c
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x1b8]
call fcn.14001196c
nop
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140286010
add rsp, 0x198
ret