Function at 0x4767d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5040d0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x559680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push str.ffCoreFilesIndex.txt
lea ecx, [ebp - 0x34]
call fcn.00401b70
mov esi, dword [ebp + 0xc]
push str.chromecontent_
lea eax, [ebp - 0x44]
push esi
push eax
mov dword [ebp - 4], 0
call fcn.004029e0
lea ecx, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00487060
add esp, 0x18
mov edx, dword [ebp - 0x44]
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 0x47685b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
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 0x47687b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x47688f
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00408a30
push str.chromecontentcoreinstaller.js
lea ecx, [ebp - 0x24]
mov byte [edi + 0xd0], 1
call fcn.00401b70
mov eax, dword [0x5591b8]
mov ecx, 0x5591b8
mov byte [ebp - 4], 5
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
call fcn.00462200
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 7
call fcn.00462200
add esp, 0x18
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00407850
mov edx, dword [ebp - 0x3c]
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 0x47690f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
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 0x47692f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
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 0x47694f
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 0x47696f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [edi + 0x80], 0
jne 0x476fa1
push esi
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00476fe0
test al, al
jne 0x476fa1
push 0x518108
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.004029e0
push eax
mov byte [ebp - 4], 9
call fcn.0040c420
mov edx, dword [ebp - 0x3c]
add esp, 0x10
test al, al
sete byte [ebp + 0xb]
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 0x4769d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xb], 0
je 0x476a1d
push str.extensions_sqlite_not_found
lea ecx, [ebp + 0xc]
call fcn.00401b70
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00408a30
mov edx, dword [ebp + 0xc]
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 0x476a14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp + 0xf], 0
jmp 0x476fa5
push 0x518108
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004029e0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14], 0
call fcn.004390f0
add esp, 0x14
cmp dword [ebp - 0x14], 0
mov dword [ebp + 8], eax
jne 0x476a94
push str.sqlite3_open16
lea ecx, [ebp + 0xc]
call fcn.00401b70
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00408a30
mov edx, dword [ebp + 0xc]
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 0x476ada
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp + 0xf], 0
jmp 0x476f7f
mov esi, 3
test eax, eax
je 0x476ae3
push str.sqlite3_open16_
lea ecx, [ebp - 0x3c]
call fcn.00401ae0
push dword [ebp + 8]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00462280
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00408a30
lea ecx, [ebp + 0xc]
call fcn.00401fa0
lea ecx, [ebp - 0x3c]
call fcn.00401fa0
mov byte [ebp + 0xf], 0
jmp 0x476f7f
mov eax, dword [0x5591b8]
mov ecx, 0x5591b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
lea eax, [edi + 0xa8]
push ecx
push eax
mov byte [ebp - 4], 0xf
call fcn.004880f0
push dword [ebp - 0x2c]
push str.SELECT_active__userDisabled_FROM_addon_WHERE_id_q
call fcn.004417b0
push 0x400
mov dword [ebp - 0x38], eax
call fcn.004390c0
mov ebx, dword [ebp - 0x38]
add esp, 0x14
mov dword [ebp - 0x20], eax
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd]
push eax
push 0x47bf10
push ebx
push dword [ebp - 0x14]
call fcn.00437e20
mov edi, eax
add esp, 0x14
cmp edi, 5
jne 0x476b63
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
dec esi
test ecx, ecx
jg 0x476b31
push dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
call fcn.00401ae0
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.0044a050
add esp, 4
mov ebx, 0xffffffff
test edi, edi
je 0x476d42
cmp edi, 1
je 0x476b9d
cmp edi, 0x1a
je 0x476b9d
cmp edi, 0xb
jne 0x476cb1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
mov dword [ebp + 8], 0
call fcn.00404d60
add eax, 0x10
mov dword [ebp - 0x3c], eax
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 0x11
call fcn.0040c9b0
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call fcn.00401fa0
cmp dword [ebp + 8], 0
je 0x476cb1
push str.InstEnd
lea ecx, [ebp - 0x24]
call fcn.00401ae0
push str.SOFTWARE_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00401ae0
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x13
call fcn.00402920
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x14
call fcn.00402920
mov esi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
push ecx
mov byte [ebp - 4], 0x15
call fcn.00404d60
add eax, 0x10
add esp, 0x1c
mov dword [ebp - 0x28], eax
push str.sqlite_exec_checking_state_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call fcn.00401ae0
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x17
call fcn.00462280
push dword [0x5541c4]
lea ecx, [ebp - 0x28]
push esi
push ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.0041e640
add esp, 0x1c
lea ecx, [ebp - 0x3c]
call fcn.00401fa0
lea ecx, [ebp - 0x48]
call fcn.00401fa0
lea ecx, [ebp - 0x28]
call fcn.00401fa0
lea ecx, [ebp - 0x4c]
call fcn.00401fa0
lea ecx, [ebp - 0x50]
call fcn.00401fa0
lea ecx, [ebp - 0x54]
call fcn.00401fa0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.00401fa0
push 0x50e754
lea ecx, [ebp + 8]
call fcn.00401b70
push str.sqlite3_exec_checking_state_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x19
call fcn.00401ae0
push edi
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00462280
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00462200
lea ecx, [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00462200
add esp, 0x24
mov esi, dword [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.00408a30
lea ecx, [ebp - 0x54]
call fcn.00401fa0
lea ecx, [ebp - 0x50]
call fcn.00401fa0
lea ecx, [ebp - 0x4c]
call fcn.00401fa0
lea ecx, [ebp - 0x48]
call fcn.00401fa0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.00401fa0
jmp 0x476d45
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x38]
call fcn.0044a050
add esp, 4
cmp byte [ebp - 0xd], 0
je 0x476f60
call fcn.004837d0
test al, al
jne 0x476d90
mov eax, dword [0x55aac0]
mov ecx, eax
sub ecx, 0
je 0x476d86
dec ecx
je 0x476d7a
inc eax
mov dword [0x55aac0], eax
jmp 0x476d90
mov dword [0x55aac0], 0
jmp 0x476d90
mov dword [0x55aac0], 2
push dword [ebp + 0xc]
call fcn.0040d410
add esp, 4
lea ecx, [ebp - 0x54]
push str.xpiver
call fcn.00401b70
lea ecx, [esi + 0xac]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00402920
add esp, 0xc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
call fcn.00401fa0
push 0x50e754
push 0x50e160
lea ecx, [ebp - 0x28]
call fcn.00406d70
push str.reenablexpi
lea ecx, [ebp + 0xc]
call fcn.00401b70
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.00408810
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x20
call fcn.00401fa0
mov eax, dword [0x5591b8]
mov ecx, 0x5591b8
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.004880f0
push dword [ebp - 0x24]
push str.UPDATE_addon_SET_active1__userDisabled0__softDisabled0_WHERE_id_q
call fcn.004417b0
push 0x400
mov dword [ebp + 0xc], eax
call fcn.004390c0
mov ebx, dword [ebp + 0xc]
add esp, 0x14
mov dword [ebp + 8], eax
mov esi, 3
lea esp, [esp]
lea eax, [ebp + 8]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x14]
call fcn.00437e20
mov edi, eax
add esp, 0x14
cmp edi, 5
jne 0x476e8d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
dec esi
test ecx, ecx
jg 0x476e60
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.00401ae0
push dword [ebp + 8]
mov byte [ebp - 4], 0x23
call fcn.0044a050
add esp, 4
mov ebx, 0xffffffff
test edi, edi
je 0x476f3d
push 0x50e754
lea ecx, [ebp - 0x38]
call fcn.00401b70
push str.sqlite3_exec_when_enabling_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x24
call fcn.00401ae0
push edi
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x25
call fcn.00462280
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x26
call fcn.00462200
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x27
call fcn.00462200
add esp, 0x24
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x28
call fcn.00408a30
lea ecx, [ebp - 0x54]
call fcn.00401fa0
lea ecx, [ebp - 0x50]
call fcn.00401fa0
lea ecx, [ebp - 0x4c]
call fcn.00401fa0
lea ecx, [ebp - 0x48]
call fcn.00401fa0
lea ecx, [ebp - 0x38]
call fcn.00401fa0
push dword [ebp + 0xc]
call fcn.0044a050
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.00401fa0
lea ecx, [ebp - 0x24]
call fcn.00401fa0
lea ecx, [ebp - 0x28]
call fcn.00401fa0
push dword [ebp - 0x14]
call fcn.00438b60
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp + 0xf], 1
call fcn.00401fa0
lea ecx, [ebp - 0x2c]
call fcn.00401fa0
mov edx, dword [ebp - 0x1c]
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 0x476fa5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x476fa5
mov byte [ebp + 0xf], 1
mov esi, dword [ebp - 0x30]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x476fc6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp + 0xf]
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