Function at 0xc4780
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1191da
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0xc47d1
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, ebx
jne 0xc47c0
mov esi, dword [edi]
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
inc dword [0x134754]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x110], 0x129c14
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
mov dword [ebp - 4], 1
xor esi, esi
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
je 0xc4a12
lea eax, [esi + 0x41]
push eax
lea eax, [ebp - 0xd8]
push 0x129804
push eax
call fcn.000c4750
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xc4a12
push dword [ebp - 0xd8]
lea ecx, [ebp - 0xf4]
call fcn.000ce730
mov byte [ebp - 4], 2
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
lea ecx, [ebp - 0x10c]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.000d1370
mov byte [ebp - 4], 1
mov eax, dword [0x134754]
mov edx, dword [ebp - 0xdc]
dec eax
mov dword [ebp - 0xf4], 0x129c14
mov dword [0x134754], eax
cmp edx, 8
jb 0xc48ea
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc48db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc4a86
push edx
push ecx
call fcn.000f17bc
mov eax, dword [0x134754]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xf4], 0x129c14
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], cx
push 2
inc eax
mov byte [ebp - 4], 5
push 0x129810
lea ecx, [ebp - 0xf0]
mov dword [0x134754], eax
call fcn.000d1370
mov byte [ebp - 4], 6
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 8
lea ecx, [ebp - 0x10c]
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
call fcn.000d1030
mov byte [ebp - 4], 1
dec dword [0x134754]
mov edx, dword [ebp - 0xdc]
cmp edx, 8
jb 0xc49a1
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc4997
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc4a86
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0xc4a03
mov dword [eax], 0x129c14
lea ecx, [eax + 4]
mov dword [ebp - 0x114], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10c]
inc dword [0x134754]
cmp ecx, eax
je 0xc49f9
cmp dword [ebp - 0xf8], 8
push dword [ebp - 0xfc]
cmovae eax, dword [ebp - 0x10c]
push eax
call fcn.000d1370
mov byte [ebp - 4], 1
add dword [edi + 4], 0x1c
jmp 0xc4a12
lea ecx, [ebp - 0x110]
push ecx
push eax
mov ecx, edi
call fcn.000c6610
inc esi
cmp esi, 0x20
jb 0xc4812
dec dword [0x134754]
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x110], 0x129c14
cmp edx, 8
jb 0xc4a68
mov ecx, dword [ebp - 0x10c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc4a5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc4a86
push edx
push ecx
call fcn.000f17bc
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3