Function at 0x47f6b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e1520
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x7b2214]
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
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x47f9a2
lea esi, [ecx + 4]
push 0xffffffffffffffff
push str.ed_page_install_path
mov ecx, esi
call fcn.0048e03b
mov edx, eax
test edx, edx
je 0x47f716
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [edx]
cmovae ecx, dword [ebp + 8]
push ecx
mov ecx, edx
call dword [eax + 0x40]
mov eax, dword [ebp + 0x18]
cmp eax, 4
jb 0x47f738
cmp eax, 3
jbe 0x47f9f6
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax + 6], cx
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x58]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x47f9a2
push 0xffffffffffffffff
push str.tx_page_install_available_can_use_space
mov ecx, esi
call fcn.0048e03b
mov ecx, dword [0x7ae004]
push 0x2c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
call fcn.004852f4
add esp, 4
test eax, eax
je 0x47f7b4
mov dword [eax], 1
mov dword [eax + 4], 0x1f
mov dword [eax + 8], 0x1f
mov byte [eax + 0x2b], 0
add eax, 0xc
push 0x1f
push str.tx_page_install_available_space
push eax
mov dword [ebp - 0x34], eax
call fcn.00667e40
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0048bc8f
add esp, 0x10
push 0xffffffffffffffff
mov byte [ebp - 4], 2
mov ecx, esi
push dword [eax]
call fcn.0048e03b
mov edi, eax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esi, 0xfffffff4
cmp esi, dword [section..data]
je 0x47f805
push esi
call ebx
test eax, eax
jg 0x47f805
push esi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x34]
add esi, 0xfffffff4
cmp esi, dword [section..data]
je 0x47f827
push esi
call ebx
test eax, eax
jg 0x47f827
push esi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x47f9a2
test edi, edi
je 0x47f9a2
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x40]
call fcn.00457ba0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [edi]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x40]
cmp dword [ebp - 0x3c], 0
ja 0x47f8e2
jb 0x47f877
cmp dword [ebp - 0x40], 0x1f400000
ja 0x47f8e2
push str.ff5e60
lea ecx, [ebp - 0x2c]
call fcn.00426210
push str.colorText
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00426210
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
mov eax, dword [ebx]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
lea ecx, [ebp - 0x30]
call fcn.00426510
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00426510
push str.ff5e60
lea ecx, [ebp - 0x30]
call fcn.00426210
push str.colorText
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00426210
mov byte [ebp - 4], 9
jmp 0x47f94b
push str.999999
lea ecx, [ebp - 0x30]
call fcn.00426210
push str.colorText
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00426210
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
mov eax, dword [ebx]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00426510
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00426510
push str.999999
lea ecx, [ebp - 0x30]
call fcn.00426210
push str.colorText
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00426210
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push 0
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00426510
lea ecx, [ebp - 0x30]
call fcn.00426510
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47f9a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47f998
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f9fb
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x47f9d8
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47f9ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fa00
push edx
push ecx
call fcn.0062a23d
add esp, 8
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.00629f1d
mov esp, ebp
pop ebp
ret 0x18
call fcn.0044ee30
call fcn.0068843e
call fcn.0068843e
int3