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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a250
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x564690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push str.ffCoreFilesIndex.txt
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], ebx
call fcn.00401b70
push str.chromecontent_
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.004029e0
lea ecx, [ebp - 0x58]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 1
call fcn.0048c6c0
add esp, 0x18
mov edx, dword [ebp - 0x60]
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 0x47b3c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x58]
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 0x47b3e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
cmp dword [eax - 0xc], 0
je 0x47b3f5
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.00409200
push str.chromecontentcoreinstaller.js
lea ecx, [ebp - 0x24]
mov byte [edi + 0xd0], 1
call fcn.00401b70
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
mov byte [ebp - 4], 5
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.00465fd0
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 7
call fcn.00465fd0
add esp, 0x18
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004083c0
mov edx, dword [ebp - 0x1c]
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 0x47b477
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
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 0x47b497
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
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 0x47b4b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
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 0x47b4d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [edi + 0x80], 0
jne 0x47bbc1
push dword [ebp - 0x30]
mov ecx, edi
push esi
call fcn.0047bc00
test al, al
jne 0x47bbc1
push 0x522af0
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004029e0
push eax
mov byte [ebp - 4], 9
call fcn.0040d3f0
mov edx, dword [ebp - 0x1c]
add esp, 0x10
test al, al
sete byte [ebp - 0xd]
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 0x47b539
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x47b584
push str.extensions_sqlite_not_found
lea ecx, [ebp - 0x14]
call fcn.00401b70
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00409200
mov edx, dword [ebp - 0x14]
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 0x47b57b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd], 0
jmp 0x47bbc5
push 0x522af0
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004029e0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x34], 0
call fcn.0043b2b0
add esp, 0x14
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], eax
jne 0x47b5fb
push str.sqlite3_open16
lea ecx, [ebp - 0x14]
call fcn.00401b70
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00409200
mov edx, dword [ebp - 0x14]
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 0x47b641
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd], 0
jmp 0x47bb9f
mov esi, 3
test eax, eax
je 0x47b64a
push str.sqlite3_open16_
lea ecx, [ebp - 0x14]
call fcn.00401ae0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00466120
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00409200
lea ecx, [ebp - 0x18]
call fcn.00401fa0
lea ecx, [ebp - 0x14]
call fcn.00401fa0
mov byte [ebp - 0xd], 0
jmp 0x47bb9f
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
lea eax, [edi + 0xa8]
push ecx
push eax
mov byte [ebp - 4], 0xf
call fcn.0048da00
push dword [ebp - 0x4c]
push str.SELECT_active__userDisabled_FROM_addon_WHERE_id_q
call fcn.00443980
push 0x400
mov dword [ebp - 0x18], eax
call fcn.0043b280
mov ebx, dword [ebp - 0x18]
add esp, 0x14
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1d]
push eax
push 0x481280
push ebx
push dword [ebp - 0x34]
call fcn.00439fe0
mov edi, eax
add esp, 0x14
cmp edi, 5
jne 0x47b6ca
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
dec esi
test ecx, ecx
jg 0x47b698
push dword [ebp - 0x50]
lea ecx, [ebp - 0x5c]
call fcn.00401ae0
push dword [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.0044c220
add esp, 4
mov ebx, 0xffffffff
test edi, edi
je 0x47b8f4
cmp edi, 1
je 0x47b704
cmp edi, 0x1a
je 0x47b704
cmp edi, 0xb
jne 0x47b863
mov ecx, dword [0x565ae0]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 9
jne 0x47b72f
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x14], 0
call fcn.00405870
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
push ecx
push eax
mov byte [ebp - 4], 0x11
call fcn.0040d950
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.00401fa0
call fcn.00488bc0
cmp dword [ebp - 0x14], 0
je 0x47b848
push str.InstEnd
lea ecx, [ebp - 0x2c]
call fcn.00401ae0
push str.SOFTWARE_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00401ae0
mov ecx, dword [ebp - 0x48]
add ecx, 0x1c
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x13
call fcn.00402920
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x14
call fcn.00402920
mov esi, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
push ecx
mov byte [ebp - 4], 0x15
call fcn.00405870
add eax, 0x10
add esp, 0x1c
mov dword [ebp - 0x24], eax
push str.sqlite_exec_checking_state_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00401ae0
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x17
call fcn.00466120
push dword [0x55f1c4]
lea ecx, [ebp - 0x24]
push esi
push ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.00420810
add esp, 0x1c
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
lea ecx, [ebp - 0x38]
call fcn.00401fa0
lea ecx, [ebp - 0x24]
call fcn.00401fa0
lea ecx, [ebp - 0x40]
call fcn.00401fa0
lea ecx, [ebp - 0x3c]
call fcn.00401fa0
lea ecx, [ebp - 0x28]
call fcn.00401fa0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.00401fa0
call fcn.00488bc0
test al, al
jne 0x47b863
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push 0x518fa4
lea ecx, [ebp - 0x14]
call fcn.00401b70
push str.sqlite3_exec_checking_state_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x19
call fcn.00401ae0
push edi
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00466120
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00465fd0
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00465fd0
add esp, 0x24
mov esi, dword [ebp - 0x48]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.00409200
lea ecx, [ebp - 0x28]
call fcn.00401fa0
lea ecx, [ebp - 0x3c]
call fcn.00401fa0
lea ecx, [ebp - 0x40]
call fcn.00401fa0
lea ecx, [ebp - 0x38]
call fcn.00401fa0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.00401fa0
jmp 0x47b8f7
mov esi, dword [ebp - 0x48]
push dword [ebp - 0x18]
call fcn.0044c220
add esp, 4
cmp byte [ebp - 0x1d], 0
je 0x47bb80
push dword [ebp - 0x30]
call fcn.0040e6f0
add esp, 4
lea ecx, [ebp - 0x28]
push str.xpiver
call fcn.00401b70
lea ecx, [esi + 0xac]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00402920
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
call fcn.00401fa0
push 0x518fa4
push 0x5189b0
lea ecx, [ebp - 0x14]
call fcn.004078e0
push str.reenablexpi
lea ecx, [ebp - 0x18]
call fcn.00401b70
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.00409150
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x20
call fcn.00401fa0
mov eax, dword [0x5641c0]
mov ecx, 0x5641c0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0xa8]
push eax
mov byte [ebp - 4], 0x22
call fcn.0048da00
push dword [ebp - 0x24]
push str.UPDATE_addon_SET_active1__userDisabled0__softDisabled0_WHERE_id_q
call fcn.00443980
push 0x400
mov dword [ebp - 0x30], eax
call fcn.0043b280
mov edi, dword [0x565ae0]
mov dword [ebp - 0x2c], eax
mov eax, edi
imul eax, edi
cdq
mov ecx, 0xd
idiv ecx
add esp, 0x14
lea esi, [ecx - 9]
cmp edx, 6
jne 0x47ba24
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub edi, ecx
xor ecx, ecx
lea eax, [edi + 0x2f4]
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3b54
push eax
call fcn.004e5c83
mov edi, dword [0x565ae0]
add esp, 8
lea ecx, [edi + 1]
lea eax, [edi + 2]
imul eax, ecx
imul eax, edi
cdq
mov ecx, 0xc
idiv ecx
mov esi, 3
cmp edx, esi
jne 0x47ba7c
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub edi, eax
xor ecx, ecx
lea eax, [edi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3b54
push eax
call fcn.004e5c83
add esp, 8
mov ebx, dword [ebp - 0x30]
nop
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x34]
call fcn.00439fe0
mov edi, eax
add esp, 0x14
cmp edi, 5
jne 0x47baad
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
dec esi
test ecx, ecx
jg 0x47ba80
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.00401ae0
push dword [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call fcn.0044c220
add esp, 4
mov ebx, 0xffffffff
test edi, edi
je 0x47bb5d
push 0x518fa4
lea ecx, [ebp - 0x18]
call fcn.00401b70
push str.sqlite3_exec_when_enabling_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x24
call fcn.00401ae0
push edi
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x25
call fcn.00466120
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x26
call fcn.00465fd0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x27
call fcn.00465fd0
add esp, 0x24
mov ecx, dword [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x28
call fcn.00409200
lea ecx, [ebp - 0x28]
call fcn.00401fa0
lea ecx, [ebp - 0x3c]
call fcn.00401fa0
lea ecx, [ebp - 0x40]
call fcn.00401fa0
lea ecx, [ebp - 0x38]
call fcn.00401fa0
lea ecx, [ebp - 0x18]
call fcn.00401fa0
push dword [ebp - 0x30]
call fcn.0044c220
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
lea ecx, [ebp - 0x24]
call fcn.00401fa0
lea ecx, [ebp - 0x14]
call fcn.00401fa0
push dword [ebp - 0x34]
call fcn.0043ad20
add esp, 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0xd], 1
call fcn.00401fa0
lea ecx, [ebp - 0x4c]
call fcn.00401fa0
mov edx, dword [ebp - 0x44]
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 0x47bbc5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47bbc5
mov byte [ebp - 0xd], 1
mov esi, dword [ebp - 0x54]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x47bbe6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8