Function at 0x44d050
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x581b3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x5f3edc]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x138], 2
mov byte [esp + 7], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push 0x5c
lea ecx, [esp + 8]
mov byte [esp + 0x138], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::TrimRight_1]
push str.._
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::TrimLeft]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x44d10a
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x13c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x140]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x144]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor al, al
jmp 0x44d2bc
push ebx
push esi
push edi
push 0x5c
lea ecx, [esp + 0x14c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::TrimRight_1]
mov byte [esp + 0x30], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x30], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
lea ecx, [esp + 0x148]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push esi
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
add esp, 0xc
push edi
push edi
push 3
push edi
push 3
push 0x80
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44d284
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push 0x3e8
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
push edi
lea ecx, [esp + 0x24]
push ecx
push 0x3e8
mov esi, eax
push esi
push 0xc
lea edx, [esp + 0x38]
push edx
push 0x2d1400
push ebx
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
je 0x44d273
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
push ebp
mov ebp, dword [esi + 0x14]
add eax, esi
push eax
lea ecx, [esp + 0x1c]
add edi, esi
add ebp, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
lea ecx, [esp + 0x150]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
pop ebp
jne 0x44d255
lea ecx, [esp + 0x150]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x44d255
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push esi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x148]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x150]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x128]
call fcn.00558076
add esp, 0x138
ret