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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x51300c]
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 0x467129
cmp byte [ebx + 0xd8], 1
jne 0x466080
cmp byte [ebp + 0x28], 2
jne 0x467129
mov ecx, ebx
call fcn.00480f80
test eax, eax
jne 0x467129
mov edx, dword [esp + 0x2c]
mov ecx, ebx
call fcn.00465f90
test eax, eax
jne 0x467129
cmp dword [esp + 0x24], eax
je 0x466286
lea eax, [esp + 0x40]
mov edx, edi
push eax
push esi
mov ecx, ebx
call fcn.00460f70
mov edi, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
js 0x46712d
cmp byte [edi + 0xb1], 0
jne 0x466107
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.00469c80
cmp dword [esi + 4], 0
mov esi, dword [esp + 0x1c]
jne 0x466109
test eax, eax
je 0x466109
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 0x466109
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], 0x45f160
mov dword [esp + 0x5c], 0x45f1b0
mov dword [esp + 0x60], fcn.0040dd00
mov dword [esp + 0x64], 0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xa8], eax
call fcn.0044a2d0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 8]
test edx, edx
je 0x466213
mov eax, dword [ebx]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x466208
nop
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x466200
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x1c]
jmp 0x466216
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x28]
xor edx, edx
mov ecx, ebx
push dword [eax + 0x10]
call fcn.00460440
mov edx, eax
add esp, 8
mov dword [esp + 0xc], edx
test edx, edx
je 0x46712d
cmp esi, 1
jne 0x46625d
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x46625d
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.00417860
add esp, 0xc
jmp 0x466a29
test byte [edx + 0x1c], 0x80
je 0x4662cc
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4662cc
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x466280
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x466270
mov dword [esp + 0x30], ecx
jmp 0x4662cc
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0xc], eax
test eax, eax
je 0x467129
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x4662cc
mov eax, dword [edi + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x4662cc
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4662c0
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 0x466362
mov esi, ebx
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x466316
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x4fa530]
cmp al, byte [ecx + 0x4fa530]
jne 0x466316
inc esi
inc edi
test edx, edx
jg 0x4662f4
dec edx
test edx, edx
js 0x466332
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x4fa530]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x4fa530]
sub eax, ecx
jne 0x46635e
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xb1], 0
jne 0x466362
cmp dword [esp + 0x24], 0
je 0x466362
mov ecx, dword [esp + 0x14]
push ebx
push str.table__s_may_not_be_indexed
push ecx
call fcn.00417860
add esp, 0xc
jmp 0x466a29
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x466381
mov ecx, dword [esp + 0x14]
push str.views_may_not_be_indexed
push ecx
call fcn.00417860
jmp 0x466a26
cmp al, 1
jne 0x466399
mov ecx, dword [esp + 0x14]
push str.virtual_tables_may_not_be_indexed
push ecx
call fcn.00417860
jmp 0x466a26
mov eax, dword [esp + 0x40]
test eax, eax
je 0x466503
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x4664ef
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00413890
mov ebx, eax
add esp, 8
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4664df
push esi
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov ecx, ebx
call fcn.004178f0
mov eax, dword [esp + 0xc]
mov edx, ebx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push dword [eax]
push str.index
call fcn.00461000
add esp, 8
test eax, eax
jne 0x466a29
cmp byte [ebx + 0xd8], 2
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
jae 0x4664d5
cmp byte [edi + 0xb1], al
jne 0x46645d
push dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.00460060
add esp, 4
test eax, eax
je 0x46645d
mov esi, dword [esp + 0x20]
push esi
push str.there_is_already_a_table_named__s
push ebx
call fcn.00417860
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x466a29
push dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.00460600
add esp, 4
test eax, eax
je 0x4664d5
cmp dword [ebp + 0x24], 0
jne 0x466493
mov esi, dword [esp + 0x20]
push esi
push str.index__s_already_exists
push ebx
call fcn.00417860
add esp, 0xc
mov dword [esp + 0x20], esi
jmp 0x466a29
mov eax, dword [ebx + 0x78]
mov edx, ebx
mov ecx, dword [esp + 0x1c]
test eax, eax
mov esi, 1
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x58]
test eax, esi
jne 0x4664c1
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x4664c1
mov ecx, edx
call fcn.004685d0
mov ecx, ebx
call fcn.00461280
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x466a29
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x46654a
mov ecx, ebx
call fcn.004178f0
mov dword [esp + 0x20], ebx
jmp 0x466a29
xor ecx, ecx
call fcn.004178f0
mov dword [esp + 0x20], 0
jmp 0x466a29
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x466518
nop
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x466510
push ecx
push ebx
push str.sqlite_autoindex__s__d
push edi
call fcn.00416840
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test esi, esi
je 0x466a29
mov ebx, dword [esp + 0x14]
cmp byte [ebx + 0xd8], 0
je 0x466546
inc byte [esi + 7]
mov esi, dword [esp + 0x28]
cmp byte [ebx + 0xd8], 2
jae 0x4665b0
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.0045f5c0
add esp, 0xc
test eax, eax
jne 0x466a29
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.0045f5c0
add esp, 0xc
test eax, eax
jne 0x466a29
cmp dword [esp + 0x2c], 0
jne 0x466673
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 0x4665da
xor esi, esi
jmp 0x4665ef
mov esi, ebx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4665e0
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
mov ecx, edi
push 0
push eax
call fcn.00413890
mov edi, eax
add esp, 8
test edi, edi
je 0x46663f
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
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 0x466634
push esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
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.0044fb40
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x466a29
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 0x4666a0
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebx]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x80]
jle 0x466696
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.00417860
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x466a29
mov esi, dword [edi]
test esi, esi
jle 0x4666e7
lea edx, [edi + 8]
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x4666db
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4666d0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4666c1
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 0x4666b0
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 0x4666f0
mov eax, dword [esp + 0x30]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x46670d
movzx ecx, word [eax + 0x32]
jmp 0x466712
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.00465ef0
add esp, 8
mov ebx, eax
cmp byte [edi + 0x57], 0
mov dword [esp + 0x18], ebx
jne 0x4669e3
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 sub.VCRUNTIME140.dll_memcpy
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 0x4667d5
mov ecx, dword [esp + 0x14]
push 0
push edi
push 2
call fcn.0044d550
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 + 0xd8], 2
jb 0x466802
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 0x466aaa
mov eax, dword [edi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x466829
cmp cl, 0x71
jne 0x46682c
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x46682c
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x14]
push 0
push dword [edi]
push 0x20
call fcn.0044d550
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp dword [ecx + 0x24], 0
jne 0x4669df
mov eax, dword [edi]
test eax, eax
je 0x466862
test dword [eax + 4], 0x2000
je 0x466862
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x466852
cmp byte [eax], 0xa7
je 0x4668ae
mov edx, dword [esp + 0xc]
cmp edx, dword [ecx + 0xf4]
je 0x466a97
cmp dword [ebx + 0x28], 0
jne 0x46688c
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 0x4668f6
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x4668c0
mov edx, dword [esp + 0xc]
movsx ecx, word [edx + 0x20]
jmp 0x4668ef
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
mov eax, ecx
add eax, eax
test byte [edx + eax*8 + 4], 0xf
jne 0x4668dd
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 0x4668ef
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 0x46693c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x466908
xor esi, esi
jmp 0x46691f
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x466910
sub esi, edx
and esi, 0x3fffffff
mov edi, dword [esp + 0x38]
inc esi
push esi
push ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x466979
test ecx, ecx
js 0x46697d
shl ecx, 4
add ecx, dword [edx + 4]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x46697d
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x466966
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x466960
test dl, 4
je 0x466976
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x466970
lea edi, [eax + 1]
test edi, edi
jne 0x466982
mov edi, 0x4f9ed8
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb1], 0
jne 0x466a5c
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.004692b0
add esp, 8
test bl, bl
jne 0x4669d3
test eax, eax
je 0x4669c3
cmp dword [eax + 0xc], 0
jne 0x466a58
mov ecx, dword [esp + 0x14]
mov dl, bh
push edi
push eax
call fcn.00469420
add esp, 8
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x466a5c
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x466a29
push dword [ebx + 0x24]
push edi
call fcn.0044ee70
mov edx, dword [ebx + 0x28]
add esp, 8
test edx, edx
je 0x466a01
mov ecx, edi
call fcn.00450000
push dword [ebx + 0x10]
push edi
call fcn.00413560
add esp, 8
test byte [ebx + 0x38], 0x10
je 0x466a1f
push dword [ebx + 0x20]
push edi
call fcn.00413560
add esp, 8
push ebx
push edi
call fcn.00413560
add esp, 8
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 8]
add edx, 8
test ecx, ecx
je 0x467129
nop dword [eax + eax]
cmp byte [ecx + 0x36], 5
je 0x467109
lea edx, [ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
jne 0x466a40
jmp 0x467129
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 0x466aaa
mov edx, dword [esp + 0xc]
jmp 0x466813
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.00417860
add esp, 8
jmp 0x4669df
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x466b21
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x32]
jae 0x466b35
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.00463130
add esp, 8
test eax, eax
je 0x466ae6
mov eax, 0xffff
add word [ebx + 0x34], ax
jmp 0x466b12
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 0x466ac0
jmp 0x466b35
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [ebx + 0x20]
mov dword [eax + esi*4], 0x4f9ed8
mov ecx, ebx
call fcn.00467220
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xf4], 0
jne 0x466b50
mov ecx, ebx
call fcn.004630b0
mov ecx, ebx
call fcn.004631d0
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
je 0x466bca
movzx esi, word [ebx + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x466bca
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 0x466bca
movsx ebx, word [ecx + 0x20]
cmp edx, ebx
je 0x466bbd
xor ecx, ecx
test esi, esi
je 0x466ba5
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
cmp dx, word [eax]
je 0x466bb5
inc ecx
add eax, 2
cmp ecx, esi
jl 0x466b98
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
and eax, 0xffffffdf
mov dword [ebx + 0x38], eax
jmp 0x466bc6
movzx eax, cx
test ax, ax
js 0x466ba5
inc edx
cmp edx, edi
jl 0x466b87
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0xf4]
jne 0x466cb5
mov esi, dword [ecx + 8]
mov dword [esp + 0x30], esi
test esi, esi
je 0x466cb5
movzx ecx, word [ebx + 0x32]
nop dword [eax]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x466c9e
mov edx, eax
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
test edx, edx
je 0x466c92
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 0x466c8e
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 0x466c6d
test eax, eax
jne 0x466c7f
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 0x466c20
jmp 0x466c8e
movzx ecx, byte [eax + 0x4fa530]
movzx eax, byte [esi + 0x4fa530]
sub ecx, eax
jne 0x466c82
inc edx
jmp 0x466c40
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
cmp ecx, edx
je 0x466d29
movzx ecx, word [ebx + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x30], esi
test esi, esi
jne 0x466bf0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp byte [edx + 0xd8], 2
mov edi, dword [esp + 0x10]
jae 0x4670bd
cmp byte [edi + 0xb1], 0
je 0x466dd5
cmp dword [esp + 0x24], 0
je 0x466d04
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0xac]
mov dword [ebx + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x466d04
nop dword [eax]
cmp dword [eax + 0x2c], ecx
jne 0x466cfd
cmp eax, ebx
jne 0x466d93
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x466cf0
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx]
add ecx, 0x18
push ebx
call fcn.00418f90
add esp, 4
test eax, eax
je 0x466dcc
mov ecx, edi
call fcn.00413c70
jmp 0x4669e3
mov al, byte [esi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x466d5c
cmp al, 0xb
je 0x466d56
cmp cl, 0xb
je 0x466d5c
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x1c]
call fcn.00417860
mov al, byte [esi + 0x36]
add esp, 0xc
cmp al, 0xb
jne 0x466d5c
mov al, byte [ebx + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x466d6e
mov eax, dword [esi + 0x38]
and eax, 0xfffffffe
or eax, 2
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xd8], 2
jb 0x4669df
mov eax, dword [ecx + 0xf8]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0xf8], ebx
jmp 0x466a29
push str.invalid_rootpage
push edx
call fcn.00417860
push 0x506874
push 0x1deb2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00416bb0
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x4669e3
or dword [edi + 0x18], 1
jmp 0x4670b9
test byte [ecx + 0x1c], 0x80
je 0x466de7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4670c1
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov ebx, dword [edx + 0x2c]
test esi, esi
jne 0x466e1a
cmp dword [edx + 0x78], esi
jne 0x466e05
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x466e05
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.00436f50
mov esi, eax
test esi, esi
je 0x467100
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x78]
mov edi, edx
test ecx, ecx
mov edx, 1
cmovne edi, ecx
mov ecx, dword [esp + 0x1c]
shl edx, cl
mov eax, dword [edi + 0x58]
test eax, edx
jne 0x466e4c
bts eax, ecx
mov dword [edi + 0x58], eax
cmp ecx, 1
jne 0x466e4c
mov ecx, edi
call fcn.004685d0
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x54]
or byte [edi + 0x14], 1
bts eax, ecx
mov dword [edi + 0x54], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x466e7a
push 0
push 0
push 0
mov edx, 0xb8
mov ecx, esi
call fcn.00437140
add esp, 0xc
mov edx, eax
jmp 0x466ead
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
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 eax, dword [esp + 0x18]
mov dword [eax + 0x2c], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x466ed4
push 2
push ebx
push dword [esp + 0x24]
mov edx, 0x93
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x466f03
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 0x466f59
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xcc]
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, 0x4ff790
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x20]
call fcn.00416840
add esp, 0x14
mov edi, eax
jmp 0x466f5b
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.0045ff40
add esp, 0x1c
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.00413560
add esp, 8
cmp dword [esp + 0x24], 0
je 0x467094
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x1c]
mov edx, ebx
call fcn.00465670
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 0x466feb
push edx
push 1
push dword [esp + 0x24]
mov edx, 0x64
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x46701a
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.00416840
mov edx, dword [esp + 0x30]
add esp, 0x10
mov ecx, esi
push eax
call fcn.00437610
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x46705f
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x467098
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 0x467098
mov ebx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4670aa
mov eax, 0x5160d8
jmp 0x4670b6
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 0x4670e6
test eax, eax
je 0x4670e6
cmp byte [edx + 0xd8], 2
jb 0x467100
mov eax, dword [esp + 0x18]
mov dword [edx + 0xf8], eax
jmp 0x466a29
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 0x466a2d
mov ebx, dword [esp + 0x18]
jmp 0x4669e3
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x467129
cmp byte [eax + 0x36], 5
je 0x467129
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 0x467110
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x46713e
mov edx, eax
mov ecx, edi
call fcn.0044ed80
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x46714f
mov edx, eax
mov ecx, edi
call fcn.00450000
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.00467c40
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4671fc
test edi, edi
je 0x4671f3
cmp ecx, dword [edi + 0x164]
jae 0x4671cc
cmp ecx, dword [edi + 0x15c]
jb 0x4671a1
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.004f1f57
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edi + 0x160]
jb 0x4671cc
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.004f1f57
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x210], 0
je 0x4671f3
mov edx, ecx
mov ecx, edi
call fcn.004134c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.004f1f57
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00413450
add esp, 4
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f1f57
mov esp, ebp
pop ebp
ret