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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x10165004]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, ecx
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x24], ecx
jne 0x10077030
cmp byte [eax + 0xd8], 1
jne 0x10075caf
cmp byte [ebp + 0x28], 2
jne 0x10077030
mov ecx, eax
call fcn.10093110
test eax, eax
jne 0x10077030
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10075cdd
mov edx, dword [ecx]
test edx, edx
jle 0x10075cdd
add ecx, 0x14
nop
test byte [ecx], 0x20
jne 0x10075d50
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x10075cd0
cmp dword [esp + 0x34], 0
mov dword [esp + 0x44], 1
je 0x10075f38
lea eax, [esp + 0x54]
mov edx, edi
mov edi, dword [esp + 0x18]
mov ecx, edi
push eax
push esi
call fcn.100705c0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
js 0x10077030
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x10075d85
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.10079bd0
cmp dword [esi + 4], 0
jne 0x10075d85
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x10075d89
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x44]
mov dword [esp + 0x2c], esi
jmp 0x10075d89
mov edi, dword [esp + 0x24]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x10075d68
cmp al, 3
mov eax, str.LAST
jne 0x10075d6d
mov eax, str.FIRST
push eax
mov eax, dword [esp + 0x1c]
push str.unsupported_use_of_NULLS__s
push eax
call fcn.10022550
add esp, 0xc
jmp 0x10077034
mov esi, dword [esp + 0x2c]
mov edx, dword [edi]
mov ecx, esi
mov dword [esp + 0x80], edi
add ecx, ecx
cmp esi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0xb8], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xc8], xmm0
movlpd qword [esp + 0xd0], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0xa8], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0xb8]
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xec], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0xa4]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xa0], eax
xor eax, eax
mov word [esp + 0x98], ax
lea eax, [esp + 0x80]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], str.index
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0x1006e630
mov dword [esp + 0x8c], 0x1006e680
mov dword [esp + 0x90], 0x10001080
mov dword [esp + 0x94], 0
movlpd qword [esp + 0xf4], xmm0
movlpd qword [esp + 0xfc], xmm0
mov dword [esp + 0xd8], eax
call fcn.10058480
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 8]
test edx, edx
je 0x10075ec3
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x10075eb8
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x10075eb0
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x2c]
jmp 0x10075ec6
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.1006faa0
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10077030
cmp esi, 1
jne 0x10075f11
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ecx + 0x3c]
je 0x10075f11
push dword [ecx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.10022550
add esp, 0xc
jmp 0x1007695e
test byte [ecx + 0x1c], 0x80
je 0x10075f7e
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x10075f7e
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x10075f32
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10075f22
mov dword [esp + 0x38], ecx
jmp 0x10075f7e
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xf4]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10077030
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x2c], esi
test ecx, ecx
je 0x10075f7e
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x10075f7e
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x10075f72
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x14]
mov ecx, esi
shl ecx, 4
mov edx, 7
mov dword [esp + 0x5c], ecx
mov eax, dword [edi + 0x10]
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x10076026
mov edi, str.sqlite_
nop dword [eax]
mov al, byte [esi]
dec edx
test al, al
je 0x10075fd2
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x10151a70]
cmp al, byte [ecx + 0x10151a70]
jne 0x10075fd2
inc esi
inc edi
test edx, edx
jg 0x10075fb0
dec edx
test edx, edx
js 0x10075fee
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x10151a70]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x10151a70]
sub eax, ecx
jne 0x1007601e
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xb1], 0
jne 0x10076022
cmp dword [esp + 0x34], 0
je 0x10076022
mov eax, dword [esp + 0x20]
push dword [eax]
push str.table__s_may_not_be_indexed
push dword [esp + 0x20]
call fcn.10022550
add esp, 0xc
jmp 0x1007695e
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x10076047
push str.views_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.10022550
add esp, 8
jmp 0x1007695e
cmp al, 1
jne 0x10076061
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.10022550
add esp, 8
jmp 0x1007695e
mov eax, dword [esp + 0x54]
test eax, eax
je 0x100761d7
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x100761c3
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.1001ec50
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x100761af
push esi
push edi
push eax
call fcn.1012bff0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, eax
mov byte [esi + eax], 0
call fcn.100225e0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x28]
push dword [eax]
push str.index
call fcn.10070650
add esp, 8
test eax, eax
jne 0x1007695e
cmp byte [edi + 0xd8], 2
mov esi, dword [esp + 0x30]
jae 0x100761a5
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x1007612e
push dword [esi]
mov edx, dword [esp + 0x2c]
mov ecx, eax
call fcn.1006f6e0
add esp, 4
test eax, eax
je 0x1007612a
mov esi, dword [esp + 0x28]
push esi
push str.there_is_already_a_table_named__s
push edi
call fcn.10022550
add esp, 0xc
mov dword [esp + 0x28], esi
jmp 0x1007695e
mov eax, dword [esp + 0x14]
push dword [esi]
mov edx, dword [esp + 0x2c]
mov ecx, eax
call fcn.1006fc60
add esp, 4
test eax, eax
je 0x100761a5
cmp dword [ebp + 0x24], 0
jne 0x10076164
mov esi, dword [esp + 0x28]
push esi
push str.index__s_already_exists
push edi
call fcn.10022550
add esp, 0xc
mov dword [esp + 0x28], esi
jmp 0x1007695e
mov eax, dword [edi + 0x78]
mov edx, edi
mov esi, dword [esp + 0x44]
test eax, eax
mov ecx, dword [esp + 0x2c]
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x58]
test eax, esi
jne 0x10076191
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x10076191
mov ecx, edx
call fcn.10078420
mov ecx, edi
call fcn.100708e0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
jmp 0x1007695e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
jmp 0x1007621d
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.100225e0
mov dword [esp + 0x28], esi
jmp 0x1007695e
xor ecx, ecx
call fcn.100225e0
mov dword [esp + 0x28], 0
jmp 0x1007695e
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x100761eb
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x100761e3
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.10021490
mov esi, eax
add esp, 0x10
mov dword [esp + 0x28], esi
test esi, esi
je 0x1007695e
mov edi, dword [esp + 0x18]
cmp byte [edi + 0xd8], 0
je 0x10076219
inc byte [esi + 7]
mov esi, dword [esp + 0x30]
cmp byte [edi + 0xd8], 2
jae 0x10076283
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x2c], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, edi
call fcn.1006eb60
add esp, 0xc
test eax, eax
jne 0x1007695e
mov eax, dword [esp + 0x20]
xor edx, edx
cmp dword [esp + 0x2c], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x30]
lea edx, [edx*2 + 1]
call fcn.1006eb60
add esp, 0xc
test eax, eax
jne 0x1007695e
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10076357
mov eax, dword [esp + 0x20]
movsx ecx, word [eax + 0x22]
mov eax, dword [eax + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100762b2
xor esi, esi
jmp 0x100762c6
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100762b7
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.1001ec50
mov edi, eax
add esp, 8
test edi, edi
je 0x1007631b
push 0x34
push 0
push edi
call fcn.1012ab60
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 0x1007630d
push esi
push dword [esp + 0x20]
push eax
call fcn.1012bff0
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
mov eax, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [eax]
call fcn.1005e2b0
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x1007695e
mov ecx, dword [ebp + 0x20]
xor eax, eax
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne eax, edx
mov dword [esp + 0x1c], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov byte [edi + eax*4 - 4], cl
jmp 0x10076384
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x10076376
push str.index
push str.too_many_columns_in__s
push edi
call fcn.10022550
add esp, 0xc
cmp dword [edi + 0x24], 0
jne 0x1007695e
mov edi, dword [esp + 0x24]
mov esi, dword [edi]
test esi, esi
jle 0x100763c7
lea edx, [edi + 8]
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x100763bb
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x100763b0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100763a1
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x3c]
inc eax
add eax, ecx
mov dword [esp + 0x3c], eax
add edx, 0x14
sub esi, 1
jne 0x10076390
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov eax, edi
add eax, 8
mov dword [esp + 0x1c], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100763d7
mov eax, dword [esp + 0x38]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x100763f4
movzx ecx, word [eax + 0x32]
jmp 0x100763f9
mov ecx, 1
movzx edx, word [edi]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
add dx, cx
mov ecx, dword [esp + 0x18]
inc eax
add eax, esi
push eax
call fcn.10075b90
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], edi
cmp byte [eax + 0x57], 0
jne 0x10077009
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
lea eax, [ecx + 1]
add eax, esi
mov dword [esp + 0x40], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x2c]
push ecx
call fcn.1012bff0
mov eax, dword [esp + 0x5c]
add esp, 0xc
movzx edx, byte [ebp + 0x28]
mov byte [edi + 0x36], al
neg eax
mov esi, dword [esp + 0x20]
sbb ecx, ecx
mov dword [edi + 0xc], esi
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
mov dword [esp + 0x48], edx
or ecx, eax
mov eax, ecx
xor eax, edx
mov edx, dword [esp + 0x5c]
and eax, 3
xor eax, ecx
cmp dword [esp + 0x58], 0
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [edx + eax + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x24]
movzx eax, word [eax]
mov ecx, eax
mov word [edi + 0x32], ax
mov edx, eax
je 0x1007658c
mov edx, dword [esp + 0x18]
xorps xmm0, xmm0
mov eax, dword [esi]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], esi
mov eax, dword [edx]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x7c], 0
movlpd qword [esp + 0xbc], xmm0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 0
movlpd qword [esp + 0xd4], xmm0
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xf0], xmm0
movlpd qword [esp + 0xf8], xmm0
movlpd qword [esp + 0x100], xmm0
mov dword [esp + 0xb8], 1
mov dword [esp + 0xec], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0xb8]
cmp dword [esi + 0x3c], ecx
lea ecx, [esp + 0x60]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov edx, 0x10002
mov dword [esp + 0x64], eax
mov eax, 0x50002
cmove eax, edx
mov edx, esi
mov dword [esp + 0x78], eax
call fcn.1005b5f0
movzx eax, word [edi + 0x32]
mov dword [edi + 0x24], esi
mov edx, eax
mov dword [esp + 0x58], 0
jmp 0x1007658e
mov eax, ecx
movzx ecx, ax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x4f], al
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xd8], 2
jb 0x100765bb
mov eax, dword [esp + 0x24]
mov dword [edi + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, ecx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x30], esi
cmp cx, dx
jae 0x1007689c
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x100765e8
cmp cl, 0x71
jne 0x100765eb
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x100765eb
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
mov esi, dword [esp + 0x20]
mov edx, dword [edx]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [ecx]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xd0], ecx
movaps xmmword [esp + 0x70], xmm0
movlpd qword [esp + 0xbc], xmm0
mov eax, dword [eax]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xcc], 0
movlpd qword [esp + 0xd4], xmm0
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xf0], xmm0
movlpd qword [esp + 0xf8], xmm0
movlpd qword [esp + 0x100], xmm0
mov dword [esp + 0xb8], 1
mov dword [esp + 0xec], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x3c], ecx
mov ecx, 0x10020
mov dword [esp + 0x60], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x64], eax
mov eax, 0x50020
cmove eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], eax
call fcn.1005b5f0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
cmp dword [ecx + 0x24], 0
jne 0x1007690d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x100766e5
test dword [eax + 4], 0x2000
je 0x100766e5
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100766d5
cmp byte [eax], 0xa7
je 0x10076734
mov edx, dword [esp + 0x20]
cmp edx, dword [ecx + 0xf4]
je 0x100768ff
cmp dword [edi + 0x28], 0
jne 0x1007670f
mov eax, dword [esp + 0x24]
mov dword [edi + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov edx, ecx
mov word [eax + esi*2], dx
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x20]
and eax, 0xfffffff7
or eax, 0x800
add edx, 4
mov dword [edi + 0x38], eax
jmp 0x1007677c
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x10076749
mov eax, dword [esp + 0x20]
movsx ecx, word [eax + 0x20]
lea edx, [eax + 4]
jmp 0x10076775
mov edx, dword [esp + 0x20]
mov esi, ecx
add edx, 4
add esi, esi
mov eax, dword [edx]
test byte [eax + esi*8 + 4], 0xf
jne 0x10076761
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edx]
test byte [eax + esi*8 + 0xe], 0x20
mov esi, dword [esp + 0x30]
je 0x10076775
or dword [edi + 0x38], 0xc00
mov eax, dword [edi + 4]
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp byte [eax], 0x71
jne 0x100767c3
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10076792
xor esi, esi
jmp 0x100767a6
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10076797
sub esi, edx
and esi, 0x3fffffff
mov edi, dword [esp + 0x40]
inc esi
push esi
push ecx
push edi
call fcn.1012bff0
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [esp + 0x30]
mov dword [esp + 0x40], eax
jmp 0x100767f9
test ecx, ecx
js 0x100767fd
shl ecx, 4
add ecx, dword [edx]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x100767fd
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x100767e6
nop
inc eax
cmp byte [eax], 0
jne 0x100767e0
test dl, 4
je 0x100767f6
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x100767f0
lea edi, [eax + 1]
test edi, edi
jne 0x10076802
mov edi, 0x1015142c
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x1007685e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov al, byte [ecx + 0xb1]
mov dl, byte [ecx + 0x54]
mov byte [esp + 0x4d], al
movzx eax, al
push eax
push edi
mov byte [esp + 0x56], dl
call fcn.10079260
add esp, 8
cmp byte [esp + 0x4d], 0
jne 0x10076856
test eax, eax
je 0x10076844
cmp dword [eax + 0xc], 0
jne 0x1007685e
mov dl, byte [esp + 0x4e]
mov ecx, dword [esp + 0x18]
push edi
push eax
call fcn.10079370
add esp, 8
test eax, eax
je 0x1007690d
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [eax + esi*4], edi
xor eax, eax
mov edi, dword [esp + 0x3c]
movzx ecx, byte [edx + 8]
cmp byte [esp + 0x4f], 4
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add edx, 0x14
mov dword [esp + 0x1c], edx
mov byte [esi + eax], cl
inc esi
movzx eax, word [edi + 0x32]
mov dword [esp + 0x30], esi
cmp esi, eax
jl 0x100765d2
mov edx, dword [esp + 0x38]
movzx eax, ax
test edx, edx
je 0x100769d6
xor ecx, ecx
xor esi, esi
cmp cx, word [edx + 0x32]
jae 0x100769ea
mov ecx, eax
nop dword [eax + eax]
mov eax, dword [edx + 4]
movzx ecx, cx
push esi
push edx
movzx eax, word [eax + esi*2]
mov edx, ecx
mov dword [esp + 0x24], eax
mov eax, ecx
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.10072970
add esp, 8
test eax, eax
je 0x10076988
mov eax, 0xffff
add word [edi + 0x34], ax
mov eax, dword [esp + 0x40]
movzx eax, ax
jmp 0x100769c0
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.10022550
add esp, 8
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x1007695e
push dword [esi + 0x24]
push edi
call fcn.1005d5a0
mov edx, dword [esi + 0x28]
add esp, 8
test edx, edx
je 0x10076933
mov ecx, edi
call fcn.1005e7f0
mov edx, dword [esi + 0x10]
test edx, edx
je 0x10076941
mov ecx, edi
call fcn.1001e7b0
test byte [esi + 0x38], 0x10
je 0x10076955
mov edx, dword [esi + 0x20]
test edx, edx
je 0x10076955
mov ecx, edi
call fcn.1001e7b0
mov edx, esi
mov ecx, edi
call fcn.1001e7b0
mov ecx, dword [esp + 0x20]
add ecx, 8
mov edx, dword [ecx]
test edx, edx
je 0x10077030
nop
cmp byte [edx + 0x36], 5
je 0x10077010
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x10076970
jmp 0x10077030
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
inc edx
movzx eax, word [edi + 0x32]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
inc esi
movzx ecx, ax
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x100768c0
jmp 0x100769ea
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], 0x1015142c
mov ecx, edi
call fcn.10077090
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xf4], 0
jne 0x10076a05
mov ecx, edi
call fcn.10072910
mov ecx, edi
call fcn.10072a10
cmp dword [esp + 0x34], 0
je 0x10076a66
mov ecx, dword [esp + 0x20]
movzx esi, word [edi + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x10076a66
or dword [edi + 0x38], 0x20
xor edx, edx
movsx eax, word [ecx + 0x22]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x10076a66
movsx ecx, word [ecx + 0x20]
mov dword [esp + 0x1c], ecx
nop dword [eax]
cmp edx, ecx
je 0x10076b21
xor eax, eax
test esi, esi
je 0x10076a62
mov ecx, dword [edi + 4]
cmp dx, word [ecx]
je 0x10076b0d
inc eax
add ecx, 2
cmp eax, esi
jl 0x10076a51
and dword [edi + 0x38], 0xffffffdf
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp eax, dword [edx + 0xf4]
jne 0x10076b77
mov esi, dword [eax + 8]
mov dword [esp + 0x38], esi
test esi, esi
je 0x10076b77
movzx ecx, word [edi + 0x32]
nop dword [eax]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x10076b60
mov ecx, eax
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x10076b54
mov eax, dword [esi + 4]
mov edi, dword [edi + 4]
sub eax, edi
mov dword [esp + 0x30], eax
nop dword [eax]
mov ax, word [eax + edi]
cmp ax, word [edi]
jne 0x10076b50
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x20]
mov ecx, dword [ecx + 0x20]
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + edx*4]
sub esi, eax
nop
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10076b2f
test edx, edx
jne 0x10076b41
mov edx, dword [esp + 0x1c]
add edi, 2
mov ecx, dword [esp + 0x40]
inc edx
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
cmp edx, ecx
jl 0x10076ac0
jmp 0x10076b50
movzx eax, ax
test ax, ax
js 0x10076a62
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, eax
jl 0x10076a40
jmp 0x10076a66
movzx ecx, byte [ecx + 0x10151a70]
movzx edx, byte [edx + 0x10151a70]
sub edx, ecx
jne 0x10076b44
inc eax
jmp 0x10076ae0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
cmp edx, ecx
je 0x10076beb
movzx ecx, word [edi + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x38], esi
test esi, esi
jne 0x10076a90
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp byte [edx + 0xd8], 2
mov esi, dword [esp + 0x14]
jae 0x10076fca
cmp byte [esi + 0xb1], 0
je 0x10076c99
cmp dword [esp + 0x34], 0
je 0x10076bc4
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xac]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x10076bc4
nop
cmp dword [eax + 0x2c], ecx
jne 0x10076bbd
cmp eax, edi
jne 0x10076c55
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10076bb0
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.10023e70
add esp, 4
test eax, eax
je 0x10076c90
mov edi, esi
mov ecx, edi
call fcn.1001ef20
jmp 0x10076911
mov al, byte [esi + 0x36]
mov cl, byte [edi + 0x36]
cmp al, cl
je 0x10076c1d
cmp al, 0xb
je 0x10076c11
cmp cl, 0xb
je 0x10076c11
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x20]
call fcn.10022550
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x10076c1d
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x10076c30
mov ecx, dword [esi + 0x38]
xor ecx, dword [esp + 0x48]
and ecx, 3
xor dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0xd8], 2
jb 0x1007690d
mov eax, dword [ecx + 0xf8]
mov dword [edi + 0x14], eax
mov dword [ecx + 0xf8], edi
jmp 0x1007695e
push str.invalid_rootpage
push edx
call fcn.10022550
push 0x10156e9c
push 0x1dbfc
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10021740
mov eax, dword [esp + 0x34]
add esp, 0x1c
mov edi, esi
mov dword [eax + 0xc], 0xb
jmp 0x10076911
or dword [esi + 0x18], 1
jmp 0x10076fc6
test byte [eax + 0x1c], 0x80
je 0x10076cab
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10076fce
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10076cc1
lea eax, [edx + 0x78]
jmp 0x10076ceb
cmp dword [edx + 0x78], 0
jne 0x10076cd3
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x10076cd3
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.10043e00
mov edx, dword [esp + 0x18]
mov esi, eax
lea eax, [edx + 0x78]
test esi, esi
je 0x1007690d
mov eax, dword [eax]
test eax, eax
mov ecx, dword [esp + 0x2c]
cmovne edx, eax
shl dword [esp + 0x44], cl
mov dword [esp + 0x48], edx
mov eax, dword [edx + 0x58]
test dword [esp + 0x44], eax
jne 0x10076d21
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x10076d21
mov ecx, edx
call fcn.10078420
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 0x54]
or byte [edx + 0x14], 1
bts eax, ecx
mov dword [edx + 0x54], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x10076d56
push 0
push 0
push 0
mov edx, 0xb8
mov ecx, esi
call fcn.10044040
mov edx, eax
add esp, 0xc
lea eax, [esi + 0x68]
mov dword [esp + 0x44], eax
jmp 0x10076d93
mov edi, dword [esp + 0x3c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
lea eax, [esi + 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0xb8
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 dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10076dba
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 2
push edx
push dword [esp + 0x34]
mov edx, 0x93
call fcn.10044040
add esp, 0xc
jmp 0x10076df0
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 2
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
je 0x10076e42
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov edx, dword [eax + 0xd0]
add edx, dword [eax + 0xcc]
mov eax, dword [ecx]
mov ecx, edx
sub ecx, eax
push eax
cmp byte [edx - 1], 0x3b
mov edx, str._UNIQUE
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x54], 0
push eax
mov eax, 0x1015671b
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x24]
call fcn.10021490
add esp, 0x14
jmp 0x10076e44
xor eax, eax
mov ecx, dword [esp + 0x5c]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [edi]
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 + 0x30]
call fcn.1006f5c0
mov edx, dword [esp + 0x6c]
add esp, 0x1c
test edx, edx
je 0x10076e85
mov ecx, dword [esp + 0x14]
call fcn.1001e7b0
cmp dword [esp + 0x34], 0
je 0x10076f5a
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.10075260
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [eax]
mov eax, dword [ecx + 0x6c]
inc edx
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x70], eax
jg 0x10076edf
push edx
push 1
push dword [esp + 0x34]
mov edx, 0x64
call fcn.10044040
add esp, 0xc
jmp 0x10076f18
mov edi, dword [esp + 0x2c]
inc eax
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ecx
push dword [edi]
push str.name_q_AND_typeindex
push dword [esp + 0x24]
call fcn.10021490
mov edx, dword [esp + 0x40]
add esp, 0x10
mov ecx, esi
push eax
call fcn.10044770
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x10076f74
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, esi
call fcn.10044040
add esp, 0xc
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x10076fb0
mov eax, 0x10168a20
jmp 0x10076fbb
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x3c]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [edx]
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 0x10076f5e
mov eax, dword [edi + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp byte [esi + 0xb1], 0
jne 0x10076ff3
test eax, eax
je 0x10076ff3
cmp byte [edx + 0xd8], 2
jb 0x1007690d
mov dword [edx + 0xf8], edi
jmp 0x1007695e
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], edi
jmp 0x1007695e
mov edi, eax
jmp 0x10076911
mov eax, dword [edx + 0x14]
test eax, eax
je 0x10077030
cmp byte [eax + 0x36], 5
je 0x10077030
mov dword [ecx], eax
lea ecx, [eax + 0x14]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov dword [ecx], edx
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x10077017
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x10077049
mov edx, eax
mov ecx, esi
call fcn.1005d470
test edi, edi
je 0x10077056
mov edx, edi
mov ecx, esi
call fcn.1005e7f0
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.10077b50
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10077072
mov edx, eax
mov ecx, esi
call fcn.1001e7b0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.10129271
mov esp, ebp
pop ebp
ret