Function at 0x49c6d4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbcc
mov eax, dword [0x80c0a8]
cmp eax, 6
je 0x49c701
mov edx, dword [0x80c0a8]
cmp edx, 7
je 0x49c701
mov ecx, dword [0x80c0a8]
cmp ecx, 0xb
jne 0x49c7f8
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x49c7e0
xor edx, edx
mov dword [ebp - 0x1c], edx
push dword [ebp - 0xc]
push 0x6eb9f0
push 0x8321df
push 0x7715eb
lea ecx, [ebp - 0x22c]
push ecx
call fcn.006712b0
add esp, 0x14
lea eax, [ebp - 0x22c]
push eax
call fcn.004a8218
pop ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jl 0x49c750
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x1a
jle 0x49c7bd
push 0x771600
push 0x6eb9f0
call fcn.0066d004
add esp, 8
test eax, eax
jne 0x49c77a
push 0x771605
push 0x6eb9f0
call fcn.0066ce08
add esp, 8
jmp 0x49c78c
push 0x771608
push 0x6eb9f0
call fcn.0066ce08
add esp, 8
push dword [ebp - 0xc]
push 0x6eb9f0
push 0x8321df
push 0x77160d
lea eax, [ebp - 0x22c]
push eax
call fcn.006712b0
add esp, 0x14
lea edx, [ebp - 0x22c]
push edx
call fcn.004a8218
pop ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jl 0x49c7dd
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1a
jg 0x49c7dd
mov dl, byte [ebp - 0x1c]
add dl, 0x41
imul ecx, dword [ebp - 0xc], 0x23
mov byte [ecx*8 + 0xbca755], dl
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [0xbcca78]
cmp eax, edx
jl 0x49c70b
xor eax, eax
jmp 0x49cb20
mov edx, dword [0x80c0a8]
cmp edx, 0xc
jne 0x49c8fc
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x49c8e5
xor eax, eax
mov dword [ebp - 0x20], eax
push dword [ebp - 0xc]
push 0x6eb9f0
push 0x8321df
push 0x771622
lea edx, [ebp - 0x330]
push edx
call fcn.006712b0
add esp, 0x14
lea ecx, [ebp - 0x330]
push ecx
call fcn.004a8218
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jl 0x49c856
mov edx, dword [ebp - 0x20]
cmp edx, 0x1a
jle 0x49c8c3
push 0x771637
push 0x6eb9f0
call fcn.0066d004
add esp, 8
test eax, eax
jne 0x49c880
push 0x77163c
push 0x6eb9f0
call fcn.0066ce08
add esp, 8
jmp 0x49c892
push 0x77163f
push 0x6eb9f0
call fcn.0066ce08
add esp, 8
push dword [ebp - 0xc]
push 0x6eb9f0
push 0x8321df
push str._s__get_letter__s__d
lea ecx, [ebp - 0x330]
push ecx
call fcn.006712b0
add esp, 0x14
lea eax, [ebp - 0x330]
push eax
call fcn.004a8218
pop ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
test edx, edx
jl 0x49c8e2
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x1a
jg 0x49c8e2
mov al, byte [ebp - 0x20]
add al, 0x41
imul edx, dword [ebp - 0xc], 0x23
mov byte [edx*8 + 0xbca755], al
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [0xbcca78]
cmp ecx, eax
jl 0x49c811
xor eax, eax
jmp 0x49cb20
mov edx, dword [0x80c0a8]
cmp edx, 0xa
jne 0x49ca00
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x49c9e9
xor eax, eax
mov dword [ebp - 0x24], eax
push dword [ebp - 0xc]
push 0x6eb9f0
push 0x8321df
push 0x771659
lea edx, [ebp - 0x434]
push edx
call fcn.006712b0
add esp, 0x14
lea ecx, [ebp - 0x434]
push ecx
call fcn.004a82e8
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jl 0x49c95a
mov edx, dword [ebp - 0x24]
cmp edx, 0x1a
jle 0x49c9c7
push 0x771681
push 0x6eb9f0
call fcn.0066d004
add esp, 8
test eax, eax
jne 0x49c984
push 0x771686
push 0x6eb9f0
call fcn.0066ce08
add esp, 8
jmp 0x49c996
push 0x771689
push 0x6eb9f0
call fcn.0066ce08
add esp, 8
push dword [ebp - 0xc]
push 0x6eb9f0
push 0x8321df
push str._s___get_letter___type___s____number__d
lea ecx, [ebp - 0x434]
push ecx
call fcn.006712b0
add esp, 0x14
lea eax, [ebp - 0x434]
push eax
call fcn.004a82e8
pop ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
jl 0x49c9e6
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x1a
jg 0x49c9e6
mov al, byte [ebp - 0x24]
add al, 0x41
imul edx, dword [ebp - 0xc], 0x23
mov byte [edx*8 + 0xbca755], al
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [0xbcca78]
cmp ecx, eax
jl 0x49c915
xor eax, eax
jmp 0x49cb20
push 0x104
push 0
lea edx, [ebp - 0x128]
push edx
call fcn.0066cc88
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
push 0x104
call sub.KERNEL32.DLL_GetLogicalDriveStringsA
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp edx, ecx
jge 0x49cb1e
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 8]
add eax, edx
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 5
jne 0x49caff
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x17]
push edx
lea ecx, [ebp - 0x16]
push ecx
lea eax, [ebp - 0x15]
push eax
mov edx, dword [ebp - 8]
mov cl, byte [ebp + edx - 0x128]
push ecx
call fcn.0049ad18
add esp, 0x14
test eax, eax
je 0x49caff
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x49caed
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbca85a]
mov al, byte [ebp - 0x15]
cmp cl, al
jne 0x49caea
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbca85b]
mov al, byte [ebp - 0x16]
cmp cl, al
jne 0x49caea
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbca85c]
mov al, byte [ebp - 0x17]
cmp cl, al
jne 0x49caea
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbca85d]
mov al, byte [ebp - 0x18]
cmp cl, al
jne 0x49caea
mov edx, dword [ebp - 8]
mov cl, byte [ebp + edx - 0x128]
imul eax, dword [ebp - 0xc], 0x23
mov byte [eax*8 + 0xbca755], cl
jmp 0x49caff
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0xbcca78]
cmp edx, ecx
jl 0x49ca8b
jmp 0x49caff
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x128]
test dl, dl
jne 0x49cafc
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, eax
jl 0x49ca3d
xor eax, eax
mov esp, ebp
pop ebp
ret