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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, ecx
mov dword [esp + 0x34], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x24], ecx
jne 0x100814a9
cmp byte [eax + 0xdc], 1
jne 0x10080133
cmp byte [ebp + 0x28], 2
jne 0x100814a9
mov ecx, eax
call fcn.1009d110
test eax, eax
jne 0x100814a9
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10080160
mov edx, dword [ecx]
test edx, edx
jle 0x10080160
add ecx, 0x14
test byte [ecx], 0x20
jne 0x100801d3
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x10080153
cmp dword [esp + 0x34], 0
mov dword [esp + 0x50], 1
je 0x100803b8
lea eax, [esp + 0x24]
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.1007a900
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
js 0x100814a9
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x10080208
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.10083e70
cmp dword [esi + 4], 0
jne 0x10080208
mov esi, dword [esp + 0x20]
test eax, eax
je 0x1008020c
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x50]
mov dword [esp + 0x20], esi
jmp 0x1008020c
mov edi, dword [esp + 0x28]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x100801eb
cmp al, 3
mov eax, str.LAST
jne 0x100801f0
mov eax, str.FIRST
push eax
mov eax, dword [esp + 0x18]
push str.unsupported_use_of_NULLS__s
push eax
call fcn.1002a530
add esp, 0xc
jmp 0x100814ad
mov esi, dword [esp + 0x20]
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 + 0x24]
mov dword [esp + 0xa0], eax
xor eax, eax
mov word [esp + 0x98], ax
lea eax, [esp + 0x80]
mov dword [esp + 0x5c], ecx
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], 0x10078a40
mov dword [esp + 0x8c], 0x10078a90
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.10062ee0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 8]
test edx, edx
je 0x10080343
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x10080338
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x10080330
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x20]
jmp 0x10080346
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.10079df0
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
je 0x100814a9
cmp esi, 1
jne 0x10080391
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x10080391
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.1002a530
add esp, 0xc
jmp 0x10081467
test byte [edx + 0x1c], 0x80
je 0x100803fe
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x100803fe
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x100803b2
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x100803a2
mov dword [esp + 0x44], ecx
jmp 0x100803fe
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100814a9
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x100803fe
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x100803fe
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x100803f2
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x18]
mov eax, esi
mov esi, dword [esp + 0x1c]
mov edx, 7
shl eax, 4
add eax, dword [ecx + 0x10]
mov esi, dword [esi]
mov dword [esp + 0x30], eax
test esi, esi
je 0x10080494
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x10080448
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x10161ab0]
cmp al, byte [ecx + 0x10161ab0]
jne 0x10080448
inc esi
inc edi
test edx, edx
jg 0x10080426
dec edx
test edx, edx
js 0x10080464
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x10161ab0]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x10161ab0]
sub ecx, eax
jne 0x10080498
mov esi, dword [esp + 0x18]
cmp byte [esi + 0xb1], 0
jne 0x1008049c
cmp dword [esp + 0x34], 0
je 0x1008049c
mov eax, dword [esp + 0x1c]
push dword [eax]
push str.table__s_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.1002a530
add esp, 0xc
jmp 0x10081467
mov esi, ecx
jmp 0x1008049c
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x2b]
cmp al, 2
jne 0x100804bd
push str.views_may_not_be_indexed
push dword [esp + 0x18]
call fcn.1002a530
add esp, 8
jmp 0x10081467
cmp al, 1
jne 0x100804d7
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x18]
call fcn.1002a530
add esp, 8
jmp 0x10081467
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10080666
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x10080659
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.10026f30
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10080650
push esi
push edi
push eax
call fcn.10139d00
mov edi, dword [esp + 0x48]
add esp, 0xc
mov byte [esi + edi], 0
mov esi, edi
mov cl, byte [esi]
movzx eax, cl
cmp byte [eax + 0x10160ea8], 0
jge 0x10080563
cmp cl, 0x5b
movzx edx, cl
mov eax, 0x5d
lea ecx, [esi + 1]
cmove edx, eax
mov al, byte [ecx]
cmp al, dl
jne 0x10080558
lea eax, [ecx + 1]
mov ecx, eax
cmp byte [eax], dl
jne 0x1008055e
mov al, dl
mov byte [esi], al
inc ecx
inc esi
jmp 0x10080547
mov byte [esi], 0
jmp 0x1008056f
mov dword [esp + 0x3c], edi
test edi, edi
je 0x10081467
mov eax, dword [esp + 0x1c]
mov edx, edi
mov esi, dword [esp + 0x14]
mov ecx, esi
push dword [eax]
push str.index
call fcn.1007a990
add esp, 8
test eax, eax
jne 0x10081467
cmp byte [esi + 0xdc], 2
mov esi, dword [esp + 0x30]
jae 0x100806b5
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x100805dd
push dword [esi]
mov edx, edi
mov ecx, eax
call fcn.10079a30
add esp, 4
test eax, eax
je 0x100805d9
push edi
push str.there_is_already_a_table_named__s
push dword [esp + 0x1c]
call fcn.1002a530
add esp, 0xc
jmp 0x10081467
mov eax, dword [esp + 0x18]
push dword [esi]
mov edx, edi
mov ecx, eax
call fcn.10079fb0
add esp, 4
test eax, eax
je 0x100806b5
cmp dword [ebp + 0x24], 0
jne 0x10080610
push edi
push str.index__s_already_exists
push dword [esp + 0x1c]
call fcn.1002a530
add esp, 0xc
jmp 0x10081467
mov esi, dword [esp + 0x14]
mov edx, esi
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x80]
test eax, eax
cmovne edx, eax
shl edi, cl
mov eax, dword [edx + 0x5c]
test eax, edi
jne 0x10080644
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x10080644
mov ecx, edx
call fcn.10082790
mov ecx, esi
call fcn.1007abd0
jmp 0x10081467
mov dword [esp + 0x3c], eax
jmp 0x10081467
mov dword [esp + 0x3c], 0
jmp 0x10081467
mov eax, dword [esp + 0x1c]
mov ecx, 1
mov eax, dword [eax + 8]
test eax, eax
je 0x1008067e
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x10080676
mov eax, dword [esp + 0x1c]
push ecx
push dword [eax]
push str.sqlite_autoindex__s__d
push esi
call fcn.100293f0
add esp, 0x10
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10081467
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
cmp byte [edi + 0xdc], 0
je 0x100806b9
inc byte [eax + 7]
jmp 0x100806b9
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xdc], 2
jae 0x1008071f
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x20], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, edi
call fcn.10078f70
add esp, 0xc
test eax, eax
jne 0x10081467
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp dword [esp + 0x20], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x44]
lea edx, [edx*2 + 1]
call fcn.10078f70
add esp, 0xc
test eax, eax
jne 0x10081467
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x100807f3
mov eax, dword [esp + 0x1c]
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 + 0x24], eax
test eax, eax
jne 0x1008074e
xor esi, esi
jmp 0x10080762
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10080753
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.10026f30
mov edi, eax
add esp, 8
test edi, edi
je 0x100807b7
push 0x34
push 0
push edi
call fcn.10138870
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 0x100807a9
push esi
push dword [esp + 0x28]
push eax
call fcn.10139d00
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
mov eax, dword [esp + 0x14]
mov edx, edi
mov ecx, dword [eax]
call fcn.10068cc0
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
je 0x10081467
mov ecx, dword [ebp + 0x20]
xor eax, eax
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne eax, edx
mov dword [esp + 0x24], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x24]
mov byte [edi + eax*4 - 4], cl
jmp 0x10080820
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x10080812
push str.index
push str.too_many_columns_in__s
push edi
call fcn.1002a530
add esp, 0xc
cmp dword [edi + 0x24], 0
jne 0x10081467
mov edi, dword [esp + 0x28]
mov esi, dword [edi]
test esi, esi
jle 0x10080867
lea edx, [edi + 8]
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x1008085b
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10080850
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10080841
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x2c]
inc eax
add eax, ecx
mov dword [esp + 0x2c], eax
add edx, 0x14
sub esi, 1
jne 0x10080830
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10080870
mov eax, dword [esp + 0x44]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x1008088d
movzx ecx, word [eax + 0x32]
jmp 0x10080892
mov ecx, 1
movzx edx, word [edi]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x30]
add dx, cx
mov ecx, dword [esp + 0x1c]
inc eax
add eax, esi
push eax
call fcn.10080010
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], edi
cmp byte [eax + 0x57], 0
jne 0x1008141c
mov edx, dword [esp + 0x38]
lea ecx, [esi + 1]
push ecx
push dword [esp + 0x40]
mov dword [edi], edx
lea eax, [edx + 1]
add eax, esi
push edx
mov dword [esp + 0x30], eax
call fcn.10139d00
mov eax, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], esi
sbb ecx, ecx
mov eax, dword [edi + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x28]
xor eax, ecx
and eax, 3
xor eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x38], eax
add ecx, ecx
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x18], eax
mov ax, word [ecx]
mov word [edi + 0x32], ax
je 0x10080a19
mov edx, dword [esp + 0x14]
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 + 0x54]
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.10066100
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x24], esi
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x30]
lea edx, [ecx + 8]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x4b], al
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xdc], 2
jb 0x10080a46
mov dword [edi + 0x28], ecx
mov dword [esp + 0x28], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x2c], esi
cmp ax, word [edi + 0x32]
jae 0x10080d3a
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x10080a6e
cmp cl, 0x71
jne 0x10080a71
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x10080a71
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov esi, dword [esp + 0x1c]
mov edx, dword [edx]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [ecx]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x14]
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 + 0x14]
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.10066100
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
cmp dword [ecx + 0x24], 0
jne 0x10080d8c
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
test eax, eax
je 0x10080b70
nop dword [eax + eax]
test dword [eax + 4], 0x2000
je 0x10080b70
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10080b60
cmp byte [eax], 0xa7
je 0x10080bbc
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 0xf8]
je 0x10080d7e
cmp dword [edi + 0x28], 0
jne 0x10080b9a
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x28], ecx
mov dword [esp + 0x28], 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 + 0x38]
and eax, 0xfffffff7
or eax, 0x800
mov dword [edi + 0x38], eax
jmp 0x10080c00
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x1c]
test ecx, ecx
jns 0x10080bce
movsx ecx, word [eax + 0x20]
jmp 0x10080bf9
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x10080be0
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x38]
je 0x10080bf9
or dword [edi + 0x38], 0xc00
mov eax, dword [edi + 4]
mov word [eax + esi*2], cx
mov eax, dword [edx]
cmp byte [eax], 0x71
jne 0x10080c42
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10080c12
xor esi, esi
jmp 0x10080c26
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10080c17
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x2c]
call fcn.10139d00
mov edx, dword [esp + 0x30]
add esp, 0xc
lea eax, [esi + edx]
mov dword [esp + 0x24], eax
jmp 0x10080c7b
test ecx, ecx
js 0x10080c83
mov eax, dword [esp + 0x1c]
shl ecx, 4
add ecx, dword [eax + 4]
mov eax, 0x200
test word [ecx + 0xe], ax
jne 0x10080c5f
xor edx, edx
jmp 0x10080c7b
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x10080c6c
inc eax
cmp byte [eax], 0
jne 0x10080c66
test byte [ecx + 0xe], 4
je 0x10080c78
inc eax
cmp byte [eax], 0
jne 0x10080c72
lea edx, [eax + 1]
mov dword [esp + 0x30], edx
test edx, edx
jne 0x10080c8c
mov edx, 0x10161474
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x10080cf8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x43], al
mov al, byte [ecx + 0xb1]
mov byte [esp + 0x4a], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x4b]
call fcn.100834d0
add esp, 8
cmp byte [esp + 0x4a], 0
jne 0x10080cea
test eax, eax
je 0x10080cd2
cmp dword [eax + 0xc], 0
jne 0x10080cf8
mov esi, dword [esp + 0x30]
mov dl, byte [esp + 0x43]
mov ecx, dword [esp + 0x14]
push esi
push eax
call fcn.10083640
add esp, 8
jmp 0x10080cee
mov esi, dword [esp + 0x30]
test eax, eax
je 0x10080d8c
jmp 0x10080cfc
mov esi, dword [esp + 0x30]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], esi
xor eax, eax
movzx ecx, byte [edx + 8]
cmp byte [esp + 0x4b], 4
mov esi, dword [esp + 0x2c]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add edx, 0x14
mov dword [esp + 0x38], edx
mov byte [esi + eax], cl
inc esi
movzx eax, word [edi + 0x32]
mov dword [esp + 0x2c], esi
cmp esi, eax
jl 0x10080a58
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x10080ddc
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x32]
jae 0x10080df0
mov eax, dword [ecx + 4]
movzx edx, word [edi + 0x32]
push esi
push ecx
movzx eax, word [eax + esi*2]
mov ecx, edi
mov dword [esp + 0x2c], eax
call fcn.1007cca0
add esp, 8
test eax, eax
je 0x10080d95
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x10080dc9
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.1002a530
add esp, 8
mov esi, dword [esp + 0x18]
jmp 0x1008141e
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x44]
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 + 0x44]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x44]
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x10080d54
jmp 0x10080df0
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], 0x10161474
mov ecx, edi
call fcn.10081500
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xf8], 0
jne 0x10080e0b
mov ecx, edi
call fcn.1007cc40
mov ecx, edi
call fcn.1007cd40
cmp dword [esp + 0x34], 0
je 0x10080ec5
movzx eax, word [edi + 0x34]
mov edx, eax
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
movsx eax, word [eax + 0x22]
cmp ecx, eax
jl 0x10080ec5
mov eax, dword [edi + 0x38]
xor esi, esi
or eax, 0x20
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], eax
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0x22]
mov ecx, eax
mov dword [esp + 0x38], ecx
cmp si, ax
jge 0x10080ec5
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x20]
mov dword [esp + 0x44], eax
nop dword [eax + eax]
cmp esi, eax
je 0x10080ead
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x10080ebb
movzx eax, dx
mov edx, dword [edi + 4]
mov dword [esp + 0x24], eax
cmp si, word [edx]
je 0x10080e9d
inc ecx
movzx eax, ax
add edx, 2
cmp ecx, eax
jge 0x10080ebb
mov eax, dword [esp + 0x24]
jmp 0x10080e87
movzx eax, cx
test ax, ax
js 0x10080ebb
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc esi
movsx eax, cx
cmp esi, eax
jge 0x10080ec5
mov eax, dword [esp + 0x44]
jmp 0x10080e70
mov eax, dword [esp + 0x30]
and eax, 0xffffffdf
mov dword [edi + 0x38], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0xf8]
jne 0x10080fbc
mov esi, dword [eax + 8]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x10080fbc
movzx edx, word [edi + 0x32]
nop dword [eax]
movzx eax, word [esi + 0x32]
mov ecx, eax
mov dword [esp + 0x44], ecx
cmp ax, dx
jne 0x10080fa5
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], edx
cmp cx, ax
jae 0x10080f95
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x10080f95
mov eax, dword [esi + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + edx*4]
sub esi, eax
nop dword [eax + eax]
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10080f78
test edx, edx
jne 0x10080f8a
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x44]
add ecx, 2
mov esi, dword [esp + 0x2c]
movzx eax, ax
cmp edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
jl 0x10080f24
jmp 0x10080f95
movzx ecx, byte [ecx + 0x10161ab0]
movzx edx, byte [edx + 0x10161ab0]
sub edx, ecx
jne 0x10080f8d
inc eax
jmp 0x10080f40
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
movzx eax, word [esi + 0x32]
cmp edx, eax
je 0x1008102d
movzx edx, word [edi + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x10080ef0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp byte [edx + 0xdc], 2
mov esi, dword [esp + 0x18]
jae 0x100813e7
cmp byte [esi + 0xb1], 0
je 0x100810d8
cmp dword [esp + 0x34], 0
je 0x10081008
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xac]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x10081008
cmp dword [eax + 0x2c], ecx
jne 0x10081001
cmp eax, edi
jne 0x10081096
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10080ff4
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.1002d320
add esp, 4
test eax, eax
je 0x100810cf
mov ecx, esi
call fcn.10027200
jmp 0x1008141e
mov al, byte [esi + 0x36]
mov cl, byte [edi + 0x36]
cmp al, cl
je 0x1008105f
cmp al, 0xb
je 0x10081053
cmp cl, 0xb
je 0x10081053
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x1c]
call fcn.1002a530
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x1008105f
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x10081071
mov eax, dword [esi + 0x38]
and eax, 0xfffffffc
xor eax, 2
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xdc], 2
jb 0x10080d8c
mov eax, dword [ecx + 0xfc]
mov dword [edi + 0x14], eax
mov dword [ecx + 0xfc], edi
jmp 0x10081467
push str.invalid_rootpage
push edx
call fcn.1002a530
push 0x10166fc4
push 0x1e660
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100296a0
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x1008141e
or dword [esi + 0x18], 1
jmp 0x100813e3
test byte [eax + 0x1c], 0x80
je 0x100810ea
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100813eb
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x10081124
cmp dword [edx + 0x80], esi
jne 0x1008110f
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x1008110f
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.1004e770
mov esi, eax
test esi, esi
je 0x10080d8c
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x80]
test ecx, ecx
cmovne edx, ecx
mov ecx, dword [esp + 0x20]
shl dword [esp + 0x50], cl
mov dword [esp + 0x24], edx
mov eax, dword [edx + 0x5c]
test dword [esp + 0x50], eax
jne 0x1008115e
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x1008115e
mov ecx, edx
call fcn.10082790
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x58]
or byte [edx + 0x14], 1
bts eax, ecx
mov dword [edx + 0x58], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x1008118c
push 0
push 0
push 0
mov edx, 0xb9
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
mov edx, eax
jmp 0x100811c3
mov edi, dword [esp + 0x58]
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 dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100811ea
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 2
push edx
push dword [esp + 0x28]
mov edx, 0x93
call fcn.1004e9b0
add esp, 0xc
jmp 0x1008121d
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
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 0x1008126f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax + 0xd4]
add edx, dword [eax + 0xd0]
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 + 0x50], 0
push eax
mov eax, 0x10166843
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x28]
call fcn.100293f0
add esp, 0x14
jmp 0x10081271
xor eax, eax
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x54], eax
add ecx, ecx
mov eax, dword [esp + 0x24]
push dword [eax]
mov eax, dword [esp + 0x24]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x2c]
call fcn.10079910
mov edx, dword [esp + 0x68]
add esp, 0x1c
test edx, edx
je 0x100812b4
mov ecx, dword [esp + 0x18]
call fcn.10026a90
cmp dword [esp + 0x34], 0
je 0x100813be
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.1007f730
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x20]
add ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [edx + 0x6c]
mov eax, dword [eax]
inc eax
mov dword [esp + 0x4c], eax
cmp dword [edx + 0x70], ecx
jg 0x10081314
mov ecx, dword [esp + 0x58]
mov edx, 0x64
push eax
push 1
push dword [esp + 0x28]
call fcn.1004e9b0
add esp, 0xc
jmp 0x10081347
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
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 + 0x28]
call fcn.100293f0
mov edx, dword [esp + 0x34]
add esp, 0x10
mov ecx, esi
push eax
call fcn.1004f1e0
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x1008138b
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100813be
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
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100813d0
mov eax, 0x1017abd8
jmp 0x100813dc
mov eax, dword [edi + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp byte [esi + 0xb1], 0
jne 0x10081409
test eax, eax
je 0x10081409
cmp byte [edx + 0xdc], 2
jb 0x1008141e
mov dword [edx + 0xfc], edi
jmp 0x10081467
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], edi
jmp 0x10081467
mov esi, eax
test edi, edi
je 0x10081467
push dword [edi + 0x24]
push esi
call fcn.10067ff0
mov edx, dword [edi + 0x28]
add esp, 8
test edx, edx
je 0x1008143c
mov ecx, esi
call fcn.10069240
mov edx, dword [edi + 0x10]
test edx, edx
je 0x1008144a
mov ecx, esi
call fcn.10026a90
test byte [edi + 0x38], 0x10
je 0x1008145e
mov edx, dword [edi + 0x20]
test edx, edx
je 0x1008145e
mov ecx, esi
call fcn.10026a90
mov edx, edi
mov ecx, esi
call fcn.10026a90
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov edx, dword [ecx]
test edx, edx
je 0x100814a9
cmp byte [edx + 0x36], 5
je 0x10081485
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x10081474
jmp 0x100814a9
mov eax, dword [edx + 0x14]
test eax, eax
je 0x100814a9
nop dword [eax]
cmp byte [eax + 0x36], 5
je 0x100814a9
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 0x10081490
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x100814c2
mov edx, eax
mov ecx, esi
call fcn.10067ec0
test edi, edi
je 0x100814cf
mov edx, edi
mov ecx, esi
call fcn.10069240
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.10081e70
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100814eb
mov edx, eax
mov ecx, esi
call fcn.10026a90
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.10136e2d
mov esp, ebp
pop ebp
ret