Function at 0x100c26d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 0xd0
mov dword [ebp - 0xc], ecx
call fcn.0102ec4e
test eax, eax
pop ecx
je 0x100c0bd
push dword [ebp - 0xc]
mov ecx, eax
call fcn.01006991
mov dword [ebp - 8], eax
jmp 0x100c0c1
and dword [ebp - 8], 0
push edi
mov edi, dword [ebp - 8]
test edi, edi
jne 0x100c0d3
mov eax, 0x8007000e
jmp 0x100c31a
push esi
push dword [ebp - 0xc]
mov ecx, edi
call fcn.01007f4d
test al, al
jne 0x100c0ec
mov esi, 0x8007000e
jmp 0x100c30d
push 0x80000000
mov ecx, edi
call fcn.01006a65
mov esi, eax
test esi, esi
jne 0x100c108
mov esi, 0xc1000423
jmp 0x100c30d
push ebx
push esi
mov ecx, edi
call fcn.0100ad90
push esi
call fcn.0101f4b2
mov eax, dword [edi + 0x94]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov esi, dword [eax + ecx*4]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0101e261
mov edi, dword [ebp + 0xc]
mov ecx, 0x100000
mul ecx
mov ebx, eax
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x100c307
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x1c]
jne 0x100c307
mov ecx, dword [edi + 0x24]
cmp ecx, edx
mov eax, dword [edi + 0x20]
jg 0x100c307
jl 0x100c16c
cmp eax, ebx
ja 0x100c307
test ecx, ecx
jl 0x100c307
jg 0x100c17e
test eax, eax
jbe 0x100c307
mov eax, dword [esi + 0x30]
cmp eax, dword [edi + 8]
jne 0x100c307
cmp eax, 1
je 0x100c307
cmp eax, 2
je 0x100c307
cmp dword [esi + 0x40], 0
je 0x100c200
cmp eax, 3
je 0x100c1ac
cmp eax, 4
jne 0x100c200
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
jne 0x100c200
cmp dword [ebp - 4], 0
je 0x100c1c2
push dword [ebp - 4]
call fcn.0101f495
cmp byte [ebp + 0x10], 0
lea eax, [ebp - 4]
push eax
jne 0x100c1e7
mov ecx, esi
call fcn.01007727
test al, al
jne 0x100c1f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xc10003f2
jmp 0x100c30c
push 0xc0000000
push dword [esi + 0x40]
call fcn.0101ee58
test eax, eax
jl 0x100c1dd
push dword [ebp - 4]
call fcn.0101f030
mov ebx, dword [ebp - 0xc]
cmp dword [ebx + 0x84], 2
je 0x100c266
mov eax, dword [esi + 0x30]
cmp eax, 4
je 0x100c219
cmp eax, 3
jne 0x100c266
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100c266
mov ecx, dword [esi + 0x38]
or ecx, dword [esi + 0x3c]
jne 0x100c266
mov ecx, dword [0x1036b0c]
push 0x41
push eax
call fcn.01014083
cmp ax, 0x41
jb 0x100c254
cmp ax, 0x5a
ja 0x100c254
push dword [ebp + 0x18]
mov ecx, dword [0x1036b0c]
push dword [ebp + 0x14]
push eax
call fcn.01014210
push dword [edi + 4]
push dword [edi]
call fcn.01010e74
push dword [esi + 0x40]
call fcn.01003829
mov eax, dword [esi + 0x30]
and dword [esi + 0x28], 0
and dword [esi + 0xa0], 0
cmp eax, 3
je 0x100c27e
cmp eax, 5
jne 0x100c285
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 4
jne 0x100c292
mov dword [esi + 0x30], 2
mov eax, dword [esi + 0x40]
test eax, eax
mov byte [esi + 0xb0], 0
mov byte [esi + 0xb1], 0
mov byte [esi + 0x34], 1
mov byte [esi + 0x35], 0
je 0x100c2ba
push eax
call fcn.0102ec42
and dword [esi + 0x40], 0
pop ecx
mov edi, dword [ebp - 8]
mov ecx, edi
call fcn.0100a973
mov esi, eax
test esi, esi
jne 0x100c2e6
cmp dword [ebx + 0x84], 2
jne 0x100c2e6
push 1
push 1
push 1
push dword [edi + 0xa8]
mov ecx, edi
call fcn.0100743f
cmp dword [ebp - 4], 0
je 0x100c30c
cmp byte [ebp + 0x10], 0
jne 0x100c2fd
lea eax, [ebp - 4]
push eax
call fcn.01007701
jmp 0x100c30c
push dword [ebp - 4]
call fcn.0101f4b2
jmp 0x100c30c
mov esi, 0x80070057
pop ebx
mov ecx, dword [ebp - 8]
push 1
call fcn.01009ebd
mov eax, esi
pop esi
pop edi
leave
ret 0x14