Function at 0x140005b8c
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 [0x14004b1f8]
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.140008c4c
nop
lea r15, [0x14004b138]
mov rcx, qword [0x14004b138]
cmp rcx, r15
je 0x140005c1d
test byte [rcx + 0x1c], 1
je 0x140005c1d
cmp byte [rcx + 0x19], 4
jb 0x140005c1d
mov edx, 0x49
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.140004168
cmp byte [rdi + 0xc0], 0
jne 0x140005e95
mov r8d, 0x10
lea rdx, [0x14004bc90]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, 0x10
jne 0x140005c82
mov rcx, qword [0x14004b138]
cmp rcx, r15
je 0x140005e95
test byte [rcx + 0x1c], 1
je 0x140005e95
cmp byte [rcx + 0x19], 2
jb 0x140005e95
lea edx, [rax + 0x3a]
lea r8, str.__9_gU0
mov rcx, qword [rcx + 0x10]
call fcn.1400016b4
jmp 0x140005e95
mov ecx, 0x6d0
call fcn.14003ea30
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140005ca6
mov rdx, rdi
mov rcx, rax
call fcn.14000bb3c
mov rbx, rax
jmp 0x140005ca8
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.14000c4f8
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x140005d29
mov rcx, qword [0x14004b138]
cmp rcx, r15
je 0x140005d04
test byte [rcx + 0x1c], 1
je 0x140005d04
cmp byte [rcx + 0x19], 2
jb 0x140005d04
mov edx, 0x4b
mov r9d, eax
lea r8, str.__9_gU0
mov rcx, qword [rcx + 0x10]
call fcn.1400014d0
nop
test rbx, rbx
je 0x140005d1a
mov rcx, rbx
call fcn.14000c094
mov rcx, rbx
call fcn.14003ea18
nop
lea rcx, [rsp + 0x38]
call fcn.140008aa4
jmp 0x140005e9f
lea rax, [rdi + 0xe0]
mov rcx, qword [rax + 8]
cmp qword [rcx], rax
je 0x140005d40
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.1400078cc
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.140007aa8
cmp dword [0x14004b0a0], 5
jbe 0x140005e63
movabs rdx, 0x200000000000
test qword [0x14004b0b0], rdx
je 0x140005e63
mov rax, qword [0x14004b0b8]
and rax, rdx
cmp rax, qword [0x14004b0b8]
jne 0x140005e63
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, [0x140045089]
call fcn.1400010d0
nop
mov rcx, qword [0x14004b138]
cmp rcx, r15
je 0x140005e95
test byte [rcx + 0x1c], 1
je 0x140005e95
cmp byte [rcx + 0x19], 4
jb 0x140005e95
mov edx, 0x4e
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140004034
jmp 0x140005e95
lea rcx, [rsp + 0x38]
call fcn.140008aa4
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14003ee40
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r15
pop rdi
pop rsi
ret