Function at 0x49c3ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbcc
mov eax, dword [0x7fe6d4]
cmp eax, 6
je 0x49c419
mov edx, dword [0x7fe6d4]
cmp edx, 7
je 0x49c419
mov ecx, dword [0x7fe6d4]
cmp ecx, 0xb
jne 0x49c510
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x49c4f8
xor edx, edx
mov dword [ebp - 0x1c], edx
push dword [ebp - 0xc]
push 0x6e7128
push 0x82480b
push 0x7684df
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00670e94
add esp, 0x14
lea eax, [ebp - 0x22c]
push eax
call fcn.004a7f30
pop ecx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jl 0x49c468
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x1a
jle 0x49c4d5
push 0x7684f4
push 0x6e7128
call fcn.0066cbe8
add esp, 8
test eax, eax
jne 0x49c492
push 0x7684f9
push 0x6e7128
call fcn.0066c9ec
add esp, 8
jmp 0x49c4a4
push 0x7684fc
push 0x6e7128
call fcn.0066c9ec
add esp, 8
push dword [ebp - 0xc]
push 0x6e7128
push 0x82480b
push 0x768501
lea eax, [ebp - 0x22c]
push eax
call fcn.00670e94
add esp, 0x14
lea edx, [ebp - 0x22c]
push edx
call fcn.004a7f30
pop ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jl 0x49c4f5
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1a
jg 0x49c4f5
mov dl, byte [ebp - 0x1c]
add dl, 0x41
imul ecx, dword [ebp - 0xc], 0x23
mov byte [ecx*8 + 0xbbcd81], dl
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [0xbbf0a4]
cmp eax, edx
jl 0x49c423
xor eax, eax
jmp 0x49c838
mov edx, dword [0x7fe6d4]
cmp edx, 0xc
jne 0x49c614
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x49c5fd
xor eax, eax
mov dword [ebp - 0x20], eax
push dword [ebp - 0xc]
push 0x6e7128
push 0x82480b
push 0x768516
lea edx, [ebp - 0x330]
push edx
call fcn.00670e94
add esp, 0x14
lea ecx, [ebp - 0x330]
push ecx
call fcn.004a7f30
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jl 0x49c56e
mov edx, dword [ebp - 0x20]
cmp edx, 0x1a
jle 0x49c5db
push 0x76852b
push 0x6e7128
call fcn.0066cbe8
add esp, 8
test eax, eax
jne 0x49c598
push 0x768530
push 0x6e7128
call fcn.0066c9ec
add esp, 8
jmp 0x49c5aa
push 0x768533
push 0x6e7128
call fcn.0066c9ec
add esp, 8
push dword [ebp - 0xc]
push 0x6e7128
push 0x82480b
push str._s__get_letter__s__d
lea ecx, [ebp - 0x330]
push ecx
call fcn.00670e94
add esp, 0x14
lea eax, [ebp - 0x330]
push eax
call fcn.004a7f30
pop ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
test edx, edx
jl 0x49c5fa
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x1a
jg 0x49c5fa
mov al, byte [ebp - 0x20]
add al, 0x41
imul edx, dword [ebp - 0xc], 0x23
mov byte [edx*8 + 0xbbcd81], al
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [0xbbf0a4]
cmp ecx, eax
jl 0x49c529
xor eax, eax
jmp 0x49c838
mov edx, dword [0x7fe6d4]
cmp edx, 0xa
jne 0x49c718
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x49c701
xor eax, eax
mov dword [ebp - 0x24], eax
push dword [ebp - 0xc]
push 0x6e7128
push 0x82480b
push 0x76854d
lea edx, [ebp - 0x434]
push edx
call fcn.00670e94
add esp, 0x14
lea ecx, [ebp - 0x434]
push ecx
call fcn.004a8000
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jl 0x49c672
mov edx, dword [ebp - 0x24]
cmp edx, 0x1a
jle 0x49c6df
push 0x768575
push 0x6e7128
call fcn.0066cbe8
add esp, 8
test eax, eax
jne 0x49c69c
push 0x76857a
push 0x6e7128
call fcn.0066c9ec
add esp, 8
jmp 0x49c6ae
push 0x76857d
push 0x6e7128
call fcn.0066c9ec
add esp, 8
push dword [ebp - 0xc]
push 0x6e7128
push 0x82480b
push str._s___get_letter___type___s____number__d
lea ecx, [ebp - 0x434]
push ecx
call fcn.00670e94
add esp, 0x14
lea eax, [ebp - 0x434]
push eax
call fcn.004a8000
pop ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
jl 0x49c6fe
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x1a
jg 0x49c6fe
mov al, byte [ebp - 0x24]
add al, 0x41
imul edx, dword [ebp - 0xc], 0x23
mov byte [edx*8 + 0xbbcd81], al
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [0xbbf0a4]
cmp ecx, eax
jl 0x49c62d
xor eax, eax
jmp 0x49c838
push 0x104
push 0
lea edx, [ebp - 0x128]
push edx
call fcn.0066c86c
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 0x49c836
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 0x49c817
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.0049aa30
add esp, 0x14
test eax, eax
je 0x49c817
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x49c805
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbbce86]
mov al, byte [ebp - 0x15]
cmp cl, al
jne 0x49c802
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbbce87]
mov al, byte [ebp - 0x16]
cmp cl, al
jne 0x49c802
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbbce88]
mov al, byte [ebp - 0x17]
cmp cl, al
jne 0x49c802
imul edx, dword [ebp - 0xc], 0x23
mov cl, byte [edx*8 + 0xbbce89]
mov al, byte [ebp - 0x18]
cmp cl, al
jne 0x49c802
mov edx, dword [ebp - 8]
mov cl, byte [ebp + edx - 0x128]
imul eax, dword [ebp - 0xc], 0x23
mov byte [eax*8 + 0xbbcd81], cl
jmp 0x49c817
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0xbbf0a4]
cmp edx, ecx
jl 0x49c7a3
jmp 0x49c817
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x128]
test dl, dl
jne 0x49c814
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, eax
jl 0x49c755
xor eax, eax
mov esp, ebp
pop ebp
ret