Function at 0x45a7d0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x474fbc
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 0x45a860
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 0x45a856
mov edx, dword [esi + 0x2d0]
mov dword [ebp], edx
mov eax, 1
jmp 0x45aa14
lea ecx, [esp + 0x10]
call dword [0x47ce28]
mov dword [esp + 0x294], 0
mov eax, dword [esi + 0x28]
cmp dword [eax - 0xc], 0
lea ecx, [esi + 0x28]
jle 0x45aa08
push 0
call dword [0x47c848]
movzx ecx, ax
push ecx
lea edx, [esp + 0x14]
push str._c:_
push edx
call dword [0x47cdfc]
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax - 0xc], 4
jge 0x45a94f
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 0x45aa08
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 0x45a92e
mov edx, dword [esp + 0x14]
imul edx, dword [esp + 0x18]
mov dword [esi + 0x2d0], edx
test ebp, ebp
je 0x45a93b
mov eax, dword [esi + 0x2d0]
mov dword [ebp], eax
lea ecx, [esp + 0x10]
call dword [0x47ce24]
mov eax, 1
jmp 0x45aa14
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45aa08
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.00474250
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 [0x47c7e4]
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 0x45a9e7
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x14]
mov dword [esi + 0x2d0], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45a9f7
mov edx, dword [esi + 0x2d0]
mov dword [eax], edx
lea ecx, [esp + 0x10]
call dword [0x47ce24]
mov eax, 1
jmp 0x45aa14
lea ecx, [esp + 0x10]
call dword [0x47ce24]
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.004734e6
add esp, 0x28c
ret 4