Function at 0x14004a830
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov rax, qword [0x1400ca1c0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rcx, qword [section..data]
lea r13, section..data
cmp rcx, r13
je 0x14004a898
test byte [rcx + 0x1c], 1
je 0x14004a898
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ae358]
mov edx, 0x109
call fcn.140045cf4
mov rcx, qword [section..data]
xor r15d, r15d
mov esi, 1
mov eax, r15d
mov r14d, r15d
mov qword [rsp + 0x48], rax
cmp rcx, r13
je 0x14004a8d9
test byte [rcx + 0x1c], 2
je 0x14004a8d9
cmp byte [rcx + 0x19], 5
jb 0x14004a8d9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ae358]
mov edx, 0x10a
mov r9d, r14d
call fcn.140045d20
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14004a8f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov qword [rsp + 0x48], r15
mov r9d, 0x20219
mov qword [rsp + 0x78], r15
lea r8, [0x1400b2190]
mov qword [rbp - 0x80], r15
mov rdx, 0xffffffff80000002
mov qword [rbp - 0x78], r15
lea rcx, [rsp + 0x78]
call fcn.140005e00
test eax, eax
jne 0x14004abcb
mov rcx, qword [rsp + 0x78]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r15
lea r8, [rbp - 0x60]
mov qword [rsp + 0x30], r15
mov edx, r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x58], pe_nt_image_headers64
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x14004abc6
test eax, eax
jne 0x14004ab94
lea rdx, [0x1400b2190]
lea rcx, [rsp + 0x50]
call fcn.140017070
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000ee80
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r9d, 0x20219
mov qword [rsp + 0x60], r15
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
call fcn.140005e00
test eax, eax
je 0x14004aa02
mov rcx, qword [section..data]
cmp rcx, r13
je 0x14004ab42
test byte [rcx + 0x1c], 2
je 0x14004ab42
cmp byte [rcx + 0x19], 2
jb 0x14004ab42
mov r9, qword [rsp + 0x50]
lea r8, [0x1400ae358]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10d
call fcn.140043490
jmp 0x14004ab42
lea rcx, [rsp + 0x40]
call fcn.1400096e0
lea r8, [rsp + 0x40]
lea rdx, [0x1400b2160]
lea rcx, [rsp + 0x60]
call fcn.140005978
test eax, eax
je 0x14004aa67
mov rcx, qword [section..data]
cmp rcx, r13
je 0x14004ab38
test byte [rcx + 0x1c], 2
je 0x14004ab38
cmp byte [rcx + 0x19], 5
jb 0x14004ab38
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ae358]
mov edx, 0x10e
mov r9d, eax
call fcn.1400438d8
jmp 0x14004ab38
mov rcx, qword [rsp + 0x40]
lea rdx, [0x1400acdc4]
mov qword [rbp - 0x70], r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
jne 0x14004aa8b
mov edi, esi
jmp 0x14004aaff
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x70]
mov eax, esi
mov qword [rsp + 0x30], r15
mov r8d, eax
mov qword [rsp + 0x28], r15
mov edx, eax
mov qword [rsp + 0x20], r15
mov edi, r15d
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14004aaff
mov edi, esi
mov rcx, qword [section..data]
cmp rcx, r13
je 0x14004ab34
test byte [rcx + 0x1c], 2
je 0x14004ab06
cmp byte [rcx + 0x19], 5
jb 0x14004ab06
mov r9, qword [rsp + 0x40]
lea r8, [0x1400ae358]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10f
mov dword [rsp + 0x20], eax
call fcn.140049774
mov rcx, qword [section..data]
cmp rcx, r13
je 0x14004ab34
test byte [rcx + 0x1c], 2
je 0x14004ab34
cmp byte [rcx + 0x19], 4
jb 0x14004ab34
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x60]
mov edx, 0x110
mov dword [rsp + 0x20], edi
lea r8, [0x1400ae358]
call fcn.140052770
test edi, edi
je 0x14004ab74
lea rcx, [rsp + 0x40]
call fcn.1400043f0
lea rcx, [rsp + 0x60]
call fcn.140006bec
lea rcx, [rsp + 0x50]
call fcn.1400043f0
lea rcx, [rsp + 0x78]
call fcn.140006bec
mov rax, qword [rsp + 0x48]
inc r14d
mov rcx, qword [section..data]
jmp 0x14004a8ab
lea rcx, [rsp + 0x40]
call fcn.1400043f0
lea rcx, [rsp + 0x60]
call fcn.140006bec
lea rcx, [rsp + 0x50]
call fcn.1400043f0
jmp 0x14004ac05
mov rcx, qword [section..data]
cmp rcx, r13
je 0x14004ac05
test byte [rcx + 0x1c], 2
je 0x14004ac05
cmp byte [rcx + 0x19], 2
jb 0x14004ac05
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ae358]
mov edx, 0x10c
mov r9d, eax
call fcn.1400438d8
jmp 0x14004ac05
mov esi, r15d
jmp 0x14004ac05
jle 0x14004abd5
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [section..data]
cmp rcx, r13
je 0x14004ac05
test byte [rcx + 0x1c], 2
je 0x14004ac05
cmp byte [rcx + 0x19], 2
jb 0x14004ac05
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ae358]
mov edx, 0x10b
mov r9d, eax
call fcn.140045d20
lea rcx, [rsp + 0x78]
call fcn.140006bec
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004ac2a
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov qword [rsp + 0x48], r15
mov rcx, qword [section..data]
cmp rcx, r13
je 0x14004ac5a
test byte [rcx + 0x1c], 1
je 0x14004ac5a
cmp byte [rcx + 0x19], 5
jb 0x14004ac5a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ae358]
mov edx, 0x111
mov r9d, esi
call fcn.140043960
mov eax, esi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140044080
lea r11, [rsp + 0x2b0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r13, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret