Function at 0x4b02f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544700
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x19c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18d]
call fcn.0052f150
push 0x321
call fcn.004fc6be
mov ebx, eax
push 0x321
push 0
push ebx
call fcn.004ff6f0
add esp, 0x10
lea edi, [ebx + 0xc]
mov edx, dword [esi]
push edi
mov ecx, esi
mov eax, dword [edx + 0x44]
call eax
cmp dword [esi + 0x40], 0
jne 0x4b058d
mov edx, dword [esi]
lea eax, [ebp - 0x118]
push eax
push edi
mov ecx, esi
mov edx, dword [edx + 0x40]
call edx
mov esi, dword [ebp - 0x194]
add esi, 0xc
mov dword [ebp - 0x194], esi
lea edi, [ebx + 0x121]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x18c]
call fcn.0052f530
push 0x100
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x18c]
call fcn.0052f6d0
lea eax, [ebx + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b03d0
sub eax, edx
push eax
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x18c]
call fcn.0052f6d0
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b03f2
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x18c]
call fcn.0052f6d0
lea ecx, [ebp - 0x18c]
call fcn.0052f590
mov edx, dword [ebp - 0x12c]
mov dword [ebx + 0x10d], edx
mov eax, dword [ebp - 0x128]
mov dword [ebx + 0x111], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebx + 0x115], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebx + 0x119], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebx + 0x11d], eax
lea ecx, [ebp - 0x1b8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
lea edx, [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0x18d]
call fcn.0052eed0
mov dword [ebp - 0x1a8], 0x5c3a63
xor esi, esi
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x1ac], esi
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4b04f5
mov edx, dword [ebp - 0x198]
imul edx, dword [ebp - 0x1a4]
imul edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x194], edx
push 4
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x18d]
call fcn.0052eed0
push esi
call fcn.004ff06e
add esp, 4
mov dword [ebp - 0x1b0], eax
push 4
lea ecx, [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x18d]
call fcn.0052eed0
push 0x10
mov esi, dword [ebp - 0x19c]
lea edx, [esi + 0x1070]
push edx
lea ecx, [ebp - 0x18d]
call fcn.0052eed0
mov dword [ebx], 2
mov dword [ebx + 4], 0x321
mov dword [ebx + 8], 0x20000
lea edi, [ebx + 0x221]
push 0x100
push edi
lea ecx, [ebp - 0x18d]
call fcn.0052eff0
mov eax, dword [esi]
push 0
push 0
mov ecx, dword [ebx + 4]
push ecx
push ebx
mov ecx, esi
mov edx, dword [eax + 4]
call edx
lea eax, [ebp - 0x118]
push eax
lea eax, [ebx + 0xc]
push eax
push edi
push 0
mov ecx, esi
call fcn.004ae7c0
push ebx
call fcn.004fedfc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 4