Function at 0x10029ab0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10048024]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.10028f50
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10029b8e
mov word [ebp - 0x60], 0
push 0x3e
push 0
lea ecx, [ebp - 0x5e]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0x1003d604
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10029b8e
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x36a
push 0x1003d62c
call fcn.10026ad0
add esp, 8
push eax
push str._s:_Failed_to_get_partition_number:_index:__d__start_sec:__I64d.
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0x18
xor eax, eax
jmp 0x10029eca
mov dword [ebp - 0x18], 0x4028
mov eax, dword [ebp - 0x18]
push eax
call fcn.1000f66d
add esp, 4
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x7400c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10029d98
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [ebp - 0x18], 0x40c0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1000f66d
add esp, 4
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x68]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0
push 0
push 0x70050
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
jne 0x10029cc4
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xa0], eax
push 0x393
push 0x1003d67c
call fcn.10026ad0
add esp, 8
push eax
push 0x1003d688
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
add esp, 0xc
xor eax, eax
jmp 0x10029eca
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], 0
jmp 0x10029cdc
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax + 4]
jae 0x10029d40
mov edx, dword [ebp - 0x6c]
imul edx, edx, 0x90
mov eax, dword [ebp - 0x64]
lea ecx, [eax + edx + 0x30]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push 0
push 0x200
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
call sub.ntdll.dll__alldiv
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xa8]
cmp edx, dword [ebp + 0x10]
jne 0x10029d3e
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp + 0x14]
jne 0x10029d3e
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x10], edx
jmp 0x10029d40
jmp 0x10029cd3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10029d8e
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x50]
call edx
jmp 0x10029eca
mov eax, 1
jmp 0x10029eca
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
jne 0x10029e01
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xac], eax
push 0x3b2
push 0x1003d6b8
call fcn.10026ad0
add esp, 8
push eax
push 0x1003d6c4
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
add esp, 0xc
xor eax, eax
jmp 0x10029eca
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x74], 0
jmp 0x10029e19
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
jae 0x10029e7a
mov edx, dword [ebp - 0x74]
shl edx, 5
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 8]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push 0
push 0x200
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
call sub.ntdll.dll__alldiv
xor edx, edx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp + 0x10]
jne 0x10029e78
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp + 0x14]
jne 0x10029e78
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x10029e7a
jmp 0x10029e10
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10029ec5
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x98]
mov eax, dword [edx + 0x50]
call eax
jmp 0x10029eca
mov eax, 1
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1000f672
mov esp, ebp
pop ebp
ret 0x10