Function at 0x5ae510
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xfb5d70
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100c068]
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 - 0x5c], edi
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 byte [ebp - 0x60], al
movsx edx, al
sub edx, 0x41
mov byte [ebp - 4], 1
cmp edx, 0x20
jae 0x5ae85b
mov ecx, edx
mov byte [ebp - 4], 0
and ecx, 0x1f
shr edx, 5
mov eax, 1
shl eax, cl
test dword [ebp + edx*4 - 0x2c], eax
je 0x5ae800
push 2
push 0xfd4928
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.0044c750
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
push esi
push 1
push 0
mov byte [ebp - 4], 2
call fcn.005af750
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], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [edi + 0x10]
call eax
cmp eax, 3
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
sete byte [ebp - 0x55]
cmp edx, 0x10
jb 0x5ae64f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ae645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ae860
push edx
push ecx
call fcn.00f499d4
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x5ae699
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ae68f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ae860
push edx
push ecx
call fcn.00f499d4
add esp, 8
cmp byte [ebp - 0x55], 0
je 0x5ae800
push 4
push str.._
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0044c750
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x5ae6ef
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add eax, ecx
mov cl, byte [ebp - 0x60]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x5ae700
push esi
mov byte [ebp - 0x64], 0
push dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406680
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 1
push 0xfd4934
cmp eax, 1
jb 0x5ae737
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.00f8f830
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x5ae748
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x68]
push 1
call fcn.005af3d0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
or esi, 0xffffffff
push 0
push 3
push 0
push 3
push 0
push eax
mov eax, dword [edi + 0x18]
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x5ae7c9
push 0
lea eax, [ebp - 0x48]
push eax
push 0xc
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x5c]
push 0
push 0
push 0x2d1080
mov eax, dword [eax + 8]
push edi
call eax
test eax, eax
push edi
cmovne esi, dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x5c]
cmp esi, 0xffffffff
je 0x5ae7cc
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.005a96d0
test eax, eax
jne 0x5ae7cc
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.0044c620
mov ecx, edi
call fcn.00594ea0
jmp 0x5ae7cc
mov edi, dword [ebp - 0x5c]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5ae800
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ae7f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ae860
push edx
push ecx
call fcn.00f499d4
add esp, 8
mov al, byte [ebp - 0x60]
inc al
mov byte [ebp - 0x60], al
cmp al, 0x5a
jle 0x5ae566
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x5ae840
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ae836
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ae860
push edx
push ecx
call fcn.00f499d4
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.00f49793
mov esp, ebp
pop ebp
ret
call fcn.005aee70
call fcn.00f92951
int3