Function at 0x4a1409
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4a1411
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a1661
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a163f
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x413d4d]
call fcn.004041e1
mov dword [ebp - 0xc], eax
mov bl, 0x43
mov eax, ebx
call fcn.004a138d
test al, al
je 0x4a15a0
mov byte [ebp - 7], bl
mov byte [ebp - 6], 0x3a
mov byte [ebp - 5], 0
lea eax, [ebp - 7]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
cmp esi, 6
ja case.0x4a147a.7
jmp dword [esi*4 + 0x4a1481]
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004051e9
lea eax, [ebp - 0x10]
mov edx, 0x4a1679
call fcn.004052c9
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a15a0
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.004051e9
lea eax, [ebp - 0x14]
mov edx, 0x4a1685
call fcn.004052c9
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a15a0
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.004051e9
lea eax, [ebp - 0x18]
mov edx, 0x4a1691
call fcn.004052c9
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a15a0
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.004051e9
lea eax, [ebp - 0x1c]
mov edx, 0x4a169d
call fcn.004052c9
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a15a0
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.004051e9
lea eax, [ebp - 0x20]
mov edx, 0x4a16a9
call fcn.004052c9
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a15a0
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.004051e9
lea eax, [ebp - 0x24]
mov edx, 0x4a1691
call fcn.004052c9
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a15a0
lea eax, [ebp - 0x28]
mov edx, ebx
call fcn.004051e9
lea eax, [ebp - 0x28]
mov edx, 0x4a16a9
call fcn.004052c9
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp bl, 0x5b
jne 0x4a144c
call fcn.0049fe25
test al, al
je 0x4a15bc
cmp byte [0x4a7f21], 0
jne 0x4a161e
xor eax, eax
push ebp
push 0x4a1614
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a7f04]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4a160a
mov eax, dword [0x4a7f04]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4a160a
inc ebx
xor esi, esi
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, dword [0x4a7f04]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4a15ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a161e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1646
mov eax, dword [ebp - 0xc]
call fcn.00404211
ret