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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x6b7e64]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x24], ecx
jne 0x46f43b
cmp byte [eax + 0xdc], 1
jne 0x46e01b
cmp byte [ebp + 0x28], 2
jne 0x46f43b
mov ecx, eax
call fcn.0048c030
test eax, eax
jne 0x46f43b
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x46e04d
mov edx, dword [ecx]
test edx, edx
jle 0x46e04d
add ecx, 0x14
nop dword [eax + eax]
test byte [ecx], 0x20
jne 0x46e0c0
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x46e040
cmp dword [esp + 0x28], 0
mov dword [esp + 0x30], 1
je 0x46e2d6
lea eax, [esp + 0x4c]
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.00468580
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
js 0x46f43b
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb1], 0
jne 0x46e0f5
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.004721d0
cmp dword [esi + 4], 0
jne 0x46e0f5
mov esi, dword [esp + 0x20]
test eax, eax
je 0x46e0f9
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x30]
mov dword [esp + 0x20], esi
jmp 0x46e0f9
mov edi, dword [esp + 0xc]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x46e0d8
cmp al, 3
mov eax, str.LAST
jne 0x46e0dd
mov eax, str.FIRST
push eax
mov eax, dword [esp + 0x18]
push str.unsupported_use_of_NULLS__s
push eax
call fcn.00415290
add esp, 0xc
jmp 0x46f43f
mov esi, dword [esp + 0x20]
mov edx, dword [edi]
mov ecx, esi
mov dword [esp + 0x94], edi
add ecx, ecx
cmp esi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0xc8], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0xbc], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0xc8]
movlpd qword [esp + 0xec], xmm0
movlpd qword [esp + 0xf4], xmm0
movlpd qword [esp + 0xfc], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0xb8]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xb4], eax
xor eax, eax
mov word [esp + 0xac], ax
lea eax, [esp + 0x94]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc0], str.index
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], 0x4666f0
mov dword [esp + 0xa0], 0x466740
mov dword [esp + 0xa4], fcn.00401d30
mov dword [esp + 0xa8], 0
movlpd qword [esp + 0x104], xmm0
movlpd qword [esp + 0x10c], xmm0
mov dword [esp + 0xe8], eax
call fcn.00450240
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 8]
test edx, edx
je 0x46e233
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x46e228
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x46e220
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x20]
jmp 0x46e236
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x2c]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.00467a40
mov ecx, eax
add esp, 8
mov dword [esp + 8], ecx
test ecx, ecx
je 0x46f43b
cmp esi, 1
jne 0x46e2aa
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ecx + 0x3c]
je 0x46e2aa
push dword [ecx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.00415290
add esp, 0xc
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov edx, dword [ecx + 8]
add ecx, 8
test edx, edx
je 0x46f43f
cmp byte [edx + 0x36], 5
je 0x46f418
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x46e292
jmp 0x46f43f
test byte [ecx + 0x1c], 0x80
je 0x46e31c
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x46e31c
nop dword [eax + eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x46e2d0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x46e2c0
mov dword [esp + 0x38], ecx
jmp 0x46e31c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xf8]
mov dword [esp + 8], eax
test eax, eax
je 0x46f43b
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x46e31c
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x46e31c
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x46e310
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x10]
mov ecx, esi
shl ecx, 4
mov edx, 7
mov dword [esp + 0x54], 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 + 0x3c], esi
test esi, esi
je 0x46e3be
mov edi, str.sqlite_
nop word [eax + eax]
mov al, byte [esi]
dec edx
test al, al
je 0x46e372
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x6949d8]
cmp al, byte [ecx + 0x6949d8]
jne 0x46e372
inc esi
inc edi
test edx, edx
jg 0x46e350
dec edx
test edx, edx
js 0x46e38e
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x6949d8]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x6949d8]
sub ecx, eax
jne 0x46e3b6
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xb1], 0
jne 0x46e3ba
cmp dword [esp + 0x28], 0
je 0x46e3ba
mov eax, dword [esp + 8]
push dword [eax]
push str.table__s_may_not_be_indexed
push dword [esp + 0x1c]
jmp 0x46e274
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 8]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x46e3df
push str.views_may_not_be_indexed
push dword [esp + 0x18]
call fcn.00415290
add esp, 8
jmp 0x46e27c
cmp al, 1
jne 0x46e3f9
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x18]
call fcn.00415290
add esp, 8
jmp 0x46e27c
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x46e56c
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x46e558
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00411a60
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46e544
push esi
push edi
push eax
call fcn.006239e0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, eax
mov byte [esi + eax], 0
call fcn.00415320
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x1c]
push dword [eax]
push str.index
call fcn.004686a0
add esp, 8
test eax, eax
jne 0x46f40b
cmp byte [edi + 0xdc], 2
mov esi, dword [esp + 0x18]
jae 0x46e53a
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb1], 0
jne 0x46e4c3
push dword [esi]
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.00467660
add esp, 4
test eax, eax
je 0x46e4bf
mov esi, dword [esp + 0x1c]
push esi
push str.there_is_already_a_table_named__s
push edi
call fcn.00415290
mov dword [esp + 0x28], esi
jmp 0x46e279
mov eax, dword [esp + 0x10]
push dword [esi]
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.00467c00
add esp, 4
test eax, eax
je 0x46e53a
cmp dword [ebp + 0x24], 0
jne 0x46e4f6
mov esi, dword [esp + 0x1c]
push esi
push str.index__s_already_exists
push edi
call fcn.00415290
mov dword [esp + 0x28], esi
jmp 0x46e279
mov eax, dword [edi + 0x80]
mov edx, edi
mov esi, dword [esp + 0x30]
test eax, eax
mov ecx, dword [esp + 0x20]
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x5c]
test eax, esi
jne 0x46e526
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x46e526
mov ecx, edx
call fcn.00470950
mov ecx, edi
call fcn.004689c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x46e27c
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x46e5b2
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.00415320
mov dword [esp + 0x1c], esi
jmp 0x46e27c
xor ecx, ecx
call fcn.00415320
mov dword [esp + 0x1c], 0
jmp 0x46e27c
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x46e580
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x46e578
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.00414020
mov esi, eax
add esp, 0x10
mov dword [esp + 0x1c], esi
test esi, esi
je 0x46e27c
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xdc], 0
je 0x46e5ae
inc byte [esi + 7]
mov esi, dword [esp + 0x18]
cmp byte [edi + 0xdc], 2
jae 0x46e618
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.00466b50
add esp, 0xc
test eax, eax
jne 0x46e27c
mov eax, dword [esp + 8]
xor edx, edx
cmp dword [esp + 0x20], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x24]
lea edx, [edx*2 + 1]
call fcn.00466b50
add esp, 0xc
test eax, eax
jne 0x46e27c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x46e6f0
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 + 0x2c], eax
test eax, eax
jne 0x46e647
xor esi, esi
jmp 0x46e65f
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x46e650
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.00411a60
mov edi, eax
add esp, 8
test edi, edi
je 0x46e6b4
push 0x34
push 0
push edi
call fcn.00623f60
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 0x46e6a6
push esi
push dword [esp + 0x30]
push eax
call fcn.006239e0
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.00456340
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x46f40f
mov ecx, dword [ebp + 0x20]
xor eax, eax
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne eax, edx
mov dword [esp + 0x2c], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [edi + eax*4 - 4], cl
jmp 0x46e71d
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x46e70f
push str.index
push str.too_many_columns_in__s
push edi
call fcn.00415290
add esp, 0xc
cmp dword [edi + 0x24], 0
mov edi, dword [esp + 0xc]
jne 0x46f40f
mov esi, dword [edi]
test esi, esi
jle 0x46e75d
lea edx, [edi + 8]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x46e751
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x46e746
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e737
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x34]
inc eax
add eax, ecx
mov dword [esp + 0x34], eax
add edx, 0x14
sub esi, 1
jne 0x46e726
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x46e764
mov eax, dword [esp + 0x38]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x46e781
movzx ecx, word [eax + 0x32]
jmp 0x46e786
mov ecx, 1
mov ax, word [edi]
add ax, cx
movzx eax, ax
mov dword [esp + 0x44], eax
cwde
mov dword [esp + 0x58], eax
lea ecx, [eax*4 + 7]
lea eax, [eax + eax*4]
and ecx, 0xfffffff8
add eax, 9
mov dword [esp + 0x5c], ecx
and eax, 0xfffffff8
add ecx, 0x48
add eax, ecx
mov dword [esp + 0x24], eax
add eax, esi
add eax, dword [esp + 0x34]
lea ecx, [eax + 1]
cdq
add eax, 1
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
adc edx, 0
push edx
push eax
call fcn.00411a60
mov edi, eax
add esp, 8
mov dword [esp + 0x3c], edi
test edi, edi
je 0x46e828
push dword [esp + 0x2c]
push 0
push edi
call fcn.00623f60
mov ecx, dword [esp + 0x64]
lea eax, [edi + 0x48]
mov dword [edi + 0x20], eax
add esp, 0xc
add eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
lea eax, [eax + ecx*2]
add eax, 2
mov dword [edi + 4], eax
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x44]
mov word [edi + 0x34], ax
dec eax
mov word [edi + 0x32], ax
add ecx, edi
jmp 0x46e82a
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x57], 0
jne 0x46f3b9
lea eax, [esi + 1]
mov dword [edi], ecx
add eax, ecx
mov dword [esp + 0x34], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x20]
push ecx
call fcn.006239e0
mov eax, dword [esp + 0x54]
add esp, 0xc
mov byte [edi + 0x36], al
neg eax
mov esi, dword [esp + 8]
sbb ecx, ecx
mov edx, dword [esp + 0x54]
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
mov dword [edi + 0xc], esi
or ecx, eax
movzx eax, byte [ebp + 0x28]
mov dword [esp + 0x58], eax
xor eax, ecx
and eax, 3
xor eax, ecx
cmp dword [esp + 0x50], 0
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [edx + eax + 0xc]
mov edx, dword [esp + 0xc]
mov dword [edi + 0x18], eax
movzx eax, word [edx]
mov word [edi + 0x32], ax
mov ecx, eax
je 0x46e98e
mov edx, dword [esp + 0x14]
xorps xmm0, xmm0
mov eax, dword [esi]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe0], esi
mov eax, dword [edx]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xdc], 0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xec], xmm0
movlpd qword [esp + 0xf4], xmm0
movlpd qword [esp + 0x100], xmm0
movlpd qword [esp + 0x108], xmm0
movlpd qword [esp + 0x110], xmm0
mov dword [esp + 0xc8], 1
mov dword [esp + 0xfc], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0xc8]
cmp dword [esi + 0x3c], ecx
lea ecx, [esp + 0x60]
mov esi, dword [esp + 0x50]
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.004535f0
movzx ecx, word [edi + 0x32]
mov edx, dword [esp + 0xc]
mov dword [edi + 0x24], esi
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x18]
lea esi, [edx + 8]
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x43], al
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xdc], 2
jb 0x46e9bb
mov dword [edi + 0x28], edx
mov dword [esp + 0xc], 0
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
cmp ax, cx
jae 0x46ec99
nop dword [eax]
mov eax, dword [esi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x46e9e6
cmp cl, 0x71
jne 0x46e9e9
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x46e9e9
mov byte [eax], 0x3b
mov ecx, dword [esp + 8]
xorps xmm0, xmm0
mov edx, dword [esp + 0x14]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0xe0], ecx
mov eax, dword [ecx]
mov dword [esp + 0xd8], eax
mov eax, dword [edx]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xdc], 0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xec], xmm0
movlpd qword [esp + 0xf4], xmm0
movlpd qword [esp + 0x100], xmm0
movlpd qword [esp + 0x108], xmm0
movlpd qword [esp + 0x110], xmm0
mov dword [esp + 0xc8], 1
mov dword [esp + 0xfc], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0xc8]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x64], eax
mov eax, 0x50020
cmp dword [edx + 0x3c], ecx
mov ecx, 0x10020
mov edx, dword [esi]
cmove eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], eax
call fcn.004535f0
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x24], 0
jne 0x46ece6
mov eax, dword [esi]
test eax, eax
je 0x46eae2
test dword [eax + 4], 0x2000
je 0x46eae2
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x46ead2
cmp byte [eax], 0xa7
je 0x46eb35
mov edx, dword [esp + 8]
cmp edx, dword [ecx + 0xf8]
je 0x46ecd8
cmp dword [edi + 0x28], 0
jne 0x46eb0c
mov eax, dword [esp + 0xc]
mov dword [edi + 0x28], eax
mov dword [esp + 0xc], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov esi, dword [esp + 0x18]
mov edx, ecx
mov word [eax + esi*2], dx
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 8]
and eax, 0xfffffff7
or eax, 0x1000
add edx, 4
mov dword [edi + 0x38], eax
jmp 0x46eb7d
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x46eb4a
mov eax, dword [esp + 8]
movsx ecx, word [eax + 0x20]
lea edx, [eax + 4]
jmp 0x46eb72
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 0x46eb62
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edx]
test byte [eax + esi*8 + 0xe], 0x20
je 0x46eb72
or dword [edi + 0x38], 0x1800
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x18]
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp byte [eax], 0x71
jne 0x46ebca
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x46eb93
xor esi, esi
jmp 0x46eba7
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x46eb98
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x3c]
call fcn.006239e0
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x24], eax
add eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
jmp 0x46ebfa
test ecx, ecx
js 0x46ebfe
shl ecx, 4
add ecx, dword [edx]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x46ebfe
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x46ebec
inc eax
cmp byte [eax], 0
jne 0x46ebe6
test dl, 4
je 0x46ebf7
inc eax
cmp byte [eax], 0
jne 0x46ebf1
lea esi, [eax + 1]
test esi, esi
jne 0x46ec03
mov esi, str.BINARY
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xb1], 0
jne 0x46ec5f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov al, byte [ecx + 0xb1]
mov dl, byte [ecx + 0x54]
mov byte [esp + 0x41], al
movzx eax, al
push eax
push esi
mov byte [esp + 0x4a], dl
call fcn.004717f0
add esp, 8
cmp byte [esp + 0x41], 0
jne 0x46ec57
test eax, eax
je 0x46ec45
cmp dword [eax + 0xc], 0
jne 0x46ec5f
mov dl, byte [esp + 0x42]
mov ecx, dword [esp + 0x14]
push esi
push eax
call fcn.00471960
add esp, 8
test eax, eax
je 0x46ece6
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
mov dword [eax + edx*4], esi
xor eax, eax
mov esi, dword [esp + 0x2c]
cmp byte [esp + 0x43], 4
movzx ecx, byte [esi + 8]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add esi, 0x14
mov dword [esp + 0x2c], esi
mov byte [edx + eax], cl
inc edx
movzx eax, word [edi + 0x32]
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x46e9d0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x46ed32
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x32]
jae 0x46ed46
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.0046ab10
add esp, 8
test eax, eax
je 0x46ecef
dec word [edi + 0x34]
jmp 0x46ed23
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.00415290
add esp, 8
mov esi, dword [esp + 0x10]
jmp 0x46f3bb
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x24]
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x38]
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x46ecb3
jmp 0x46ed46
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + edx*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + edx*4], str.BINARY
mov ecx, edi
call fcn.0046f4a0
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xf8], 0
jne 0x46edae
mov eax, dword [edi + 0xc]
xor esi, esi
movzx edx, word [edi + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
test edx, edx
je 0x46ed98
mov ecx, dword [edi + 4]
mov edi, eax
movzx eax, word [ecx]
test ax, ax
jns 0x46ed82
mov eax, 1
jmp 0x46ed8a
cwde
add eax, eax
movzx eax, byte [edi + eax*8 + 9]
add esi, eax
add ecx, 2
sub edx, 1
jne 0x46ed73
mov edi, dword [esp + 0x3c]
lea eax, [esi*4]
push 0
push eax
call fcn.00417ba0
add esp, 8
mov word [edi + 0x30], ax
mov ecx, edi
call fcn.0046abb0
cmp dword [esp + 0x28], 0
je 0x46ee08
mov ecx, dword [esp + 8]
movzx esi, word [edi + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x46ee08
or dword [edi + 0x38], 0x20
xor edx, edx
movsx eax, word [ecx + 0x22]
mov dword [esp + 0x24], eax
test eax, eax
jle 0x46ee08
movsx ecx, word [ecx + 0x20]
mov dword [esp + 0x44], ecx
cmp edx, ecx
je 0x46ee71
xor eax, eax
test esi, esi
je 0x46ee04
mov ecx, dword [edi + 4]
cmp dx, word [ecx]
je 0x46ee61
inc eax
add ecx, 2
cmp eax, esi
jl 0x46edf7
and dword [edi + 0x38], 0xffffffdf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
cmp eax, dword [edx + 0xf8]
jne 0x46ef1d
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x46ef1d
movzx edx, word [edi + 0x32]
nop
movzx eax, word [ecx + 0x32]
cmp ax, dx
jne 0x46ef06
xor esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x46eefe
mov edx, dword [edi + 4]
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
jmp 0x46ee84
movzx eax, ax
test ax, ax
js 0x46ee04
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
inc edx
cmp edx, eax
jl 0x46ede6
jmp 0x46ee08
mov eax, dword [esp + 0x24]
mov ax, word [eax + edx]
cmp ax, word [edx]
jne 0x46eef6
mov eax, dword [ecx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov edi, dword [ecx + esi*4]
sub edi, eax
nop dword [eax + eax]
movzx ecx, byte [eax]
movzx esi, byte [eax + edi]
cmp ecx, esi
jne 0x46eed5
test ecx, ecx
jne 0x46eee7
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
inc esi
mov eax, dword [esp + 0x34]
add edx, 2
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], edx
cmp esi, eax
jl 0x46ee80
jmp 0x46eefa
movzx edx, byte [ecx + 0x6949d8]
movzx ecx, byte [esi + 0x6949d8]
sub edx, ecx
jne 0x46eeea
inc eax
jmp 0x46eea0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
movzx edx, word [edi + 0x32]
cmp esi, eax
je 0x46ef8e
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x46ee30
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
cmp byte [edx + 0xdc], 2
mov esi, dword [esp + 0x10]
jae 0x46f37e
cmp byte [esi + 0xb1], 0
je 0x46f044
cmp dword [esp + 0x28], 0
je 0x46ef69
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xac]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x46ef69
cmp dword [eax + 0x2c], ecx
jne 0x46ef62
cmp eax, edi
jne 0x46f002
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x46ef55
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.00417ff0
add esp, 4
test eax, eax
je 0x46f03b
mov ecx, esi
call fcn.00411d30
jmp 0x46f3bb
mov al, byte [ecx + 0x36]
mov cl, byte [edi + 0x36]
cmp al, cl
je 0x46efc6
cmp al, 0xb
je 0x46efb4
cmp cl, 0xb
je 0x46efb4
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x1c]
call fcn.00415290
add esp, 0xc
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x36], 0xb
jne 0x46efca
mov al, byte [edi + 0x36]
mov byte [ecx + 0x36], al
jmp 0x46efca
mov ecx, dword [esp + 0x18]
cmp byte [ebp + 0x28], 2
jne 0x46efdd
mov edx, dword [esp + 0x58]
xor edx, dword [ecx + 0x38]
and edx, 3
xor dword [ecx + 0x38], edx
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xdc], 2
jb 0x46ece6
mov eax, dword [ecx + 0xfc]
mov dword [edi + 0x14], eax
mov dword [ecx + 0xfc], edi
jmp 0x46e27c
push str.invalid_rootpage
push edx
call fcn.00415290
push 0x692b64
push 0x1e8c2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00414390
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x46f3bb
or dword [esi + 0x18], 1
jmp 0x46f37a
test byte [eax + 0x1c], 0x80
je 0x46f056
mov eax, dword [esp + 0x28]
test eax, eax
je 0x46f382
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
test esi, esi
je 0x46f06f
lea eax, [edx + 0x80]
jmp 0x46f09f
cmp dword [edx + 0x80], 0
jne 0x46f084
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x46f084
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.0043b390
mov edx, dword [esp + 0x14]
mov esi, eax
lea eax, [edx + 0x80]
test esi, esi
je 0x46ece6
mov eax, dword [eax]
test eax, eax
mov ecx, dword [esp + 0x20]
cmovne edx, eax
shl dword [esp + 0x30], cl
mov dword [esp + 0x24], edx
mov eax, dword [edx + 0x5c]
test dword [esp + 0x30], eax
jne 0x46f0d5
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x46f0d5
mov ecx, edx
call fcn.00470950
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 0x46f10a
push 0
push 0
push 0
mov edx, 0xbb
mov ecx, esi
call fcn.0043b5e0
mov edx, eax
add esp, 0xc
lea eax, [esi + 0x68]
mov dword [esp + 0x30], eax
jmp 0x46f147
mov edi, dword [esp + 0x3c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
lea eax, [esi + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0xbb
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 0x46f16e
mov edx, dword [esp + 0x18]
mov ecx, esi
push 2
push edx
push dword [esp + 0x28]
mov edx, 0x93
call fcn.0043b5e0
add esp, 0xc
jmp 0x46f1a4
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
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 0x46f1f6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
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 + 0x4c], 0
push eax
mov eax, 0x688421
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x20]
call fcn.00414020
add esp, 0x14
jmp 0x46f1f8
xor eax, eax
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
push dword [eax]
mov eax, dword [esp + 0x1c]
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 + 0x2c]
call fcn.00467540
mov edx, dword [esp + 0x64]
add esp, 0x1c
test edx, edx
je 0x46f239
mov ecx, dword [esp + 0x10]
call fcn.004115d0
cmp dword [esp + 0x28], 0
je 0x46f30e
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.0046d680
mov eax, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [eax]
mov eax, dword [ecx + 0x6c]
inc edx
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x70], eax
jg 0x46f293
push edx
push 1
push dword [esp + 0x28]
mov edx, 0x64
call fcn.0043b5e0
add esp, 0xc
jmp 0x46f2cc
mov edi, dword [esp + 0x20]
inc eax
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ecx
push dword [edi]
push str.name_q_AND_typeindex
push dword [esp + 0x20]
call fcn.00414020
mov edx, dword [esp + 0x34]
add esp, 0x10
mov ecx, esi
push eax
call fcn.0043bd30
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x46f328
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, esi
call fcn.0043b5e0
add esp, 0xc
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x46f364
mov eax, 0x6c6380
jmp 0x46f36f
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x3c]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0xa6
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x46f312
mov eax, dword [edi + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp byte [esi + 0xb1], 0
jne 0x46f3a3
test eax, eax
je 0x46f3a3
cmp byte [edx + 0xdc], 2
jb 0x46f3bb
mov dword [edx + 0xfc], edi
jmp 0x46e27c
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov dword [ecx + 8], edi
jmp 0x46e280
mov esi, eax
test edi, edi
je 0x46e27c
mov edx, dword [edi + 0x24]
mov ecx, esi
call fcn.00455650
mov edx, dword [edi + 0x28]
test edx, edx
je 0x46f3db
mov ecx, esi
call fcn.00456880
mov edx, dword [edi + 0x10]
test edx, edx
je 0x46f3e9
mov ecx, esi
call fcn.004115d0
test byte [edi + 0x38], 0x10
je 0x46f3fd
mov edx, dword [edi + 0x20]
test edx, edx
je 0x46f3fd
mov ecx, esi
call fcn.004115d0
mov edx, edi
mov ecx, esi
call fcn.004115d0
jmp 0x46e27c
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x46e284
mov eax, dword [edx + 0x14]
test eax, eax
je 0x46f43f
nop
cmp byte [eax + 0x36], 5
je 0x46f43f
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 0x46f420
jmp 0x46f43f
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x46f454
mov edx, eax
mov ecx, esi
call fcn.00455530
test edi, edi
je 0x46f461
mov edx, edi
mov ecx, esi
call fcn.00456880
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.0046ff90
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46f47d
mov edx, eax
mov ecx, esi
call fcn.004115d0
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.0061e015
mov esp, ebp
pop ebp
ret