Function at 0x10028060
Capabilities:
Get disk size

Disassembly:
sub esp, 0x248
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
push edi
push str.BOOL_CSTDisk::Open__
mov esi, ecx
call fcn.10030090
push eax
call fcn.10030100
add esp, 8
mov ecx, esi
call fcn.10027fb0
mov eax, dword [esi + 8]
push eax
push str.Disk:__d
call fcn.10030090
push eax
call fcn.1002f970
mov ecx, dword [esi + 8]
push ecx
push str..PHYSICALDRIVE_i
lea edx, [esp + 0x5c]
push 0x104
push edx
call fcn.10003980
add esp, 0x1c
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x50], eax
jne 0x1002813a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
call edi
mov ecx, dword [esi + 8]
push eax
push ecx
push str.Cannot_open_disk__d____u___8.8X_
call fcn.10030090
push eax
call fcn.1002fa60
add esp, 0x14
call edi
push eax
lea ecx, [esi + 0x74]
call fcn.1002f510
push ebx
call fcn.10030090
mov ecx, eax
call fcn.1002fcb0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.1003c13d
add esp, 0x248
ret
cmp dword [esi + 0x70], ebx
push ebp
je 0x10028224
call fcn.1002b490
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x1002821d
mov ecx, dword [esi + 8]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, eax
call edx
cmp eax, ebx
jne 0x10028214
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x34]
push edx
call eax
cmp eax, ebx
jne 0x100281f3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esi + 0x48], eax
mov ebp, ebx
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x34]
mov eax, ebp
push eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov ebx, dword [esi + 0x38]
push ebx
mov dword [esi + 0x40], edx
mov edx, dword [esp + 0x40]
mov edi, dword [esi + 0x40]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x48]
push eax
push ecx
mov dword [esi + 0x54], 0xc
mov dword [esi + 0x24], edx
call fcn.1003db20
push ebp
push edi
push edx
push eax
call fcn.1003db20
push ebp
mov dword [esi + 0x28], eax
push edi
mov eax, ebp
push eax
push ebx
mov dword [esi + 0x2c], edx
call fcn.1003db20
push 0
lea ecx, [esi + 0x74]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
call fcn.1002f510
jmp 0x10028353
push eax
push eax
push str.Cannot_retrieve_VDS_Disk_properties___u____8.8X_
call fcn.10030090
push eax
call fcn.1002f970
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 0x10
call eax
jmp 0x10028237
push eax
push eax
push str.Cannot_open_VDS___u____8.8X
jmp 0x100281fa
push str.Cannot_get_ISTVdsDisk_interface
jmp 0x10028229
push str.Not_use_VDS
call fcn.10030090
push eax
call fcn.1002f970
add esp, 8
mov eax, dword [esi + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
lea ecx, [esp + 0x14]
push ecx
push 0x18
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push 0x70000
push eax
mov dword [esi + 0x5c], ebx
call edi
test eax, eax
jne 0x1002828e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
call edi
push eax
push str.Cannot_Get_Disk_geometry____u___8.8X_
call fcn.10030090
push eax
call fcn.1002fa60
add esp, 0x10
call edi
push eax
lea ecx, [esi + 0x74]
call fcn.1002f510
push ebx
jmp 0x10028355
mov eax, dword [esp + 0x28]
mul dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push edx
push eax
call fcn.1003db20
mov ecx, dword [esi + 0x50]
push ebx
mov dword [esi + 0x2c], edx
lea edx, [esp + 0x14]
push edx
push 8
mov dword [esi + 0x28], eax
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push 0x7405c
push ecx
call edi
test eax, eax
jne 0x100282e3
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
call fcn.1003db20
mov dword [esi + 0x24], edx
jmp 0x100282ee
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x24], ecx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
push ebx
mov dword [esi + 0x20], eax
push edi
xor eax, eax
push eax
push ebp
mov dword [esi + 0x54], edx
call fcn.1003db20
mov dword [esi + 0x30], eax
xor eax, eax
mov ecx, edx
push ecx
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x34], edx
mov edx, dword [esi + 0x30]
push edx
mov edx, dword [esi + 0x24]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x20]
push ecx
push edx
push eax
push str.DiskSize:__I64u___MinPart:__I64u___StartPart:__I64u
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebp
mov dword [esi + 0x4c], ebx
call fcn.10030090
push eax
call fcn.1002f970
add esp, 0x20
push 1
call fcn.10030090
mov ecx, eax
call fcn.1002fcb0
mov ecx, dword [esp + 0x254]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003c13d
add esp, 0x248
ret