Function at 0x100014454
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x2e8
mov rax, qword [0x100025078]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, qword [rsp + 0x330]
xor eax, eax
mov rbp, r9
mov qword [rsp + 0xb0], r9
mov ebx, r8d
mov rsi, rdx
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0xb8], rcx
cmp byte [rsp + 0x338], al
jne 0x1000145ec
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rcx, r9
mov word [rsp + 0x60], ax
mov qword [r11 - 0x268], rax
mov qword [r11 - 0x260], rax
mov qword [r11 - 0x270], rax
mov qword [r11 - 0x280], rax
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
test eax, eax
je 0x1000145e6
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
test eax, eax
je 0x1000145e6
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0xa8]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorGroup]
test eax, eax
je 0x1000145e6
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x80]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
je 0x1000145e6
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x1000145e6
test bl, 4
je 0x100014583
mov eax, 0x1000
test word [rsp + 0x60], ax
je 0x100014583
bts ebx, 0x1f
jmp 0x100014587
bts ebx, 0x1d
test bl, 8
je 0x10001459e
mov eax, 0x2000
test word [rsp + 0x60], ax
je 0x10001459e
bts ebx, 0x1e
jmp 0x1000145a2
bts ebx, 0x1c
mov rax, qword [rsp + 0x88]
mov r9, qword [rsp + 0xa0]
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov edx, 4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test eax, eax
je 0x1000145ec
mov dword [rdi], 1
xor ebp, ebp
lea rax, [rsp + 0x74]
xor r9d, r9d
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x64], ebp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x74], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebp
je 0x1000146ef
cmp eax, 5
jne 0x100014688
test bl, 8
mov r9d, 0x20001
mov eax, 0x1020001
cmovne r9d, eax
test bl, 4
je 0x100014662
bts r9d, 0x12
test bl, 1
je 0x10001466c
bts r9d, 0x13
lea rax, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
je 0x100014693
mov dword [rdi], 1
jmp 0x100014828
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov rcx, qword [rsp + 0x68]
cmp eax, ebp
je 0x1000146e9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100014688
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x64], ebp
je 0x100014828
lea r8, [rsp + 0xc0]
mov r9d, 0x104
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, ebp
je 0x10001474c
cmp eax, 5
jne 0x100014688
lea rax, [rsp + 0x68]
mov r9d, 8
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x100014688
mov rcx, qword [rsp + 0x68]
jmp 0x100014754
mov rcx, rsi
mov qword [rsp + 0x68], rcx
cmp dword [rsp + 0x64], ebp
jbe 0x10001481d
lea r8, [rsp + 0xc0]
mov r9d, 0x104
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100014783
mov dword [rdi], 1
jmp 0x100014804
test bl, 8
mov r9d, 0x2000000
mov eax, 0x3000000
cmovne r9d, eax
test bl, 4
je 0x10001479f
bts r9d, 0x12
test bl, 1
je 0x1000147a9
bts r9d, 0x13
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
lea rdx, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100014778
mov r9, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
mov byte [rsp + 0x28], al
mov r8d, ebx
mov qword [rsp + 0x20], rdi
call fcn.100014454
mov esi, eax
test eax, eax
jne 0x100014846
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
inc ebp
cmp ebp, dword [rsp + 0x64]
jb 0x10001475e
mov rsi, qword [rsp + 0x90]
cmp rcx, rsi
je 0x100014828
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1000012d0
add rsp, 0x2e8
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0x68]
cmp rcx, qword [rsp + 0x90]
je 0x10001485b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10001482a