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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x10155004]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x24], eax
jne 0x1007b76f
cmp byte [ebx + 0xdc], 1
jne 0x1007a6c0
cmp byte [ebp + 0x28], 2
jne 0x1007b76f
mov ecx, ebx
call fcn.10095f50
test eax, eax
jne 0x1007b76f
mov edx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.1007a5e0
test eax, eax
jne 0x1007b76f
cmp dword [esp + 0x24], eax
je 0x1007a8c6
lea eax, [esp + 0x40]
mov edx, edi
push eax
push esi
mov ecx, ebx
call fcn.100754e0
mov edi, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
js 0x1007b773
cmp byte [edi + 0xb1], 0
jne 0x1007a747
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.1007e280
cmp dword [esi + 4], 0
mov esi, dword [esp + 0x1c]
jne 0x1007a749
test eax, eax
je 0x1007a749
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
mov eax, 1
cmove esi, eax
mov dword [esp + 0x1c], esi
jmp 0x1007a749
mov esi, eax
mov edx, dword [ebx]
mov ecx, esi
mov dword [esp + 0x50], ebx
add ecx, ecx
cmp esi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0x88]
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0x74]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
xor eax, eax
mov word [esp + 0x68], ax
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], str.index
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x100735f0
mov dword [esp + 0x5c], 0x10073640
mov dword [esp + 0x60], 0x10001080
mov dword [esp + 0x64], 0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xa8], eax
call fcn.1005e780
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 8]
test edx, edx
je 0x1007a853
mov eax, dword [ebx]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x1007a848
nop
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x1007a840
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x1c]
jmp 0x1007a856
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x28]
xor edx, edx
mov ecx, ebx
push dword [eax + 0x10]
call fcn.10074880
mov edx, eax
add esp, 8
mov dword [esp + 0xc], edx
test edx, edx
je 0x1007b773
cmp esi, 1
jne 0x1007a89d
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x1007a89d
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.100294d0
add esp, 0xc
jmp 0x1007b069
test byte [edx + 0x1c], 0x80
je 0x1007a90c
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1007a90c
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x1007a8c0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x1007a8b0
mov dword [esp + 0x30], ecx
jmp 0x1007a90c
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1007b76f
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x1007a90c
mov eax, dword [edi + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x1007a90c
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x1007a900
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 0x10]
mov ecx, esi
shl ecx, 4
mov edx, 7
add eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov ebx, dword [eax]
test ebx, ebx
je 0x1007a9a2
mov esi, ebx
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x1007a956
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x1013f9f0]
cmp al, byte [ecx + 0x1013f9f0]
jne 0x1007a956
inc esi
inc edi
test edx, edx
jg 0x1007a934
dec edx
test edx, edx
js 0x1007a972
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x1013f9f0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x1013f9f0]
sub eax, ecx
jne 0x1007a99e
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xb1], 0
jne 0x1007a9a2
cmp dword [esp + 0x24], 0
je 0x1007a9a2
mov ecx, dword [esp + 0x14]
push ebx
push str.table__s_may_not_be_indexed
push ecx
call fcn.100294d0
add esp, 0xc
jmp 0x1007b069
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x1007a9c1
mov ecx, dword [esp + 0x14]
push str.views_may_not_be_indexed
push ecx
call fcn.100294d0
jmp 0x1007b066
cmp al, 1
jne 0x1007a9d9
mov ecx, dword [esp + 0x14]
push str.virtual_tables_may_not_be_indexed
push ecx
call fcn.100294d0
jmp 0x1007b066
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1007ab46
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x1007ab32
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10025f80
mov ebx, eax
add esp, 8
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x1007ab22
push esi
push edi
push ebx
call fcn.10118c90
add esp, 0xc
mov byte [esi + ebx], 0
mov ecx, ebx
call fcn.10029560
mov eax, dword [esp + 0xc]
mov edx, ebx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push dword [eax]
push str.index
call fcn.10075570
add esp, 8
test eax, eax
jne 0x1007b069
cmp byte [ebx + 0xdc], 2
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
jae 0x1007ab18
cmp byte [edi + 0xb1], al
jne 0x1007aa9d
push dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.100744b0
add esp, 4
test eax, eax
je 0x1007aa9d
mov esi, dword [esp + 0x20]
push esi
push str.there_is_already_a_table_named__s
push ebx
call fcn.100294d0
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x1007b069
push dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.10074a40
add esp, 4
test eax, eax
je 0x1007ab18
cmp dword [ebp + 0x24], 0
jne 0x1007aad3
mov esi, dword [esp + 0x20]
push esi
push str.index__s_already_exists
push ebx
call fcn.100294d0
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x1007b069
mov eax, dword [ebx + 0x80]
mov edx, ebx
mov ecx, dword [esp + 0x1c]
test eax, eax
mov esi, 1
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x5c]
test eax, esi
jne 0x1007ab04
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x1007ab04
mov ecx, edx
call fcn.1007cbd0
mov ecx, ebx
call fcn.100757e0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x1007b069
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x1007ab8c
mov ecx, ebx
call fcn.10029560
mov dword [esp + 0x20], ebx
jmp 0x1007b069
xor ecx, ecx
call fcn.10029560
mov dword [esp + 0x20], 0
jmp 0x1007b069
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x1007ab5a
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x1007ab52
push ecx
push ebx
push str.sqlite_autoindex__s__d
push edi
call fcn.100284e0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test esi, esi
je 0x1007b069
mov ebx, dword [esp + 0x14]
cmp byte [ebx + 0xdc], 0
je 0x1007ab88
inc byte [esi + 7]
mov esi, dword [esp + 0x28]
cmp byte [ebx + 0xdc], 2
jae 0x1007abf2
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, ebx
call fcn.10073a80
add esp, 0xc
test eax, eax
jne 0x1007b069
mov eax, dword [esp + 0xc]
xor edx, edx
cmp dword [esp + 0x1c], 1
mov ecx, ebx
push esi
sete dl
push dword [eax]
push dword [esp + 0x28]
lea edx, [edx*2 + 1]
call fcn.10073a80
add esp, 0xc
test eax, eax
jne 0x1007b069
cmp dword [esp + 0x2c], 0
jne 0x1007acb4
mov eax, dword [esp + 0xc]
movsx ecx, word [eax + 0x22]
mov eax, dword [eax + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov ebx, dword [eax + ecx*8 - 0x10]
test ebx, ebx
jne 0x1007ac1c
xor esi, esi
jmp 0x1007ac30
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1007ac21
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
mov ecx, edi
push 0
push eax
call fcn.10025f80
mov edi, eax
add esp, 8
test edi, edi
je 0x1007ac80
push 0x34
push 0
push edi
call fcn.10117800
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x1007ac75
push esi
push ebx
push eax
call fcn.10118c90
mov eax, dword [edi + 8]
add esp, 0xc
mov byte [eax + esi], 0
mov dword [edi + 0x18], 1
mov ecx, dword [esp + 0x14]
mov edx, edi
mov ecx, dword [ecx]
call fcn.10064190
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x1007b069
mov ecx, dword [ebp + 0x20]
xor ebx, ebx
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne ebx, edx
lea eax, [ecx + ecx*4]
mov byte [edi + eax*4 - 4], bl
jmp 0x1007ace1
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebx]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x80]
jle 0x1007acd7
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.100294d0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x1007b069
mov esi, dword [edi]
test esi, esi
jle 0x1007ad27
lea edx, [edi + 8]
nop word [eax + eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x1007ad1b
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1007ad10
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ad01
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x18]
inc eax
add eax, ecx
mov dword [esp + 0x18], eax
add edx, 0x14
sub esi, 1
jne 0x1007acf0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1007ad30
mov eax, dword [esp + 0x30]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x1007ad4d
movzx ecx, word [eax + 0x32]
jmp 0x1007ad52
mov ecx, 1
movzx edx, word [edi]
lea eax, [esp + 0x34]
mov edi, dword [esp + 0x10]
add dx, cx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, edi
inc eax
add eax, esi
push eax
call fcn.1007a540
add esp, 8
mov ebx, eax
cmp byte [edi + 0x57], 0
mov dword [esp + 0x18], ebx
jne 0x1007b023
mov ecx, dword [esp + 0x34]
mov dword [ebx], ecx
lea eax, [ecx + 1]
lea ecx, [esi + 1]
add eax, esi
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x40], eax
push dword [ebx]
call fcn.10118c90
mov eax, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x2c]
mov byte [ebx + 0x36], al
neg eax
mov dword [ebx + 0xc], edx
sbb ecx, ecx
mov eax, dword [ebx + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x28]
and eax, 3
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebx + 0x18], eax
movzx eax, word [esi]
mov word [ebx + 0x32], ax
mov ecx, eax
test edi, edi
je 0x1007ae15
mov ecx, dword [esp + 0x14]
push 0
push edi
push 2
call fcn.10061a60
movzx ecx, word [ebx + 0x32]
add esp, 0xc
mov edx, dword [esp + 0xc]
xor eax, eax
mov dword [ebx + 0x24], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
lea edi, [esi + 8]
mov dword [esp + 0x34], edi
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xdc], 2
jb 0x1007ae42
mov dword [ebx + 0x28], esi
mov dword [esp + 0x2c], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x28], esi
cmp ax, cx
jae 0x1007b0ea
mov eax, dword [edi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x1007ae69
cmp cl, 0x71
jne 0x1007ae6c
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x1007ae6c
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x14]
push 0
push dword [edi]
push 0x20
call fcn.10061a60
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp dword [ecx + 0x24], 0
jne 0x1007b01f
mov eax, dword [edi]
test eax, eax
je 0x1007aea2
test dword [eax + 4], 0x2000
je 0x1007aea2
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1007ae92
cmp byte [eax], 0xa7
je 0x1007aeee
mov edx, dword [esp + 0xc]
cmp edx, dword [ecx + 0xf8]
je 0x1007b0d7
cmp dword [ebx + 0x28], 0
jne 0x1007aecc
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x28], eax
mov dword [esp + 0x2c], 0
mov eax, dword [ebx + 4]
mov ecx, 0xfffffffe
mov edi, ecx
mov word [eax + esi*2], di
mov eax, dword [ebx + 0x38]
mov edi, dword [esp + 0x34]
and eax, 0xfffffff7
or eax, 0x800
mov dword [ebx + 0x38], eax
jmp 0x1007af36
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x1007af00
mov edx, dword [esp + 0xc]
movsx ecx, word [edx + 0x20]
jmp 0x1007af2f
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
mov eax, ecx
add eax, eax
test byte [edx + eax*8 + 4], 0xf
jne 0x1007af1d
mov edx, dword [esp + 0xc]
and dword [ebx + 0x38], 0xfffffff7
mov edx, dword [edx + 4]
test byte [edx + eax*8 + 0xe], 0x20
mov edx, dword [esp + 0xc]
je 0x1007af2f
or dword [ebx + 0x38], 0xc00
mov eax, dword [ebx + 4]
mov word [eax + esi*2], cx
mov eax, dword [edi]
cmp byte [eax], 0x71
jne 0x1007af7c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1007af48
xor esi, esi
jmp 0x1007af5f
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1007af50
sub esi, edx
and esi, 0x3fffffff
mov edi, dword [esp + 0x38]
inc esi
push esi
push ecx
push edi
call fcn.10118c90
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x1007afb9
test ecx, ecx
js 0x1007afbd
shl ecx, 4
add ecx, dword [edx + 4]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x1007afbd
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x1007afa6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x1007afa0
test dl, 4
je 0x1007afb6
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x1007afb0
lea edi, [eax + 1]
test edi, edi
jne 0x1007afc2
mov edi, 0x1013f3bc
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb1], 0
jne 0x1007b09c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov bl, byte [ecx + 0xb1]
mov bh, byte [ecx + 0x54]
movzx eax, bl
mov dl, bh
push eax
push edi
call fcn.1007d8c0
add esp, 8
test bl, bl
jne 0x1007b013
test eax, eax
je 0x1007b003
cmp dword [eax + 0xc], 0
jne 0x1007b098
mov ecx, dword [esp + 0x14]
mov dl, bh
push edi
push eax
call fcn.1007da30
add esp, 8
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x1007b09c
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x1007b069
push dword [ebx + 0x24]
push edi
call fcn.100634d0
mov edx, dword [ebx + 0x28]
add esp, 8
test edx, edx
je 0x1007b041
mov ecx, edi
call fcn.10064650
push dword [ebx + 0x10]
push edi
call fcn.10025c40
add esp, 8
test byte [ebx + 0x38], 0x10
je 0x1007b05f
push dword [ebx + 0x20]
push edi
call fcn.10025c40
add esp, 8
push ebx
push edi
call fcn.10025c40
add esp, 8
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 8]
add edx, 8
test ecx, ecx
je 0x1007b76f
nop dword [eax + eax]
cmp byte [ecx + 0x36], 5
je 0x1007b74f
lea edx, [ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
jne 0x1007b080
jmp 0x1007b76f
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x20]
mov dword [eax + esi*4], edi
xor eax, eax
mov edi, dword [esp + 0x34]
cmp byte [esp + 0x3f], 4
movzx ecx, byte [edi + 8]
cmovb ecx, eax
mov eax, dword [ebx + 0x1c]
add edi, 0x14
mov dword [esp + 0x34], edi
mov byte [esi + eax], cl
inc esi
movzx eax, word [ebx + 0x32]
mov dword [esp + 0x28], esi
cmp esi, eax
jge 0x1007b0ea
mov edx, dword [esp + 0xc]
jmp 0x1007ae53
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.100294d0
add esp, 8
jmp 0x1007b01f
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1007b161
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x32]
jae 0x1007b175
nop dword [eax]
mov eax, dword [ecx + 4]
movzx edx, word [ebx + 0x32]
push esi
push ecx
movzx edi, word [eax + esi*2]
mov ecx, ebx
call fcn.10077670
add esp, 8
test eax, eax
je 0x1007b126
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x1007b152
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 4]
mov word [eax + edx*2], di
mov edi, dword [esp + 0x30]
mov ecx, dword [ebx + 0x20]
mov eax, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebx + 0x1c]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x30]
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x1007b100
jmp 0x1007b175
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + esi*4], 0x1013f3bc
mov ecx, ebx
call fcn.1007b860
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xf8], 0
jne 0x1007b190
mov ecx, ebx
call fcn.10077610
mov ecx, ebx
call fcn.10077710
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
je 0x1007b20a
movzx esi, word [ebx + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x1007b20a
or dword [ebx + 0x38], 0x20
xor edx, edx
movsx edi, word [ecx + 0x22]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x38], eax
test edi, edi
jle 0x1007b20a
movsx ebx, word [ecx + 0x20]
cmp edx, ebx
je 0x1007b1fd
xor ecx, ecx
test esi, esi
je 0x1007b1e5
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
cmp dx, word [eax]
je 0x1007b1f5
inc ecx
add eax, 2
cmp ecx, esi
jl 0x1007b1d8
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
and eax, 0xffffffdf
mov dword [ebx + 0x38], eax
jmp 0x1007b206
movzx eax, cx
test ax, ax
js 0x1007b1e5
inc edx
cmp edx, edi
jl 0x1007b1c7
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0xf8]
jne 0x1007b2f5
mov esi, dword [ecx + 8]
mov dword [esp + 0x30], esi
test esi, esi
je 0x1007b2f5
movzx ecx, word [ebx + 0x32]
nop dword [eax]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x1007b2de
mov edx, eax
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
test edx, edx
je 0x1007b2d2
mov eax, dword [esi + 4]
mov ebx, dword [ebx + 4]
sub eax, ebx
mov dword [esp + 0x28], eax
nop dword [eax]
mov ax, word [eax + ebx]
cmp ax, word [ebx]
jne 0x1007b2ce
mov eax, dword [esi + 0x20]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov edi, dword [eax + ecx*4]
sub edi, edx
nop dword [eax + eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x1007b2ad
test eax, eax
jne 0x1007b2bf
mov ecx, dword [esp + 0x34]
add ebx, 2
mov edx, dword [esp + 0x38]
inc ecx
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
cmp ecx, edx
jl 0x1007b260
jmp 0x1007b2ce
movzx ecx, byte [eax + 0x1013f9f0]
movzx eax, byte [esi + 0x1013f9f0]
sub ecx, eax
jne 0x1007b2c2
inc edx
jmp 0x1007b280
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
cmp ecx, edx
je 0x1007b369
movzx ecx, word [ebx + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x30], esi
test esi, esi
jne 0x1007b230
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp byte [edx + 0xdc], 2
mov edi, dword [esp + 0x10]
jae 0x1007b703
cmp byte [edi + 0xb1], 0
je 0x1007b415
cmp dword [esp + 0x24], 0
je 0x1007b344
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0xac]
mov dword [ebx + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x1007b344
nop dword [eax]
cmp dword [eax + 0x2c], ecx
jne 0x1007b33d
cmp eax, ebx
jne 0x1007b3d3
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1007b330
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx]
add ecx, 0x18
push ebx
call fcn.1002c1c0
add esp, 4
test eax, eax
je 0x1007b40c
mov ecx, edi
call fcn.10026330
jmp 0x1007b023
mov al, byte [esi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x1007b39c
cmp al, 0xb
je 0x1007b396
cmp cl, 0xb
je 0x1007b39c
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x1c]
call fcn.100294d0
mov al, byte [esi + 0x36]
add esp, 0xc
cmp al, 0xb
jne 0x1007b39c
mov al, byte [ebx + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x1007b3ae
mov eax, dword [esi + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xdc], 2
jb 0x1007b01f
mov eax, dword [ecx + 0xfc]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0xfc], ebx
jmp 0x1007b069
push str.invalid_rootpage
push edx
call fcn.100294d0
push 0x10144edc
push 0x1e660
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10028790
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x1007b023
or dword [edi + 0x18], 1
jmp 0x1007b6ff
test byte [ecx + 0x1c], 0x80
je 0x1007b427
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1007b707
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov ebx, dword [edx + 0x2c]
test esi, esi
jne 0x1007b45d
cmp dword [edx + 0x80], esi
jne 0x1007b448
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x1007b448
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.1004ac20
mov esi, eax
test esi, esi
je 0x1007b746
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x80]
mov edi, edx
test ecx, ecx
mov edx, 1
cmovne edi, ecx
mov ecx, dword [esp + 0x1c]
shl edx, cl
mov eax, dword [edi + 0x5c]
test eax, edx
jne 0x1007b492
bts eax, ecx
mov dword [edi + 0x5c], eax
cmp ecx, 1
jne 0x1007b492
mov ecx, edi
call fcn.1007cbd0
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x58]
or byte [edi + 0x14], 1
bts eax, ecx
mov dword [edi + 0x58], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x1007b4c0
push 0
push 0
push 0
mov edx, 0xb9
mov ecx, esi
call fcn.1004ae00
add esp, 0xc
mov edx, eax
jmp 0x1007b4f3
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov dword [eax + 0x2c], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007b51a
push 2
push ebx
push dword [esp + 0x24]
mov edx, 0x93
mov ecx, esi
call fcn.1004ae00
add esp, 0xc
jmp 0x1007b549
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 2
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
je 0x1007b59f
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xd4]
mov eax, dword [eax + 0xd0]
add edx, eax
mov eax, dword [esp + 0x40]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
mov edx, str._UNIQUE
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x50], 0
push eax
mov eax, 0x1014475b
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x20]
call fcn.100284e0
add esp, 0x14
mov edi, eax
jmp 0x1007b5a1
xor edi, edi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
push edi
push ebx
push dword [eax]
mov eax, dword [esp + 0x24]
push dword [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
push dword [ecx + eax]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x2c]
call fcn.10074390
add esp, 0x1c
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.10025c40
add esp, 8
cmp dword [esp + 0x24], 0
je 0x1007b6da
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x1c]
mov edx, ebx
call fcn.10079cf0
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x44]
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax]
inc edx
cmp dword [edi + 0x70], ecx
jg 0x1007b631
push edx
push 1
push dword [esp + 0x24]
mov edx, 0x64
mov ecx, edi
call fcn.1004ae00
add esp, 0xc
jmp 0x1007b660
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x10]
push 0
push ecx
push dword [ebx]
push str.name_q_AND_typeindex
push edi
call fcn.100284e0
mov edx, dword [esp + 0x30]
add esp, 0x10
mov ecx, esi
push eax
call fcn.1004b360
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x1007b6a5
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, esi
call fcn.1004ae00
add esp, 0xc
jmp 0x1007b6de
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa6
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1007b6de
mov ebx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1007b6f0
mov eax, 0x10158b98
jmp 0x1007b6fc
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp byte [edi + 0xb1], 0
jne 0x1007b72c
test eax, eax
je 0x1007b72c
cmp byte [edx + 0xdc], 2
jb 0x1007b746
mov eax, dword [esp + 0x18]
mov dword [edx + 0xfc], eax
jmp 0x1007b069
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 0x14], eax
mov dword [edx + 8], ecx
jmp 0x1007b06d
mov ebx, dword [esp + 0x18]
jmp 0x1007b023
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1007b76f
cmp byte [eax + 0x36], 5
je 0x1007b76f
mov dword [edx], eax
lea edx, [eax + 0x14]
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
mov dword [edx], ecx
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x1007b756
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1007b784
mov edx, eax
mov ecx, edi
call fcn.100633e0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007b795
mov edx, eax
mov ecx, edi
call fcn.10064650
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.1007c280
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1007b842
test edi, edi
je 0x1007b839
cmp ecx, dword [edi + 0x164]
jae 0x1007b812
cmp ecx, dword [edi + 0x15c]
jb 0x1007b7e7
mov eax, dword [edi + 0x158]
mov dword [ecx], eax
mov dword [edi + 0x158], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edi + 0x160]
jb 0x1007b812
mov eax, dword [edi + 0x150]
mov dword [ecx], eax
mov dword [edi + 0x150], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x210], 0
je 0x1007b839
mov edx, ecx
mov ecx, edi
call fcn.10025ba0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
push ecx
call fcn.10025b30
add esp, 4
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret