Function at 0x1400e4360
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r15
sub rsp, 0x80
mov rbx, r8
mov rdi, rcx
lea r8, [rsp + 0x48]
xor r15d, r15d
call fcn.1400e3f20
test eax, eax
je 0x1400e4897
lea rcx, str.Domain_:
call fcn.14000afb0
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, str.ControlComputerNameComputerName
mov rcx, rdi
mov dword [rsp + 0x20], 0x20019
call fcn.14000d810
test eax, eax
je 0x1400e4836
mov ecx, dword [rdi]
mov edx, 0x6b6e
mov qword [rsp + 0xa0], rbp
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x78], rsi
mov esi, r15d
mov qword [rsp + 0x70], r12
lea r8d, [rdx + 8]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0xb8], r15d
test ecx, ecx
je 0x1400e4529
cmp ecx, 1
jne 0x1400e4761
mov r14d, r15d
test rbp, rbp
je 0x1400e4424
mov r13, rbp
jmp 0x1400e442c
mov rax, qword [rdi + 8]
mov r13, qword [rax + 0x18]
cmp word [r13 + 4], dx
jne 0x1400e450a
mov edx, dword [r13 + 0x28]
test edx, edx
je 0x1400e450a
movsxd rcx, dword [r13 + 0x2c]
cmp ecx, 0xffffffff
je 0x1400e450a
mov rax, qword [rdi + 8]
mov r12, rcx
mov ebp, r15d
add r12, qword [rax + 0x10]
test edx, edx
je 0x1400e4505
test r14, r14
jne 0x1400e4501
mov eax, ebp
movsxd rbx, dword [r12 + rax*4 + 4]
mov rax, qword [rdi + 8]
add rbx, qword [rax + 0x10]
cmp word [rbx + 4], r8w
jne 0x1400e44f5
movzx eax, word [rbx + 6]
test ax, ax
je 0x1400e44f5
test byte [rbx + 0x14], 1
mov edx, eax
je 0x1400e44a9
lea rcx, [rbx + 0x18]
call fcn.140012170
mov rsi, rax
test rax, rax
je 0x1400e44ef
jmp 0x1400e44d1
add rdx, 2
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400e44ef
movzx r8d, word [rbx + 6]
lea rdx, [rbx + 0x18]
mov rcx, rax
call fcn.14011b4a0
mov rdx, rsi
lea rcx, str.ComputerName
call fcn.14011ebc8
test eax, eax
mov rcx, rsi
cmove r14, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8d, 0x6b76
inc ebp
cmp ebp, dword [r13 + 0x28]
jb 0x1400e4466
mov esi, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
test r14, r14
mov ebx, r15d
setne bl
test r14, r14
je 0x1400e4567
mov eax, dword [r14 + 8]
btr eax, 0x1f
mov dword [rsp + 0xb8], eax
jmp 0x1400e4567
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
lea rdx, str.ComputerName
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ebx, r15d
sete bl
test eax, eax
je 0x1400e4567
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x1400e4761
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x1400e476d
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
mov r12, rax
test rax, rax
je 0x1400e4775
mov ecx, dword [rdi]
mov esi, r15d
test ecx, ecx
je 0x1400e4709
cmp ecx, 1
jne 0x1400e4743
mov r14, r15
test rbp, rbp
jne 0x1400e45c7
mov rax, qword [rdi + 8]
mov rbp, qword [rax + 0x18]
mov qword [rsp + 0x38], rbp
mov eax, 0x6b6e
cmp word [rbp + 4], ax
jne 0x1400e46ae
mov ecx, dword [rbp + 0x28]
test ecx, ecx
je 0x1400e46ae
movsxd rdx, dword [rbp + 0x2c]
cmp edx, 0xffffffff
je 0x1400e46ae
mov rax, qword [rdi + 8]
mov r13, rdx
mov ebp, r15d
add r13, qword [rax + 0x10]
test ecx, ecx
je 0x1400e46ae
mov r12d, 0x6b76
nop word [rax + rax]
test r14, r14
jne 0x1400e46a9
mov eax, ebp
movsxd rbx, dword [r13 + rax*4 + 4]
mov rax, qword [rdi + 8]
add rbx, qword [rax + 0x10]
cmp word [rbx + 4], r12w
jne 0x1400e4699
movzx eax, word [rbx + 6]
test ax, ax
je 0x1400e4699
test byte [rbx + 0x14], 1
mov edx, eax
je 0x1400e4653
lea rcx, [rbx + 0x18]
call fcn.140012170
mov rsi, rax
test rax, rax
je 0x1400e4699
jmp 0x1400e467b
add rdx, 2
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400e4699
movzx r8d, word [rbx + 6]
lea rdx, [rbx + 0x18]
mov rcx, rax
call fcn.14011b4a0
mov rdx, rsi
lea rcx, str.ComputerName
call fcn.14011ebc8
test eax, eax
mov rcx, rsi
cmove r14, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x38]
inc ebp
cmp ebp, dword [rax + 0x28]
jb 0x1400e4610
mov r12, qword [rsp + 0x30]
test r14, r14
mov esi, r15d
setne sil
test r14, r14
je 0x1400e4743
mov ecx, dword [r14 + 8]
mov esi, r15d
mov ebx, ecx
btr ebx, 0x1f
cmp dword [rsp + 0xb8], ebx
setae sil
jb 0x1400e4700
lea rdx, [r14 + 0xc]
test ecx, ecx
js 0x1400e46f5
mov rax, qword [rdi + 8]
movsxd rdx, dword [rdx]
mov rax, qword [rax + 0x10]
add rax, 4
add rdx, rax
mov r8d, ebx
mov rcx, r12
call fcn.14011b4a0
mov dword [rsp + 0xb8], ebx
jmp 0x1400e4743
lea rax, [rsp + 0xb8]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.ComputerName
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete sil
test eax, eax
je 0x1400e4743
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x1400e4775
lea rcx, str.ERROR_kull_m_registry_QueryWithAlloc___kull_m_registry_RegQueryValueEx_KO_n
call fcn.14000afb0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r12, rax
jmp 0x1400e4775
lea rcx, str.ERROR_kull_m_registry_QueryWithAlloc___pre___kull_m_registry_RegQueryValueEx_KO_n
call fcn.14000afb0
mov r12, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa0]
cmp dword [rdi], r15d
jne 0x1400e47a3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400e47a3
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
mov rsi, qword [rsp + 0x78]
je 0x1400e47c4
mov rdx, r12
lea rcx, [0x14016f8c0]
call fcn.14000afb0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x70]
lea rcx, str.SysKey_:
call fcn.14000afb0
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, str.ControlLSA
mov rcx, rdi
mov dword [rsp + 0x20], 0x20019
call fcn.14000d810
test eax, eax
je 0x1400e486e
mov rdx, qword [rsp + 0x50]
mov r8, rbx
mov rcx, rdi
call fcn.1400e4110
mov r15d, eax
test eax, eax
je 0x1400e4844
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x10]
call fcn.1400124b0
lea rcx, reloc.Cabinet.dll_FCICreate
jmp 0x1400e484b
lea rcx, str.ERROR_kull_m_registry_OpenAndQueryWithAlloc___kull_m_registry_RegOpenKeyEx_KO_n
call fcn.14000afb0
jmp 0x1400e47d1
lea rcx, str.ERROR_kuhl_m_lsadump_getComputerAndSyskey___kuhl_m_lsadump_getSyskey_KO_n
call fcn.14000afb0
cmp dword [rdi], 0
jne 0x1400e487a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400e487a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400e487a
lea rcx, str.ERROR_kuhl_m_lsadump_getComputerAndSyskey___kull_m_registry_RegOpenKeyEx_LSA_KO_n
call fcn.14000afb0
mov ecx, dword [rdi]
test ecx, ecx
jne 0x1400e4897
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400e4897
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r15d
add rsp, 0x80
pop r15
pop rdi
pop rbx
ret