Function at 0x4260d0
Capabilities:
Check os version

Disassembly:
mov eax, 0x21a0
call sub.ntdll.dll__chkstk
mov eax, dword [0x4e9028]
xor eax, esp
mov dword [esp + 0x219c], eax
mov eax, dword [esp + 0x21a4]
push ebx
push ebp
push esi
push edi
push 4
mov dword [esp + 0x24], eax
call sub.MFC80U.DLL_Ordinal_762
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x426115
mov ebx, eax
mov dword [eax], vtable.CSymLink.0
mov dword [esp + 0x18], ebx
jmp 0x42611b
mov dword [esp + 0x18], ebp
mov ebx, ebp
push 0xffe
lea ecx, [esp + 0x1ae]
push ebp
push ecx
mov word [esp + 0x1b4], bp
call sub.ntdll.dll_memset
mov ecx, dword [0x4dbf78]
mov edx, dword [str.Device]
mov eax, dword [0x4dbf74]
add esp, 0xc
mov dword [esp + 0x148], ecx
mov dword [esp + 0x140], edx
mov edx, dword [0x4dbf7c]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x150], edx
push 0x800
lea edx, [esp + 0x1b0]
push edx
mov dword [esp + 0x150], eax
mov eax, dword [ebx]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x14c]
push ecx
mov ecx, ebx
mov dword [esp + 0x24], ebp
call edx
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x426207
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push esi
mov ecx, ebx
call edx
mov eax, 1
test byte [0x4f1904], al
jne 0x4261d8
or dword [0x4f1904], eax
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], esi
call fcn.00462d9a
add esp, 4
mov esi, dword [0x4f18dc]
push 0x91
add esi, 8
call fcn.00425c30
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_ISymLink.QueryFirstDirectoryItem.
push 0x4f18dc
call eax
add esp, 0xc
xor eax, eax
jmp 0x426512
push 0xe
lea ecx, [esp + 0x1ac]
push str.HarddiskVolume
push ecx
call dword [sym.imp.ntdll.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x426319
lea eax, [esp + 0x1a8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x426231
sub eax, edx
sar eax, 1
cmp eax, 0x12
jae 0x426319
push 0xffe
lea edx, [esp + 0x11ae]
push ebp
push edx
mov word [esp + 0x11b4], bp
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x11b0]
push str._s_s
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x10
lea ecx, [esp + 0x11a8]
call fcn.004268d0
test eax, eax
je 0x426319
push 0x6ac
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
push 0x6ac
mov esi, eax
push ebp
push esi
mov dword [esp + 0x30], esi
call sub.ntdll.dll_memset
lea eax, [esp + 0x11b4]
lea edi, [esi + 0x90]
mov edx, edi
mov ecx, eax
add esp, 0xc
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x4262d6
sub esi, edi
mov eax, edi
lea edx, [esi + 0x298]
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x4262f0
mov esi, dword [esp + 0x20]
add esi, 4
lea ebx, [esp + 0x24]
call fcn.00427980
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
xor ebp, ebp
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push esi
lea eax, [esp + 0x18]
push eax
push 0x800
lea ecx, [esp + 0x1b4]
push ecx
mov ecx, ebx
call edx
test eax, eax
jne 0x426207
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push esi
mov ecx, ebx
call edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x2c], 6
jae 0x42650d
push 0xffe
lea ecx, [esp + 0x1ae]
push ebp
push ecx
mov word [esp + 0x1b4], bp
call sub.ntdll.dll_memset
mov edx, dword [ebx]
mov edx, dword [edx + 8]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, 0x16
mov esi, str.DeviceHarddiskDmVolumesPhysicalDmVolumes
lea edi, [esp + 0x154]
rep movsd dword es:[edi], dword [esi]
push 0x800
lea ecx, [esp + 0x1b0]
push ecx
lea eax, [esp + 0x15c]
push eax
mov ecx, ebx
mov dword [esp + 0x24], ebp
call edx
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x426400
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push ebp
mov ecx, ebx
call edx
call fcn.0041e870
mov edi, eax
mov esi, dword [edi]
push 0xbf
add esi, 8
call fcn.00425c30
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 0x426512
push 0xb
lea ecx, [esp + 0x1ac]
push str.BlockVolume
push ecx
call dword [sym.imp.ntdll.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4264df
push 0xffe
push eax
lea edx, [esp + 0x11b2]
push edx
mov word [esp + 0x11b4], ax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x11b0]
push str._s_s
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x10
lea ecx, [esp + 0x11a8]
call fcn.004268d0
test eax, eax
je 0x4264df
push 0x6ac
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
push 0x6ac
mov edi, eax
push 0
push edi
mov dword [esp + 0x28], edi
call sub.ntdll.dll_memset
lea eax, [esp + 0x11b4]
lea ecx, [edi + 0x90]
mov esi, ecx
mov edx, eax
add esp, 0xc
sub esi, edx
lea ebx, [ebx]
movzx edx, word [eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x4264b0
add edi, 0x298
push edi
call fcn.00426530
mov esi, dword [esp + 0x20]
add esi, 4
lea ebx, [esp + 0x1c]
call fcn.00427980
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push ebp
lea ecx, [esp + 0x18]
push ecx
push 0x800
lea edx, [esp + 0x1b4]
push edx
mov ecx, ebx
call eax
test eax, eax
jne 0x426400
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
push ebp
mov ecx, ebx
call eax
mov eax, 1
mov ecx, dword [esp + 0x21ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00462b77
add esp, 0x21a0
ret 4