Function at 0x100ebff
Capabilities:
Get disk information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0x7a
mov ebx, 0x300
cmp dword [ebp - 4], 0x7a
je 0x100ec2d
cmp dword [ebp - 4], 0x18
jne 0x100ec94
push ebx
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x100ec7c
push edi
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push edi
push edi
push 0x70050
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100ec88
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0xc], edi
add ebx, 0x900
jmp 0x100ec21
mov dword [ebp - 4], 0x7a
jmp 0x100eddc
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100ec91
mov dword [eax], ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
je 0x100eddc
cmp dword [ebp - 4], 0x18
je 0x100eddc
push 0x7a
pop eax
cmp dword [ebp - 4], eax
je 0x100eddc
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], 0xa8
cmp dword [ebp - 4], 0x7a
je 0x100ecc9
cmp dword [ebp - 4], 0x18
jne 0x100ed20
push dword [ebp + 0xc]
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, edi
je 0x100ed51
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push ebx
push edi
push edi
push 0x7400c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100ed1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
mov dword [ebp - 4], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
add dword [ebp + 0xc], 0x200
mov dword [ebp - 8], edi
jmp 0x100ecbd
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
jne 0x100edca
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
lea eax, [ebx - 1]
imul eax, eax, 0x90
add eax, 0xc0
push eax
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, edi
jne 0x100ed5a
mov dword [ebp - 4], 0x7a
jmp 0x100edca
mov eax, dword [ebp - 8]
mov dword [ecx], edi
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov edx, dword [eax + 4]
add eax, 8
mov dword [ecx + 8], edx
lea edi, [ecx + 0x30]
test ebx, ebx
jbe 0x100edc8
lea ecx, [edi + 0x10]
mov dword [ebp + 8], ebx
mov edx, 0x90
and dword [edi], 0
mov ebx, dword [eax]
mov dword [ecx - 8], ebx
mov ebx, dword [eax + 4]
mov dword [ecx - 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 8], ebx
mov bl, byte [eax + 0x1b]
mov byte [ecx + 0xc], bl
mov bl, byte [eax + 0x18]
mov byte [ecx + 0x10], bl
mov bl, byte [eax + 0x19]
mov byte [ecx + 0x11], bl
mov bl, byte [eax + 0x1a]
mov byte [ecx + 0x12], bl
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x14], ebx
add eax, 0x20
add edi, edx
add ecx, edx
dec dword [ebp + 8]
jne 0x100ed7f
xor edi, edi
cmp dword [ebp - 8], edi
je 0x100eddc
push dword [ebp - 8]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8