Function at 0x402bc0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x405c86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x380
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x398], ebp
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [esp + 0x398], 1
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x288]
mov dword [esp + 0x28], ecx
push 0x9c51
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x402ea0
mov dword [esp + 0x3c], 0x408670
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov edi, eax
cmp edi, ebp
je 0x402e42
lea ecx, [esp + 0x40]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, ebp
jne 0x402caa
mov eax, dword [esp + 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [esp + 0x148]
lea eax, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x402d60
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
push 1
push 0xa
push 0x40f
mov ecx, esi
mov dword [0x408654], ebp
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
push ebp
push 1
push 0xa
push 0x3ee
mov ecx, esi
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
push 0x9c55
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x2a0]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea edx, [esp + 0x40]
push edx
push 0x408670
call ebx
lea eax, [esp + 0x174]
push eax
push 0x408328
call ebx
push 0x408328
push 0x408670
mov ecx, esi
call fcn.00403c90
push 0x9c55
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x402e42
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
je 0x402e0b
push ebp
push ebp
push 0xa
push 0x40f
mov ecx, esi
mov dword [0x408654], 1
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
push ebp
push ebp
push 0xa
push 0x3ee
mov ecx, esi
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
push 0x9c55
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x10]
lea ebp, [esi + 0x2a0]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x40]
push ecx
push 0x408670
call ebx
lea edx, [esp + 0x40]
push edx
push 0x408328
call ebx
push 0x408328
push 0x408670
mov ecx, esi
call fcn.00403c90
push 0x9c55
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov dword [0x408318], edi
xor ebp, ebp
jmp 0x402e42
push 0x9c56
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::LoadStringA
push 0x9c54
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 0x30
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x1c], ebp
jne 0x402c0e
lea ecx, [esp + 0x18]
mov byte [esp + 0x398], 0
call fcn.0040537c
lea ecx, [esp + 0x10]
mov dword [esp + 0x398], 0xffffffff
call fcn.0040537c
mov ecx, dword [esp + 0x390]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38c
ret