Function at 0x4156c0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x41e4f2
push eax
mov eax, 0x102c
mov dword fs:[0], esp
call fcn.00419970
push ebx
push ebp
push esi
lea eax, [esp + 0x38]
push edi
mov edi, ecx
push eax
push 0x1000
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea ecx, [esp + 0x14]
lea esi, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x1044], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1044], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
lea eax, [edi + 0x60]
mov ebx, 2
push ecx
push eax
mov byte [esp + 0x104c], bl
mov dword [esp + 0x24], ebp
call fcn.00415560
mov al, byte [esp + 0x44]
add esp, 8
test al, al
je 0x41595e
lea eax, [edi + 0x60]
push esi
push eax
call fcn.00415420
add esp, 8
test eax, eax
jne 0x415939
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1048], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x1044], bl
call fcn.004193cc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeUpper
push 0x429eb4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, eax
cmp ebp, 4
ja case.0x4157cb.3
jmp dword [ebp*4 + 0x4159b4]
lea eax, [esp + 0x28]
push 0x9353
push eax
call fcn.00410710
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1048], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x1044], bl
call fcn.004193cc
jmp 0x4158ff
push esi
push 0x200
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00415290
add esp, 8
lea ecx, [esp + 0x10]
mov edi, eax
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
test edi, edi
mov edi, dword [esp + 0x20]
jne 0x4158ff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
push 0x100
push 0x100
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4158f6
cmp ebp, 5
jne 0x4158e8
lea edx, [esp + 0x2c]
push 0x9354
push edx
call fcn.00410710
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1048], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1044], bl
call fcn.004193cc
jmp 0x4158f6
push 0x425104
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x415927
movsx eax, byte [eax]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
add esp, 4
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push 0
push ebp
push eax
push ecx
mov ecx, edi
call fcn.004140b0
mov eax, dword [esp + 0x1c]
push 0
inc eax
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x41595e
inc esi
cmp byte [esi], 0
jne 0x415756
lea ecx, [esp + 0x18]
mov byte [esp + 0x1044], 1
call fcn.004193cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1044], 0
call fcn.004193cc
lea ecx, [esp + 0x14]
mov dword [esp + 0x1044], 0xffffffff
call fcn.004193cc
mov ecx, dword [esp + 0x103c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1038
ret