Function at 0x481260
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df591
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x44], ecx
mov ecx, dword [0x510a78]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], edi
mov esi, dword [ecx + 0x10]
sub esi, dword [ecx + 0xc]
mov eax, 0x8a42f871
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
je 0x481373
xor ebx, ebx
mov esi, ecx
cmp edi, eax
jb 0x4812f5
call fcn.004b32e0
mov ecx, dword [0x510a78]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + ebx + 0x1ec]
mov esi, dword [ecx + 0x10]
shl edx, 0x14
add dword [ebp - 0x34], edx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x40], eax
adc dword [ebp - 0x30], 0
sub esi, dword [eax]
mov eax, 0x8a42f871
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x481336
call fcn.004b32e0
mov ecx, dword [0x510a78]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov edx, dword [ebx + eax + 0x1ec]
add dword [ebp - 0x3c], edx
mov esi, dword [ecx + 0x10]
mov eax, 0x8a42f871
adc dword [ebp - 0x38], 0
sub esi, dword [ecx + 0xc]
inc edi
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, 0x3b4
cmp edi, eax
jb 0x4812e4
xor edi, edi
push 2
push edi
lea eax, [ebp - 0x2c]
push eax
add ecx, 0x1b8
call fcn.00430a10
mov dword [ebp - 4], edi
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x481397
mov eax, dword [eax + 4]
jmp 0x48139a
add eax, 4
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
jb 0x4813cb
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b29fa
add esp, 4
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov esi, 7
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
cmp ecx, dword [ebp - 0x30]
ja 0x481590
jb 0x4813f6
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x34]
jae 0x481590
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00410110
mov esi, eax
mov dword [ebp - 4], 1
mov edx, dword [0x510a78]
push str._requires
add edx, 0x84
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00401b00
mov byte [ebp - 4], 2
push esi
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0040a680
mov byte [ebp - 4], 3
push str.MB_of_free_space._n_n
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.00401b00
add esp, 0x24
mov byte [ebp - 4], 5
cmp dword [ebp - 0x98], ebx
jb 0x48146d
mov eax, dword [ebp - 0xac]
push eax
call fcn.004b29fa
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], edi
mov word [ebp - 0xac], cx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x6c], ebx
jb 0x48149c
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], ebx
jb 0x4814bd
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b29fa
add esp, 4
push str.The_installation_location_you_selected_has_insufficient_disk_space._n
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x84]
xor edx, edx
push ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
call fcn.00401b00
mov byte [ebp - 4], bl
push str.Please_check_the_installation_location_and_try_again.
push eax
lea edx, [ebp - 0x68]
push edx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401750
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], ebx
jb 0x481517
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x6c], ebx
jb 0x481538
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
cmp dword [ebp - 0x14], ebx
jae 0x48154f
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
push 0x40010
push 0x4ed658
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
jb 0x48157f
mov eax, dword [ebp - 0x28]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], cx
or eax, 0xffffffff
jmp 0x4815f5
mov eax, dword [0x510a78]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xffffffffffffffff
add eax, 0x1b8
push edi
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.00401750
mov dword [ebp - 4], 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x40], esp
push ebx
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], edi
push str.LOCATION
mov word [ecx + 4], ax
call fcn.00401860
mov byte [ebp - 4], 0xb
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x510a78]
call fcn.0041ca80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret