Function at 0x47aa70
Capabilities:
Get disk size
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a2d2
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x565680]
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 edi, ecx
mov dword [ebp - 0x10c], edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push str.ffCoreFilesIndex.txt
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0xf4], ebx
call fcn.00401ba0
push str.chromecontent_
lea eax, [ebp - 0x124]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.00402ae0
lea ecx, [ebp - 0x11c]
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 1
call fcn.0048c560
add esp, 0x18
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47ab1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x11c]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ab3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x114]
cmp dword [eax - 0xc], 0
je 0x47ab59
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.004092d0
push str.chromecontentcoreinstaller.js
lea ecx, [ebp - 0xe8]
mov byte [edi + 0xd0], 1
call fcn.00401ba0
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
mov byte [ebp - 4], 5
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xf4]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 6
call fcn.00465370
lea ecx, [ebp - 0xe8]
push ecx
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 7
call fcn.00465370
add esp, 0x18
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004081a0
mov edx, dword [ebp - 0xdc]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47abf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ac16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd8]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ac39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ac5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [edi + 0x80], 0
jne 0x47acce
push dword [ebp - 0xf4]
mov ecx, edi
push esi
call fcn.0047b570
test al, al
je 0x47ad1d
mov esi, dword [0x566ac0]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 0xc
jne 0x47acce
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d44
push eax
call fcn.004e5e73
add esp, 8
mov byte [ebp - 0xd1], 1
mov esi, dword [ebp - 0x114]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x47acf9
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd1]
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.004e52a4
mov esp, ebp
pop ebp
ret 8
push 0x523b88
lea eax, [ebp - 0xdc]
push esi
push eax
call fcn.00402ae0
push eax
mov byte [ebp - 4], 9
call fcn.0040d850
mov edx, dword [ebp - 0xdc]
add esp, 0x10
test al, al
sete byte [ebp - 0xd1]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ad68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd1], 0
je 0x47adc2
push str.extensions_sqlite_not_found
lea ecx, [ebp - 0xd8]
call fcn.00401ba0
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.004092d0
mov edx, dword [ebp - 0xd8]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47adb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd1], 0
jmp 0x47acd5
push 0x523b88
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00402ae0
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x108]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x100], 0
call fcn.0043b5c0
add esp, 0x14
cmp dword [ebp - 0x100], 0
mov dword [ebp - 0xdc], eax
jne 0x47ae57
push str.sqlite3_open16
lea ecx, [ebp - 0xd8]
call fcn.00401ba0
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.004092d0
mov edx, dword [ebp - 0xd8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47aeac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd1], 0
jmp 0x47b544
mov esi, 3
test eax, eax
je 0x47aeb8
push str.sqlite3_open16_
lea ecx, [ebp - 0xd8]
call fcn.00401b10
push dword [ebp - 0xdc]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.004653f0
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.004092d0
lea ecx, [ebp - 0xe0]
call fcn.00401fd0
lea ecx, [ebp - 0xd8]
call fcn.00401fd0
mov byte [ebp - 0xd1], 0
jmp 0x47b544
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x110]
lea eax, [edi + 0xa8]
push ecx
push eax
mov byte [ebp - 4], 0xf
call fcn.0048d700
push dword [ebp - 0x110]
push str.SELECT_active__userDisabled_FROM_addon_WHERE_id_q
call fcn.00443ca0
push 0x400
mov dword [ebp - 0xe0], eax
call fcn.0043b590
mov ebx, dword [ebp - 0xe0]
add esp, 0x14
mov dword [ebp - 0x118], eax
mov byte [ebp - 0xe1], 0
jmp 0x47af20
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe1]
push eax
push 0x481060
push ebx
push dword [ebp - 0x100]
call fcn.0043a2d0
mov edi, eax
add esp, 0x14
cmp edi, 5
jne 0x47af5b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
dec esi
test ecx, ecx
jg 0x47af20
push dword [ebp - 0x118]
lea ecx, [ebp - 0x120]
call fcn.00401b10
push dword [ebp - 0x118]
mov byte [ebp - 4], 0x10
call fcn.0043b500
add esp, 4
mov ebx, 0xffffffff
test edi, edi
je 0x47b1c1
call fcn.00488c00
test al, al
jne 0x47af9a
dec dword [0x566ac0]
cmp edi, 1
je 0x47afad
cmp edi, 0x1a
je 0x47afad
cmp edi, 0xb
jne 0x47b109
mov eax, dword [ebp - 0x108]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0xd8], 0
call fcn.004053a0
add eax, 0x10
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xd8]
push ecx
push eax
mov byte [ebp - 4], 0x11
call fcn.0040de90
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x10
call fcn.00401fd0
cmp dword [ebp - 0xd8], 0
je 0x47b109
push str.InstEnd
lea ecx, [ebp - 0xf0]
call fcn.00401b10
push str.SOFTWARE_
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x12
call fcn.00401b10
mov ecx, dword [ebp - 0x10c]
add ecx, 0x1c
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 0x13
call fcn.00402a20
lea ecx, [ebp - 0xf0]
push ecx
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x14
call fcn.00402a20
mov esi, eax
mov ecx, dword [ebp - 0x108]
add ecx, 0xfffffff0
push ecx
mov byte [ebp - 4], 0x15
call fcn.004053a0
add eax, 0x10
add esp, 0x1c
mov dword [ebp - 0xe8], eax
push str.sqlite_exec_checking_state_
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x16
call fcn.00401b10
push edi
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x17
call fcn.004653f0
push dword [0x5601c4]
lea ecx, [ebp - 0xe8]
push esi
push ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.004209e0
add esp, 0x1c
lea ecx, [ebp - 0xdc]
call fcn.00401fd0
lea ecx, [ebp - 0xf8]
call fcn.00401fd0
lea ecx, [ebp - 0xe8]
call fcn.00401fd0
lea ecx, [ebp - 0xfc]
call fcn.00401fd0
lea ecx, [ebp - 0x104]
call fcn.00401fd0
lea ecx, [ebp - 0xec]
call fcn.00401fd0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
call fcn.00401fd0
push 0x51a1a4
lea ecx, [ebp - 0xd8]
call fcn.00401ba0
push str.sqlite3_exec_checking_state_
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x19
call fcn.00401b10
push edi
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x1a
call fcn.004653f0
lea ecx, [ebp - 0xd8]
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00465370
lea ecx, [ebp - 0x120]
push ecx
push eax
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00465370
add esp, 0x24
mov esi, dword [ebp - 0x10c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.004092d0
lea ecx, [ebp - 0xec]
call fcn.00401fd0
lea ecx, [ebp - 0x104]
call fcn.00401fd0
lea ecx, [ebp - 0xfc]
call fcn.00401fd0
lea ecx, [ebp - 0xf8]
call fcn.00401fd0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
call fcn.00401fd0
jmp 0x47b1c7
mov esi, dword [ebp - 0x10c]
push dword [ebp - 0xe0]
call fcn.0043b500
add esp, 4
cmp byte [ebp - 0xe1], 0
je 0x47b4e9
push dword [ebp - 0xf4]
call fcn.0040e900
add esp, 4
lea ecx, [ebp - 0xec]
push str.xpiver
call fcn.00401ba0
lea ecx, [esi + 0xac]
push ecx
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00402a20
add esp, 0xc
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x20
call fcn.00401fd0
call fcn.00488bb0
test al, al
jne 0x47b283
mov edx, dword [0x566ac0]
xor ecx, ecx
jmp 0x47b240
mov eax, dword [ebp + ecx*4 - 0xbc]
add eax, dword [ebp + ecx*4 - 0xc0]
add ecx, 6
add eax, dword [ebp + ecx*4 - 0xdc]
add eax, dword [ebp + ecx*4 - 0xe0]
add eax, dword [ebp + ecx*4 - 0xe4]
add eax, dword [ebp + ecx*4 - 0xe8]
imul eax, eax, 0xa6
add edx, eax
cmp ecx, 0xc0
jb 0x47b240
mov dword [0x566ac0], edx
push 0x51a1a4
push 0x519ba0
lea ecx, [ebp - 0xd8]
call fcn.00407680
push str.reenablexpi
lea ecx, [ebp - 0xe0]
call fcn.00401ba0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe0]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.00409200
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x20
call fcn.00401fd0
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x22
call fcn.00488b20
test al, al
jne 0x47b303
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea eax, [ebp - 0xe8]
push eax
lea eax, [esi + 0xa8]
push eax
call fcn.0048d700
push dword [ebp - 0xe8]
push str.UPDATE_addon_SET_active1__userDisabled0__softDisabled0_WHERE_id_q
call fcn.00443ca0
push 0x400
mov dword [ebp - 0xf4], eax
call fcn.0043b590
mov esi, dword [0x566ac0]
add esp, 0x14
lea edx, [esi + 1]
mov ecx, edx
imul ecx, esi
mov dword [ebp - 0xf0], eax
mov edi, 3
and ecx, 0x80000001
jns 0x47b35f
dec ecx
or ecx, 0xfffffffe
inc ecx
mov ebx, dword [ebp - 0xf4]
cmp ecx, 1
cmove esi, edx
mov dword [0x566ac0], esi
lea eax, [ebp - 0xf0]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x100]
call fcn.0043a2d0
mov esi, eax
add esp, 0x14
cmp esi, 5
jne 0x47b3a4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
dec edi
test ecx, ecx
jg 0x47b371
push dword [ebp - 0xf0]
lea ecx, [ebp - 0xdc]
call fcn.00401b10
mov byte [ebp - 4], 0x23
call fcn.00488c00
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, 0xffffffff
test al, al
jne 0x47b3d4
call edi
mov dword [0x566ac0], eax
push dword [ebp - 0xf0]
call fcn.0043b500
mov ecx, dword [0x566ac0]
add esp, 4
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 5
jne 0x47b402
call edi
mov dword [0x566ac0], eax
test esi, esi
je 0x47b4ba
push 0x51a1a4
lea ecx, [ebp - 0xe0]
call fcn.00401ba0
push str.sqlite3_exec_when_enabling_
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x24
call fcn.00401b10
push esi
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x25
call fcn.004653f0
lea ecx, [ebp - 0xe0]
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 0x26
call fcn.00465370
lea ecx, [ebp - 0xdc]
push ecx
push eax
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 0x27
call fcn.00465370
add esp, 0x24
mov ecx, dword [ebp - 0x10c]
push eax
mov byte [ebp - 4], 0x28
call fcn.004092d0
lea ecx, [ebp - 0xec]
call fcn.00401fd0
lea ecx, [ebp - 0x104]
call fcn.00401fd0
lea ecx, [ebp - 0xfc]
call fcn.00401fd0
lea ecx, [ebp - 0xf8]
call fcn.00401fd0
lea ecx, [ebp - 0xe0]
call fcn.00401fd0
push dword [ebp - 0xf4]
call fcn.0043b500
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.00401fd0
lea ecx, [ebp - 0xe8]
call fcn.00401fd0
lea ecx, [ebp - 0xd8]
call fcn.00401fd0
push dword [ebp - 0x100]
call fcn.0043b010
mov edx, dword [ebp - 0x120]
add edx, 0xfffffff0
add esp, 4
mov byte [ebp - 0xd1], 1
mov byte [ebp - 4], 0xf
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47b521
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x110]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47b544
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x108]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47acd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47acd5