Function at 0x1007b220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
mov eax, dword [0x100c58c0]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
push ebx
push ebp
mov ebx, edx
mov ebp, dword [ebx + 8]
test ebp, ebp
mov edx, dword [ebx]
push esi
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], edx
jne 0x1007b29b
call fcn.1002a070
mov ebp, eax
test ebp, ebp
mov dword [ebx + 8], eax
je 0x1007b27e
push 0x9b
mov esi, ebp
call fcn.10035f60
add esp, 4
cmp dword [ebx + 0x198], 0
jne 0x1007b293
mov eax, dword [ebx]
test byte [eax + 0x3c], 8
jne 0x1007b293
mov byte [ebx + 0x17], 1
test ebp, ebp
je 0x1007d89a
or dword [ebp + 0x58], 0x40
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
mov esi, edi
mov eax, ebx
mov dword [ebx + 0x48], 2
call fcn.100349f0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x1007d89a
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 0x10]
mov ecx, eax
shl ecx, 4
add edi, ecx
cmp eax, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], edi
jne 0x1007b2ed
mov eax, ebx
call fcn.1006b870
test eax, eax
jne 0x1007d89a
mov eax, dword [esp + 0x2c]
push esi
call fcn.1002c260
add esp, 4
test eax, eax
mov dword [esp + 0x50], eax
je 0x1007d89a
cmp dword [esp + 0xb4], 0
je 0x1007b324
mov ecx, dword [esp + 0x38]
push ecx
push 0x100b1adc
call fcn.10030b20
add esp, 8
jmp 0x1007b331
mov eax, dword [esp + 0x38]
push esi
call fcn.1002c260
add esp, 4
mov edx, dword [esp + 0x28]
cmp dword [edx + 4], 0
mov dword [esp + 0x14], eax
jbe 0x1007b343
mov edi, dword [edi]
jmp 0x1007b345
xor edi, edi
push edi
push eax
mov eax, dword [esp + 0x58]
push eax
push 0x13
mov eax, ebx
mov dword [esp + 0x4c], edi
call fcn.10039af0
add esp, 0x10
test eax, eax
jne case.0x1007b4b2.35
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x40]
push 0xe
xor edi, edi
mov eax, esi
push edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x7c], edi
push eax
mov dword [eax + 0x1bc], edi
call sym.SQLite.Interop.dll_sqlite3_file_control
mov esi, eax
add esp, 0x10
cmp esi, edi
jne 0x1007b404
mov ecx, dword [esp + 0x64]
cmp ecx, edi
je case.0x1007b4b2.35
push edi
push ecx
mov eax, ebx
add dword [eax + 0x48], 1
mov ebx, dword [eax + 0x48]
push edi
push ebx
push edi
push 0x61
mov esi, ebp
call fcn.10035e40
push 1
mov edi, ebp
call fcn.100301b0
add esp, 0x1c
push 0
push str.result
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
push 1
push ebx
push 0x23
call fcn.10035eb0
mov eax, dword [esp + 0x80]
add esp, 0x1c
push eax
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
jmp case.0x1007b4b2.35
cmp esi, 0xc
je 0x1007b439
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x1007b42b
push eax
push 0x100af5a4
mov edi, ebx
call fcn.10030a70
mov ecx, dword [esp + 0x6c]
push ecx
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 0xc
mov eax, ebx
add dword [eax + 0x40], 1
mov dword [eax + 0xc], esi
jmp case.0x1007b4b2.35
xor ebx, ebx
mov edi, 0x3b
mov ecx, dword [esp + 0x50]
lea eax, [edi + ebx]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea edx, [esi + esi*2]
mov eax, dword [edx*4 + 0x100ac0b8]
push eax
push ecx
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1007b479
jge 0x1007b46d
lea edi, [esi - 1]
jmp 0x1007b470
lea ebx, [esi + 1]
cmp ebx, edi
jle 0x1007b440
jmp case.0x1007b4b2.35
cmp ebx, edi
jg case.0x1007b4b2.35
lea ebx, [esi + esi*2]
add ebx, ebx
add ebx, ebx
test byte [ebx + 0x100ac0bd], 1
je 0x1007b4a2
mov esi, dword [esp + 0x10]
call fcn.100121d0
test eax, eax
jne case.0x1007b4b2.35
movzx eax, byte [ebx + 0x100ac0bc]
cmp eax, 0x26
ja case.0x1007b4b2.3
jmp dword [eax*4 + 0x1007d8b4]
mov edi, dword [esp + 0x24]
mov edx, 1
mov ecx, edi
shl edx, cl
or dword [ebp + 0x60], edx
cmp edi, 1
je 0x1007b4d5
mov eax, ebp
call fcn.1001b320
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x1007b55b
push 1
mov edi, ebp
call fcn.100301b0
add esp, 4
push 0
push str.cache_size
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
mov eax, dword [esp + 0x20]
add dword [eax + 0x48], 2
push 0x100ac3d0
push 9
push ebp
call fcn.100302f0
add esp, 0x1c
cmp dword [ebp + 0x20], eax
jbe 0x1007b526
mov edx, dword [ebp + 4]
mov esi, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*4 + 4], esi
lea ecx, [eax + 1]
cmp dword [ebp + 0x20], ecx
jbe 0x1007b53c
mov edx, dword [ebp + 4]
mov esi, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], esi
add eax, 6
cmp dword [ebp + 0x20], eax
jbe case.0x1007b4b2.35
mov ecx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 4], 0x7d0
jmp case.0x1007b4b2.35
call fcn.1001d160
call fcn.10015540
mov edx, dword [esp + 0x10]
push 0
mov ecx, edi
mov ebx, eax
call fcn.100723c0
add esp, 4
push 1
push ebx
push 0x19
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
push 1
push 3
push edi
push 0x33
call fcn.10030400
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0xc]
mov dword [edx + 0x50], ebx
mov ecx, dword [eax + 0xc]
mov esi, dword [ecx + 0x50]
mov eax, dword [eax + 4]
add esp, 0x10
call fcn.10024cc0
jmp case.0x1007b4b2.35
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 4]
jne 0x1007b5e7
test esi, esi
je 0x1007b5d8
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
cdq
push edx
push eax
push str.page_size
jmp 0x1007d874
xor eax, eax
cdq
push edx
push eax
push str.page_size
jmp 0x1007d874
call fcn.1001d160
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x48], eax
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.100305c0
add esp, 8
cmp eax, 7
jne case.0x1007b4b2.35
mov edx, dword [esp + 0x18]
mov byte [edx + 0x40], 1
jmp case.0x1007b4b2.35
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [eax + 4]
or ebp, 0xffffffff
test ebx, ebx
mov dword [esp + 0x2c], ecx
je 0x1007b641
push 0
push 1
call fcn.1001fa90
add esp, 8
neg al
sbb eax, eax
neg eax
mov ebp, eax
mov edx, dword [esp + 0x28]
cmp dword [edx + 4], 0
jne 0x1007b679
test ebp, ebp
jl 0x1007b679
mov ebx, dword [esp + 0x18]
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1007b679
xor edi, edi
lea esp, [esp]
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + edi + 4]
mov eax, ebp
call fcn.10024ad0
add esi, 1
add edi, 0x10
cmp esi, dword [ebx + 0x14]
jl 0x1007b660
mov ecx, dword [esp + 0x2c]
mov eax, ebp
call fcn.10024ad0
cdq
push edx
push eax
push str.secure_delete
jmp 0x1007d874
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov ecx, ebx
mov edx, esi
call fcn.1006ccc0
add dword [esi + 0x48], 1
mov edx, dword [esp + 0x50]
movzx eax, byte [edx]
cmp byte [eax + 0x100ab370], 0x70
mov edi, dword [esi + 0x48]
jne 0x1007b6cc
push edi
push ebx
push 0x99
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
jmp 0x1007b6ec
mov ecx, dword [esp + 0x14]
call fcn.1001d160
call fcn.10015540
push eax
push edi
push ebx
push 0x9a
mov esi, ebp
call fcn.10030400
add esp, 0x10
push 1
push edi
push 0x23
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
push 1
mov edi, ebp
call fcn.100301b0
mov ecx, dword [esp + 0x54]
add esp, 4
push 0xffffffffffffffff
push ecx
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
add esp, 0x10
jmp case.0x1007b4b2.35
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], str.normal
call fcn.10019e70
mov edx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1007b784
cmp edx, 0xffffffff
jne 0x1007b74e
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + 0x41]
jmp 0x1007b795
test eax, eax
jne 0x1007b784
mov esi, dword [esp + 0x18]
mov edi, 2
cmp dword [esi + 0x14], edi
jle 0x1007b781
mov ebx, 0x20
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + ebx + 4]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
call fcn.10014250
add edi, 1
add ebx, 0x10
cmp edi, dword [esi + 0x14]
jl 0x1007b765
mov byte [esi + 0x41], dl
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call fcn.10014250
cmp eax, 1
jne 0x1007b7a2
mov dword [esp + 0x38], str.exclusive
push 1
mov edi, ebp
call fcn.100301b0
add esp, 4
push 0
push str.locking_mode
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
mov edx, dword [esp + 0x48]
push 0
push edx
push 0
push 1
push 0
push 0x61
mov esi, ebp
call fcn.10035e40
push 1
push 1
push 0x23
call fcn.10035eb0
add esp, 0x34
jmp case.0x1007b4b2.35
push 1
mov edi, ebp
call fcn.100301b0
add esp, 4
push 0
push str.journal_mode
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
mov edi, dword [esp + 0x24]
add esp, 0x10
test edi, edi
jne 0x1007b81c
mov dword [esp + 0x1c], 0xffffffff
jmp 0x1007b854
mov ecx, edi
call fcn.10016110
mov ebx, eax
xor esi, esi
cmp esi, 6
je 0x1007b812
mov eax, dword [esi*4 + 0x100ac3b8]
test eax, eax
je 0x1007b812
push ebx
push eax
push edi
call sym.SQLite.Interop.dll_sqlite3_strnicmp
add esp, 0xc
test eax, eax
je 0x1007b84b
add esi, 1
jmp 0x1007b827
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x1007b86d
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 0
jne 0x1007b86d
mov dword [esp + 0x24], 0
mov dword [eax + 4], 1
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x1007b8d2
mov ebx, edi
shl ebx, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
cmp dword [edx + ebx + 4], 0
je 0x1007b8c8
cmp edi, dword [esp + 0x24]
je 0x1007b89c
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 0
jne 0x1007b8c8
mov edx, 1
mov ecx, edi
shl edx, cl
or dword [ebp + 0x60], edx
cmp edi, 1
je 0x1007b8b4
mov eax, ebp
call fcn.1001b320
mov eax, dword [esp + 0x1c]
push eax
push 1
push edi
push 0xc
mov esi, ebp
call fcn.10030400
add esp, 0x10
sub edi, 1
sub ebx, 0x10
test edi, edi
jge 0x1007b87e
push 1
push 1
push 0x23
mov esi, ebp
call fcn.10035eb0
jmp 0x1007d87d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
mov esi, dword [eax]
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
test ecx, ecx
mov edx, 0xfffffffe
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
je 0x1007b93c
call fcn.10016110
push eax
lea edx, [esp + 0x4c]
push edx
mov al, 1
call fcn.1001d180
mov eax, dword [esp + 0x54]
add esp, 8
cmp eax, 0xffffffff
jg 0x1007b938
jl 0x1007b931
mov edx, dword [esp + 0x48]
cmp edx, 0xffffffff
jae 0x1007b93c
or edx, 0xffffffff
or eax, edx
jmp 0x1007b93c
mov edx, dword [esp + 0x48]
push eax
push edx
mov ecx, esi
call fcn.100141c0
push edx
push eax
mov eax, dword [esp + 0x20]
push str.journal_size_limit
call fcn.100437e0
add esp, 0x14
jmp case.0x1007b4b2.35
mov esi, dword [esp + 0x14]
test esi, esi
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 4]
jne 0x1007b980
mov eax, edi
call fcn.10024a10
cdq
push edx
push eax
push str.auto_vacuum
jmp 0x1007d874
call fcn.1001fa10
mov ecx, dword [esp + 0x18]
mov ebx, eax
push ebx
mov eax, edi
mov byte [ecx + 0x42], bl
call fcn.10024a60
add esp, 4
test eax, eax
jne case.0x1007b4b2.35
cmp ebx, 1
je 0x1007b9af
cmp ebx, 2
jne case.0x1007b4b2.35
push 0x100ac3f8
push 6
push ebp
call fcn.100302f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [ebp + 0x20], eax
jbe 0x1007b9d2
mov esi, dword [ebp + 4]
lea edx, [eax + eax*4]
mov dword [esi + edx*4 + 4], ecx
lea edx, [eax + 1]
cmp dword [ebp + 0x20], edx
jbe 0x1007b9e4
mov esi, dword [ebp + 4]
lea edx, [edx + edx*4]
mov dword [esi + edx*4 + 4], ecx
lea edx, [eax + 2]
cmp dword [ebp + 0x20], edx
jbe 0x1007b9f9
mov edi, dword [ebp + 4]
lea esi, [eax + 4]
lea edx, [edx + edx*4]
mov dword [edi + edx*4 + 8], esi
lea edx, [eax + 4]
cmp dword [ebp + 0x20], edx
jbe 0x1007ba0e
mov esi, dword [ebp + 4]
add ebx, 0xffffffff
lea edx, [edx + edx*4]
mov dword [esi + edx*4 + 4], ebx
add eax, 5
cmp dword [ebp + 0x20], eax
jbe 0x1007ba20
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 4], ecx
mov eax, 1
shl eax, cl
or dword [ebp + 0x60], eax
cmp ecx, 1
je case.0x1007b4b2.35
mov ecx, dword [esp + 0x24]
mov eax, ebp
call fcn.1001b320
jmp case.0x1007b4b2.35
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1007ba65
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.10015930
add esp, 8
test eax, eax
je 0x1007ba65
mov esi, dword [esp + 0x2c]
test esi, esi
jg 0x1007ba6a
mov esi, 0x7fffffff
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push 0
mov ecx, edi
call fcn.100723c0
add esp, 4
push 1
push esi
push 0x19
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
push edi
push 0x8a
call fcn.10035f10
push 1
push 0x23
mov edi, eax
call fcn.10035f10
push 0xffffffffffffffff
push 1
push 0x25
call fcn.10035eb0
add esp, 0x1c
push edi
push 1
push 0x86
call fcn.10035eb0
add esp, 0xc
mov eax, edi
mov edx, ebp
call fcn.1001b350
jmp case.0x1007b4b2.35
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x1007baee
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
push str.cache_size
jmp 0x1007d874
call fcn.1001d160
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x50], eax
mov eax, dword [ecx + 0xc]
mov esi, dword [eax + 0x50]
mov eax, dword [ecx + 4]
call fcn.10024cc0
jmp case.0x1007b4b2.35
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1007bbb7
call fcn.10016110
push eax
lea edx, [esp + 0x4c]
push edx
mov al, 1
call fcn.1001d180
mov ecx, dword [esp + 0x54]
add esp, 8
test ecx, ecx
jg 0x1007bb55
jl 0x1007bb42
cmp dword [esp + 0x48], 0
jae 0x1007bb55
mov eax, dword [0x100c6500]
mov ecx, dword [0x100c6504]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x28]
cmp dword [edx + 4], 0
mov ebx, dword [esp + 0x18]
jne 0x1007bb6d
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
mov esi, dword [ebx + 0x14]
sub esi, 1
js 0x1007bbbb
mov ebp, dword [esp + 0x24]
mov edi, esi
shl edi, 4
mov edi, edi
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi + 4]
test eax, eax
je 0x1007bbab
cmp esi, ebp
je 0x1007bb99
mov edx, dword [esp + 0x28]
cmp dword [edx + 4], 0
jne 0x1007bbab
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10024c60
mov ecx, dword [esp + 0x54]
add esp, 8
sub esi, 1
sub edi, 0x10
test esi, esi
jge 0x1007bb80
jmp 0x1007bbbb
mov ebx, dword [esp + 0x18]
or eax, 0xffffffff
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
push 0x12
push eax
push ebx
call sym.SQLite.Interop.dll_sqlite3_file_control
add esp, 0x10
test eax, eax
jne 0x1007bbf3
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
push str.mmap_size
jmp 0x1007d874
cmp eax, 0xc
je case.0x1007b4b2.35
mov ecx, dword [esp + 0x10]
add dword [ecx + 0x40], 1
mov dword [ecx + 0xc], eax
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
jne 0x1007bc28
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0x3f]
cdq
push edx
push eax
push str.temp_store
jmp 0x1007d874
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
call fcn.10078a60
jmp case.0x1007b4b2.35
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x1007bc76
cmp dword [sym.SQLite.Interop.dll_sqlite3_temp_directory], esi
je case.0x1007b4b2.35
push 1
mov edi, ebp
call fcn.100301b0
add esp, 4
push esi
push str.temp_store_directory
push esi
push esi
mov ecx, ebp
call fcn.1003f9f0
mov ecx, dword [sym.SQLite.Interop.dll_sqlite3_temp_directory]
push esi
push ecx
jmp 0x1007b7c7
cmp byte [esi], 0
je 0x1007bcb2
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push 1
push esi
push eax
call edx
add esp, 0x10
test eax, eax
jne 0x1007bc9c
cmp dword [esp + 0x2c], eax
jne 0x1007bcb2
mov edi, dword [esp + 0x10]
push str.not_a_writable_directory
call fcn.10030a70
add esp, 4
jmp case.0x1007b4b2.35
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x3f], 1
ja 0x1007bcc5
mov eax, dword [esp + 0x10]
call fcn.10076850
mov ecx, dword [sym.SQLite.Interop.dll_sqlite3_temp_directory]
push ecx
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
cmp byte [esi], 0
je 0x1007bcf1
push esi
push 0x100af5a4
call sym.SQLite.Interop.dll_sqlite3_mprintf
add esp, 8
mov dword [sym.SQLite.Interop.dll_sqlite3_temp_directory], eax
jmp case.0x1007b4b2.35
mov dword [sym.SQLite.Interop.dll_sqlite3_temp_directory], 0
jmp case.0x1007b4b2.35
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x1007bd3a
cmp dword [sym.SQLite.Interop.dll_sqlite3_data_directory], esi
je case.0x1007b4b2.35
push 1
mov edi, ebp
call fcn.100301b0
add esp, 4
push esi
push str.data_store_directory
push esi
push esi
mov ecx, ebp
call fcn.1003f9f0
mov edx, dword [sym.SQLite.Interop.dll_sqlite3_data_directory]
jmp 0x1007b7c4
cmp byte [esi], 0
je 0x1007bd68
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push 1
push esi
push eax
call edx
add esp, 0x10
test eax, eax
jne 0x1007bc9c
cmp dword [esp + 0x2c], eax
je 0x1007bc9c
mov eax, dword [sym.SQLite.Interop.dll_sqlite3_data_directory]
push eax
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
cmp byte [esi], 0
je 0x1007bd93
push esi
push 0x100af5a4
call sym.SQLite.Interop.dll_sqlite3_mprintf
add esp, 8
mov dword [sym.SQLite.Interop.dll_sqlite3_data_directory], eax
jmp case.0x1007b4b2.35
mov dword [sym.SQLite.Interop.dll_sqlite3_data_directory], 0
jmp case.0x1007b4b2.35
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x1007bdc2
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx + 8]
sub eax, 1
cdq
push edx
push eax
push str.synchronous
jmp 0x1007d874
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x3e], 0
jne 0x1007bde2
mov edi, dword [esp + 0x10]
push str.Safety_level_may_not_be_changed_inside_a_transaction
call fcn.10030a70
add esp, 4
jmp case.0x1007b4b2.35
push 1
push 0
call fcn.1001fa90
mov edx, dword [esp + 0x24]
add al, 1
push esi
mov byte [edx + 8], al
call fcn.10026600
jmp 0x1007d87d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1007be29
mov eax, dword [ebx + 0x100ac0c0]
mov ecx, dword [esp + 0x18]
and eax, dword [ecx + 0x18]
neg eax
sbb eax, eax
neg eax
cdq
push edx
mov edx, dword [ebx + 0x100ac0b8]
push eax
push edx
jmp 0x1007d874
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x3e], 0
mov esi, dword [ebx + 0x100ac0c0]
jne 0x1007be3f
and esi, 0xfff7ffff
push 0
push 1
mov ebx, eax
call fcn.1001fa90
add esp, 8
test al, al
je 0x1007be56
or dword [edi + 0x18], esi
jmp 0x1007be73
mov eax, esi
not eax
and dword [edi + 0x18], eax
cmp esi, 0x1000000
jne 0x1007be73
xor eax, eax
mov dword [edi + 0x1f8], eax
mov dword [edi + 0x1fc], eax
push 0
push 0
push 0x8b
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
push edi
call fcn.10026600
add esp, 4
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.10023ff0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je case.0x1007b4b2.35
mov dword [esp + 0x20], 0
call fcn.100125d0
push 6
mov edi, ebp
mov dword [esp + 0x30], eax
call fcn.100301b0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, esi
mov dword [esi + 0x48], 6
call fcn.1006ccc0
push 0
push 0x100b1b3c
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
push 0
push str.name
push 0
push 1
mov ecx, ebp
call fcn.1003f9f0
push 0
push str.type
push 0
push 2
mov ecx, ebp
call fcn.1003f9f0
push 0
push str.notnull
push 0
push 3
mov ecx, ebp
call fcn.1003f9f0
add esp, 0x40
push 0
push str.dflt_value
push 0
push 4
mov ecx, ebp
call fcn.1003f9f0
push 0
push 0x100b1b64
push 0
push 5
mov ecx, ebp
call fcn.1003f9f0
push esi
mov eax, ebx
call fcn.10052e70
mov edi, dword [ebx + 4]
add esp, 0x24
cmp word [ebx + 0x26], 0
mov dword [esp + 0x30], 0
jle case.0x1007b4b2.35
test byte [edi + 0x17], 2
je 0x1007bf93
add dword [esp + 0x20], 1
jmp 0x1007c070
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
push 1
push ecx
push 0x19
mov esi, ebp
call fcn.10035eb0
mov edx, dword [edi]
add esp, 0xc
push 0
push edx
push 0
push 2
push 0
push 0x61
call fcn.10035e40
mov eax, dword [edi + 0xc]
add esp, 0x18
test eax, eax
jne 0x1007bfcb
mov eax, 0x100af3b4
push 0
push eax
push 0
push 3
push 0
push 0x61
mov esi, ebp
call fcn.10035e40
xor eax, eax
cmp byte [edi + 0x14], al
push 4
setne al
push eax
push 0x19
call fcn.10035eb0
mov eax, dword [edi + 8]
add esp, 0x24
test eax, eax
je 0x1007c00e
push 0
push eax
push 0
push 5
push 0
push 0x61
call fcn.10035e40
add esp, 0x18
jmp 0x1007c01c
push 5
push 0
push 0x1c
call fcn.10035eb0
add esp, 0xc
test byte [edi + 0x17], 1
jne 0x1007c026
xor eax, eax
jmp 0x1007c053
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov eax, 1
je 0x1007c053
movsx edx, word [ebx + 0x26]
cmp edx, eax
jl 0x1007c053
mov ecx, dword [ecx + 4]
mov edi, edi
movsx esi, word [ecx]
cmp esi, dword [esp + 0x30]
je 0x1007c053
add eax, 1
add ecx, 2
cmp eax, edx
jle 0x1007c040
push 6
push eax
push 0x19
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
push 6
push 1
push 0x23
call fcn.10035eb0
add esp, 0xc
mov eax, dword [esp + 0x30]
movsx ecx, word [ebx + 0x26]
add eax, 1
add edi, 0x18
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x1007bf83
jmp case.0x1007b4b2.35
mov ebx, dword [esp + 0x10]
mov eax, ebx
call fcn.100389a0
mov esi, eax
push 4
mov edi, esi
call fcn.100301b0
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
mov dword [ebx + 0x48], 4
call fcn.1006ccc0
push 0
push str.table
push 0
push 0
mov ecx, esi
call fcn.1003f9f0
push 0
push str.index
push 0
push 1
mov ecx, esi
call fcn.1003f9f0
push 0
push str.width
push 0
push 2
mov ecx, esi
call fcn.1003f9f0
push 0
push str.height
push 0
push 3
mov ecx, esi
call fcn.1003f9f0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + 0x10]
add esp, 0x40
test ebx, ebx
je case.0x1007b4b2.35
mov edi, dword [ebx + 8]
mov ecx, dword [edi]
push 0
push ecx
push 0
push 1
push 0
push 0x61
call fcn.10035e40
push 2
push 0
push 0x1c
call fcn.10035eb0
mov ax, word [edi + 0x2a]
add esp, 0x24
push 3
push ecx
call fcn.100153d0
add esp, 4
push eax
push 0x19
call fcn.10035eb0
mov ax, word [edi + 0x1c]
add esp, 0xc
push 4
push ecx
call fcn.100153d0
add esp, 4
push eax
push 0x19
call fcn.10035eb0
add esp, 0xc
push 4
push 1
push 0x23
call fcn.10035eb0
mov edi, dword [edi + 8]
add esp, 0xc
test edi, edi
je 0x1007c1e3
mov edx, dword [edi]
push 0
push edx
push 0
push 2
push 0
push 0x61
call fcn.10035e40
mov ax, word [edi + 0x30]
add esp, 0x18
push 3
push ecx
call fcn.100153d0
add esp, 4
push eax
push 0x19
call fcn.10035eb0
mov eax, dword [edi + 8]
mov ax, word [eax]
add esp, 0xc
push 4
push ecx
call fcn.100153d0
add esp, 4
push eax
push 0x19
call fcn.10035eb0
add esp, 0xc
push 4
push 1
push 0x23
call fcn.10035eb0
mov edi, dword [edi + 0x14]
add esp, 0xc
test edi, edi
jne 0x1007c183
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1007c117
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.10023ef0
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x38], esi
je case.0x1007b4b2.35
mov eax, dword [esi + 0xc]
push 3
mov edi, ebp
mov dword [esp + 0x30], eax
call fcn.100301b0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [edx + 0x48], 3
call fcn.1006ccc0
push 0
push str.seqno
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
push 0
push 0x100b1b3c
push 0
push 1
mov ecx, ebp
call fcn.1003f9f0
push 0
push str.name
push 0
push 2
mov ecx, ebp
call fcn.1003f9f0
xor edi, edi
add esp, 0x30
cmp word [esi + 0x32], di
jbe case.0x1007b4b2.35
lea ecx, [ecx]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
movzx ebx, word [edx + edi*2]
push 1
push edi
push 0x19
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
movsx ebx, bx
push 2
push ebx
push 0x19
call fcn.10035eb0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
add esp, 0xc
push 0
lea eax, [ebx + ebx*2]
mov eax, dword [edx + eax*8]
push eax
push 0
push 3
push 0
push 0x61
call fcn.10035e40
push 3
push 1
push 0x23
call fcn.10035eb0
mov ecx, dword [esp + 0x5c]
movzx edx, word [ecx + 0x32]
add edi, 1
add esp, 0x24
cmp edi, edx
jl 0x1007c290
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.10023ff0
mov ebp, eax
add esp, 0xc
test ebp, ebp
je case.0x1007b4b2.35
mov ebx, dword [esp + 0x10]
mov eax, ebx
call fcn.100389a0
mov esi, eax
push 3
mov edi, esi
call fcn.100301b0
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
mov dword [ebx + 0x48], 3
call fcn.1006ccc0
push 0
push 0x100b1b80
push 0
push 0
mov ecx, esi
call fcn.1003f9f0
push 0
push str.name
push 0
push 1
mov ecx, esi
call fcn.1003f9f0
push 0
push str.unique
push 0
push 2
mov ecx, esi
call fcn.1003f9f0
mov edi, dword [ebp + 8]
add esp, 0x30
xor ebp, ebp
test edi, edi
je case.0x1007b4b2.35
push 1
push ebp
push 0x19
call fcn.10035eb0
mov eax, dword [edi]
add esp, 0xc
push 0
push eax
push 0
push 2
push 0
push 0x61
call fcn.10035e40
xor ecx, ecx
cmp byte [edi + 0x36], cl
push 3
setne cl
push ecx
push 0x19
call fcn.10035eb0
add esp, 0x24
push 3
push 1
push 0x23
call fcn.10035eb0
mov edi, dword [edi + 0x14]
add esp, 0xc
add ebp, 1
test edi, edi
jne 0x1007c396
jmp case.0x1007b4b2.35
push 3
mov edi, ebp
call fcn.100301b0
mov edx, dword [esp + 0x14]
add esp, 4
xor edi, edi
push edi
push 0x100b1b80
push edi
push edi
mov ecx, ebp
mov dword [edx + 0x48], 3
call fcn.1003f9f0
push edi
push str.name
push edi
push 1
mov ecx, ebp
call fcn.1003f9f0
push edi
push str.file
push edi
push 2
mov ecx, ebp
call fcn.1003f9f0
mov eax, dword [esp + 0x48]
add esp, 0x30
cmp dword [eax + 0x14], edi
mov dword [esp + 0x20], edi
jle case.0x1007b4b2.35
mov ebx, eax
mov ecx, dword [ebx + 0x10]
cmp dword [edi + ecx + 4], 0
je 0x1007c4a5
mov edx, dword [esp + 0x20]
push 1
push edx
push 0x19
mov esi, ebp
call fcn.10035eb0
mov eax, dword [ebx + 0x10]
mov ecx, dword [edi + eax]
add esp, 0xc
push 0
push ecx
push 0
push 2
push 0
push 0x61
call fcn.10035e40
mov edx, dword [ebx + 0x10]
mov eax, dword [edi + edx + 4]
add esp, 0x18
push 0
call fcn.1001b4a0
push eax
push 0
push 3
push 0
push 0x61
call fcn.10035e40
push 3
push 1
push 0x23
call fcn.10035eb0
add esp, 0x24
mov eax, dword [esp + 0x20]
add eax, 1
add edi, 0x10
cmp eax, dword [ebx + 0x14]
mov dword [esp + 0x20], eax
jl 0x1007c445
jmp case.0x1007b4b2.35
push 2
mov edi, ebp
xor ebx, ebx
call fcn.100301b0
mov eax, dword [esp + 0x14]
add esp, 4
push ebx
push 0x100b1b80
push ebx
push ebx
mov ecx, ebp
mov dword [eax + 0x48], 2
call fcn.1003f9f0
push ebx
push str.name
push ebx
push 1
mov ecx, ebp
call fcn.1003f9f0
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 0x1ac]
add esp, 0x20
test edi, edi
je case.0x1007b4b2.35
lea ebx, [ebx]
mov edx, dword [edi + 8]
push 1
push ebx
push 0x19
mov esi, ebp
mov dword [esp + 0x38], edx
call fcn.10035eb0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
add esp, 0xc
push 0
push ecx
push 0
push 2
push 0
push 0x61
add ebx, 1
call fcn.10035e40
push 2
push 1
push 0x23
call fcn.10035eb0
mov edi, dword [edi]
add esp, 0x24
test edi, edi
jne 0x1007c510
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.10023ff0
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x2c], edi
je case.0x1007b4b2.35
mov eax, dword [esp + 0x10]
call fcn.100389a0
mov ebx, dword [edi + 0x10]
test ebx, ebx
mov esi, eax
je case.0x1007b4b2.35
push 8
mov edi, esi
mov dword [esp + 0x24], 0
call fcn.100301b0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [edx + 0x48], 8
call fcn.1006ccc0
push 0
push 0x100b1b8c
push 0
push 0
mov ecx, esi
call fcn.1003f9f0
push 0
push 0x100b1b80
push 0
push 1
mov ecx, esi
call fcn.1003f9f0
push 0
push str.table
push 0
push 2
mov ecx, esi
call fcn.1003f9f0
push 0
push str.from
push 0
push 3
mov ecx, esi
call fcn.1003f9f0
add esp, 0x40
push 0
push 0x100b1b98
push 0
push 4
mov ecx, esi
call fcn.1003f9f0
push 0
push str.on_update
push 0
push 5
mov ecx, esi
call fcn.1003f9f0
push 0
push str.on_delete
push 0
push 6
mov ecx, esi
call fcn.1003f9f0
push 0
push str.match
push 0
push 7
mov ecx, esi
call fcn.1003f9f0
add esp, 0x40
lea esp, [esp]
xor ebp, ebp
cmp dword [ebx + 0x14], ebp
jle 0x1007c762
lea edx, [ebx + 0x24]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 4]
mov al, byte [ebx + 0x19]
call fcn.10012210
mov dword [esp + 0x40], eax
mov al, byte [ebx + 0x1a]
call fcn.10012210
mov ecx, dword [esp + 0x20]
push 1
push ecx
push 0x19
mov dword [esp + 0x44], eax
call fcn.10035eb0
add esp, 0xc
push 2
push ebp
push 0x19
call fcn.10035eb0
mov edx, dword [ebx + 8]
add esp, 0xc
push 0
push edx
push 0
push 3
push 0
push 0x61
call fcn.10035e40
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*8]
push 0
push ecx
push 0
push 4
push 0
push 0x61
call fcn.10035e40
push 0
push edi
neg edi
push 0
sbb edi, edi
push 5
and edi, 0x45
push 0
add edi, 0x1c
push edi
call fcn.10035e40
mov edx, dword [esp + 0x80]
add esp, 0x48
push 0
push edx
push 0
push 6
push 0
push 0x61
call fcn.10035e40
mov eax, dword [esp + 0x58]
push 0
push eax
push 0
push 7
push 0
push 0x61
call fcn.10035e40
push 0
push str.NONE
push 0
push 8
push 0
push 0x61
call fcn.10035e40
add esp, 0x48
push 8
push 1
push 0x23
call fcn.10035eb0
add esp, 0xc
add dword [esp + 0x30], 8
add ebp, 1
cmp ebp, dword [ebx + 0x14]
jl 0x1007c672
mov ebx, dword [ebx + 4]
add dword [esp + 0x20], 1
test ebx, ebx
jne 0x1007c660
jmp case.0x1007b4b2.35
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x54], eax
add eax, 1
mov dword [esi + 0x48], eax
mov eax, esi
mov dword [esp + 0x2c], ecx
call fcn.100389a0
mov edi, eax
push 4
call fcn.100301b0
add esp, 4
push 0
push str.table
push 0
push 0
mov ecx, edi
call fcn.1003f9f0
push 0
push str.rowid
push 0
push 1
mov ecx, edi
call fcn.1003f9f0
push 0
push str.parent
push 0
push 2
mov ecx, edi
call fcn.1003f9f0
push 0
push str.fkid
push 0
push 3
mov ecx, edi
call fcn.1003f9f0
mov ecx, dword [esp + 0x64]
add esp, 0x40
mov edx, esi
call fcn.1006ccc0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [edx + 0x10]
test eax, eax
mov dword [esp + 0x20], eax
je case.0x1007b4b2.35
mov ebx, dword [esp + 0x14]
mov ebp, esi
test ebx, ebx
je 0x1007c83f
mov esi, dword [esp + 0x3c]
push 0
mov eax, ebp
call fcn.10034b50
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x2c]
add esp, 4
xor eax, eax
jmp 0x1007c848
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x28], esi
test esi, esi
mov dword [esp + 0x20], eax
je 0x1007cc0b
cmp dword [esi + 0x10], 0
je 0x1007cc0b
mov eax, dword [esi]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
push eax
push 0
push ecx
push edx
mov eax, ebp
call fcn.1002f210
movsx ecx, word [esi + 0x26]
mov eax, dword [esp + 0x64]
add eax, 1
add eax, ecx
add esp, 0x10
cmp eax, dword [ebp + 0x48]
jle 0x1007c88b
mov dword [ebp + 0x48], eax
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
push 0x34
push edx
push 0
mov eax, ebx
mov ecx, ebp
call fcn.1004fc30
mov eax, dword [ebx]
mov ecx, dword [esp + 0x38]
add esp, 0xc
push 0
push eax
push 0
push ecx
push 0
push 0x61
mov esi, edi
call fcn.10035e40
mov ebx, dword [ebx + 0x10]
add esp, 0x18
test ebx, ebx
mov dword [esp + 0x1c], 1
je 0x1007c981
mov edx, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.10023ff0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007c971
mov edx, dword [esi]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push 0
push eax
push ecx
mov eax, ebp
mov dword [esp + 0x44], 0
call fcn.1002f210
push 0
lea edx, [esp + 0x48]
push edx
push ebx
push esi
push ebp
call fcn.10033880
add esp, 0x24
test eax, eax
jne case.0x1007b4b2.35
mov ebp, dword [esp + 0x34]
test ebp, ebp
mov ecx, dword [esp + 0x1c]
jne 0x1007c94e
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
push 0x34
push eax
push ecx
mov eax, esi
mov ecx, ebp
call fcn.1004fc30
add esp, 0xc
jmp 0x1007c971
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x2c]
push edx
push eax
push ecx
push 0x34
mov esi, edi
call fcn.10030400
mov ecx, ebp
mov ebp, dword [esp + 0x20]
add esp, 0x10
mov eax, ebp
call fcn.1004eae0
mov ebx, dword [ebx + 4]
add dword [esp + 0x1c], 1
test ebx, ebx
jne 0x1007c8d1
mov eax, dword [esp + 0x1c]
cmp dword [ebp + 0x44], eax
jge 0x1007c98d
mov dword [ebp + 0x44], eax
push 0
push 0x69
mov esi, edi
call fcn.10035f10
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x10]
add esp, 8
test ebx, ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], 1
je 0x1007cbe0
jmp 0x1007c9c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.10023ff0
xor ebp, ebp
mov esi, eax
add esp, 0xc
cmp esi, ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
je 0x1007ca03
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
push esi
push edx
call fcn.10033880
add esp, 0x14
mov eax, edi
call fcn.100303a0
cmp esi, ebp
mov dword [esp + 0x30], eax
je 0x1007cab6
cmp dword [esp + 0x34], ebp
jne 0x1007cab6
mov ecx, dword [esp + 0x28]
movsx edx, word [ecx + 0x24]
mov eax, dword [ebx + 0x24]
mov ebp, dword [esp + 0x54]
add ebp, 1
cmp eax, edx
mov dword [esp + 0x40], eax
mov esi, edi
push ebp
je 0x1007ca76
push eax
push 0
push 0x2e
call fcn.10030400
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
push ebp
push ecx
push edi
call fcn.10053530
mov edx, dword [esp + 0x4c]
add esp, 0x1c
push edx
push ebp
push 0x4c
call fcn.10035eb0
mov eax, dword [edi + 0x20]
add esp, 0xc
add eax, 3
push eax
push ebp
push 0x26
jmp 0x1007ca7a
push 0
push 0x64
call fcn.10035eb0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ebp
push 0
push ecx
push 0x43
mov esi, edi
call fcn.10030400
mov edx, dword [esp + 0x40]
push edx
push 0
push 0x10
call fcn.10035eb0
mov eax, dword [edi + 0x20]
add esp, 0x1c
sub eax, 2
mov edx, edi
call fcn.1001b350
jmp 0x1007cb66
cmp dword [ebx + 0x14], ebp
mov dword [esp + 0x58], ebp
jle 0x1007cb1c
mov ebp, dword [esp + 0x54]
lea eax, [ebx + 0x24]
add ebp, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1007cade
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + ecx*4]
jmp 0x1007cae4
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
push ebp
push eax
mov eax, dword [esp + 0x30]
push 0
push eax
call fcn.10055a20
mov ecx, dword [esp + 0x40]
push ecx
push ebp
push 0x4c
mov esi, edi
call fcn.10035eb0
mov eax, dword [esp + 0x74]
add dword [esp + 0x5c], 8
add eax, 1
add esp, 0x1c
add ebp, 1
cmp eax, dword [ebx + 0x14]
mov dword [esp + 0x58], eax
jl 0x1007cacd
cmp dword [esp + 0x60], 0
je 0x1007cb66
mov edx, dword [ebx + 0x14]
mov esi, dword [esp + 0x34]
push edx
push ecx
mov eax, edi
call fcn.10029680
mov ebp, dword [esp + 0x5c]
add esp, 4
push eax
mov eax, dword [ebx + 0x14]
push ebp
push eax
lea eax, [ebp + 1]
push eax
push 0x30
mov esi, edi
call fcn.10035e40
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
push 0
push ebp
push ecx
push edx
push 0x42
mov eax, edi
call fcn.10035ca0
add esp, 0x2c
mov ebp, dword [esp + 0x2c]
lea eax, [ebp + 1]
push eax
push 0
push 0x64
mov esi, edi
call fcn.10035eb0
mov eax, dword [ebx + 8]
add esp, 0xc
push 0
push eax
push 0
lea eax, [ebp + 2]
push eax
push 0
push 0x61
call fcn.10035e40
mov ecx, dword [esp + 0x34]
lea eax, [ebp + 3]
push eax
add ecx, 0xffffffff
push ecx
push 0x19
call fcn.10035eb0
add esp, 0x24
push 4
push ebp
push 0x23
call fcn.10035eb0
mov edx, dword [esp + 0x3c]
add esp, 0xc
push edx
mov ecx, edi
call fcn.100138f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
add esp, 4
call fcn.10021de0
mov ebx, dword [ebx + 4]
add dword [esp + 0x1c], 1
test ebx, ebx
jne 0x1007c9c0
mov ebx, dword [esp + 0x5c]
lea eax, [ebx + 1]
push eax
push 0
push 9
mov esi, edi
call fcn.10035eb0
add esp, 0xc
mov eax, ebx
mov edx, edi
call fcn.1001b350
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1007c81f
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov ebx, dword [esp + 0x14]
push 0
push 1
call fcn.1001fa90
mov esi, dword [esp + 0x20]
add esp, 8
neg al
sbb eax, eax
neg eax
mov ebx, eax
call fcn.10050530
jmp case.0x1007b4b2.35
mov ecx, dword [esp + 0x50]
movzx edx, byte [ecx]
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp byte [edx + 0x100ab370], 0x71
sete al
cmp dword [ecx], 0
mov dword [esp + 0x60], eax
jne 0x1007cc71
mov dword [esp + 0x24], 0xffffffff
mov edx, dword [esp + 0x10]
push 1
mov edi, ebp
mov dword [edx + 0x48], 6
call fcn.100301b0
add esp, 4
push 0
push 0x100aa238
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
mov ecx, dword [esp + 0x24]
add esp, 0x10
test ecx, ecx
mov eax, 0x64
mov dword [esp + 0x1c], eax
je 0x1007cccd
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.10015930
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
jg 0x1007cccd
mov eax, 0x64
mov dword [esp + 0x1c], eax
push 1
push eax
push 0x19
mov esi, ebp
call fcn.10035eb0
mov edx, dword [esp + 0x24]
xor ecx, ecx
add esp, 0xc
cmp dword [edx + 0x14], ecx
mov dword [esp + 0x54], ecx
jle 0x1007d22c
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x24]
xor ebx, ebx
test eax, eax
jl 0x1007cd05
cmp ecx, eax
jne 0x1007d213
mov edx, dword [esp + 0x10]
call fcn.1006ccc0
push 1
push 0x86
mov esi, ebp
call fcn.10035f10
push 0
push 0
push 0x18
mov edi, eax
call fcn.10035eb0
add esp, 0x14
mov eax, edi
mov edx, ebp
call fcn.1001b350
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + ecx + 0xc]
add eax, 8
mov dword [esp + 0x5c], eax
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x28], eax
je 0x1007cdbc
jmp 0x1007cd60
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 8]
test byte [edi + 0x2c], 0x20
jne 0x1007cd84
mov edx, dword [edi + 0x20]
lea ecx, [ebx + 2]
push ecx
push edx
push 0x19
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
add ebx, 1
mov edi, dword [edi + 8]
test edi, edi
je 0x1007cdae
jmp 0x1007cd90
mov ecx, dword [edi + 0x2c]
lea eax, [ebx + 2]
push eax
push ecx
push 0x19
mov esi, ebp
call fcn.10035eb0
mov edi, dword [edi + 0x14]
add esp, 0xc
add ebx, 1
test edi, edi
jne 0x1007cd90
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x1007cd60
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x48]
lea eax, [ebx + 8]
cmp ecx, eax
jle 0x1007cdcc
mov eax, ecx
push 1
push ebx
push 2
push 0x7c
mov esi, ebp
mov dword [edx + 0x48], eax
call fcn.10030400
mov eax, dword [ebp + 4]
add esp, 0x10
test eax, eax
je 0x1007cdf5
mov ecx, dword [ebp + 0x20]
mov dl, byte [esp + 0x54]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], dl
push 2
push 0x4c
mov esi, ebp
call fcn.10035f10
mov esi, dword [esp + 0x20]
add esp, 8
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esi + 0x10]
mov edx, dword [ecx + eax]
push edx
push str._in_database__s__n
call fcn.10030b20
add esp, 0xc
push eax
push 0
push 3
push 0
push 0x61
mov esi, ebp
call fcn.10035e40
push 1
push 4
push 2
push 0x20
call fcn.10030400
push 2
push 3
push 4
push 0x5e
call fcn.10030400
push 1
push 2
push 0x23
call fcn.10035eb0
add esp, 0x44
mov eax, edi
mov edx, ebp
call fcn.1001b350
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x28], eax
je 0x1007d20f
cmp dword [esp + 0x60], 0
jne 0x1007d20f
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
or ebx, 0xffffffff
cmp dword [eax + 8], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
je 0x1007d1fd
test byte [eax + 0x2c], 0x20
jne 0x1007ceb3
mov dword [esp + 0x40], 0
jmp 0x1007cebc
call fcn.100125d0
mov dword [esp + 0x40], eax
push 1
push 0x86
mov esi, ebp
call fcn.10035f10
push 0
push 0
push 0x18
mov edi, eax
call fcn.10035eb0
add esp, 0x14
mov eax, edi
mov edx, ebp
call fcn.1001b350
mov edx, dword [esp + 0x10]
call fcn.1001a910
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push 1
push 0x34
push edi
push edx
call fcn.100525e0
add esp, 0x1c
push 7
push 0
push 0x19
call fcn.10035eb0
mov edi, dword [edi + 8]
add esp, 0xc
test edi, edi
mov dword [esp + 0x20], 0
je 0x1007cf49
mov edx, dword [esp + 0x20]
add edx, 8
push edx
push 0
push 0x19
mov esi, ebp
call fcn.10035eb0
mov edi, dword [edi + 0x14]
add dword [esp + 0x2c], 1
add esp, 0xc
test edi, edi
jne 0x1007cf27
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x48]
add eax, 8
cmp ecx, eax
jle 0x1007cf5d
mov eax, ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x38]
push 0
push eax
push 0x69
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
push 1
push 7
push 0x25
call fcn.10035eb0
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx + 8]
add esp, 0xc
test edi, edi
mov dword [esp + 0x48], eax
je 0x1007d0ea
mov ecx, dword [esp + 0x58]
mov eax, 8
sub eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], eax
jmp 0x1007cfb0
cmp dword [esp + 0x40], edi
je 0x1007d0da
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push ebx
push edx
push 0
push 0
push eax
push edi
push ecx
lea eax, [esp + 0x94]
call fcn.10057aa0
mov edx, dword [esp + 0x78]
add esp, 0x1c
mov ebx, eax
mov eax, dword [esp + 0x20]
push 1
add edx, eax
push edx
push 0x25
mov esi, ebp
mov dword [esp + 0x38], edi
call fcn.10035eb0
movzx ecx, word [edi + 0x34]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push ebx
push 0
push edx
push 0x42
mov eax, ebp
call fcn.10035ca0
add esp, 0x14
push 0xffffffffffffffff
push 1
push 0x25
mov dword [esp + 0x80], eax
call fcn.10035eb0
add esp, 0xc
push 0xfffffffffffffffe
push str.row
push 0
push 3
push 0
push 0x61
call fcn.10035e40
push 3
push 3
push 7
push 0x5e
call fcn.10030400
push 0xfffffffffffffffe
push str._missing_from_index
push 0
push 4
push 0
push 0x61
call fcn.10035e40
add esp, 0x40
push 3
push 3
push 4
push 0x5e
call fcn.10030400
mov eax, dword [edi]
push 0
push eax
push 0
push 4
push 0
push 0x61
call fcn.10035e40
push 3
push 3
push 4
push 0x5e
call fcn.10030400
push 1
push 3
push 0x23
call fcn.10035eb0
add esp, 0x44
push 1
push 0x86
call fcn.10035f10
push 0x18
mov dword [esp + 0x48], eax
call fcn.10035f60
mov eax, dword [esp + 0x48]
add esp, 0xc
mov edx, ebp
call fcn.1001b350
mov eax, dword [esp + 0x74]
mov edx, ebp
call fcn.1001b350
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
call fcn.1001fc30
mov edi, dword [edi + 0x14]
add dword [esp + 0x20], 1
test edi, edi
jne 0x1007cfb0
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
push edi
push ecx
push 9
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
lea eax, [edi - 1]
mov edx, ebp
call fcn.1001b350
push 0xfffffffffffffffe
push str.wrong__of_entries_in_index
push 0
push 2
push 0
push 0x61
call fcn.10035e40
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 8]
add esp, 0x18
test ebx, ebx
je 0x1007d1fd
mov dword [esp + 0x20], 8
jmp 0x1007d140
cmp dword [esp + 0x40], ebx
je 0x1007d1ed
mov edi, dword [ebp + 0x20]
lea eax, [edi + 2]
push eax
push 1
push 0x86
mov esi, ebp
call fcn.10035eb0
add esp, 0xc
push 0
push 0
push 0x18
call fcn.10035eb0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
add esp, 0xc
push 3
lea eax, [edx + ecx - 8]
push eax
push 0x31
call fcn.10035eb0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push 3
add edi, 8
push edi
push ecx
push 0x4f
call fcn.10030400
mov eax, dword [ebp + 4]
add esp, 0x10
test eax, eax
je 0x1007d1b0
mov ecx, dword [ebp + 0x20]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x88
push 0xffffffffffffffff
push 1
push 0x25
mov esi, ebp
call fcn.10035eb0
mov eax, dword [ebx]
add esp, 0xc
push 0
push eax
push 0
push 3
push 0
push 0x61
call fcn.10035e40
push 7
push 2
push 3
push 0x5e
call fcn.10030400
push 1
push 7
push 0x23
call fcn.10035eb0
add esp, 0x34
mov ebx, dword [ebx + 0x14]
add dword [esp + 0x20], 1
test ebx, ebx
jne 0x1007d140
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x1007ce78
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
add dword [esp + 0x34], 0x10
add ecx, 1
cmp ecx, dword [edx + 0x14]
mov dword [esp + 0x54], ecx
jl 0x1007ccf3
push 0x100ac414
push 4
push ebp
call fcn.100302f0
mov esi, eax
add esp, 0xc
cmp dword [ebp + 0x20], esi
jbe 0x1007d253
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
neg eax
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
lea eax, [esi + 1]
mov edx, ebp
call fcn.1001b350
mov ecx, dword [ebp + 4]
test ecx, ecx
mov edi, dword [ebp]
lea eax, [esi + 2]
je 0x1007d29c
cmp byte [edi + 0x40], 0
jne 0x1007d29c
test eax, eax
jge 0x1007d27a
mov eax, dword [ebp + 0x20]
sub eax, 1
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.10030230
mov dword [esi + 0x10], 0x100b1c34
mov byte [esi + 1], 0xfe
jmp case.0x1007b4b2.35
mov ecx, 0x100b1c34
mov eax, 0xfffffffe
call fcn.10030230
jmp case.0x1007b4b2.35
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x1007d393
mov esi, dword [esp + 0x10]
call fcn.100121d0
test eax, eax
jne case.0x1007b4b2.35
push 1
mov edi, ebp
call fcn.100301b0
add esp, 4
push 0
push str.encoding
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
push 1
push 0
push 0x61
mov esi, ebp
call fcn.10035eb0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ecx + 0x4d]
mov esi, dword [ebp + 4]
mov ebx, dword [edx*8 + 0x100ac430]
mov edi, dword [ebp]
add esp, 0x1c
test esi, esi
je 0x1007d375
cmp byte [edi + 0x40], 0
jne 0x1007d375
mov eax, dword [ebp + 0x20]
sub eax, 1
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.10030230
xor eax, eax
cmp ebx, eax
mov dword [esi + 0x10], eax
jne 0x1007d35c
push 1
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
push 1
push 0x23
mov esi, ebp
call fcn.10035eb0
jmp 0x1007d87d
push 1
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xfe
push 1
push 0x23
mov esi, ebp
call fcn.10035eb0
jmp 0x1007d87d
mov ecx, ebx
mov eax, 0xfffffffe
call fcn.10030230
push 1
push 1
push 0x23
mov esi, ebp
call fcn.10035eb0
jmp 0x1007d87d
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0xc]
movzx eax, word [eax + 0x4e]
test al, 1
je 0x1007d3b1
test al, 4
je case.0x1007b4b2.35
mov edi, dword [esp + 0x14]
mov eax, dword [str.UTF8]
test eax, eax
mov esi, 0x100ac430
je 0x1007d401
nop
push eax
push edi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1007d3da
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x1007d3c0
jmp 0x1007d401
mov al, byte [esi + 4]
test al, al
movzx eax, al
jne 0x1007d3e9
mov eax, 2
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [ecx + 0xc]
mov byte [edx + 0x4d], al
cmp dword [esi], 0
jne case.0x1007b4b2.35
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push eax
push str.unsupported_encoding:__s
call fcn.10030a70
add esp, 8
jmp case.0x1007b4b2.35
mov edi, dword [esp + 0x24]
mov edx, 1
mov ecx, edi
shl edx, cl
or dword [ebp + 0x60], edx
cmp edi, 1
je 0x1007d438
mov eax, ebp
call fcn.1001b320
mov eax, dword [esp + 0x50]
movsx eax, byte [eax]
add eax, 0xffffffbf
cmp eax, 0x32
ja case.0x1007d44e.66
movzx ecx, byte [eax + 0x1007d960]
jmp dword [ecx*4 + 0x1007d950]
mov dword [esp + 0x34], 8
jmp 0x1007d47b
mov dword [esp + 0x34], 0
jmp 0x1007d47b
mov dword [esp + 0x34], 1
jmp 0x1007d47b
mov dword [esp + 0x34], 6
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x1007d4f6
cmp dword [esp + 0x34], 0
je 0x1007d4f6
push 0x100ac424
push 3
push ebp
call fcn.100302f0
mov esi, eax
add esp, 0xc
cmp dword [ebp + 0x20], esi
jbe 0x1007d4ab
mov eax, dword [ebp + 4]
lea edx, [esi + esi*4]
mov dword [eax + edx*4 + 4], edi
mov ecx, ebx
call fcn.1001d160
lea ecx, [esi + 1]
cmp dword [ebp + 0x20], ecx
jbe 0x1007d4c4
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
lea eax, [esi + 2]
cmp dword [ebp + 0x20], eax
jbe case.0x1007b4b2.35
mov edx, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*4 + 4], edi
cmp dword [ebp + 0x20], eax
jbe case.0x1007b4b2.35
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 8], edx
jmp case.0x1007b4b2.35
push 0x100ac478
push 3
push ebp
call fcn.100302f0
add esp, 0xc
cmp dword [ebp + 0x20], eax
jbe 0x1007d515
mov edx, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*4 + 4], edi
add eax, 1
cmp dword [ebp + 0x20], eax
jbe 0x1007d53a
mov edx, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*4 + 4], edi
cmp dword [ebp + 0x20], eax
jbe 0x1007d53a
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 0xc], edx
push 1
mov edi, ebp
call fcn.100301b0
mov eax, dword [esp + 0x54]
add esp, 4
push 0xffffffffffffffff
push eax
push 0
push 0
mov ecx, ebp
call fcn.1003f9f0
add esp, 0x10
jmp case.0x1007b4b2.35
push 1
mov edi, ebp
xor ebx, ebx
call fcn.100301b0
mov ecx, dword [esp + 0x14]
add esp, 4
push ebx
push str.compile_option
mov dword [ecx + 0x48], 1
push ebx
push ebx
mov ecx, ebp
call fcn.1003f9f0
push ebx
call sym.SQLite.Interop.dll_sqlite3_compileoption_get
add esp, 0x14
test eax, eax
je case.0x1007b4b2.35
push 0
push eax
push 0
push 1
push 0
push 0x61
mov esi, ebp
add ebx, 1
call fcn.10035e40
push 1
push 1
push 0x23
call fcn.10035eb0
add esp, 0x24
push ebx
call sym.SQLite.Interop.dll_sqlite3_compileoption_get
add esp, 4
test eax, eax
jne 0x1007d599
jmp case.0x1007b4b2.35
mov edx, dword [esp + 0x28]
cmp dword [edx], 0
mov ebx, dword [esp + 0x24]
jne 0x1007d5e0
mov ebx, 0xa
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x1007d616
push str.full
push edi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
jne 0x1007d601
lea esi, [eax + 1]
jmp 0x1007d616
push str.restart
push edi
call sym.SQLite.Interop.dll_sqlite3_stricmp
add esp, 8
test eax, eax
jne 0x1007d616
lea esi, [eax + 2]
push 3
mov edi, ebp
call fcn.100301b0
mov eax, dword [esp + 0x14]
add esp, 4
push 0
push str.busy
push 0
push 0
mov ecx, ebp
mov dword [eax + 0x48], 3
call fcn.1003f9f0
push 0
push 0x100b1c74
push 0
push 1
mov ecx, ebp
call fcn.1003f9f0
push 0
push str.checkpointed
push 0
push 2
mov ecx, ebp
call fcn.1003f9f0
push 1
push esi
push ebx
push 0xb
mov esi, ebp
call fcn.10030400
add esp, 0x40
push 3
push 1
push 0x23
call fcn.10035eb0
jmp 0x1007d87d
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1007d6a0
call fcn.1001d160
mov esi, dword [esp + 0x18]
push eax
push esi
call sym.SQLite.Interop.dll_sqlite3_wal_autocheckpoint
add esp, 8
jmp 0x1007d6a4
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xcc], 0x10067840
jne 0x1007d6c3
mov eax, dword [esi + 0xd0]
cdq
push edx
push eax
push str.wal_autocheckpoint
jmp 0x1007d874
xor eax, eax
cdq
push edx
push eax
push str.wal_autocheckpoint
jmp 0x1007d874
mov ecx, dword [esp + 0x18]
push ecx
call sym.SQLite.Interop.dll_sqlite3_db_release_memory
add esp, 4
jmp case.0x1007b4b2.35
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1007d716
lea edx, [esp + 0x48]
push 0xf4240
push edx
mov al, 1
call fcn.1001d180
add esp, 8
test eax, eax
jne 0x1007d716
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call sym.SQLite.Interop.dll_sqlite3_soft_heap_limit64
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call sym.SQLite.Interop.dll_sqlite3_soft_heap_limit64
push edx
push eax
mov eax, dword [esp + 0x20]
push str.soft_heap_limit
call fcn.100437e0
add esp, 0x14
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov ecx, dword [esp + 0x14]
call fcn.10016110
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call sym.SQLite.Interop.dll_sqlite3_key_v2
add esp, 0x10
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov ecx, dword [esp + 0x14]
call fcn.10016110
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push edx
call sym.SQLite.Interop.dll_sqlite3_rekey_v2
add esp, 0x10
jmp case.0x1007b4b2.35
cmp dword [esp + 0x14], 0
je case.0x1007b4b2.35
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov byte [esp + 0x47], bl
jmp 0x1007d7b0
mov al, byte [ebx + esi]
movzx ecx, al
test byte [ecx + 0x100ab470], 8
je 0x1007d7f7
movsx ecx, al
mov eax, ecx
sar eax, 6
and al, 1
mov dl, 7
imul dl
sub cl, al
mov al, byte [esp + 0x47]
and cl, 0xf
shl al, 4
add cl, al
test bl, 1
mov byte [esp + 0x47], cl
je 0x1007d7ef
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov byte [esp + eax + 0x7c], cl
add ebx, 1
cmp ebx, 0x50
jb 0x1007d7b0
mov ecx, dword [esp + 0x50]
mov dl, byte [ecx + 3]
mov ecx, dword [esp + 0x3c]
and dl, 0xf
mov eax, ebx
cmp dl, 0xb
cdq
jne 0x1007d82a
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
push eax
lea eax, [esp + 0x80]
push eax
push ecx
push edx
call sym.SQLite.Interop.dll_sqlite3_key_v2
add esp, 0x10
jmp case.0x1007b4b2.35
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
push eax
lea eax, [esp + 0x80]
push eax
push ecx
push edx
call sym.SQLite.Interop.dll_sqlite3_rekey_v2
add esp, 0x10
jmp case.0x1007b4b2.35
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1007d862
call fcn.1001d160
push eax
mov eax, dword [esp + 0x1c]
push eax
call sym.SQLite.Interop.dll_sqlite3_busy_timeout
add esp, 8
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1e4]
cdq
push edx
push eax
push str.timeout
mov eax, dword [esp + 0x1c]
call fcn.100437e0
add esp, 0xc
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov ecx, esi
call fcn.10021de0
mov eax, dword [esp + 0x14]
mov ecx, esi
call fcn.10021de0
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100019b7
add esp, 0x98
ret