Function at 0x1400057fc
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 [0x1400471f8]
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.140008524
nop
lea r15, [0x140047138]
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x14000588d
test byte [rcx + 0x1c], 1
je 0x14000588d
cmp byte [rcx + 0x19], 4
jb 0x14000588d
mov edx, 0x49
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.140003e38
cmp byte [rdi + 0xb0], 0
jne 0x140005b05
mov r8d, 0x10
lea rdx, [0x140047c90]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, 0x10
jne 0x1400058f2
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x140005b05
test byte [rcx + 0x1c], 1
je 0x140005b05
cmp byte [rcx + 0x19], 2
jb 0x140005b05
lea edx, [rax + 0x3a]
lea r8, [0x14003ee10]
mov rcx, qword [rcx + 0x10]
call fcn.140001618
jmp 0x140005b05
mov ecx, 0x6d0
call fcn.14003b524
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140005916
mov rdx, rdi
mov rcx, rax
call fcn.14000a914
mov rbx, rax
jmp 0x140005918
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov rax, qword [rdi + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x10]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14000b290
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x140005999
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x140005974
test byte [rcx + 0x1c], 1
je 0x140005974
cmp byte [rcx + 0x19], 2
jb 0x140005974
mov edx, 0x4b
mov r9d, eax
lea r8, [0x14003ee10]
mov rcx, qword [rcx + 0x10]
call fcn.140001450
nop
test rbx, rbx
je 0x14000598a
mov rcx, rbx
call fcn.14000ae50
mov rcx, rbx
call fcn.14003b514
nop
lea rcx, [rsp + 0x38]
call fcn.140008380
jmp 0x140005b0f
lea rax, [rdi + 0xd0]
mov rcx, qword [rax + 8]
cmp qword [rcx], rax
je 0x1400059b0
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 + 0xe0]
lea r8, [rsp + 0x30]
mov rdx, rsi
call fcn.140007340
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 + 0x128]
lea r8, [rsp + 0x30]
mov edx, dword [rsi + 0x10]
call fcn.1400074fc
cmp dword [section..data], 5
jbe 0x140005ad3
movabs rdx, 0x200000000000
test qword [0x140047010], rdx
je 0x140005ad3
mov rax, qword [0x140047018]
and rax, rdx
cmp rax, qword [0x140047018]
jne 0x140005ad3
mov qword [rsp + 0xb0], rsi
mov dword [rsp + 0xb8], 0x10
and dword [rsp + 0xbc], 0
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
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
lea rdx, [0x140040e49]
call fcn.140001078
nop
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x140005b05
test byte [rcx + 0x1c], 1
je 0x140005b05
cmp byte [rcx + 0x19], 4
jb 0x140005b05
mov edx, 0x4e
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140003d68
jmp 0x140005b05
lea rcx, [rsp + 0x38]
call fcn.140008380
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14003b910
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r15
pop rdi
pop rsi
ret