Function at 0x4c0b3c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4c0b44
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c0e85
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
add edx, 0x42
call fcn.00403e74
lea eax, [ebp - 0x38]
mov edx, 0x4c0e9c
call fcn.00403f54
mov eax, dword [ebp - 0x38]
call fcn.00404110
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4c0ba3
inc dword [ebp - 0xc]
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x15
jne 0x4c0b69
xor ebx, ebx
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4c0c22
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 8]
add edx, 0x43
call fcn.00403e74
lea eax, [ebp - 0x3c]
mov edx, 0x4c0e9c
call fcn.00403f54
mov eax, dword [ebp - 0x3c]
call fcn.00404110
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
call fcn.004bc7d4
fild qword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x1c]
call fcn.0040a24c
mov eax, dword [ebp - 0x1c]
call fcn.00403f4c
test eax, eax
jle 0x4c0c1a
mov edx, 1
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx - 1]
add ebx, ecx
sub ebx, 0x30
inc edx
dec eax
jne 0x4c0c09
inc dword [ebp - 8]
dec dword [ebp - 0x34]
jne 0x4c0bb8
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00409428
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
mov edx, 0x4c0ea8
call fcn.00403f98
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403f4c
mov edx, eax
sub edx, 2
mov ecx, 3
mov eax, dword [ebp - 0x18]
call fcn.00404154
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x153fc]
mov ecx, 1
mov edx, 1
call fcn.00404154
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x10]
call fcn.0040909c
lea eax, [ebp - 0x14]
call fcn.00403ccc
cmp dword [ebp - 0xc], 1
jne 0x4c0ca5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x15420]
lea eax, [ebp - 0x14]
mov edx, 0x4c0eb4
call fcn.00403f98
cmp dword [ebp - 0xc], 2
jne 0x4c0d16
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, 5
mov edx, 0x4c0ec0
mov eax, dword [ebp - 4]
call fcn.004c0988
mov eax, dword [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 4
mov edx, 0x4c0eb4
mov eax, dword [ebp - 4]
call fcn.004c0988
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
pop ecx
call fcn.00403f98
push 0x4c0eb4
push dword [ebp - 0x10]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.00409428
push dword [ebp - 0x50]
push 0x4c0ecc
push dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040400c
cmp dword [ebp - 0xc], 3
jne 0x4c0da9
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 3
mov edx, 0x4c0eb4
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0x54]
push 0
lea eax, [ebp - 0x58]
push eax
mov ecx, 3
mov edx, 0x4c0ec0
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0x58]
push 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, 3
mov edx, 0x4c0ed8
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040400c
push 0x4c0eb4
push dword [ebp - 0x10]
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call fcn.00409428
push dword [ebp - 0x60]
push 0x4c0ecc
push dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040400c
cmp dword [ebp - 0xc], 3
jle 0x4c0e4d
push 0
lea eax, [ebp - 0x64]
push eax
mov ecx, 3
mov edx, 0x4c0eb4
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0x64]
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, 3
mov edx, 0x4c0ec0
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0x68]
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040400c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00409428
cmp dword [ebp - 0xc], 9
jle 0x4c0e1a
lea eax, [ebp - 0x1c]
mov edx, 0x4b
sub edx, dword [ebp - 0xc]
call fcn.00403e74
cmp dword [ebp - 0xc], 0x19
jle 0x4c0e2d
lea eax, [ebp - 0x1c]
mov edx, 0x4c0ee4
call fcn.00403d64
push 0x4c0eb4
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x4c0ecc
push dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040400c
mov eax, dword [ebp - 4]
add eax, 0x15424
mov edx, dword [ebp - 0x14]
call fcn.00403d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0e8c
lea eax, [ebp - 0x68]
mov edx, 0xd
call fcn.00403cf0
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403cf0
ret