Function at 0x441b20
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x522176
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb0]
push edi
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x441b8d
mov ebp, dword [esi + 8]
mov eax, ebp
sub eax, ebx
test eax, 0xfffffffc
je 0x441b8d
cmp ebp, ebp
mov edi, ebp
je 0x441b73
push edi
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_2
add edi, 4
add ebx, 4
cmp edi, ebp
jne 0x441b61
mov ebp, dword [esi + 8]
mov edi, ebx
cmp ebx, ebp
je 0x441b8a
mov ecx, edi
call sub.MFC42.DLL_CString::CString
add edi, 4
cmp edi, ebp
jne 0x441b7c
mov dword [esi + 8], ebx
lea ecx, [esp + 0x24]
push ecx
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x24]
lea ebp, [esp + 0x24]
test al, al
mov dword [esp + 0x14], ebp
je 0x441d9b
jmp 0x441bb7
mov ebp, dword [esp + 0x14]
mov al, byte [ebp]
cmp al, 0x61
jl 0x441bc6
cmp al, 0x63
jl 0x441d7e
cmp al, 0x41
jl 0x441bd2
cmp al, 0x43
jl 0x441d7e
push ebp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x441d7e
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov dword [esp + 0xac], 0
cmp dword [edx - 8], 2
jl 0x441d6a
lea eax, [esp + 0x1c]
push 2
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov ebx, eax
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov byte [esp + 0xac], 1
sar ecx, 2
cmp ecx, 1
mov edi, eax
jae 0x441ce8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x441c55
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x441c55
mov ecx, esi
call fcn.0040d680
mov ebx, eax
jmp 0x441c5a
mov ebx, 1
mov ecx, esi
call fcn.0040d680
add eax, ebx
mov dword [esp + 0x20], eax
jns 0x441c6b
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.004421f0
mov ecx, dword [esp + 0x18]
mov ebx, eax
push ecx
push 1
push ebx
mov ecx, esi
call fcn.00442230
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.004421f0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00423b50
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
lea eax, [ebp + edx*4]
mov dword [esi + 0xc], eax
call fcn.0040d680
lea ecx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 8], ecx
jmp 0x441d59
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x441d2c
lea ecx, [edi + 4]
push ecx
push eax
push edi
mov ecx, esi
call fcn.004421f0
mov eax, dword [esi + 8]
mov ecx, 1
mov edx, eax
push ebx
sub edx, edi
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00442230
mov edx, dword [esi + 8]
push ebx
push edx
push edi
call fcn.00442260
add esp, 0xc
jmp 0x441d55
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.004421f0
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00442290
lea eax, [edi + 4]
push ebx
push eax
push edi
call fcn.00442260
add esp, 0x18
add dword [esi + 8], 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xac], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ebp + 1]
mov dword [esp + 0x14], eax
cmp byte [eax], 0
jne 0x441bb3
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 4