Function at 0x180001450
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x18008ab58]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor ebp, ebp
mov edi, ebp
call fcn.1800015a0
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov r9d, 0x20019
mov dword [rsp + 0x30], ebp
mov esi, eax
mov dword [rsp + 0x34], ebp
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionSeCEdit
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x18000150b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea rdx, str.FatNtfsConvertedDrives
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x18000b9a6
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180001521
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [rsp + 0x30], 7
je 0x18000ba40
test rdi, rdi
jne 0x18000bb3b
xor edx, edx
lea rax, [0x18008b5c8]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [0x180072130]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 1]
call qword [sym.imp.AUTHZ.dll_AuthzInitializeResourceManager]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180002a90
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18000ba36
cmp eax, 2
jbe 0x18000b9bc
cmp eax, 7
jne 0x18000ba36
mov edx, dword [rsp + 0x34]
mov ecx, 0x40
inc edx
add rdx, rdx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x18000b9e6
lea ebx, [rax + 8]
jmp 0x18000150b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.FatNtfsConvertedDrives
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x18000150b
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rdi, rbp
jmp 0x18000150b
mov ebx, 0x70c
jmp 0x18000150b
test rdi, rdi
je 0x18000ba5f
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], bp
jne 0x18000ba4c
cmp rax, 2
jb 0x18000152c
test ebx, ebx
jne 0x180001535
test rdi, rdi
je 0x180001535
lea r8d, [rbx + 0x18]
mov rdx, rdi
lea rcx, [0x180030740]
call qword [sym.imp.ntdll.dll_RtlQueueWorkItem]
nop dword [rax + rax]
mov edx, 0x104
mov word [rsp + 0x40], bp
lea rcx, [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemWindowsDirectoryW]
nop dword [rax + rax]
lea r8, str._securitylogsconvert.log
mov word [rsp + 0x248], bp
mov edx, 0x136
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
mov ecx, 1
call fcn.1800385f8
mov ecx, 3
call fcn.180038f4c
lea rcx, [rsp + 0x40]
call fcn.1800386b0
cmp eax, 0x7b
jne 0x18000bb04
lea r9, [rsp + 0x40]
xor edx, edx
lea ecx, [rax - 0x7a]
mov r8d, 0x1c85
call fcn.180038d90
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
lea rcx, str.ScepWaitForServicesEventAndConvertSecurityThreadFunc
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor ecx, ecx
mov r8d, 0x1d2a
call fcn.180038d90
call fcn.180038654
nop
jmp 0x180001535
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
nop
jmp 0x180001535