Function at 0x483a90
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df821
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 [0x510a90]
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 - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
je 0x483ba3
xor ebx, ebx
mov esi, ecx
cmp edi, eax
jb 0x483b25
call fcn.004b32e0
mov ecx, dword [0x510a90]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + ebx + 0x1ec]
mov esi, dword [ecx + 0x10]
shl edx, 0x14
add dword [ebp - 0x38], edx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x30], eax
adc dword [ebp - 0x34], 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 0x483b66
call fcn.004b32e0
mov ecx, dword [0x510a90]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov edx, dword [eax + ebx + 0x1ec]
add dword [ebp - 0x40], edx
mov esi, dword [ecx + 0x10]
mov eax, 0x8a42f871
adc dword [ebp - 0x3c], 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 0x483b14
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 0x483bc7
mov eax, dword [eax + 4]
jmp 0x483bca
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 0x483bfb
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b29fa
add esp, 4
mov ecx, dword [ebp - 0x48]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
cmp ecx, dword [ebp - 0x34]
ja 0x483dc4
jb 0x483c27
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x38]
jae 0x483dc4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00410110
mov esi, eax
mov dword [ebp - 4], 1
mov edx, dword [0x510a90]
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 0x483c9e
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 0x483ccd
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 0x483cee
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 0x483d48
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 0x483d69
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 0x483d80
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 0x483db0
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 0x483eb5
mov eax, dword [0x510a90]
mov ebx, dword [eax + 0xc]
mov esi, eax
cmp ebx, dword [eax + 0x10]
jbe 0x483ddd
call fcn.004b32e0
mov eax, dword [0x510a90]
mov esi, dword [esi]
mov edi, ebx
add ebx, 0x39c
mov dword [ebp - 0x30], ebx
lea ebx, [ebx]
mov ecx, dword [eax + 0x10]
mov ebx, eax
mov dword [ebp - 0x34], ecx
cmp dword [eax + 0xc], ecx
jbe 0x483e02
call fcn.004b32e0
mov ebx, dword [ebx]
test esi, esi
je 0x483e0c
cmp esi, ebx
je 0x483e11
call fcn.004b32e0
cmp edi, dword [ebp - 0x34]
jae 0x483eb3
test esi, esi
jne 0x483ea3
call fcn.004b32e0
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x483e33
call fcn.004b32e0
test esi, esi
jne 0x483ea7
call fcn.004b32e0
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x483e48
call fcn.004b32e0
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x44]
push edx
push edi
mov ecx, ebx
call fcn.004834a0
test esi, esi
jne 0x483eab
call fcn.004b32e0
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x483e6c
call fcn.004b32e0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.00483880
test esi, esi
jne 0x483eaf
call fcn.004b32e0
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x483e8c
call fcn.004b32e0
mov eax, dword [0x510a90]
add edi, 0x3b4
add dword [ebp - 0x30], 0x3b4
jmp 0x483df0
mov eax, dword [esi]
jmp 0x483e29
mov eax, dword [esi]
jmp 0x483e3e
mov eax, dword [esi]
jmp 0x483e62
mov eax, dword [esi]
jmp 0x483e82
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