Function at 0x47c0e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6b93
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4f4f98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47c120
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x47c2f0
push 2
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__23]
push 0x4d7538
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x47c196
push 3
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x14]
jmp 0x47c1f7
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0047cd80
add esp, 8
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 1
push 0x4d6bf0
mov dword [ebp - 0x14], 1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x10]
lea ecx, [ebp + 8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [edi + 0x28]
mov dword [edi + 0x4c], 0
mov dword [eax], 0
lea ecx, [edi + 0x48]
mov dword [ebp - 0x14], eax
lea edx, [edi + 0x44]
mov dword [eax + 4], 0
lea esi, [edi + 0x30]
lea eax, [edi + 0x4c]
mov dword [edi + 0x38], 0
push eax
push ecx
mov dword [ebp - 0x18], eax
lea ebx, [edi + 0x38]
push edx
lea eax, [edi + 0x40]
mov dword [ebx + 4], 0
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
mov dword [edx], 0
mov dword [edi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x47c2ba
mov eax, dword [ebp - 0x18]
mov esi, dword [edi + 0x40]
mov edi, dword [edi + 0x44]
push 0
mov eax, dword [eax]
mul esi
push edi
push edx
push eax
call fcn.004beee0
mov ecx, dword [ebp - 0x10]
push 0
push edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [eax]
mul esi
push edx
push eax
call fcn.004beee0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x47c2bd
mov edi, dword [ebp - 0x14]
push str.GetDiskFreeSpaceExW
push 0x4d6bd4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47c2e2
push ebx
push esi
push edi
push dword [ebp + 8]
call eax
jmp 0x47c2e5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x47c2f0
mov esi, 1
jmp 0x47c2f2
xor esi, esi
lea ecx, [ebp + 8]
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 4