Function at 0x4219a0
Capabilities:
Check os version

Disassembly:
mov eax, 0x17ac
call sub.ntdll.dll__chkstk
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x17a4], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
mov dword [esp + 0x18], esi
call sub.MFC80U.DLL_Ordinal_762
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x4219dc
mov dword [eax], vtable.CSymLink.0
mov ebx, eax
jmp 0x4219de
xor ebx, ebx
push 0xffe
lea eax, [esp + 0x7b6]
push ebp
push eax
mov word [esp + 0x7bc], bp
call sub.ntdll.dll_memset
mov eax, dword [0x4e7db0]
mov ecx, dword [str.Device]
mov edx, dword [0x4e7dac]
add esp, 0xc
mov dword [esp + 0x748], ecx
mov ecx, dword [0x4e7db4]
mov dword [esp + 0x750], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x758], ecx
push 0x800
mov dword [esp + 0x754], edx
mov edx, dword [ebx]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x7b8]
push ecx
lea eax, [esp + 0x754]
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebp
call edx
mov edi, eax
cmp edi, 0xffffffff
jne 0x421ae0
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
mov eax, 1
test byte [0x503544], al
jne 0x421aa3
or dword [0x503544], eax
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], edi
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0xaf
mov ecx, str..dyndisk.cpp
add esi, 8
call fcn.00421290
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_ISymLink.QueryFirstDirectoryItem.
push 0x503520
call eax
add esp, 0xc
xor eax, eax
jmp 0x421d47
push 0xe
lea ecx, [esp + 0x7b4]
push str.HarddiskVolume
push ecx
call dword [sym.imp.ntdll.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x421b8e
lea eax, [esp + 0x7b0]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x421b10
sub eax, edx
sar eax, 1
cmp eax, 0x12
jae 0x421b8e
push 0x618
lea edx, [esp + 0x134]
push ebp
push edx
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x7b0]
push eax
lea ecx, [esp + 0x74c]
push ecx
lea edx, [esp + 0x138]
push str._s_s
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x10
lea eax, [esp + 0x130]
jmp 0x421b70
movzx ecx, word [eax]
mov word [eax + 0x208], cx
add eax, 2
cmp cx, bp
jne 0x421b70
lea eax, [esp + 0x130]
call fcn.004234d0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push edi
lea ecx, [esp + 0x14]
push ecx
push 0x800
lea edx, [esp + 0x7bc]
push edx
mov ecx, ebx
call eax
test eax, eax
jne 0x421ae0
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
push edi
mov ecx, ebx
call eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x1c], 6
jb 0x421be3
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
jmp 0x421d42
push 0xffe
lea ecx, [esp + 0x7b6]
push ebp
push ecx
mov word [esp + 0x7bc], bp
call sub.ntdll.dll_memset
mov edx, dword [ebx]
mov edx, dword [edx + 8]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov ecx, 0x16
mov esi, str.DeviceHarddiskDmVolumesPhysicalDmVolumes
lea edi, [esp + 0x75c]
rep movsd dword es:[edi], dword [esi]
push 0x800
lea ecx, [esp + 0x7b8]
push ecx
lea eax, [esp + 0x764]
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebp
call edx
mov edi, eax
cmp edi, 0xffffffff
jne 0x421c90
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0xd8
mov ecx, str..dyndisk.cpp
add esi, 8
call fcn.00421290
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_ISymLink.QueryFirstDirectoryItem.
push edi
call eax
add esp, 0xc
xor eax, eax
jmp 0x421d47
push 0xb
lea ecx, [esp + 0x7b4]
push str.BlockVolume
push ecx
call dword [sym.imp.ntdll.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x421d0c
push 0x618
lea edx, [esp + 0x134]
push ebp
push edx
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x7b0]
push eax
lea ecx, [esp + 0x75c]
push ecx
lea edx, [esp + 0x138]
push str._s_s
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x10
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x33c]
call fcn.00422ac0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x130]
call fcn.004234d0
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push edi
lea eax, [esp + 0x14]
push eax
push 0x800
lea ecx, [esp + 0x7bc]
push ecx
mov ecx, ebx
call edx
test eax, eax
jne 0x421c90
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
mov eax, 1
mov ecx, dword [esp + 0x17b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046d6fd
add esp, 0x17ac
ret