Function at 0x4ad7b0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc7705
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0xc]
call eax
cdq
mov dword [ebp - 0x2c], eax
mov al, 0x41
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x5d], al
nop dword [eax]
movsx edx, al
mov eax, 1
sub edx, 0x41
mov ecx, edx
shr edx, 5
and ecx, 0x1f
shl eax, cl
test dword [ebp + edx*4 - 0x2c], eax
je 0x4ada3f
mov esi, dword [edi + 0x10]
lea ecx, [ebp - 0x7c]
push 2
mov dword [ebp - 0x7c], 0
push 0xdf38f8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call fcn.00442560
push dword [ebp - 0x5d]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
push 1
push 0
call fcn.004ae8b0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call esi
cmp eax, 3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
sete byte [ebp - 0x59]
cmp edx, 0x10
jb 0x4ad8f5
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ad8eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ada9a
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4ad93f
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ad935
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ada9a
push edx
push ecx
call fcn.00d493fa
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x4ada3f
push 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.._
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00442560
push dword [ebp - 0x5d]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404b10
push 1
push 0xdf3904
lea ecx, [ebp - 0x28]
call fcn.004ae0b0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi + 0x18]
cmovae ecx, dword [ebp - 0x28]
or esi, 0xffffffff
push 0
push 0
push 3
push 0
push 3
push 0
push ecx
call eax
mov dword [ebp - 0x64], eax
cmp eax, 0xffffffff
je 0x4ada0b
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x48]
push 0
push edx
push 0xc
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0x2d1080
push eax
call ecx
push dword [ebp - 0x64]
test eax, eax
cmovne esi, dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x4ada0b
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.004a9230
test eax, eax
jne 0x4ada0b
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.004424d0
mov ecx, edi
call fcn.0049aa20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4ada3f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ada35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ada9a
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov al, byte [ebp - 0x5d]
inc al
mov byte [ebp - 0x5d], al
cmp al, 0x5a
jle 0x4ad810
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4ada7f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ada75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ada9a
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret
call fcn.00d9dbbd
int3