Function at 0x14003c840
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x1400b4010]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rbx, rcx
mov qword [rbp + 0x408], rcx
xor edi, edi
mov dword [rbp - 0x78], edi
lea r8, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp + 0x3b0], r8
lea rsi, vtable.CVolObject.0
mov qword [rbp + 0x3b0], rsi
mov qword [rbp + 0x3b8], rdi
mov qword [rbp + 0x3c0], rdi
lea rdx, vtable.CWString.0
mov qword [rbp + 0x3b0], rdx
lea rax, [rbp + 0x3d0]
mov qword [rbp + 0x410], rax
mov qword [rbp + 0x3d0], r8
mov qword [rbp + 0x3d0], rsi
mov qword [rbp + 0x3d8], rdi
mov qword [rbp + 0x3e0], rdi
lea r14, vtable.CVolMem.0
mov qword [rbp + 0x3d0], r14
mov qword [rbp + 0x3e8], rdi
mov qword [rbp + 0x3f8], rdi
mov qword [rbp + 0x3f0], rdi
mov qword [rbp + 0x400], 0x40
mov qword [rbp + 0x3c8], rdi
mov qword [rbp + 0x400], 0xfe
lea rcx, vtable.CWConstString.0
mov qword [rbp + 0x3b0], rcx
lea rax, str.Windows_Vista
mov qword [rbp + 0x3c8], rax
mov qword [rbp + 0x358], r8
mov qword [rbp + 0x358], rsi
mov qword [rbp + 0x360], rdi
mov qword [rbp + 0x368], rdi
mov qword [rbp + 0x358], rdx
lea rax, [rbp + 0x378]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x378], r8
mov qword [rbp + 0x378], rsi
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], rdi
mov qword [rbp + 0x378], r14
mov qword [rbp + 0x390], rdi
mov qword [rbp + 0x3a0], rdi
mov qword [rbp + 0x398], rdi
mov qword [rbp + 0x3a8], 0x40
mov qword [rbp + 0x370], rdi
mov qword [rbp + 0x3a8], 0xfe
mov qword [rbp + 0x358], rcx
lea rax, str.Windows_Server_2008
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x300], r8
mov qword [rbp + 0x300], rsi
mov qword [rbp + 0x308], rdi
mov qword [rbp + 0x310], rdi
mov qword [rbp + 0x300], rdx
lea rax, [rbp + 0x320]
mov qword [rbp + 0x420], rax
mov qword [rbp + 0x320], r8
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x328], rdi
mov qword [rbp + 0x330], rdi
mov qword [rbp + 0x320], r14
mov qword [rbp + 0x338], rdi
mov qword [rbp + 0x348], rdi
mov qword [rbp + 0x340], rdi
mov qword [rbp + 0x350], 0x40
mov qword [rbp + 0x318], rdi
mov qword [rbp + 0x350], 0xfe
mov qword [rbp + 0x300], rcx
lea rax, str.Windows_Server_2008_R2
mov qword [rbp + 0x318], rax
mov qword [rbp + 0x2a8], r8
mov qword [rbp + 0x2a8], rsi
mov qword [rbp + 0x2b0], rdi
mov qword [rbp + 0x2b8], rdi
mov qword [rbp + 0x2a8], rdx
lea rax, [rbp + 0x2c8]
mov qword [rbp + 0x428], rax
mov qword [rbp + 0x2c8], r8
mov qword [rbp + 0x2c8], rsi
mov qword [rbp + 0x2d0], rdi
mov qword [rbp + 0x2d8], rdi
mov qword [rbp + 0x2c8], r14
mov qword [rbp + 0x2e0], rdi
mov qword [rbp + 0x2f0], rdi
mov qword [rbp + 0x2e8], rdi
mov qword [rbp + 0x2f8], 0x40
mov qword [rbp + 0x2c0], rdi
mov qword [rbp + 0x2f8], 0xfe
mov qword [rbp + 0x2a8], rcx
lea rax, str.Windows_7
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x250], r8
mov qword [rbp + 0x250], rsi
mov qword [rbp + 0x258], rdi
mov qword [rbp + 0x260], rdi
mov qword [rbp + 0x250], rdx
lea rax, [rbp + 0x270]
mov qword [rbp + 0x430], rax
mov qword [rbp + 0x270], r8
mov qword [rbp + 0x270], rsi
mov qword [rbp + 0x278], rdi
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x270], r14
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x298], rdi
mov qword [rbp + 0x290], rdi
mov qword [rbp + 0x2a0], 0x40
mov qword [rbp + 0x268], rdi
mov qword [rbp + 0x2a0], 0xfe
mov qword [rbp + 0x250], rcx
lea rax, str.Windows_Server_2012
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x1f8], r8
mov qword [rbp + 0x1f8], rsi
mov qword [rbp + 0x200], rdi
mov qword [rbp + 0x208], rdi
mov qword [rbp + 0x1f8], rdx
lea rax, [rbp + 0x218]
mov qword [rbp + 0x438], rax
mov qword [rbp + 0x218], r8
mov qword [rbp + 0x218], rsi
mov qword [rbp + 0x220], rdi
mov qword [rbp + 0x228], rdi
mov qword [rbp + 0x218], r14
mov qword [rbp + 0x230], rdi
mov qword [rbp + 0x240], rdi
mov qword [rbp + 0x238], rdi
mov qword [rbp + 0x248], 0x40
mov qword [rbp + 0x210], rdi
mov qword [rbp + 0x248], 0xfe
mov qword [rbp + 0x1f8], rcx
lea rax, str.Windows_8
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x1a0], r8
mov qword [rbp + 0x1a0], rsi
mov qword [rbp + 0x1a8], rdi
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1a0], rdx
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x440], rax
mov qword [rbp + 0x1c0], r8
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1c8], rdi
mov qword [rbp + 0x1d0], rdi
mov qword [rbp + 0x1c0], r14
mov qword [rbp + 0x1d8], rdi
mov qword [rbp + 0x1e8], rdi
mov qword [rbp + 0x1e0], rdi
mov qword [rbp + 0x1f0], 0x40
mov qword [rbp + 0x1b8], rdi
mov qword [rbp + 0x1f0], 0xfe
mov qword [rbp + 0x1a0], rcx
lea rax, str.Windows_2012_R2
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x148], r8
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], rdi
mov qword [rbp + 0x148], rdx
lea rax, [rbp + 0x168]
mov qword [rbp + 0x448], rax
mov qword [rbp + 0x168], r8
mov qword [rbp + 0x168], rsi
mov qword [rbp + 0x170], rdi
mov qword [rbp + 0x178], rdi
mov qword [rbp + 0x168], r14
mov qword [rbp + 0x180], rdi
mov qword [rbp + 0x190], rdi
mov qword [rbp + 0x188], rdi
mov qword [rbp + 0x198], 0x40
mov qword [rbp + 0x160], rdi
mov qword [rbp + 0x198], 0xfe
mov qword [rbp + 0x148], rcx
lea rax, str.Windows_8.1
mov qword [rbp + 0x160], rax
mov qword [rbp + 0xf0], r8
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0xf0], rdx
lea rax, [rbp + 0x110]
mov qword [rbp + 0x450], rax
mov qword [rbp + 0x110], r8
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x110], r14
mov qword [rbp + 0x128], rdi
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x140], 0x40
mov qword [rbp + 0x108], rdi
mov qword [rbp + 0x140], 0xfe
mov qword [rbp + 0xf0], rcx
lea rax, str.Windows_Server_2016
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x98], r8
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0x98], rdx
lea rax, [rbp + 0xb8]
mov qword [rbp + 0x458], rax
mov qword [rbp + 0xb8], r8
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xb8], r14
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe8], 0x40
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xe8], 0xfe
mov qword [rbp + 0x98], rcx
lea rax, str.Windows_10
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x40], rdx
lea rax, [rbp + 0x60]
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x90], 0x40
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x90], 0xfe
mov qword [rbp + 0x40], rcx
lea rax, str.Windows_XP
mov qword [rbp + 0x58], rax
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp - 0x18], rdx
lea rax, [rbp + 8]
mov qword [rbp + 0x468], rax
mov qword [rbp + 8], r8
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 8], r14
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x38], 0x40
mov qword [rbp], rdi
mov qword [rbp + 0x38], 0xfe
mov qword [rbp - 0x18], rcx
lea rax, str.Windows_98
mov qword [rbp], rax
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x70], rdx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], 0x40
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x20], 0xfe
mov qword [rbp - 0x70], rcx
lea rax, str.Windows_32S
mov qword [rbp - 0x58], rax
mov dword [rbp + 0x470], 0x11c
lea rcx, [rbp + 0x470]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp + 0x474]
cmp eax, 0xa
jne 0x14003d01c
cmp dword [rbp + 0x478], edi
jne 0x14003d085
mov ecx, edi
cmp byte [rbp + 0x58a], 1
setne cl
add rcx, 5
jmp 0x14003d0ad
cmp eax, 6
jne 0x14003d085
mov eax, dword [rbp + 0x478]
cmp eax, 3
jne 0x14003d03f
mov rcx, rdi
cmp byte [rbp + 0x58a], 1
setne cl
add rcx, 7
jmp 0x14003d0ad
cmp eax, 2
jne 0x14003d057
mov rcx, rdi
cmp byte [rbp + 0x58a], 1
setne cl
add rcx, 9
jmp 0x14003d0ad
cmp eax, 1
jne 0x14003d06e
mov rcx, rdi
cmp byte [rbp + 0x58a], al
setne cl
add rcx, 0xb
jmp 0x14003d0ad
test eax, eax
jne 0x14003d085
mov rcx, rdi
cmp byte [rbp + 0x58a], 1
sete cl
add rcx, 0xd
jmp 0x14003d0ad
mov eax, dword [rbp + 0x480]
test eax, eax
jne 0x14003d094
lea ecx, [rax + 1]
jmp 0x14003d0ad
cmp eax, 1
jne 0x14003d09e
lea ecx, [rax + 1]
jmp 0x14003d0ad
mov rcx, rdi
mov edx, 3
cmp eax, 2
cmove rcx, rdx
add rcx, 0xfffffffffffffffe
lea rax, [rbp + 0x3b0]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x358]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x300]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x2a8]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x250]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x148]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x70]
mov edx, 0xd
call fcn.140042c70
mov rdx, rax
mov rcx, rbx
call fcn.140001970
mov dword [rbp - 0x78], 1
lea rax, [rbp - 0x50]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x50], r14
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x14003d176
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 0x18]
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x70], rsi
lea rax, [rbp + 8]
mov qword [rbp - 0x80], rax
mov qword [rbp + 8], r14
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x14003d1aa
lea rcx, [rbp + 8]
mov rax, qword [rbp + 8]
call qword [rax + 0x18]
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 8], rsi
mov qword [rbp - 0x18], rsi
lea rax, [rbp + 0x60]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x60], r14
mov rdx, qword [rbp + 0x78]
test rdx, rdx
je 0x14003d1de
lea rcx, [rbp + 0x60]
mov rax, qword [rbp + 0x60]
call qword [rax + 0x18]
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x40], rsi
lea rax, [rbp + 0xb8]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0xb8], r14
mov rdx, qword [rbp + 0xd0]
test rdx, rdx
je 0x14003d227
lea rcx, [rbp + 0xb8]
mov rax, qword [rbp + 0xb8]
call qword [rax + 0x18]
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0x98], rsi
lea rax, [rbp + 0x110]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x110], r14
mov rdx, qword [rbp + 0x128]
test rdx, rdx
je 0x14003d279
lea rcx, [rbp + 0x110]
mov rax, qword [rbp + 0x110]
call qword [rax + 0x18]
mov qword [rbp + 0x128], rdi
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0xf0], rsi
lea rax, [rbp + 0x168]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x168], r14
mov rdx, qword [rbp + 0x180]
test rdx, rdx
je 0x14003d2cb
lea rcx, [rbp + 0x168]
mov rax, qword [rbp + 0x168]
call qword [rax + 0x18]
mov qword [rbp + 0x180], rdi
mov qword [rbp + 0x190], rdi
mov qword [rbp + 0x188], rdi
mov qword [rbp + 0x168], rsi
mov qword [rbp + 0x148], rsi
lea rax, [rbp + 0x1c0]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x1c0], r14
mov rdx, qword [rbp + 0x1d8]
test rdx, rdx
je 0x14003d31d
lea rcx, [rbp + 0x1c0]
mov rax, qword [rbp + 0x1c0]
call qword [rax + 0x18]
mov qword [rbp + 0x1d8], rdi
mov qword [rbp + 0x1e8], rdi
mov qword [rbp + 0x1e0], rdi
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1a0], rsi
lea rax, [rbp + 0x218]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x218], r14
mov rdx, qword [rbp + 0x230]
test rdx, rdx
je 0x14003d36f
lea rcx, [rbp + 0x218]
mov rax, qword [rbp + 0x218]
call qword [rax + 0x18]
mov qword [rbp + 0x230], rdi
mov qword [rbp + 0x240], rdi
mov qword [rbp + 0x238], rdi
mov qword [rbp + 0x218], rsi
mov qword [rbp + 0x1f8], rsi
lea rax, [rbp + 0x270]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x270], r14
mov rdx, qword [rbp + 0x288]
test rdx, rdx
je 0x14003d3c1
lea rcx, [rbp + 0x270]
mov rax, qword [rbp + 0x270]
call qword [rax + 0x18]
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x298], rdi
mov qword [rbp + 0x290], rdi
mov qword [rbp + 0x270], rsi
mov qword [rbp + 0x250], rsi
lea rax, [rbp + 0x2c8]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x2c8], r14
mov rdx, qword [rbp + 0x2e0]
test rdx, rdx
je 0x14003d413
lea rcx, [rbp + 0x2c8]
mov rax, qword [rbp + 0x2c8]
call qword [rax + 0x18]
mov qword [rbp + 0x2e0], rdi
mov qword [rbp + 0x2f0], rdi
mov qword [rbp + 0x2e8], rdi
mov qword [rbp + 0x2c8], rsi
mov qword [rbp + 0x2a8], rsi
lea rax, [rbp + 0x320]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x320], r14
mov rdx, qword [rbp + 0x338]
test rdx, rdx
je 0x14003d465
lea rcx, [rbp + 0x320]
mov rax, qword [rbp + 0x320]
call qword [rax + 0x18]
mov qword [rbp + 0x338], rdi
mov qword [rbp + 0x348], rdi
mov qword [rbp + 0x340], rdi
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x300], rsi
lea rax, [rbp + 0x378]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x378], r14
mov rdx, qword [rbp + 0x390]
test rdx, rdx
je 0x14003d4b7
lea rcx, [rbp + 0x378]
mov rax, qword [rbp + 0x378]
call qword [rax + 0x18]
mov qword [rbp + 0x390], rdi
mov qword [rbp + 0x3a0], rdi
mov qword [rbp + 0x398], rdi
mov qword [rbp + 0x378], rsi
mov qword [rbp + 0x358], rsi
lea rax, [rbp + 0x3d0]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x3d0], r14
mov rdx, qword [rbp + 0x3e8]
test rdx, rdx
je 0x14003d50a
lea rcx, [rbp + 0x3d0]
mov r8, qword [rbp + 0x3d0]
call qword [r8 + 0x18]
mov qword [rbp + 0x3e8], rdi
mov qword [rbp + 0x3f8], rdi
mov qword [rbp + 0x3f0], rdi
mov qword [rbp + 0x3d0], rsi
mov qword [rbp + 0x3b0], rsi
mov rax, rbx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140063fb0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret