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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
push edi
xor edi, edi
cmp dword [esi + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
jne 0x465aab
cmp byte [esi + 0xd8], 1
jne 0x464ee7
cmp byte [ebp + 0x30], 2
jne 0x465aab
push esi
call fcn.00479780
add esp, 4
test eax, eax
jne 0x465aab
mov eax, dword [ebp + 0x18]
push esi
call fcn.00464e40
add esp, 4
test eax, eax
jne 0x465aab
cmp dword [ebp + 0x14], edi
je 0x464ff2
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
lea ecx, [esp + 0x34]
call fcn.004611a0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
jl 0x465aab
cmp byte [ebx + 0xb1], 0
jne 0x464f6d
mov ecx, dword [ebp + 0x14]
mov eax, esi
call fcn.00467fc0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 4], 0
jne 0x464f6d
test eax, eax
je 0x464f6d
mov edx, dword [ebx + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [edx + 0x1c]
jne 0x464f6d
mov dword [esp + 0x14], 1
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push ecx
push str.index
mov edx, esi
lea eax, [esp + 0x4c]
call fcn.0045f5e0
mov esi, dword [ebp + 0x14]
mov edx, eax
push edx
call fcn.0045f640
lea ebx, [esi + 8]
mov esi, dword [ebp + 8]
add esp, 0xc
push 0
mov edi, esi
call fcn.004604f0
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x465aab
cmp dword [esp + 0x14], 1
jne 0x464fdd
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x10]
cmp edx, dword [ebx + 0x3c]
je 0x464fdf
mov eax, dword [ebx]
push eax
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
call fcn.0041cbf0
add esp, 8
jmp 0x465629
mov ebx, eax
test byte [ebx + 0x1c], 0x80
je 0x465014
mov eax, ebx
call fcn.00461340
mov dword [esp + 0x24], eax
jmp 0x465014
mov esi, dword [esi + 0xf4]
cmp esi, edi
mov dword [esp + 0x10], esi
je 0x465aab
mov edx, dword [esi + 0x3c]
mov ecx, ebx
call fcn.00479a70
mov dword [esp + 0x14], eax
mov ebx, esi
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x10]
mov esi, dword [ebx]
shl eax, 4
push 7
add ecx, eax
push str.sqlite_
push esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
call fcn.0041cdc0
add esp, 0xc
test eax, eax
jne 0x465065
cmp byte [edi + 0xb1], al
jne 0x465065
cmp dword [ebp + 0x14], eax
je 0x465065
push esi
mov esi, dword [ebp + 8]
push str.table__s_may_not_be_indexed
call fcn.0041cbf0
add esp, 8
jmp 0x465629
mov al, byte [ebx + 0x2b]
cmp al, 2
jne 0x465081
mov esi, dword [ebp + 8]
push str.views_may_not_be_indexed
call fcn.0041cbf0
add esp, 4
jmp 0x465629
cmp al, 1
jne 0x46509a
mov esi, dword [ebp + 8]
push str.virtual_tables_may_not_be_indexed
call fcn.0041cbf0
add esp, 4
jmp 0x465629
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x465165
push edi
call fcn.00461020
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x465629
mov ecx, dword [ebx]
mov esi, dword [ebp + 8]
push ecx
mov ebx, eax
push str.index
mov eax, esi
call fcn.00461250
add esp, 8
test eax, eax
jne 0x465629
cmp byte [esi + 0xd8], 2
jae 0x4651b3
mov ebx, edi
cmp byte [ebx + 0xb1], al
mov edi, dword [esp + 0x1c]
jne 0x46511c
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
push edi
call fcn.00460170
add esp, 8
test eax, eax
je 0x46511c
push edi
push str.there_is_already_a_table_named__s
call fcn.0041cbf0
add esp, 8
jmp 0x465629
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push edx
push edi
push ebx
call fcn.004605a0
add esp, 0xc
test eax, eax
je 0x4651b3
cmp dword [ebp + 0x2c], 0
jne 0x46514e
push edi
push str.index__s_already_exists
call fcn.0041cbf0
add esp, 8
jmp 0x465629
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00466ab0
mov eax, esi
call fcn.004613e0
jmp 0x465629
mov eax, dword [ebx + 8]
test eax, eax
mov ecx, 1
je 0x46517b
mov eax, dword [eax + 0x14]
add ecx, 1
test eax, eax
jne 0x465171
push ecx
push esi
push str.sqlite_autoindex__s__d
call fcn.0041ba60
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x465629
mov eax, dword [ebp + 8]
cmp byte [eax + 0xd8], 0
mov esi, dword [ebp + 0x18]
je 0x4651af
mov eax, dword [esp + 0x1c]
add byte [eax + 7], 1
jmp 0x4651b6
mov ebx, eax
jmp 0x4651b9
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0xd8], 2
jae 0x465221
cmp dword [esp + 0x14], 1
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x4651d9
mov eax, str.sqlite_master
push edi
push 0
push eax
push 0x12
mov eax, ebx
call fcn.0045f990
add esp, 0x10
test eax, eax
jne 0x465629
mov eax, 1
cmp dword [esp + 0x14], eax
jne 0x465201
mov eax, 3
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov edx, dword [esp + 0x1c]
push edi
push ecx
push edx
push eax
mov eax, ebx
call fcn.0045f990
add esp, 0x10
test eax, eax
jne 0x465629
test esi, esi
jne 0x46528f
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x22]
mov edx, dword [eax + 4]
shl ecx, 4
or word [ecx + edx - 2], 8
lea eax, [ecx + edx - 0x10]
mov eax, dword [eax]
lea edx, [esp + 0x3c]
call fcn.0041cd40
mov eax, dword [esp + 0xc]
push esi
push eax
mov edi, edx
lea ebx, [esi + 0x3b]
call fcn.004524e0
mov ecx, dword [ebp + 8]
mov edi, dword [ecx]
add esp, 8
mov esi, eax
call fcn.004537a0
test eax, eax
mov dword [ebp + 0x18], eax
je 0x465629
mov edx, dword [ebp + 0x28]
cmp edx, 0xffffffff
mov ecx, eax
mov eax, dword [ecx]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4 - 0xc]
jne 0x465287
xor edx, edx
mov esi, dword [ebp + 0x18]
mov byte [eax + 8], dl
jmp 0x4652aa
push str.index
mov eax, esi
mov ecx, ebx
call fcn.00453b40
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x465629
mov eax, dword [esi]
test eax, eax
jle 0x4652d8
lea edi, [esi + 8]
mov ebx, eax
mov eax, dword [edi]
cmp byte [eax], 0x71
jne 0x4652d0
mov eax, dword [eax + 8]
call fcn.0041c9d0
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x20], edx
add edi, 0x14
sub ebx, 1
jne 0x4652b5
mov eax, dword [esp + 0x1c]
call fcn.0041c9d0
mov edi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4652f1
movzx eax, word [eax + 0x32]
jmp 0x4652f6
mov eax, 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
movzx ecx, word [esi]
add cx, ax
lea edx, [edi + edx + 1]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00464da0
mov edx, dword [esp + 0x14]
add esp, 8
cmp byte [edx + 0x57], 0
mov ebx, eax
mov dword [esp + 0x18], ebx
jne 0x4655d4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], eax
mov edx, dword [ebx]
lea eax, [eax + edi + 1]
add edi, 1
push edi
push ecx
push edx
mov dword [esp + 0x34], eax
call sub.ntdll.dll_memcpy
mov eax, dword [esp + 0x1c]
movzx edx, byte [ebp + 0x30]
xor ecx, ecx
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
add esp, 0xc
test eax, eax
setne cl
mov byte [ebx + 0x36], al
mov eax, dword [ebx + 0x38]
and edx, 3
and eax, 0xfffffff4
and ecx, 1
add ecx, ecx
add ecx, ecx
add ecx, ecx
or ecx, edx
or ecx, eax
test edi, edi
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x38], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [eax + edx + 0xc]
mov dword [ebx + 0x18], ecx
mov dx, word [esi]
mov word [ebx + 0x32], dx
je 0x4653be
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push 0
push edi
mov eax, 2
call fcn.00451490
add esp, 8
mov dword [ebx + 0x24], edi
mov dword [ebp + 0x24], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x4c], 4
lea edx, [esi + 8]
sbb eax, eax
neg eax
sub eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0xd8], 2
mov dword [esp + 0x2c], edx
jb 0x4653f1
mov dword [ebx + 0x28], esi
mov dword [ebp + 0x18], 0
xor edi, edi
cmp word [ebx + 0x32], di
mov dword [esp + 0x34], edi
jbe 0x465575
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
call fcn.004620d0
mov ecx, dword [edx]
mov esi, dword [ebp + 8]
push 0
push ecx
mov ecx, dword [esp + 0x18]
mov eax, 0x20
mov edx, esi
call fcn.00451490
add esp, 8
cmp dword [esi + 0x24], 0
jne 0x4655d4
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
call fcn.004518a0
cmp byte [eax], 0xa7
mov edx, dword [esp + 0x10]
je 0x465481
cmp edx, dword [esi + 0xf4]
je 0x4655c7
cmp dword [ebx + 0x28], 0
jne 0x465464
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x28], eax
mov dword [ebp + 0x18], 0
mov ecx, dword [ebx + 4]
mov eax, 0xfffffffe
mov word [ecx + edi*2], ax
mov ecx, dword [ebx + 0x38]
and ecx, 0xfffffff7
or ecx, 0x800
mov dword [ebx + 0x38], ecx
jmp 0x4654ba
movsx eax, word [eax + 0x20]
test eax, eax
jge 0x46548f
movsx eax, word [edx + 0x20]
jmp 0x4654b3
mov esi, dword [edx + 4]
mov ecx, eax
shl ecx, 4
test byte [ecx + esi + 4], 0xf
jne 0x4654a2
and dword [ebx + 0x38], 0xfffffff7
mov esi, dword [edx + 4]
test byte [ecx + esi + 0xe], 0x20
je 0x4654b3
or dword [ebx + 0x38], 0xc00
mov ecx, dword [ebx + 4]
mov word [ecx + edi*2], ax
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
cmp byte [ecx], 0x71
jne 0x4654f9
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
call fcn.0041c9d0
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x28]
add esi, 1
push esi
push edx
push eax
call sub.ntdll.dll_memcpy
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x20], eax
add eax, esi
mov dword [esp + 0x28], eax
jmp 0x46550c
test eax, eax
jl 0x465513
shl eax, 4
add eax, dword [edx + 4]
call fcn.00460b20
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
jne 0x46551b
mov dword [esp + 0x20], 0x4c19d4
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xb1], 0
jne 0x465540
mov esi, dword [esp + 0x20]
mov edi, dword [ebp + 8]
call fcn.004679d0
test eax, eax
je 0x4655d4
mov edi, dword [esp + 0x34]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x20]
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0x2c]
mov cl, byte [eax + 8]
and cl, byte [esp + 0x3c]
mov edx, dword [ebx + 0x1c]
add eax, 0x14
mov byte [edi + edx], cl
mov dword [esp + 0x2c], eax
movzx eax, word [ebx + 0x32]
add edi, 1
cmp edi, eax
mov dword [esp + 0x34], edi
jl 0x465401
cmp dword [esp + 0x24], 0
je 0x46569b
mov ecx, dword [esp + 0x24]
xor esi, esi
cmp word [ecx + 0x32], si
jbe 0x4656ae
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
movsx ecx, word [edx + esi*2]
movzx edx, word [ebx + 0x32]
push eax
push edx
push ebx
mov ebx, esi
mov dword [esp + 0x48], ecx
call fcn.00462aa0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x18]
je 0x465657
add word [eax + 0x34], 0xffff
jmp 0x465682
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
call fcn.0041cbf0
add esp, 4
test ebx, ebx
je 0x465629
mov eax, dword [ebx + 0x24]
test eax, eax
mov esi, dword [esp + 0xc]
je 0x4655ed
push eax
push esi
call fcn.00452b80
add esp, 8
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4655fe
push eax
push esi
call fcn.00453b70
add esp, 8
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46560c
mov ecx, esi
call fcn.00419270
test byte [ebx + 0x38], 0x10
je 0x465620
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x465620
mov ecx, esi
call fcn.00419270
mov eax, ebx
mov ecx, esi
call fcn.00419270
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
add edx, 8
test eax, eax
je 0x465aab
mov bl, 5
lea ecx, [ecx]
cmp byte [eax + 0x36], bl
je 0x465a89
lea edx, [eax + 0x14]
mov eax, dword [edx]
test eax, eax
jne 0x465640
jmp 0x465aab
mov ecx, dword [eax + 4]
mov dx, word [esp + 0x3c]
mov word [ecx + edi*2], dx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
mov ebx, dword [eax + 0x20]
mov edx, dword [edx + esi*4]
mov dword [ebx + edi*4], edx
mov ecx, dword [ecx + 0x1c]
mov edx, dword [eax + 0x1c]
mov al, byte [esi + ecx]
mov byte [edi + edx], al
add edi, 1
mov ecx, dword [esp + 0x24]
movzx edx, word [ecx + 0x32]
mov ebx, dword [esp + 0x18]
add esi, 1
cmp esi, edx
jl 0x465590
jmp 0x4656ae
mov eax, dword [ebx + 4]
mov word [eax + edi*2], 0xffff
mov ecx, dword [ebx + 0x20]
mov dword [ecx + edi*4], 0x4c19d4
mov edi, dword [esp + 0x10]
mov esi, ebx
call fcn.00465b60
mov edx, dword [ebp + 8]
cmp dword [edx + 0xf4], 0
jne 0x4656d0
mov edi, ebx
call fcn.00462a40
mov edi, dword [esp + 0x10]
push ebx
call fcn.00462b40
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x465721
movzx eax, word [ebx + 0x34]
movsx ecx, word [edi + 0x22]
cmp eax, ecx
jl 0x465721
or dword [ebx + 0x38], 0x20
xor esi, esi
cmp word [edi + 0x22], si
jle 0x465721
movsx eax, word [edi + 0x20]
cmp esi, eax
je 0x46570b
mov edx, ebx
call fcn.00461360
test ax, ax
jl 0x465718
movsx eax, word [edi + 0x22]
add esi, 1
cmp esi, eax
jl 0x4656f7
jmp 0x465721
mov eax, dword [ebx + 0x38]
and eax, 0xffffffdf
mov dword [ebx + 0x38], eax
mov ecx, dword [ebp + 8]
cmp edi, dword [ecx + 0xf4]
jne 0x4657b5
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 8]
test edi, edi
je 0x4657b5
jmp 0x465740
movzx eax, word [edi + 0x32]
movzx ecx, word [ebx + 0x32]
cmp ax, cx
jne 0x4657ae
movzx eax, ax
xor esi, esi
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x4657a8
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 4]
sub ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
jmp 0x465774
mov ecx, dword [esp + 0x3c]
mov cx, word [ecx + eax]
cmp cx, word [eax]
jne 0x4657a8
mov edx, dword [ebx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [edx + esi*4]
mov edx, dword [ecx + esi*4]
call fcn.0041cd90
test eax, eax
jne 0x4657a8
mov eax, dword [esp + 0x34]
movzx edx, word [edi + 0x32]
add esi, 1
add eax, 2
cmp esi, edx
mov dword [esp + 0x34], eax
jl 0x465770
cmp esi, dword [esp + 0x2c]
je 0x46581c
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x465740
mov eax, dword [ebp + 8]
cmp byte [eax + 0xd8], 2
jae 0x465a49
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xb1], 0
je 0x4658b9
cmp dword [ebp + 0x14], 0
je 0x465885
mov eax, edx
mov ecx, dword [eax + 0xac]
mov dword [ebx + 0x2c], ecx
mov ecx, ebx
call fcn.00478f10
test eax, eax
je 0x465885
mov esi, dword [ebp + 8]
push str.invalid_rootpage
call fcn.0041cbf0
add esp, 4
mov eax, 0x1dc03
call fcn.004aae10
mov dword [esi + 0xc], eax
jmp 0x4655d4
mov al, byte [edi + 0x36]
mov cl, byte [ebx + 0x36]
cmp al, cl
je 0x46584d
cmp al, 0xb
je 0x465841
cmp cl, 0xb
je 0x465841
mov esi, dword [ebp + 8]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.0041cbf0
add esp, 8
cmp byte [edi + 0x36], 0xb
jne 0x46584d
mov al, byte [ebx + 0x36]
mov byte [edi + 0x36], al
cmp byte [ebp + 0x30], 2
jne 0x46585f
mov ecx, dword [edi + 0x38]
and ecx, 0xfffffffe
or ecx, 2
mov dword [edi + 0x38], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0xd8], 2
jb 0x4655d4
mov eax, edx
mov ecx, dword [eax + 0xf8]
mov dword [ebx + 0x14], ecx
mov dword [eax + 0xf8], ebx
jmp 0x465629
mov edx, dword [ebx]
mov eax, dword [ebx + 0x18]
push edx
add eax, 0x18
call fcn.0041e600
add esp, 4
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4658b0
push eax
call fcn.00419a00
mov ebx, dword [esp + 0x1c]
add esp, 4
jmp 0x4655d4
or dword [eax + 0x18], 1
jmp 0x465a42
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x1c], 0x80
je 0x4658cd
cmp dword [ebp + 0x14], 0
je 0x465a49
add dword [eax + 0x2c], 1
mov esi, dword [eax + 8]
test esi, esi
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x2c], edx
jne 0x465905
cmp dword [eax + 0x78], esi
jne 0x4658f0
mov ecx, dword [eax]
test byte [ecx + 0x50], 8
jne 0x4658f0
mov byte [eax + 0x17], 1
mov ebx, eax
call fcn.0043c140
mov ebx, dword [esp + 0x18]
mov esi, eax
test esi, esi
je 0x4655d4
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
push 1
mov eax, edi
call fcn.00466b50
add esp, 4
push 0
push 0
push 0
push 0xb8
push esi
call fcn.0043c3f0
mov edx, dword [esp + 0x40]
add esp, 0x14
push 2
push edx
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x1c]
push eax
push 0x93
push esi
call fcn.0043c3f0
add esp, 0x14
cmp dword [ebp + 0x20], 0
je 0x465995
mov eax, dword [edi + 0xd0]
add eax, dword [edi + 0xcc]
mov ecx, dword [esp + 0x30]
sub eax, dword [ecx]
mov ecx, dword [ecx]
cmp byte [ecx + eax - 1], 0x3b
jne 0x46596d
sub eax, 1
cmp dword [ebp + 0x1c], 0
mov edx, 0x4be549
je 0x46597d
mov edx, str._UNIQUE
mov edi, dword [esp + 0xc]
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
call fcn.0041ba60
add esp, 0x10
mov edi, eax
jmp 0x465997
xor edi, edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov edx, dword [esp + 0xc]
push edi
push ecx
mov ecx, dword [ebx]
mov ebx, dword [ebp + 8]
push eax
mov eax, dword [edx + 0x10]
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + eax]
push edx
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
call fcn.00460090
add esp, 0x18
test edi, edi
je 0x4659d5
mov ecx, dword [esp + 0xc]
mov eax, edi
call fcn.00419270
cmp dword [ebp + 0x14], 0
mov ebx, dword [esp + 0x18]
je 0x465a38
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
push eax
push ebx
mov eax, edi
call fcn.00464890
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, edi
call fcn.00462630
mov edi, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [ebx]
push ecx
push str.name_q_AND_typeindex
call fcn.0041ba60
mov ecx, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, esi
call fcn.0043c8b0
add esp, 4
push 0
push 1
push 0
push 0xa6
push esi
call fcn.0043c3f0
add esp, 0x14
mov edx, dword [ebx + 0x2c]
mov eax, esi
call fcn.0043cd40
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xb1], 0
jne 0x465a77
cmp dword [ebp + 0x14], 0
je 0x465a77
cmp byte [eax + 0xd8], 2
jb 0x4655d4
mov eax, dword [ebp + 8]
mov dword [eax + 0xf8], ebx
jmp 0x465629
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebx + 0x14], ecx
mov dword [eax + 8], ebx
jmp 0x465629
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x465aab
cmp byte [ecx + 0x36], bl
je 0x465aab
mov dword [edx], ecx
mov edx, dword [ecx + 0x14]
add ecx, 0x14
mov dword [eax + 0x14], edx
mov dword [ecx], eax
mov edx, ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x465a90
mov eax, dword [ebp + 0x24]
test eax, eax
mov esi, dword [esp + 0xc]
je 0x465ac0
push eax
push esi
call fcn.00452b80
add esp, 8
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x465ad1
push eax
push esi
call fcn.00453b70
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
mov eax, esi
call fcn.004662e0
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x465b4d
test esi, esi
je 0x465b44
cmp eax, dword [esi + 0x164]
jae 0x465b2d
cmp eax, dword [esi + 0x15c]
jb 0x465b10
mov ecx, dword [esi + 0x158]
mov dword [eax], ecx
mov dword [esi + 0x158], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x160]
jb 0x465b2d
mov edx, dword [esi + 0x150]
mov dword [eax], edx
mov dword [esi + 0x150], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x210], 0
je 0x465b44
mov ecx, esi
call fcn.00419210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004191a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret