Function at 0x10007a51
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000dedb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push edi
mov dword [ebp - 0x12c], 0
push 0x10102d7c
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 1
mov byte [ebp - 0x110], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10102d80
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
push 0x100
push 0
lea eax, [ebp - 0x110]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x110]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x10007cf0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 3
jne 0x10007cd5
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
push ecx
push 0x100ff970
lea edx, [ebp - 0x114]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
cmp dword [0x10102cf0], 0
je 0x10007bad
push 0x100ff978
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x10007b92
push 0x100ff97c
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x10007b92
push 0x100ff980
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x10007b92
push 0x100ff984
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x10007bad
mov eax, dword [ebp - 0x10]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x10], edx
jmp 0x10007aef
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
push ecx
push 0x100ff988
lea edx, [ebp - 0x114]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
lea eax, [ebp - 0x114]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x130], eax
call fcn.10003b38
add esp, 4
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x10007c2c
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
lea edx, [ebp - 0x114]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x138], eax
call fcn.10003be4
add esp, 4
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x10007c5b
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
push ecx
push 0x100ff9a4
lea edx, [ebp - 0x114]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.1000d08c
jmp 0x10007cd5
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
push edx
push 0x100ff9ac
lea eax, [ebp - 0x114]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
lea edx, [ebp - 0x114]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x140], eax
call fcn.10003b38
add esp, 4
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x10007cd5
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
push ecx
push 0x100ff9c8
lea edx, [ebp - 0x114]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.1000d08c
mov ecx, dword [ebp - 0x10]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x10], eax
jmp 0x10007aef
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x12c]
or edx, 1
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret