Function at 0x14001f5c0
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, rcx
xor edx, edx
mov r8d, ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
lea rcx, [rsp + 0x70]
call sub.MSVCR90.dll_memset
mov dword [rsp + 0x70], ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, eax
test eax, eax
jne 0x14001f637
mov dword [rsp + 0x70], ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14001fb49
mov ecx, dword [rsp + 0x80]
test ecx, ecx
je 0x14001fb35
sub ecx, 1
je 0x14001facd
cmp ecx, 1
jne 0x14001fb49
cmp dword [rsp + 0x74], 6
jne 0x14001f75a
cmp dword [rsp + 0x78], ecx
jne 0x14001f6b9
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_7
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.6.1.0
lea rcx, [rsp + 0x58]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
cmp dword [rsp + 0x74], 6
jne 0x14001f75a
cmp dword [rsp + 0x78], 0
jne 0x14001f91e
cmp byte [rsp + reloc.mfc90u.dll_CEnumArray::CEnumArray], 1
jne 0x14001f715
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_Vista
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.6.0.3
lea rcx, [rsp + 0x30]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x14001f75a
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_Server_2008
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.6.0.1
lea rcx, [rsp + 0x50]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
cmp dword [rsp + 0x74], 5
jne 0x14001f8d2
cmp dword [rsp + 0x78], 2
jne 0x14001f811
cmp byte [rsp + reloc.mfc90u.dll_CEnumArray::CEnumArray], 1
jne 0x14001f7c1
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_XP
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.5.2.0
lea rcx, [rsp + 0x40]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
jmp 0x14001f806
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_Server_2003
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.5.2.3
lea rcx, [rsp + 0x20]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
cmp dword [rsp + 0x74], 5
jne 0x14001f8d2
cmp dword [rsp + 0x78], 1
jne 0x14001f882
lea rdx, str.Microsoft_Windows_XP
lea rcx, [rbx + 0x1018]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.5.1.1
lea rcx, [rsp + 0x28]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
test byte [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], 0x40
je 0x14001f87b
lea rdx, str._Embedded
lea rcx, [rbx + 0x1018]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
cmp dword [rsp + 0x74], 5
jne 0x14001f8d2
cmp dword [rsp + 0x78], 0
jne 0x14001f91e
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_2000
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.5.0.1
lea rcx, [rsp + 0x38]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
cmp dword [rsp + 0x74], 4
ja 0x14001f91e
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_NT
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
lea rdx, str.4.0.1
lea rcx, [rsp + 0x48]
call qword [0x1403f4480]
nop
lea rcx, [rbx + 0x1008]
lea rdx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
test esi, esi
je 0x14001facd
movzx eax, byte [rsp + reloc.mfc90u.dll_CEnumArray::CEnumArray]
cmp al, 1
jne 0x14001f993
cmp dword [rsp + 0x74], 4
jne 0x14001f952
lea rcx, [rbx + 0x1018]
lea rdx, str._Workstation_4.0
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
mov eax, reloc.mfc90u.dll_COleStreamFile::COleStreamFile
test word [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], ax
je 0x14001f97a
lea rcx, [rbx + 0x1018]
lea rdx, str._Home_Edition
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
lea rcx, [rbx + 0x1018]
lea rdx, str._Professional
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
cmp al, 3
je 0x14001f99f
cmp al, 2
jne 0x14001facd
cmp dword [rsp + 0x74], 5
jne 0x14001fa99
cmp dword [rsp + 0x78], 2
jne 0x14001fa3c
test byte [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], 0x80
je 0x14001f9d8
lea rcx, [rbx + 0x1018]
lea rdx, str._Datacenter_Edition
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
test byte [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], 2
je 0x14001f9fb
lea rcx, [rbx + 0x1018]
lea rdx, str._Enterprise_Edition
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
mov eax, reloc.mfc90u.dll_CDHtmlControlSink::AddRef
cmp word [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], ax
jne 0x14001fa23
lea rcx, [rbx + 0x1018]
lea rdx, str._Web_Edition
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
lea rcx, [rbx + 0x1018]
lea rdx, str._Standard_Edition
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
cmp dword [rsp + 0x78], 0
jne 0x14001fa99
test byte [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], 0x80
je 0x14001fa63
lea rcx, [rbx + 0x1018]
lea rdx, str._Datacenter_Server
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
test byte [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], 2
je 0x14001fa83
lea rcx, [rbx + 0x1018]
lea rdx, str._Advanced_Server
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
lea rcx, [rbx + 0x1018]
lea rdx, str._Server
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
test byte [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], 2
je 0x14001fab9
lea rcx, [rbx + 0x1018]
lea rdx, str._Server_4.0__Enterprise_Edition_
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001facd
lea rcx, [rbx + 0x1018]
lea rdx, str._Server_4.0_
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
cmp dword [rsp + 0x74], 4
jne 0x14001fb49
cmp dword [rsp + 0x78], 0
jne 0x14001faf6
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_95
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
cmp dword [rsp + 0x74], 4
jne 0x14001fb49
cmp dword [rsp + 0x78], 0xa
jne 0x14001fb18
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_98
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
cmp dword [rsp + 0x74], 4
jne 0x14001fb49
cmp dword [rsp + 0x78], 0x5a
jne 0x14001fb49
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Windows_Millennium_Edition
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
jmp 0x14001fb49
lea rcx, [rbx + 0x1018]
lea rdx, str.Microsoft_Win32s_r_n
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1403addc0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret