Function at 0x4c0b00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509b8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
push edi
push ecx
lea edi, [ebp - 0xac]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov esi, esp
push 0
push 0x521cec
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x4c1074
mov esi, esp
push 2
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator]
cmp esi, esp
call fcn.004f90e1
movsx eax, al
cmp eax, 0x5c
jne 0x4c1045
mov esi, esp
push 3
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 1
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp esi, esp
call fcn.004f90e1
cmp eax, 3
je 0x4c0c27
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp esi, esp
call fcn.004f90e1
cmp eax, 2
jne 0x4c1016
mov esi, esp
push 2
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 2
mov esi, esp
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004c0780
mov dword [ebp - 0x28], eax
mov esi, esp
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 4
cmp dword [ebp - 0x28], 0x400
jb 0x4c0e3c
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, 0x400
div ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x14], eax
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
push 0x521cf0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0x14], 0xa
jge 0x4c0d2c
lea ecx, [ebp - 0x3c]
push ecx
push 0x521cf4
lea edx, [ebp - 0x48]
push edx
call fcn.0040e560
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 5
mov esi, esp
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0x14], 0x64
jl 0x4c0d49
mov esi, esp
push 0x521cf8
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
mov edx, dword [ebp - 0x28]
shr edx, 0xa
mov esi, esp
push edx
push 0x521cfc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
cmp esi, esp
call fcn.004f90e1
push 0x521d04
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
push 0x521d00
mov edx, dword [ebp - 0x84]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 8
mov esi, esp
mov edx, dword [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 7
mov esi, esp
lea ecx, [ebp - 0x54]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0x50]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
jmp 0x4c0e60
mov esi, esp
push 0x521d08
mov eax, dword [ebp - 0x28]
push eax
push 0x521d0c
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 1
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 9
mov esi, esp
mov ecx, dword [ebp - 0x94]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeUpper]
cmp esi, esp
call fcn.004f90e1
push eax
push 0x521d20
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0040e560
add esp, 0xc
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 0xa
push 0x521d14
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0xc
mov esi, esp
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0xb
mov esi, esp
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0xa
mov esi, esp
lea ecx, [ebp - 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 9
mov esi, esp
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x58]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp esi, esp
call fcn.004f90e1
push eax
push 0x422
mov ecx, dword [ebp - 0x10]
call sub.MFC71.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [ebp - 0x10]
add ecx, 0x550
call fcn.004d0550
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x174], 1
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
jmp 0x4c1043
push 0x521d28
push 0x422
mov ecx, dword [ebp - 0x10]
call sub.MFC71.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [ebp - 0x10]
add ecx, 0x550
call fcn.004d0580
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x174], 0
jmp 0x4c1072
push 0x521d38
push 0x422
mov ecx, dword [ebp - 0x10]
call sub.MFC71.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [ebp - 0x10]
add ecx, 0x550
call fcn.004d0580
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x174], 0
jmp 0x4c10a1
push 0x521d48
push 0x422
mov ecx, dword [ebp - 0x10]
call sub.MFC71.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [ebp - 0x10]
add ecx, 0x550
call fcn.004d0580
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x174], 0
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
push edx
mov ecx, ebp
push eax
lea edx, [0x4c10ea]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xac
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret 4