Function at 0x1400caab0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov qword [rsp + 0x270], 0xfffffffffffffffe
mov dword [rsp + 0xf8], 0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x58]
call fcn.1400021f0
nop
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x70]
call fcn.1400021f0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.1400ca890
movzx eax, al
test eax, eax
jne 0x1400cab7c
lea rdx, [0x1403114bc]
mov rcx, qword [rsp + 0x2a0]
call fcn.140001eb0
mov eax, dword [rsp + 0xf8]
or eax, 1
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.140001000
nop
mov rax, qword [rsp + 0x58]
sub rax, 0x18
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.140001000
mov rax, qword [rsp + 0x2a0]
jmp 0x1400cb20e
lea rdx, [0x140311700]
lea rcx, [rsp + 0x60]
call fcn.140001eb0
nop
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x130], rax
mov r9d, 0x20019
mov r8, qword [rsp + 0x130]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14000b4d0
test eax, eax
je 0x1400cac75
lea rdx, [0x1403114fc]
mov rcx, qword [rsp + 0x2a0]
call fcn.140001eb0
mov eax, dword [rsp + 0xf8]
or eax, 1
mov dword [rsp + 0xf8], eax
lea rcx, [rsp + 0x40]
call fcn.14000b1b0
nop
mov rax, qword [rsp + 0x60]
sub rax, 0x18
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x158]
call fcn.140001000
nop
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.140001000
nop
mov rax, qword [rsp + 0x58]
sub rax, 0x18
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.140001000
mov rax, qword [rsp + 0x2a0]
jmp 0x1400cb20e
mov dword [rsp + 0x7c], 0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x68]
call fcn.1400021f0
nop
mov dword [rsp + 0x78], 0x104
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x1a0], eax
mov r9d, 1
mov r8d, dword [rsp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb0]
call fcn.1400020b0
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax + 8]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x1a8], 0
xor eax, eax
test eax, eax
jne 0x1400cace7
xor eax, eax
test eax, eax
jne 0x1400cace7
cmp qword [rsp + 0x1a8], 0
jne 0x1400cad0e
lea rax, [rsp + 0x198]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8, qword [rsp + 0x190]
mov edx, dword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [rsp + 0x7c]
inc ecx
mov dword [rsp + 0x7c], ecx
test eax, eax
jne 0x1400cad70
mov dword [rsp + 0x278], 1
jmp 0x1400cad7b
mov dword [rsp + 0x278], 0
movzx eax, byte [rsp + 0x278]
mov byte [rsp + 0xa8], al
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
call fcn.140001e20
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x1400cb15b
mov dword [rsp + 0x78], 0x104
mov qword [rsp + 0x98], 0
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
cmp qword [rsp + 0x98], 0
jne 0x1400cade4
jmp 0x1400cac97
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x88]
call fcn.1400021f0
nop
lea rdx, [0x14042f270]
lea rcx, [rsp + 0xa0]
call fcn.1400021f0
nop
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x90], 0
lea rax, [rsp + 0x94]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400caf6f
mov r9d, 1
mov r8d, dword [rsp + 0x90]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc8]
call fcn.1400020b0
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x1c8], rax
mov r9d, 1
mov r8d, dword [rsp + 0x80]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xe0]
call fcn.1400020b0
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1c8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
mov edx, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
call fcn.140001e20
nop
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc8]
call fcn.140001e20
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x200], rax
mov rdx, qword [rsp + 0x200]
lea rcx, [rsp + 0x70]
call fcn.1400559b0
test eax, eax
jne 0x1400cafb0
mov dword [rsp + 0x288], 1
jmp 0x1400cafbb
mov dword [rsp + 0x288], 0
movzx eax, byte [rsp + 0x288]
test eax, eax
je 0x1400cb113
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x208], rax
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0xa0]
call fcn.1400559b0
test eax, eax
jne 0x1400caffe
mov dword [rsp + 0x28c], 1
jmp 0x1400cb009
mov dword [rsp + 0x28c], 0
movzx eax, byte [rsp + 0x28c]
test eax, eax
je 0x1400cb113
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x2a0]
call fcn.140002230
mov eax, dword [rsp + 0xf8]
or eax, 1
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0xa0]
sub rax, 0x18
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x210]
call fcn.140001000
nop
mov rax, qword [rsp + 0x88]
sub rax, 0x18
mov qword [rsp + 0x218], rax
mov rcx, qword [rsp + 0x218]
call fcn.140001000
nop
mov rax, qword [rsp + 0x68]
sub rax, 0x18
mov qword [rsp + 0x220], rax
mov rcx, qword [rsp + 0x220]
call fcn.140001000
nop
lea rcx, [rsp + 0x40]
call fcn.14000b1b0
nop
mov rax, qword [rsp + 0x60]
sub rax, 0x18
mov qword [rsp + 0x228], rax
mov rcx, qword [rsp + 0x228]
call fcn.140001000
nop
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x230]
call fcn.140001000
nop
mov rax, qword [rsp + 0x58]
sub rax, 0x18
mov qword [rsp + 0x238], rax
mov rcx, qword [rsp + 0x238]
call fcn.140001000
mov rax, qword [rsp + 0x2a0]
jmp 0x1400cb20e
mov rax, qword [rsp + 0xa0]
sub rax, 0x18
mov qword [rsp + 0x240], rax
mov rcx, qword [rsp + 0x240]
call fcn.140001000
nop
mov rax, qword [rsp + 0x88]
sub rax, 0x18
mov qword [rsp + 0x248], rax
mov rcx, qword [rsp + 0x248]
call fcn.140001000
jmp 0x1400cac97
lea rdx, [0x14031153c]
mov rcx, qword [rsp + 0x2a0]
call fcn.140001eb0
mov eax, dword [rsp + 0xf8]
or eax, 1
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x68]
sub rax, 0x18
mov qword [rsp + 0x250], rax
mov rcx, qword [rsp + 0x250]
call fcn.140001000
nop
lea rcx, [rsp + 0x40]
call fcn.14000b1b0
nop
mov rax, qword [rsp + 0x60]
sub rax, 0x18
mov qword [rsp + 0x258], rax
mov rcx, qword [rsp + 0x258]
call fcn.140001000
nop
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x260]
call fcn.140001000
nop
mov rax, qword [rsp + 0x58]
sub rax, 0x18
mov qword [rsp + 0x268], rax
mov rcx, qword [rsp + 0x268]
call fcn.140001000
mov rax, qword [rsp + 0x2a0]
add rsp, 0x298
ret