Function at 0x45a840
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x47548c
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov eax, dword [esi + 0x2c0]
and eax, dword [esi + 0x2c4]
mov ebp, dword [esp + 0x29c]
mov ebx, ecx
mov dword [esp + 0x1c], ebp
cmp eax, 0xffffffff
je 0x45a8d0
mov ecx, dword [esi + 0x2c8]
mov dword [ebx], ecx
mov edx, dword [esi + 0x2cc]
mov dword [ebx + 4], edx
mov eax, dword [esi + 0x2c0]
mov dword [edi], eax
mov ecx, dword [esi + 0x2c4]
mov dword [edi + 4], ecx
test ebp, ebp
je 0x45a8c6
mov edx, dword [esi + 0x2d0]
mov dword [ebp], edx
mov eax, 1
jmp 0x45aa84
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x294], 0
mov eax, dword [esi + 0x28]
cmp dword [eax - 0xc], 0
lea ecx, [esi + 0x28]
jle 0x45aa78
push 0
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
movzx ecx, ax
push ecx
lea edx, [esp + 0x14]
push str._c:_
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax - 0xc], 4
jge 0x45a9bf
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45aa78
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [esi + 0x2c8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x2cc], ecx
mov ecx, dword [esp + 0x28]
push 0
mov dword [edi], eax
mov dword [edi + 4], ecx
push 0
lea edx, [esp + 0x20]
mov dword [esi + 0x2c0], eax
push edx
lea eax, [esp + 0x20]
mov dword [esi + 0x2c4], ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x45a99e
mov edx, dword [esp + 0x14]
imul edx, dword [esp + 0x18]
mov dword [esi + 0x2d0], edx
test ebp, ebp
je 0x45a9ab
mov eax, dword [esi + 0x2d0]
mov dword [ebp], eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x45aa84
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45aa78
mov edx, dword [esp + 0x50]
xor eax, eax
push 1
push eax
push eax
mov ecx, edx
mov dword [ebx], eax
mov dword [ebx + 4], eax
push ecx
mov dword [esi + 0x2c8], eax
mov dword [esi + 0x2cc], eax
call fcn.004746e0
mov ecx, dword [esp + 0x54]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov dword [edi + 4], edx
mov dword [edi], eax
mov edx, eax
mov dword [esi + 0x2c0], edx
mov eax, dword [edi + 4]
push ebp
mov dword [esi + 0x2c4], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 3
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::SetAt]
mov eax, dword [esp + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x45aa57
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x14]
mov dword [esi + 0x2d0], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45aa67
mov edx, dword [esi + 0x2d0]
mov dword [eax], edx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
jmp 0x45aa84
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0047397a
add esp, 0x28c
ret 4