Function at 0x431600
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x482898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call sub.MFC42u.DLL_CString::CString_4
mov byte [esp + 0x40], 2
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, dword [edi + 0x1a4]
mov dword [edi + 0x1a4], eax
mov ecx, edx
mov dword [esp + 0x18], 1
xor ecx, eax
mov dword [esp + 0x1c], ebx
mov esi, ecx
and esi, eax
and ecx, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ecx
jmp 0x43167f
mov esi, dword [esp + 0x28]
test dword [esp + 0x18], esi
je 0x4318cf
add ebx, 0x41
lea eax, [esp + 0x10]
and ebx, 0xffff
push ebx
push str._c:_
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
ja case.0x4316b9.15
jmp dword [eax*4 + 0x431a54]
mov edx, dword [0x513e5c]
push ebx
mov eax, dword [edx*4 + 0x4bb6a0]
jmp 0x43173e
mov edx, dword [0x513e5c]
push ebx
lea ecx, [esp + 0x14]
mov eax, dword [edx*4 + 0x4bb6ac]
push eax
push str._s__c:_
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
mov ebp, 3
jmp 0x43175a
mov edx, dword [0x513e5c]
push ebx
lea ecx, [esp + 0x14]
mov eax, dword [edx*4 + 0x4bb6b8]
push eax
push str._s__c:_
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
mov ebp, 1
jmp 0x43175a
mov edx, dword [0x513e5c]
push ebx
mov eax, dword [edx*4 + 0x4bb6c4]
jmp 0x43173e
mov edx, dword [0x513e5c]
push ebx
mov eax, dword [edx*4 + 0x4bb6d0]
push eax
lea ecx, [esp + 0x18]
push str._s__c:_
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
mov ebp, 2
jmp 0x43175a
xor ebp, ebp
push ebx
lea edx, [esp + 0x24]
push str.__c:_
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
test ebp, ebp
je 0x4318cf
mov eax, dword [edi + 0x194]
mov dword [esp + 0x24], 0xffff0002
push eax
mov eax, dword [edi + 0x16c]
push 4
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x431841
lea ecx, [esp + 0x2c]
push esi
push ecx
lea ecx, [edi + 0x14c]
call sub.MFC42u.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 2
call sub.MFC42u.DLL_CString::CString
push 0x28
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Find
lea edx, [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 4
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jle 0x431841
mov edx, dword [edi + 0x16c]
push esi
push 1
push 0x110a
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x4317a2
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x194]
mov edx, dword [esp + 0x10]
push ecx
push eax
push 0
push 0
push 0
push ebp
lea esi, [edi + 0x14c]
push ebp
push edx
push 0x23
mov ecx, esi
call sub.MFC42u.DLL_CTreeCtrl::InsertItem
mov ebp, eax
mov eax, dword [edi + 0x16c]
push ebp
push 0
push 0x1114
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
lea ecx, [esp + 0x14]
push str._c:_
push ecx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
mov ecx, edi
call fcn.00431260
cmp eax, 1
jne 0x4318cf
push 0xffff0002
push ebp
push 0
push 0
push 0
push 5
push 4
push 0x513d78
push 0x23
mov ecx, esi
call sub.MFC42u.DLL_CTreeCtrl::InsertItem
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ebx
shl ecx, 1
cmp ebx, 0x20
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
jb 0x43167b
xor eax, eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
test ecx, edx
je 0x4319f6
add eax, 0x41
lea edx, [esp + 0x20]
and eax, 0xffff
push eax
push str.__c:_
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [edi + 0x194]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push eax
mov eax, dword [edi + 0x16c]
push 4
push 0x110a
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4319f6
lea ebp, [edi + 0x14c]
lea ecx, [esp + 0x30]
push esi
push ecx
mov ecx, ebp
call sub.MFC42u.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 5
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 2
call sub.MFC42u.DLL_CString::CString
push 0x28
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Find
lea edx, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 6
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
push esi
je 0x4319e6
mov edx, dword [edi + 0x16c]
push 1
push 0x110a
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x431951
jmp 0x4319f6
mov eax, dword [edi + 0x16c]
push 0
push 0x1101
push eax
call ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
shl edx, 1
cmp eax, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jb 0x4318f9
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret