Function at 0x4b7dd0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521dac
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x584f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004b6200
test eax, eax
jne 0x4b7e18
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
push 2
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
push 0x538d5c
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
lea ecx, [ebp - 0x24]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x4b7ebc
push 3
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2c]
movlpd qword [ebp - 0x34], xmm0
push eax
lea eax, [ebp - 0x34]
movlpd qword [ebp - 0x2c], xmm0
push eax
push dword [ebp - 0x10]
movlpd qword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push 0
push 0
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
push 0
push 0x400
push 0x400
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea eax, [ebp - 0x14]
push eax
call fcn.004b4df0
push 0x53dea8
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0045ee50
push 0x53deb0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045ee50
add esp, 0x1c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.004873e0
push 0
push 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
push dword [ebp - 0x14]
push 0x80000001
call fcn.004a6210
push 0
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x14]
mov ebx, edx
push 0x80000001
call fcn.004a6210
mov edi, eax
mov eax, dword [ebp - 0x24]
mov esi, edx
mov ecx, eax
or ecx, ebx
jne 0x4b8008
mov ecx, edi
or ecx, esi
jne 0x4b8008
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
push ebx
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x14]
push 0x80000001
call fcn.004ccba0
push esi
push edi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x14]
push 0x80000001
call fcn.004ccba0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
jne 0x4b8046
cmp ebx, dword [ebp - 0x28]
jne 0x4b8046
cmp edi, dword [ebp - 0x34]
jne 0x4b8046
cmp esi, dword [ebp - 0x30]
jne 0x4b8046
lea ecx, [ebp - 0x5c]
call fcn.00488910
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, 1
jmp 0x4b806b
lea ecx, [ebp - 0x5c]
call fcn.00488910
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor esi, esi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret