Function at 0x1400064c0
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rsi
push rdi
push r15
sub rsp, 0xf0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rsi, rdx
mov rdi, rcx
mov ecx, 8
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
lea rax, str.CTieringEngineLib::OnNewVolume
mov qword [rcx + rdx], rax
lea rcx, [rsp + 0x38]
call fcn.140009790
nop
lea r15, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, r15
je 0x140006551
test byte [rcx + 0x1c], 1
je 0x140006551
cmp byte [rcx + 0x19], 4
jb 0x140006551
mov edx, 0x49
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.140004940
cmp byte [rdi + 0xc0], 0
jne 0x1400067dc
mov r8d, 0x10
lea rdx, [0x14004dcd0]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
nop dword [rax + rax]
cmp rax, 0x10
jne 0x1400065bc
mov rcx, qword [0x14004d128]
cmp rcx, r15
je 0x1400067dc
test byte [rcx + 0x1c], 1
je 0x1400067dc
cmp byte [rcx + 0x19], 2
jb 0x1400067dc
lea edx, [rax + 0x3a]
lea r8, [0x140044f90]
mov rcx, qword [rcx + 0x10]
call fcn.140001ab0
jmp 0x1400067dc
mov ecx, 0x6d0
call fcn.140040c2c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400065e0
mov rdx, rdi
mov rcx, rax
call fcn.14000c764
mov rbx, rax
jmp 0x1400065e2
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov rax, qword [rdi + 0xd0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x10]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14000d184
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x140006663
mov rcx, qword [0x14004d128]
cmp rcx, r15
je 0x14000663e
test byte [rcx + 0x1c], 1
je 0x14000663e
cmp byte [rcx + 0x19], 2
jb 0x14000663e
mov edx, 0x4b
mov r9d, eax
lea r8, [0x140044f90]
mov rcx, qword [rcx + 0x10]
call fcn.1400018b0
nop
test rbx, rbx
je 0x140006654
mov rcx, rbx
call fcn.14000cce8
mov rcx, rbx
call fcn.140040c14
nop
lea rcx, [rsp + 0x38]
call fcn.1400095e0
jmp 0x1400067e6
lea rax, [rdi + 0xe0]
mov rcx, qword [rax + 8]
cmp qword [rcx], rax
je 0x14000667a
mov ecx, 3
int 0x29
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rcx], rbx
mov qword [rax + 8], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rbx
lea rcx, [rdi + 0xf0]
lea r8, [rsp + 0x30]
mov rdx, rsi
call fcn.140008394
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rbx
lea rcx, [rdi + 0x138]
lea r8, [rsp + 0x30]
mov edx, dword [rsi + 0x10]
call fcn.140008578
cmp dword [0x14004d098], 5
jbe 0x1400067aa
movabs rdx, 0x200000000000
test qword [0x14004d0a8], rdx
je 0x1400067aa
mov rax, qword [0x14004d0b0]
and rax, rdx
cmp rax, qword [0x14004d0b0]
jne 0x1400067aa
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 2
and dword [rsp + 0xcc], 0
movzx ecx, word [rbx + 0x2b8]
mov rax, qword [rbx + 0x2c0]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], ecx
and dword [rsp + 0xdc], 0
mov qword [rsp + 0xb0], rsi
mov dword [rsp + 0xb8], 0x10
and dword [rsp + 0xbc], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400470e9]
lea rcx, [0x14004d098]
call fcn.140001090
nop
mov rcx, qword [0x14004d128]
cmp rcx, r15
je 0x1400067dc
test byte [rcx + 0x1c], 1
je 0x1400067dc
cmp byte [rcx + 0x19], 4
jb 0x1400067dc
mov edx, 0x4e
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.1400047f0
jmp 0x1400067dc
lea rcx, [rsp + 0x38]
call fcn.1400095e0
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140041040
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r15
pop rdi
pop rsi
ret