Function at 0x14002ccb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x1250]
mov eax, 0x1350
call fcn.14009ca80
sub rsp, rax
mov rax, qword [0x1400ea3e8]
xor rax, rsp
mov qword [rbp + 0x1240], rax
mov rbx, qword [rbp + 0x12a0]
lea rax, [rsp + 0x50]
mov r14, r8
mov qword [rsp + 0x20], rax
mov rsi, r9
xor r12d, r12d
mov rdx, r14
mov qword [rsp + 0x50], r12
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14002ce60
mov r14d, 0x208
mov dword [rsp + 0x58], r12d
mov r8d, r14d
lea rcx, [rbp - 0x20]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rbp - 0x20]
mov dword [rsp + 0x5c], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MountPoint
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x14002cd8d
cmp dword [rsp + 0x58], 1
jne 0x14002cd8d
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140015610
cmp qword [rsi + 0x18], 8
jb 0x14002cd97
mov rsi, qword [rsi]
movzx r9d, r14w
mov edx, 0x162
or r9d, 0x80070000
mov qword [rsp + 0x20], rsi
test r14d, r14d
cmovle r9d, r14d
call fcn.14002baa8
mov esi, 0x1048
mov dword [rsp + 0x64], r12d
mov r8d, esi
lea rcx, [rbp + 0x1f0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x64]
lea rax, [rbp + 0x1f0]
mov dword [rsp + 0x60], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.UrlNamespace
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x14002ce23
cmp dword [rsp + 0x58], 1
jne 0x14002ce23
lea rdx, [rbp + 0x1f0]
mov rcx, rbx
call fcn.140015610
cmp qword [rbx + 0x18], 8
jb 0x14002ce2d
mov rbx, qword [rbx]
movzx r9d, si
mov edx, 0x172
or r9d, 0x80070000
mov qword [rsp + 0x20], rbx
test esi, esi
cmovle r9d, esi
call fcn.14002baa8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ebx, di
jmp 0x14002cf13
lea rax, [0x1400b8868]
movzx ebx, di
mov qword [rbp - 0x58], rax
mov eax, ebx
or eax, 0x80070000
mov dword [rbp - 0x60], 3
test edi, edi
mov dword [rbp - 0x40], 1
mov qword [rbp - 0x30], r14
cmovle eax, edi
mov dword [rbp - 0x50], eax
lea rax, str.subKeyName
mov qword [rbp - 0x38], rax
test r14, r14
je 0x14002ceaf
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], r12w
jne 0x14002cea3
jmp 0x14002ceb2
mov rax, r12
mov qword [rbp - 0x28], rax
lea r9, str.SyncEngineFileInfoProvider::ReadProviderSubkey
mov eax, 2
lea rdx, str.D:dbs_shodct1130_230136_1cmdcclientonedriveProductFileCoAuthSharedSyncEngineFileInfoProvider.cpp
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov r8d, 0x178
mov dword [rsp + 0x30], 1
lea rax, [0x1400be0b8]
mov dword [rsp + 0x28], 0xc27b6cfa
mov qword [rsp + 0x20], rax
call qword [sym.imp.LoggingPlatform.DLL_public:_void___cdecl_StructuredEvent::constructor_char_const____ptr64__int__char_const____ptr64__struct__GUID_const____ptr64__unsigned_int__unsigned_int__unsigned_int__unsigned_int____ptr64]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingWriteStructuredEvent_struct_StructuredEvent_const____ptr64__struct_StructuredEventParameter__const___ptr64_]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingRotateIfNeeded_void_]
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
mov eax, ebx
mov rcx, qword [rbp + 0x1240]
xor rcx, rsp
call fcn.14009bdf0
mov rbx, qword [rsp + 0x1380]
add rsp, 0x1350
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret