Function at 0x14000cc10
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov rax, qword [0x1400cd220]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rcx, qword [section..data]
lea rbx, section..data
cmp rcx, rbx
je 0x14000cc7c
test byte [rcx + 0x1c], 1
je 0x14000cc7c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x109
call fcn.1400062b0
mov rcx, qword [section..data]
xor r12d, r12d
mov r15d, 1
mov eax, r12d
mov r14d, r12d
mov qword [rsp + 0x40], rax
mov sil, 2
or r13, 0xffffffffffffffff
cmp rcx, rbx
je 0x14000ccc5
test byte [rcx + 0x1c], sil
je 0x14000ccc5
cmp byte [rcx + 0x19], 5
jb 0x14000ccc5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x10a
mov r9d, r14d
call fcn.14000637c
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000ccde
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov r9d, 0x20219
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1400b4330]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d1df
mov rdi, qword [rsp + 0x68]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r12
lea r8, [rbp - 0x70]
mov qword [rsp + 0x30], r12
mov rcx, rdi
mov qword [rsp + 0x28], r12
mov edx, r14d
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x14000d1da
test eax, eax
jne 0x14000d19c
lea rdx, [0x1400b4330]
lea rcx, [rsp + 0x50]
call fcn.140005058
lea rcx, [rbp - 0x70]
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x14000cd7f
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000543c
mov rbx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
mov qword [rbp - 0x80], r12
xor r8d, r8d
mov qword [rbp - 0x78], r12
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x48], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d08c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
mov rax, qword [rax + 0x18]
lea rcx, [0x1400cce40]
call qword [case.0x140071786.0]
add rax, 0x18
lea r8, [rsp + 0x60]
lea rdx, [0x1400b4308]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x78]
call fcn.140091bc8
test eax, eax
je 0x14000cefe
mov rcx, qword [section..data]
lea rbx, section..data
cmp rcx, rbx
je 0x14000ce67
test byte [rcx + 0x1c], sil
je 0x14000ce67
cmp byte [rcx + 0x19], 5
jb 0x14000ce67
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x10e
mov r9d, eax
call fcn.14000ad20
mov rdx, qword [rsp + 0x60]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14000ce99
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000ceaf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x50]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14000cee1
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
test rdi, rdi
je 0x14000d078
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14000d078
mov rbx, qword [rsp + 0x60]
lea rdx, [0x1400b2338]
mov rcx, rbx
mov qword [rsp + 0x70], r12
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
jne 0x14000cf27
mov esi, r15d
jmp 0x14000cfa1
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
mov eax, r15d
mov qword [rsp + 0x30], r12
mov r8d, eax
mov qword [rsp + 0x28], r12
mov edx, eax
mov qword [rsp + 0x20], r12
mov esi, r12d
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14000cfa1
mov esi, r15d
mov rcx, qword [section..data]
lea rdx, section..data
cmp rcx, rdx
je 0x14000cfe5
test byte [rcx + 0x1c], 2
je 0x14000cfa8
cmp byte [rcx + 0x19], 5
jb 0x14000cfa8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x10f
mov dword [rsp + 0x20], eax
mov r9, rbx
call fcn.14000b098
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14000cfdd
test byte [rcx + 0x1c], 2
je 0x14000cfdd
cmp byte [rcx + 0x19], 4
jb 0x14000cfdd
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x70]
mov edx, 0x110
mov dword [rsp + 0x20], esi
lea r8, [0x1400b4390]
call fcn.1400194b4
test esi, esi
je 0x14000d10d
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14000d012
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000d028
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x50]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14000d05a
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
test rdi, rdi
je 0x14000d06e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov sil, 2
lea rbx, section..data
mov rax, qword [rsp + 0x40]
inc r14d
mov rcx, qword [section..data]
jmp 0x14000cc97
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14000d0c3
test byte [rcx + 0x1c], sil
je 0x14000d0c3
cmp byte [rcx + 0x19], sil
jb 0x14000d0c3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x10d
mov r9, rbx
call fcn.1400062dc
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14000d0f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
test rdi, rdi
je 0x14000d071
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14000d071
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14000d13a
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000d150
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x50]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14000d182
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
test rdi, rdi
je 0x14000d219
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14000d219
mov rcx, qword [section..data]
cmp rcx, rbx
je 0x14000d1d3
test byte [rcx + 0x1c], sil
je 0x14000d1d3
cmp byte [rcx + 0x19], sil
jb 0x14000d1d3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x10c
mov r9d, eax
call fcn.14000ad20
mov rcx, qword [section..data]
test rdi, rdi
je 0x14000d220
jmp 0x14000d18b
mov r15d, r12d
jmp 0x14000d182
jle 0x14000d1e9
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [section..data]
cmp rcx, rbx
je 0x14000d220
test byte [rcx + 0x1c], sil
je 0x14000d220
cmp byte [rcx + 0x19], sil
jb 0x14000d220
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x10b
mov r9d, eax
call fcn.14000637c
mov rcx, qword [section..data]
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000d245
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [section..data]
mov qword [rsp + 0x40], r12
lea rax, section..data
cmp rcx, rax
je 0x14000d275
test byte [rcx + 0x1c], 1
je 0x14000d275
cmp byte [rcx + 0x19], 5
jb 0x14000d275
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b4390]
mov edx, 0x111
mov r9d, r15d
call fcn.1400063c0
mov eax, r15d
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140003680
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret