Function at 0x1400e56b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r9d, dword [rcx]
xor r14d, r14d
mov dword [rsp + 0x80], r14d
mov edi, 0x6b6e
mov r13, rdx
mov r12, rcx
lea r8d, [rdi + 8]
test r9d, r9d
je 0x1400e5817
cmp r9d, 1
jne 0x1400e5af5
mov ebp, r14d
test rdx, rdx
je 0x1400e5706
mov r15, rdx
jmp 0x1400e570e
mov rax, qword [rcx + 8]
mov r15, qword [rax + 0x18]
cmp word [r15 + 4], di
jne 0x1400e57f9
mov ecx, dword [r15 + 0x28]
test ecx, ecx
je 0x1400e57f9
movsxd rdx, dword [r15 + 0x2c]
cmp edx, 0xffffffff
je 0x1400e57f9
mov rax, qword [r12 + 8]
mov esi, r14d
add rdx, qword [rax + 0x10]
mov qword [rsp + 0x98], rdx
test ecx, ecx
je 0x1400e57f9
nop
test rbp, rbp
jne 0x1400e57f4
mov eax, esi
movsxd rbx, dword [rdx + rax*4 + 4]
mov rax, qword [r12 + 8]
add rbx, qword [rax + 0x10]
cmp word [rbx + 4], r8w
jne 0x1400e57e8
movzx eax, word [rbx + 6]
test ax, ax
je 0x1400e57e8
test byte [rbx + 0x14], 1
mov edx, eax
je 0x1400e5794
lea rcx, [rbx + 0x18]
call fcn.140012170
mov rdi, rax
test rax, rax
je 0x1400e57da
jmp 0x1400e57bc
add rdx, 2
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400e57da
movzx r8d, word [rbx + 6]
lea rdx, [rbx + 0x18]
mov rcx, rax
call fcn.14011b4a0
mov rdx, rdi
lea rcx, str.SupplementalCredentials
call fcn.14011ebc8
test eax, eax
mov rcx, rdi
cmove rbp, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rsp + 0x98]
mov r8d, 0x6b76
inc esi
cmp esi, dword [r15 + 0x28]
jb 0x1400e5750
mov edi, 0x6b6e
test rbp, rbp
mov ebx, r14d
setne bl
test rbp, rbp
je 0x1400e5853
mov eax, dword [rbp + 8]
btr eax, 0x1f
mov dword [rsp + 0x80], eax
jmp 0x1400e5853
lea rax, [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.SupplementalCredentials
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ebx, r14d
sete bl
test eax, eax
je 0x1400e5853
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x1400e5af5
mov eax, dword [rsp + 0x80]
cmp eax, 0x90
jbe 0x1400e5af5
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
mov r15, rax
test rax, rax
je 0x1400e5af5
mov edx, dword [r12]
test edx, edx
je 0x1400e59f5
cmp edx, 1
jne 0x1400e5ae0
mov rbp, r14
test r13, r13
jne 0x1400e58b1
mov rax, qword [r12 + 8]
mov r13, qword [rax + 0x18]
cmp word [r13 + 4], di
jne 0x1400e599a
mov ecx, dword [r13 + 0x28]
test ecx, ecx
je 0x1400e599a
movsxd rdx, dword [r13 + 0x2c]
cmp edx, 0xffffffff
je 0x1400e599a
mov rax, qword [r12 + 8]
mov esi, r14d
add rdx, qword [rax + 0x10]
mov qword [rsp + 0x98], rdx
test ecx, ecx
je 0x1400e599a
mov r15d, 0x6b76
test rbp, rbp
jne 0x1400e5995
mov eax, esi
movsxd rbx, dword [rdx + rax*4 + 4]
mov rax, qword [r12 + 8]
add rbx, qword [rax + 0x10]
cmp word [rbx + 4], r15w
jne 0x1400e5989
movzx eax, word [rbx + 6]
test ax, ax
je 0x1400e5989
test byte [rbx + 0x14], 1
mov edx, eax
je 0x1400e593b
lea rcx, [rbx + 0x18]
call fcn.140012170
mov rdi, rax
test rax, rax
je 0x1400e5981
jmp 0x1400e5963
add rdx, 2
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400e5981
movzx r8d, word [rbx + 6]
lea rdx, [rbx + 0x18]
mov rcx, rax
call fcn.14011b4a0
mov rdx, rdi
lea rcx, str.SupplementalCredentials
call fcn.14011ebc8
test eax, eax
mov rcx, rdi
cmove rbp, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rsp + 0x98]
inc esi
cmp esi, dword [r13 + 0x28]
jb 0x1400e58f7
mov r15, qword [rsp + 0x30]
test rbp, rbp
mov edi, r14d
setne dil
test rbp, rbp
je 0x1400e5a32
mov ecx, dword [rbp + 8]
mov edi, r14d
mov ebx, ecx
btr ebx, 0x1f
cmp dword [rsp + 0x80], ebx
setae dil
jb 0x1400e59ec
lea rdx, [rbp + 0xc]
test ecx, ecx
js 0x1400e59e1
mov rax, qword [r12 + 8]
movsxd rdx, dword [rdx]
mov rax, qword [rax + 0x10]
add rax, 4
add rdx, rax
mov r8d, ebx
mov rcx, r15
call fcn.14011b4a0
mov dword [rsp + 0x80], ebx
jmp 0x1400e5a32
lea rax, [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.SupplementalCredentials
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov edi, r14d
sete dil
test eax, eax
je 0x1400e5a32
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x1400e5ae0
lea rcx, str._nSupplemental_Credentials:_n
call fcn.14000afb0
mov edx, dword [r15 + 0xc]
mov ecx, 0x40
add edx, 0xc
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400e5aec
mov r9d, dword [rsp + 0x80]
lea rdi, [rax + 4]
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x98]
add r9d, 0xffffffe0
mov qword [rsp + 0x28], rdi
lea r8, [r15 + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [r15 + 0x10]
call fcn.1400045c0
test eax, eax
je 0x1400e5ad5
mov eax, dword [rdi]
mov rdi, qword [rsp + 0x98]
cmp eax, dword [r15 + 0xc]
jne 0x1400e5acc
mov r8d, eax
lea rcx, [rbx + 0xc]
mov rdx, rdi
mov r14d, 1
call fcn.14011b4a0
mov rcx, rbx
call fcn.14010a8a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400e5aec
lea rcx, str.ERROR_kuhl_m_lsadump_getSupplementalCreds___kull_m_registry_RegQueryValueEx_data__n
call fcn.14000afb0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x88]
mov eax, r14d
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret