Function at 0x43f7f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4a6a28
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_5
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call sub.MFC42u.DLL_CString::CString_5
mov byte [esp + 0x40], 2
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, dword [edi + 0x1b8]
mov dword [edi + 0x1b8], 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 0x43f86f
mov esi, dword [esp + 0x28]
test dword [esp + 0x18], esi
je 0x43fabf
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.0x43f8a9.15
jmp dword [eax*4 + 0x43fc44]
mov edx, dword [0x5401c4]
push ebx
mov eax, dword [edx*4 + 0x4e6330]
jmp 0x43f92e
mov edx, dword [0x5401c4]
push ebx
lea ecx, [esp + 0x14]
mov eax, dword [edx*4 + 0x4e633c]
push eax
push str._s__c:_
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
mov ebp, 3
jmp 0x43f94a
mov edx, dword [0x5401c4]
push ebx
lea ecx, [esp + 0x14]
mov eax, dword [edx*4 + 0x4e6348]
push eax
push str._s__c:_
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
mov ebp, 1
jmp 0x43f94a
mov edx, dword [0x5401c4]
push ebx
mov eax, dword [edx*4 + 0x4e6354]
jmp 0x43f92e
mov edx, dword [0x5401c4]
push ebx
mov eax, dword [edx*4 + 0x4e6360]
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 0x43f94a
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 0x43fabf
mov eax, dword [edi + 0x1a8]
mov dword [esp + 0x24], 0xffff0002
push eax
mov eax, dword [edi + 0x180]
push 4
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x43fa31
lea ecx, [esp + 0x2c]
push esi
push ecx
lea ecx, [edi + 0x160]
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 0x43fa31
mov edx, dword [edi + 0x180]
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 0x43f992
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x1a8]
mov edx, dword [esp + 0x10]
push ecx
push eax
push 0
push 0
push 0
push ebp
lea esi, [edi + 0x160]
push ebp
push edx
push 0x23
mov ecx, esi
call sub.MFC42u.DLL_CTreeCtrl::InsertItem
mov ebp, eax
mov eax, dword [edi + 0x180]
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.0043f350
cmp eax, 1
jne 0x43fabf
push 0xffff0002
push ebp
push 0
push 0
push 0
push 5
push 4
push 0x540014
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 0x43f86b
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 0x43fbe6
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 + 0x1a8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push eax
mov eax, dword [edi + 0x180]
push 4
push 0x110a
push eax
call ebx
mov esi, eax
test esi, esi
je 0x43fbe6
lea ebp, [edi + 0x160]
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 0x43fbd6
mov edx, dword [edi + 0x180]
push 1
push 0x110a
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x43fb41
jmp 0x43fbe6
mov eax, dword [edi + 0x180]
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 0x43fae9
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