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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
push edi
mov edi, edx
mov dword [esp + 0x10], esi
mov eax, dword [esi]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
cmp dword [esi + 0x24], eax
jne 0x10065262
cmp byte [esi + 0xd0], 1
jne 0x10063ede
cmp byte [ebp + 0x28], 2
jne 0x10065262
call fcn.1007fe30
test eax, eax
jne 0x10065262
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x10063f0d
mov edx, dword [ecx]
test edx, edx
jle 0x10063f0d
add ecx, 0x14
nop
test byte [ecx], 0x20
jne 0x10063f81
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x10063f00
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x2c], 1
je 0x10064147
mov esi, dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
mov edx, edi
mov edi, dword [esp + 0x14]
push esi
mov ecx, edi
call fcn.1005e660
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
js 0x10065262
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb1], 0
jne 0x10063fb1
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.10067c60
cmp dword [esi + 4], 0
jne 0x10063fb1
mov esi, dword [esp + 0x1c]
test eax, eax
je 0x10063fb5
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
jmp 0x10063fb5
mov edi, dword [ebp + 0x10]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x10063f98
cmp al, 3
mov eax, str.LAST
jne 0x10063f9d
mov eax, str.FIRST
push eax
push str.unsupported_use_of_NULLS__s
push esi
call fcn.10012a20
add esp, 0xc
jmp 0x1006522a
mov esi, dword [esp + 0x1c]
mov edx, dword [edi]
mov ecx, esi
mov dword [esp + 0xcc], edi
add ecx, ecx
cmp esi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0xf4], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0x50]
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0xf0]
mov dword [esp + 0xec], eax
lea ecx, [esp + 0xd0]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xfc], eax
xor eax, eax
mov word [esp + 0xe4], ax
lea eax, [esp + 0xcc]
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xf8], str.index
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], 0x1005c690
mov dword [esp + 0xd8], 0x1005c6e0
mov dword [esp + 0xdc], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4
mov dword [esp + 0xe0], 0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x70], eax
call fcn.100476f0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
test edx, edx
je 0x100640d3
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x100640c8
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x100640c0
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x1c]
jmp 0x100640d6
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.1005db20
mov ecx, eax
add esp, 8
mov dword [esp + 8], ecx
test ecx, ecx
je 0x10065262
cmp esi, 1
jne 0x10064120
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ecx + 0x3c]
je 0x10064120
push dword [ecx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.10012a20
add esp, 0xc
jmp 0x1006520a
test byte [ecx + 0x1c], 0x80
je 0x1006418c
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x1006418c
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x10064141
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10064131
mov dword [esp + 0x34], ecx
jmp 0x1006418c
mov eax, dword [esi + 0xec]
mov dword [esp + 8], eax
test eax, eax
je 0x10065262
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x1006418c
mov eax, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1006418c
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x10064180
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0xc]
mov ecx, esi
shl ecx, 4
mov edx, 7
mov dword [esp + 0x4c], ecx
mov eax, dword [edi + 0x10]
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
mov esi, dword [eax]
mov dword [esp + 0x24], esi
test esi, esi
je 0x10064236
mov edi, str.sqlite_
nop
mov al, byte [esi]
dec edx
test al, al
je 0x100641e2
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x1010f158]
cmp al, byte [ecx + 0x1010f158]
jne 0x100641e2
inc esi
inc edi
test edx, edx
jg 0x100641c0
dec edx
test edx, edx
js 0x100641fe
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x1010f158]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x1010f158]
sub eax, ecx
jne 0x1006422e
mov edi, dword [esp + 0xc]
cmp byte [edi + 0xb1], 0
jne 0x10064232
cmp dword [ebp + 0xc], 0
je 0x10064232
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
push dword [eax]
push str.table__s_may_not_be_indexed
push ecx
call fcn.10012a20
add esp, 0xc
jmp 0x1006520a
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 8]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x10064258
mov ecx, dword [esp + 0x10]
push str.views_may_not_be_indexed
push ecx
call fcn.10012a20
add esp, 8
jmp 0x1006520a
cmp al, 1
jne 0x10064273
mov ecx, dword [esp + 0x10]
push str.virtual_tables_may_not_be_indexed
push ecx
call fcn.10012a20
add esp, 8
jmp 0x1006520a
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100643ea
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x100643d6
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x14]
call fcn.1000f5d0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x100643c2
push esi
push edi
push eax
call fcn.100dcb20
mov edi, dword [esp + 0x20]
add esp, 0xc
mov ecx, edi
mov byte [esi + edi], 0
call fcn.10012ab0
mov eax, dword [esp + 8]
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
push dword [eax]
push str.index
call fcn.1005e780
add esp, 8
test eax, eax
jne 0x1006520a
cmp byte [edi + 0xd0], 2
jae 0x100643b4
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xb1], al
jne 0x10064337
mov edx, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.1005d740
add esp, 4
test eax, eax
je 0x10064337
push dword [esp + 0x14]
push str.there_is_already_a_table_named__s
push edi
call fcn.10012a20
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x1006520a
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push dword [esi]
call fcn.1005dce0
add esp, 4
test eax, eax
je 0x100643b8
cmp dword [ebp + 0x24], 0
jne 0x10064373
mov esi, dword [esp + 0x14]
push esi
push str.index__s_already_exists
push edi
call fcn.10012a20
add esp, 0xc
mov dword [esp + 0x14], esi
jmp 0x1006520a
mov eax, dword [edi + 0x74]
mov edx, edi
mov esi, dword [esp + 0x2c]
test eax, eax
mov ecx, dword [esp + 0x1c]
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x54]
test eax, esi
jne 0x100643a0
bts eax, ecx
mov dword [edx + 0x54], eax
cmp ecx, 1
jne 0x100643a0
mov ecx, edx
call fcn.10066570
mov ecx, edi
call fcn.1005eaa0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1006520a
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1006442e
mov ecx, eax
call fcn.10012ab0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1006520a
xor ecx, ecx
call fcn.10012ab0
mov dword [esp + 0x14], 0
jmp 0x1006520a
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x100643fe
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x100643f6
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.10011ce0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x1006520a
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
cmp byte [edi + 0xd0], 0
je 0x1006442e
inc byte [eax + 7]
cmp byte [edi + 0xd0], 2
jae 0x10064494
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, edi
call fcn.1005cad0
add esp, 0xc
test eax, eax
jne 0x1006520a
mov eax, dword [esp + 8]
xor edx, edx
cmp dword [esp + 0x1c], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x1c]
lea edx, [edx*2 + 1]
call fcn.1005cad0
add esp, 0xc
test eax, eax
jne 0x1006520a
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10064567
mov eax, dword [esp + 8]
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 + 0x40], eax
test eax, eax
jne 0x100644c2
xor esi, esi
jmp 0x100644d6
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100644c7
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.1000f5d0
mov edi, eax
add esp, 8
test edi, edi
je 0x1006452b
push 0x34
push 0
push edi
call fcn.100dd0a0
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 0x1006451d
push esi
push dword [esp + 0x44]
push eax
call fcn.100dcb20
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
mov ecx, dword [esp + 0x10]
mov edx, edi
mov ecx, dword [ecx]
call fcn.1004cca0
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
je 0x1006520a
mov ecx, dword [ebp + 0x20]
xor eax, eax
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne eax, edx
mov dword [esp + 0x40], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x40]
mov byte [edi + eax*4 - 4], cl
jmp 0x10064593
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x10064586
push str.index
push str.too_many_columns_in__s
push edi
call fcn.10012a20
add esp, 0xc
cmp dword [edi + 0x24], 0
jne 0x1006520a
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jle 0x100645d7
lea edx, [edi + 8]
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x100645cb
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x100645c0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100645b1
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x20]
inc eax
add eax, ecx
mov dword [esp + 0x20], eax
add edx, 0x14
sub esi, 1
jne 0x100645a0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100645e0
mov eax, dword [esp + 0x34]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x100645fd
movzx ecx, word [eax + 0x32]
jmp 0x10064602
mov ecx, 1
mov ax, word [edi]
add ax, cx
movzx eax, ax
mov dword [esp + 0x48], eax
cwde
lea ecx, [eax*4 + 7]
lea eax, [eax + eax*4]
and ecx, 0xfffffff8
add eax, 9
mov dword [esp + 0x24], ecx
and eax, 0xfffffff8
add ecx, 0x48
add eax, ecx
mov dword [esp + 0x30], eax
add eax, esi
add eax, dword [esp + 0x20]
lea ecx, [eax + 1]
cdq
add eax, 1
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc]
adc edx, 0
push edx
push eax
call fcn.1000f5d0
mov edi, eax
add esp, 8
mov dword [esp + 0x40], edi
test edi, edi
je 0x100646a1
push dword [esp + 0x20]
push 0
push edi
call fcn.100dd0a0
mov edx, dword [esp + 0x54]
lea eax, [edi + 0x48]
mov dword [edi + 0x20], eax
add esp, 0xc
add eax, dword [esp + 0x24]
movsx ecx, dx
mov dword [edi + 8], eax
mov word [edi + 0x34], dx
lea eax, [eax + ecx*2]
add eax, 2
mov dword [edi + 4], eax
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x1c], eax
add ecx, edi
lea eax, [edx - 1]
mov word [edi + 0x32], ax
jmp 0x100646a3
xor ecx, ecx
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x57], 0
jne 0x100651c1
lea eax, [esi + 1]
mov dword [edi], ecx
add eax, ecx
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x18]
push ecx
call fcn.100dcb20
mov eax, dword [ebp + 0x14]
add esp, 0xc
movzx esi, byte [ebp + 0x28]
mov edx, dword [esp + 8]
and esi, 3
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], edx
sbb ecx, ecx
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
or ecx, eax
mov eax, dword [esp + 0xc]
and ecx, 0xfffffffc
or ecx, esi
mov esi, dword [ebp + 0x1c]
mov dword [edi + 0x38], ecx
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + eax + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x28]
movzx eax, word [eax]
mov word [edi + 0x32], ax
mov ecx, eax
test esi, esi
je 0x100647fb
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
mov eax, dword [edx]
mov dword [esp + 0xbc], 0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x50], 1
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x50]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 8]
mov dword [esp + 0xa4], eax
mov eax, 0x50002
cmp dword [edx + 0x3c], ecx
mov ecx, 0x10002
mov edx, esi
cmove eax, ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], eax
call fcn.1004a440
movzx ecx, word [edi + 0x32]
mov dword [edi + 0x24], esi
mov dword [ebp + 0x1c], 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
lea esi, [edx + 8]
mov dword [esp + 0x24], esi
mov al, byte [eax + 0x4c]
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xd0], 2
jb 0x1006482c
mov dword [edi + 0x28], edx
mov dword [esp + 0x28], 0
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
cmp ax, cx
jae 0x10064af8
nop dword [eax]
mov eax, dword [esi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x10064856
cmp cl, 0x71
jne 0x10064859
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x10064859
mov byte [eax], 0x3b
mov ecx, dword [esp + 8]
xorps xmm0, xmm0
mov edx, dword [esp + 0x10]
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x68], ecx
mov eax, dword [ecx]
mov dword [esp + 0x60], eax
mov eax, dword [edx]
movaps xmmword [esp + 0xb0], xmm0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x50], 1
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x50]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 8]
mov dword [esp + 0xa4], eax
mov eax, 0x50020
cmp dword [edx + 0x3c], ecx
mov ecx, 0x10020
mov edx, dword [esi]
cmove eax, ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], eax
call fcn.1004a440
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x24], 0
jne 0x10064b4a
mov eax, dword [esi]
test eax, eax
je 0x10064940
nop dword [eax + eax]
test dword [eax + 4], 0x1000
je 0x10064940
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10064930
cmp byte [eax], 0xa7
je 0x10064989
mov edx, dword [esp + 8]
cmp edx, dword [ecx + 0xec]
je 0x10064b3c
cmp dword [edi + 0x28], 0
jne 0x1006496a
mov eax, dword [esp + 0x28]
mov dword [edi + 0x28], eax
mov dword [esp + 0x28], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov esi, dword [esp + 0x18]
mov edx, ecx
mov word [eax + esi*2], dx
mov edx, dword [esp + 8]
and dword [edi + 0x38], 0xfffffff7
add edx, 4
jmp 0x100649d1
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x1006499e
mov eax, dword [esp + 8]
movsx ecx, word [eax + 0x20]
lea edx, [eax + 4]
jmp 0x100649c6
mov edx, dword [esp + 8]
mov esi, ecx
add edx, 4
add esi, esi
mov eax, dword [edx]
test byte [eax + esi*8 + 4], 0xf
jne 0x100649b6
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edx]
test byte [eax + esi*8 + 0xe], 0x20
je 0x100649c6
or dword [edi + 0x38], 0x400
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x18]
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp byte [eax], 0x71
jne 0x10064a22
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100649e7
xor esi, esi
jmp 0x100649ff
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x100649f0
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x28]
call fcn.100dcb20
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x30], eax
add eax, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jmp 0x10064a59
test ecx, ecx
js 0x10064a5d
shl ecx, 4
add ecx, dword [edx]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x10064a5d
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x10064a46
nop
inc eax
cmp byte [eax], 0
jne 0x10064a40
test dl, 4
je 0x10064a56
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x10064a50
lea esi, [eax + 1]
test esi, esi
jne 0x10064a62
mov esi, 0x1010eb50
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb1], 0
jne 0x10064abe
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov al, byte [ecx + 0xb1]
mov dl, byte [ecx + 0x54]
mov byte [esp + 0x3d], al
movzx eax, al
push eax
push esi
mov byte [esp + 0x46], dl
call fcn.100672d0
add esp, 8
cmp byte [esp + 0x3d], 0
jne 0x10064ab6
test eax, eax
je 0x10064aa4
cmp dword [eax + 0xc], 0
jne 0x10064abe
mov dl, byte [esp + 0x3e]
mov ecx, dword [esp + 0x10]
push esi
push eax
call fcn.100673e0
add esp, 8
test eax, eax
je 0x10064b4a
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
mov dword [eax + edx*4], esi
xor eax, eax
mov esi, dword [esp + 0x24]
cmp byte [esp + 0x3f], 4
movzx ecx, byte [esi + 8]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add esi, 0x14
mov dword [esp + 0x24], esi
mov byte [edx + eax], cl
inc edx
movzx eax, word [edi + 0x32]
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x10064840
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10064b9a
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x32]
jae 0x10064bae
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 + 0x38], eax
call fcn.10060bd0
add esp, 8
test eax, eax
je 0x10064b53
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x10064b87
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.10012a20
add esp, 8
mov esi, dword [esp + 0xc]
jmp 0x100651c3
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x30]
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x34]
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 + 0x34]
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 + 0x18], edx
mov ecx, dword [esp + 0x34]
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x10064b12
jmp 0x10064bae
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + edx*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + edx*4], 0x1010eb50
mov ecx, edi
call fcn.100652a0
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xec], 0
jne 0x10064bc9
mov ecx, edi
call fcn.10060b50
mov ecx, edi
call fcn.10060c70
cmp dword [ebp + 0xc], 0
je 0x10064c22
mov ecx, dword [esp + 8]
movzx esi, word [edi + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x10064c22
or dword [edi + 0x38], 0x20
xor edx, edx
movsx eax, word [ecx + 0x22]
mov dword [esp + 0x30], eax
test eax, eax
jle 0x10064c22
movsx ecx, word [ecx + 0x20]
mov dword [esp + 0x48], ecx
cmp edx, ecx
je 0x10064c91
xor eax, eax
test esi, esi
je 0x10064c1e
mov ecx, dword [edi + 4]
cmp dx, word [ecx]
je 0x10064c81
inc eax
add ecx, 2
cmp eax, esi
jl 0x10064c11
and dword [edi + 0x38], 0xffffffdf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp eax, dword [edx + 0xec]
jne 0x10064d35
mov esi, dword [eax + 8]
mov dword [esp + 0x18], esi
test esi, esi
je 0x10064d35
movzx ecx, word [edi + 0x32]
nop dword [eax]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x10064d1e
xor edx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
test eax, eax
je 0x10064d16
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
jmp 0x10064ca4
movzx eax, ax
test ax, ax
js 0x10064c1e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
inc edx
cmp edx, eax
jl 0x10064c00
jmp 0x10064c22
mov eax, dword [esp + 0x30]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x10064d0e
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 0x10064cf1
test edx, edx
jne 0x10064d03
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
inc edx
mov eax, dword [esp + 0x24]
add ecx, 2
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
cmp edx, eax
jl 0x10064ca0
jmp 0x10064d12
movzx ecx, byte [ecx + 0x1010f158]
movzx edx, byte [edx + 0x1010f158]
sub edx, ecx
jne 0x10064d06
inc eax
jmp 0x10064cc0
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
movzx ecx, word [edi + 0x32]
cmp edx, eax
je 0x10064dab
mov esi, dword [esi + 0x14]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x10064c50
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp byte [edx + 0xd0], 2
mov esi, dword [esp + 0xc]
jae 0x1006518d
cmp byte [esi + 0xb1], 0
je 0x10064e57
cmp dword [ebp + 0xc], 0
je 0x10064d84
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xac]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x10064d84
nop dword [eax]
cmp dword [eax + 0x2c], ecx
jne 0x10064d7d
cmp eax, edi
jne 0x10064e15
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10064d70
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.10014290
add esp, 4
test eax, eax
je 0x10064e4e
push esi
call fcn.1000f8a0
add esp, 4
jmp 0x100651c3
mov al, byte [esi + 0x36]
mov cl, byte [edi + 0x36]
cmp al, cl
je 0x10064ddd
cmp al, 0xb
je 0x10064dd1
cmp cl, 0xb
je 0x10064dd1
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x18]
call fcn.10012a20
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x10064ddd
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x10064df0
mov eax, dword [esi + 0x38]
and eax, 0xfffffffc
or eax, dword [esp + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xd0], 2
jb 0x10064b4a
mov eax, dword [ecx + 0xf0]
mov dword [edi + 0x14], eax
mov dword [ecx + 0xf0], edi
jmp 0x1006520a
push str.invalid_rootpage
push edx
call fcn.10012a20
push 0x1011a43c
push 0x1ce16
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10011fc0
mov eax, dword [esp + 0x2c]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x100651c3
or dword [esi + 0x18], 1
jmp 0x10065189
test byte [eax + 0x1c], 0x80
je 0x10064e68
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10065190
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
test esi, esi
je 0x10064e7e
lea eax, [edx + 0x74]
jmp 0x10064ea8
cmp dword [edx + 0x74], 0
jne 0x10064e90
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x10064e90
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.10033b40
mov edx, dword [esp + 0x10]
mov esi, eax
lea eax, [edx + 0x74]
test esi, esi
je 0x10064b4a
mov eax, dword [eax]
test eax, eax
mov ecx, dword [esp + 0x1c]
cmovne edx, eax
shl dword [esp + 0x2c], cl
mov dword [esp + 0x38], edx
mov eax, dword [edx + 0x54]
test dword [esp + 0x2c], eax
jne 0x10064ede
bts eax, ecx
mov dword [edx + 0x54], eax
cmp ecx, 1
jne 0x10064ede
mov ecx, edx
call fcn.10066570
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x50]
or byte [edx + 0x14], 1
bts eax, ecx
mov dword [edx + 0x50], eax
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x10064f13
push 0
push 0
push 0
mov edx, 0xb6
mov ecx, esi
call fcn.10033da0
mov edx, eax
add esp, 0xc
lea eax, [esi + 0x70]
mov dword [esp + 0x2c], eax
jmp 0x10064f50
mov edi, dword [esp + 0x40]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
lea eax, [esi + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0xb6
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 + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x10064f77
mov edx, dword [esp + 0x18]
mov ecx, esi
push 2
push edx
push dword [esp + 0x24]
mov edx, 0x92
call fcn.10033da0
add esp, 0xc
jmp 0x10064fad
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x92
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 0x10064ffe
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc8]
add edx, dword [eax + 0xc4]
mov eax, dword [esp + 0x44]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [ebp + 0x14], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x10112d0f
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x1c]
call fcn.10011ce0
add esp, 0x14
jmp 0x10065000
xor eax, eax
mov ecx, dword [esp + 0x4c]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
push dword [eax]
mov eax, dword [esp + 0x18]
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 + 0x28]
call fcn.1005d610
mov edx, dword [esp + 0x3c]
add esp, 0x1c
test edx, edx
je 0x10065041
mov ecx, dword [esp + 0xc]
call fcn.1000f1f0
cmp dword [ebp + 0xc], 0
je 0x10065115
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.10063540
mov eax, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [eax]
mov eax, dword [ecx + 0x74]
inc edx
mov dword [esp + 0x38], eax
cmp dword [ecx + 0x78], eax
jg 0x1006509a
push edx
push 1
push dword [esp + 0x24]
mov edx, 0x63
call fcn.10033da0
add esp, 0xc
jmp 0x100650d3
mov edi, dword [esp + 0x1c]
inc eax
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x63
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 + 0x1c]
call fcn.10011ce0
mov edx, dword [esp + 0x30]
add esp, 0x10
mov ecx, esi
push eax
call fcn.10034430
mov ecx, dword [esi + 0x74]
add esp, 8
cmp dword [esi + 0x78], ecx
jg 0x1006512f
push 0
push 1
push 0
mov edx, 0xa5
mov ecx, esi
call fcn.10033da0
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x38], ecx
cmp byte [eax + 0x57], 0
je 0x1006516b
mov eax, 0x101257b4
jmp 0x10065182
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0xa5
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 0x10065119
lea eax, [ecx - 1]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
cmp byte [esi + 0xb1], 0
jne 0x100651ae
test eax, eax
je 0x100651ae
cmp byte [edx + 0xd0], 2
jb 0x100651c3
mov dword [edx + 0xf0], edi
jmp 0x1006520a
mov eax, dword [esp + 8]
mov edx, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov dword [edx + 8], edi
jmp 0x1006520e
mov esi, eax
test edi, edi
je 0x1006520a
mov edx, dword [edi + 0x24]
mov ecx, esi
call fcn.1004bf30
mov edx, dword [edi + 0x28]
test edx, edx
je 0x100651df
mov ecx, esi
call fcn.1004d0f0
mov edx, dword [edi + 0x10]
test edx, edx
je 0x100651ed
mov ecx, esi
call fcn.1000f1f0
test byte [edi + 0x38], 0x10
je 0x10065201
mov edx, dword [edi + 0x20]
test edx, edx
je 0x10065201
mov ecx, esi
call fcn.1000f1f0
mov edx, edi
mov ecx, esi
call fcn.1000f1f0
mov edx, dword [esp + 8]
lea ecx, [edx + 8]
mov edx, dword [ecx]
test edx, edx
je 0x10065226
cmp byte [edx + 0x36], 5
je 0x10065240
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x10065217
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x10065267
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.1004bdf0
jmp 0x1006526b
mov eax, dword [edx + 0x14]
test eax, eax
je 0x10065226
cmp byte [eax + 0x36], 5
je 0x10065226
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 0x10065247
jmp 0x10065226
mov edi, dword [ebp + 0x10]
jmp 0x1006522a
mov esi, dword [esp + 0xc]
test edi, edi
je 0x10065278
mov edx, edi
mov ecx, esi
call fcn.1004d0f0
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.10065e00
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10065293
mov edx, eax
mov ecx, esi
call fcn.1000f1f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret