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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x4fc040]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, ecx
mov dword [esp + 0x30], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x24], ecx
jne 0x481fab
cmp byte [eax + 0xd8], 1
jne 0x480bcf
cmp byte [ebp + 0x28], 2
jne 0x481fab
mov ecx, eax
call fcn.0049d6c0
test eax, eax
jne 0x481fab
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x480bfd
mov edx, dword [ecx]
test edx, edx
jle 0x480bfd
add ecx, 0x14
nop
test byte [ecx], 0x20
jne 0x480c70
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x480bf0
cmp dword [esp + 0x30], 0
mov dword [esp + 0x4c], 1
je 0x480e58
lea eax, [esp + 0x28]
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.0047b570
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
js 0x481fab
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x480ca5
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004848a0
cmp dword [esi + 4], 0
jne 0x480ca5
mov esi, dword [esp + 0x20]
test eax, eax
je 0x480ca9
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x4c]
mov dword [esp + 0x20], esi
jmp 0x480ca9
mov edi, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x480c88
cmp al, 3
mov eax, str.LAST
jne 0x480c8d
mov eax, str.FIRST
push eax
mov eax, dword [esp + 0x18]
push str.unsupported_use_of_NULLS__s
push eax
call fcn.0042b560
add esp, 0xc
jmp 0x481faf
mov esi, dword [esp + 0x20]
mov edx, dword [edi]
mov ecx, esi
mov dword [esp + 0xd8], edi
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 + 0x100], 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 + 0xfc]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xf8], eax
xor eax, eax
mov word [esp + 0xf0], ax
lea eax, [esp + 0xd8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x108], ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x104], str.index
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], 0x479680
mov dword [esp + 0xe4], 0x4796d0
mov dword [esp + 0xe8], fcn.00427090
mov dword [esp + 0xec], 0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xa8], eax
call fcn.00463940
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 8]
test edx, edx
je 0x480de3
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x480dd8
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x480dd0
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x20]
jmp 0x480de6
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x34]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.0047aa70
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
je 0x481fab
cmp esi, 1
jne 0x480e31
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x480e31
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.0042b560
add esp, 0xc
jmp 0x481f61
test byte [edx + 0x1c], 0x80
je 0x480e9e
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x480e9e
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x480e52
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x480e42
mov dword [esp + 0x44], ecx
jmp 0x480e9e
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xf4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x481fab
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x480e9e
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x480e9e
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x480e92
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x18]
mov eax, esi
mov esi, dword [esp + 0x1c]
mov edx, 7
shl eax, 4
add eax, dword [ecx + 0x10]
mov esi, dword [esi]
mov dword [esp + 0x2c], eax
test esi, esi
je 0x480f30
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x480ee4
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x4f2180]
cmp al, byte [ecx + 0x4f2180]
jne 0x480ee4
inc esi
inc edi
test edx, edx
jg 0x480ec2
dec edx
test edx, edx
js 0x480f00
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x4f2180]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x4f2180]
sub ecx, eax
jne 0x480f34
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xb1], 0
jne 0x480f38
cmp dword [esp + 0x30], 0
je 0x480f38
mov eax, dword [esp + 0x1c]
push dword [eax]
push str.table__s_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.0042b560
add esp, 0xc
jmp 0x481f61
mov edx, ecx
jmp 0x480f38
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x2b]
cmp al, 2
jne 0x480f59
push str.views_may_not_be_indexed
push dword [esp + 0x18]
call fcn.0042b560
add esp, 8
jmp 0x481f61
cmp al, 1
jne 0x480f73
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x18]
call fcn.0042b560
add esp, 8
jmp 0x481f61
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4810fd
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x4810f0
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edx
call fcn.00427e60
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x4810e7
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esp + 0x44]
add esp, 0xc
mov byte [edi + esi], 0
mov esi, edi
mov cl, byte [esi]
movzx eax, cl
cmp byte [eax + 0x4f1620], 0
jge 0x480ffd
cmp cl, 0x5b
movzx edx, cl
mov eax, 0x5d
lea ecx, [esi + 1]
cmove edx, eax
mov al, byte [ecx]
cmp al, dl
jne 0x480ff2
lea eax, [ecx + 1]
mov ecx, eax
cmp byte [eax], dl
jne 0x480ff8
mov al, dl
mov byte [esi], al
inc ecx
inc esi
jmp 0x480fe1
mov byte [esi], 0
jmp 0x481009
mov dword [esp + 0x38], edi
test edi, edi
je 0x481f61
mov eax, dword [esp + 0x1c]
mov edx, edi
mov esi, dword [esp + 0x14]
mov ecx, esi
push dword [eax]
push str.index
call fcn.0047b600
add esp, 8
test eax, eax
jne 0x481f61
cmp byte [esi + 0xd8], 2
mov esi, dword [esp + 0x2c]
jae 0x48114f
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x481077
push dword [esi]
mov edx, edi
mov ecx, eax
call fcn.0047a690
add esp, 4
test eax, eax
je 0x481073
push edi
push str.there_is_already_a_table_named__s
push dword [esp + 0x1c]
call fcn.0042b560
add esp, 0xc
jmp 0x481f61
mov eax, dword [esp + 0x18]
push dword [esi]
mov edx, edi
mov ecx, eax
call fcn.0047ac30
add esp, 4
test eax, eax
je 0x48114f
cmp dword [ebp + 0x24], 0
jne 0x4810aa
push edi
push str.index__s_already_exists
push dword [esp + 0x1c]
call fcn.0042b560
add esp, 0xc
jmp 0x481f61
mov esi, dword [esp + 0x14]
mov edx, esi
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x7c]
test eax, eax
cmovne edx, eax
shl edi, cl
mov eax, dword [edx + 0x58]
test eax, edi
jne 0x4810db
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x4810db
mov ecx, edx
call fcn.004832b0
mov ecx, esi
call fcn.0047b850
jmp 0x481f61
mov dword [esp + 0x38], eax
jmp 0x481f61
mov dword [esp + 0x38], 0
jmp 0x481f61
mov eax, dword [esp + 0x1c]
mov ecx, 1
mov eax, dword [eax + 8]
test eax, eax
je 0x481118
nop dword [eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x481110
mov eax, dword [esp + 0x1c]
push ecx
push dword [eax]
push str.sqlite_autoindex__s__d
push edx
call fcn.0042a380
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
je 0x481f61
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
cmp byte [edi + 0xd8], 0
je 0x481153
inc byte [eax + 7]
jmp 0x481153
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xd8], 2
jae 0x4811b9
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.00479b90
add esp, 0xc
test eax, eax
jne 0x481f61
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp dword [esp + 0x20], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x40]
lea edx, [edx*2 + 1]
call fcn.00479b90
add esp, 0xc
test eax, eax
jne 0x481f61
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x481290
mov eax, dword [esp + 0x1c]
movsx ecx, word [eax + 0x22]
mov eax, dword [eax + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4811e8
xor esi, esi
jmp 0x4811ff
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4811f0
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.00427e60
mov edi, eax
add esp, 8
test edi, edi
je 0x481254
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 0x481246
push esi
push dword [esp + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
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.004694e0
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x481f65
mov ecx, dword [ebp + 0x20]
xor eax, eax
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne eax, edx
mov dword [esp + 0x28], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x28]
mov byte [edi + eax*4 - 4], cl
jmp 0x4812bd
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x4812af
push str.index
push str.too_many_columns_in__s
push edi
call fcn.0042b560
add esp, 0xc
cmp dword [edi + 0x24], 0
mov edi, dword [esp + 0x10]
jne 0x481f65
mov esi, dword [edi]
test esi, esi
jle 0x4812f9
lea edx, [edi + 8]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x4812f1
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4812e6
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4812d7
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x3c]
inc eax
add eax, ecx
mov dword [esp + 0x3c], eax
add edx, 0x14
sub esi, 1
jne 0x4812c6
mov edi, dword [esp + 0x38]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x481300
mov eax, dword [esp + 0x44]
sub edi, ecx
and edi, 0x3fffffff
test eax, eax
je 0x48131d
movzx ecx, word [eax + 0x32]
jmp 0x481322
mov ecx, 1
mov eax, dword [esp + 0x10]
mov ax, word [eax]
add ax, cx
movzx eax, ax
mov dword [esp + 0x48], 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 + 0x24], ecx
and eax, 0xfffffff8
add ecx, 0x48
add eax, ecx
mov dword [esp + 0x34], eax
add eax, edi
add eax, dword [esp + 0x3c]
lea ecx, [eax + 1]
cdq
add eax, 1
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
adc edx, 0
push edx
push eax
call fcn.00427e60
mov esi, eax
add esp, 8
mov dword [esp + 0x3c], esi
test esi, esi
je 0x4813c8
push dword [esp + 0x28]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x64]
lea ecx, [esi + 0x48]
mov dword [esi + 0x20], ecx
add esp, 0xc
add ecx, dword [esp + 0x24]
mov dword [esi + 8], ecx
lea eax, [edx + 1]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x34]
mov dword [esi + 4], eax
lea eax, [eax + edx*2]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x48]
mov word [esi + 0x34], ax
dec eax
mov word [esi + 0x32], ax
add ecx, esi
jmp 0x4813ca
xor ecx, ecx
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x481f16
lea eax, [edi + 1]
mov dword [esi], ecx
add eax, ecx
mov dword [esp + 0x28], eax
lea eax, [edi + 1]
push eax
push dword [esp + 0x3c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov byte [esi + 0x36], al
neg eax
mov dword [esi + 0xc], edi
sbb ecx, ecx
mov eax, dword [esi + 0x38]
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x28]
xor eax, ecx
and eax, 3
xor eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x38], eax
add ecx, ecx
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov ax, word [ecx]
mov word [esi + 0x32], ax
je 0x481528
mov edx, dword [esp + 0x14]
xorps xmm0, xmm0
mov eax, dword [edi]
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], edi
mov eax, dword [edx]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x7c], 0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xc8], xmm0
movlpd qword [esp + 0xd0], xmm0
mov dword [esp + 0x88], 1
mov dword [esp + 0xbc], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x88]
cmp dword [edi + 0x3c], ecx
lea ecx, [esp + 0x60]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x60], edx
mov edx, 0x10002
mov dword [esp + 0x64], eax
mov eax, 0x50002
cmove eax, edx
mov edx, edi
mov dword [esp + 0x78], eax
call fcn.00466a70
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x24], edi
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x2c]
lea edx, [ecx + 8]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x43], al
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xd8], 2
jb 0x481555
mov dword [esi + 0x28], ecx
mov dword [esp + 0x10], 0
xor edi, edi
xor eax, eax
mov dword [esp + 0x24], edi
cmp ax, word [esi + 0x32]
jae 0x48183c
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x48157d
cmp cl, 0x71
jne 0x481580
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x481580
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edi, dword [esp + 0x1c]
mov edx, dword [edx]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [ecx]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa0], ecx
movaps xmmword [esp + 0x70], xmm0
movlpd qword [esp + 0x8c], xmm0
mov eax, dword [eax]
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xc8], xmm0
movlpd qword [esp + 0xd0], xmm0
mov dword [esp + 0x88], 1
mov dword [esp + 0xbc], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x3c], ecx
mov ecx, 0x10020
mov dword [esp + 0x60], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x64], eax
mov eax, 0x50020
cmove eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], eax
call fcn.00466a70
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
cmp dword [ecx + 0x24], 0
jne 0x48188e
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
test eax, eax
je 0x481680
nop word [eax + eax]
test dword [eax + 4], 0x2000
je 0x481680
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x481670
cmp byte [eax], 0xa7
je 0x4816cc
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 0xf4]
je 0x481880
cmp dword [esi + 0x28], 0
jne 0x4816aa
mov eax, dword [esp + 0x10]
mov dword [esi + 0x28], eax
mov dword [esp + 0x10], 0
mov eax, dword [esi + 4]
mov ecx, 0xfffffffe
mov edx, ecx
mov word [eax + edi*2], dx
mov eax, dword [esi + 0x38]
mov edx, dword [esp + 0x2c]
and eax, 0xfffffff7
or eax, 0x800
mov dword [esi + 0x38], eax
jmp 0x481710
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x1c]
test ecx, ecx
jns 0x4816de
movsx ecx, word [eax + 0x20]
jmp 0x481709
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x4816f0
and dword [esi + 0x38], 0xfffffff7
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x2c]
je 0x481709
or dword [esi + 0x38], 0xc00
mov eax, dword [esi + 4]
mov word [eax + edi*2], cx
mov eax, dword [edx]
cmp byte [eax], 0x71
jne 0x481757
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x481722
xor esi, esi
jmp 0x481736
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x481727
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edi, eax
add eax, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
jmp 0x481799
test ecx, ecx
js 0x48179d
mov eax, dword [esp + 0x1c]
shl ecx, 4
add ecx, dword [eax + 4]
mov eax, 0x200
test word [ecx + 0xe], ax
jne 0x481774
xor edi, edi
jmp 0x481799
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x481786
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x481780
test byte [ecx + 0xe], 4
je 0x481796
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x481790
lea edi, [eax + 1]
test edi, edi
jne 0x4817a2
mov edi, str.BINARY
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x4817fe
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 edi
mov byte [esp + 0x4a], dl
call fcn.00483ee0
add esp, 8
cmp byte [esp + 0x41], 0
jne 0x4817f6
test eax, eax
je 0x4817e4
cmp dword [eax + 0xc], 0
jne 0x4817fe
mov dl, byte [esp + 0x42]
mov ecx, dword [esp + 0x14]
push edi
push eax
call fcn.00484060
add esp, 8
test eax, eax
je 0x48188e
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], edi
xor eax, eax
movzx ecx, byte [edx + 8]
cmp byte [esp + 0x43], 4
mov edi, dword [esp + 0x24]
cmovb ecx, eax
mov eax, dword [esi + 0x1c]
add edx, 0x14
mov dword [esp + 0x2c], edx
mov byte [edi + eax], cl
inc edi
movzx eax, word [esi + 0x32]
mov dword [esp + 0x24], edi
cmp edi, eax
jl 0x481567
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4818de
xor eax, eax
xor edi, edi
cmp ax, word [ecx + 0x32]
jae 0x4818f2
mov eax, dword [ecx + 4]
movzx edx, word [esi + 0x32]
push edi
push ecx
movzx eax, word [eax + edi*2]
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.0047d920
add esp, 8
test eax, eax
je 0x481897
mov eax, 0xffff
add word [esi + 0x34], ax
jmp 0x4818cb
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.0042b560
add esp, 8
mov edi, dword [esp + 0x18]
jmp 0x481f18
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x34]
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + edi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x1c]
mov al, byte [edi + eax]
mov byte [edx + ecx], al
inc edx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x44]
inc edi
movzx eax, word [ecx + 0x32]
cmp edi, eax
jl 0x481856
jmp 0x4818f2
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], str.BINARY
mov ecx, esi
call fcn.00482010
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xf4], 0
jne 0x48190d
mov ecx, esi
call fcn.0047d8c0
mov ecx, esi
call fcn.0047d9c0
cmp dword [esp + 0x30], 0
je 0x4819b8
mov ecx, dword [esp + 0x1c]
movzx eax, word [esi + 0x34]
mov edx, eax
mov dword [esp + 0x48], edx
movsx ecx, word [ecx + 0x22]
cmp eax, ecx
jl 0x4819b8
mov eax, dword [esp + 0x1c]
xor edi, edi
or dword [esi + 0x38], 0x20
mov dword [esp + 0x34], edi
movzx eax, word [eax + 0x22]
mov ecx, eax
mov dword [esp + 0x58], ecx
cmp di, ax
jge 0x4819b8
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x20]
mov dword [esp + 0x28], eax
cmp edi, eax
je 0x4819a6
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x4819b4
movzx eax, dx
mov edx, dword [esi + 4]
mov dword [esp + 0x34], eax
nop dword [eax]
cmp di, word [edx]
je 0x481996
inc ecx
movzx eax, ax
add edx, 2
cmp ecx, eax
jge 0x4819b4
mov eax, dword [esp + 0x34]
jmp 0x481980
movzx eax, cx
test ax, ax
js 0x4819b4
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
inc edi
movsx eax, cx
cmp edi, eax
jge 0x4819b8
mov eax, dword [esp + 0x28]
jmp 0x481962
and dword [esi + 0x38], 0xffffffdf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0xf4]
jne 0x481ab4
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x481ab4
movzx edi, word [esi + 0x32]
nop
movzx eax, word [ecx + 0x32]
mov edx, eax
mov dword [esp + 0x34], edx
cmp ax, di
jne 0x481a9d
xor edi, edi
xor edx, edx
mov dword [esp + 0x28], edi
cmp dx, ax
jae 0x481a8d
mov edx, dword [esi + 4]
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], eax
mov ax, word [eax + edx]
cmp ax, word [edx]
jne 0x481a8d
mov eax, dword [ecx + 0x20]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + edi*4]
mov edi, dword [ecx + edi*4]
sub edi, eax
nop dword [eax + eax]
movzx ecx, byte [eax]
movzx esi, byte [eax + edi]
cmp ecx, esi
jne 0x481a6c
test ecx, ecx
jne 0x481a7e
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc edi
mov eax, dword [esp + 0x34]
add edx, 2
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
movzx eax, ax
cmp edi, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
jl 0x481a14
jmp 0x481a8d
movzx edx, byte [ecx + 0x4f2180]
movzx ecx, byte [esi + 0x4f2180]
sub edx, ecx
jne 0x481a81
inc eax
jmp 0x481a30
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + 0x32]
cmp edi, eax
je 0x481b29
movzx edi, word [esi + 0x32]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4819e0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp byte [edx + 0xd8], 2
mov edi, dword [esp + 0x18]
jae 0x481ee1
cmp byte [edi + 0xb1], 0
je 0x481bd8
cmp dword [esp + 0x30], 0
je 0x481b04
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0xac]
mov dword [esi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x481b04
nop dword [eax]
cmp dword [eax + 0x2c], ecx
jne 0x481afd
cmp eax, esi
jne 0x481b96
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x481af0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
add ecx, 0x18
push esi
call fcn.0042e0a0
add esp, 4
test eax, eax
je 0x481bcf
mov ecx, edi
call fcn.00428130
jmp 0x481f18
mov al, byte [ecx + 0x36]
mov dl, byte [esi + 0x36]
cmp al, dl
je 0x481b5f
cmp al, 0xb
je 0x481b53
cmp dl, 0xb
je 0x481b53
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x1c]
call fcn.0042b560
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp byte [ecx + 0x36], 0xb
jne 0x481b5f
mov al, byte [esi + 0x36]
mov byte [ecx + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x481b71
mov eax, dword [ecx + 0x38]
and eax, 0xfffffffc
xor eax, 2
mov dword [ecx + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xd8], 2
jb 0x48188e
mov eax, dword [ecx + 0xf8]
mov dword [esi + 0x14], eax
mov dword [ecx + 0xf8], esi
jmp 0x481f61
push str.invalid_rootpage
push edx
call fcn.0042b560
push 0x4f0354
push 0x1ea14
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042a650
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x481f18
or dword [edi + 0x18], 1
jmp 0x481edd
test byte [eax + 0x1c], 0x80
je 0x481bea
mov eax, dword [esp + 0x30]
test eax, eax
je 0x481ee5
inc dword [edx + 0x2c]
mov edi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x24], eax
test edi, edi
jne 0x481c21
cmp dword [edx + 0x7c], edi
jne 0x481c0c
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x481c0c
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.0044eed0
mov edi, eax
test edi, edi
je 0x48188e
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x7c]
test ecx, ecx
cmovne edx, ecx
mov ecx, dword [esp + 0x20]
shl dword [esp + 0x4c], cl
mov dword [esp + 0x34], edx
mov eax, dword [edx + 0x58]
test dword [esp + 0x4c], eax
jne 0x481c58
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x481c58
mov ecx, edx
call fcn.004832b0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x54]
or byte [edx + 0x14], 1
bts eax, ecx
mov dword [edx + 0x54], eax
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x481c86
push 0
push 0
push 0
mov edx, 0xb8
mov ecx, edi
call fcn.0044f120
add esp, 0xc
mov edx, eax
jmp 0x481cbd
mov esi, dword [esp + 0x3c]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 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 dword [esi + 0x2c], edx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x481ce4
mov edx, dword [esp + 0x24]
mov ecx, edi
push 2
push edx
push dword [esp + 0x28]
mov edx, 0x93
call fcn.0044f120
add esp, 0xc
jmp 0x481d17
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
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 0x481d69
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax + 0xd0]
add edx, dword [eax + 0xcc]
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 + 0x54], 0
push eax
mov eax, 0x4e76a1
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x28]
call fcn.0042a380
add esp, 0x14
jmp 0x481d6b
xor eax, eax
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x58], eax
add ecx, ecx
mov eax, dword [esp + 0x24]
push dword [eax]
mov eax, dword [esp + 0x24]
push dword [esi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x2c]
call fcn.0047a570
mov edx, dword [esp + 0x6c]
add esp, 0x1c
test edx, edx
je 0x481dae
mov ecx, dword [esp + 0x18]
call fcn.004279d0
cmp dword [esp + 0x30], 0
je 0x481eb8
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.00480270
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x20]
add ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [edx + 0x6c]
mov eax, dword [eax]
inc eax
mov dword [esp + 0x48], eax
cmp dword [edx + 0x70], ecx
jg 0x481e0e
mov ecx, dword [esp + 0x34]
mov edx, 0x64
push eax
push 1
push dword [esp + 0x28]
call fcn.0044f120
add esp, 0xc
jmp 0x481e41
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
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 [esi]
push str.name_q_AND_typeindex
push dword [esp + 0x28]
call fcn.0042a380
mov edx, dword [esp + 0x34]
add esp, 0x10
mov ecx, edi
push eax
call fcn.0044f830
mov ecx, dword [edi + 0x6c]
add esp, 8
cmp dword [edi + 0x70], ecx
jg 0x481e85
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, edi
call fcn.0044f120
add esp, 0xc
jmp 0x481eb8
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xa6
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x481eca
mov eax, 0x4fec48
jmp 0x481ed6
mov eax, dword [esi + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp byte [edi + 0xb1], 0
jne 0x481f03
test eax, eax
je 0x481f03
cmp byte [edx + 0xd8], 2
jb 0x481f18
mov dword [edx + 0xf8], esi
jmp 0x481f61
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], esi
jmp 0x481f61
mov edi, eax
test esi, esi
je 0x481f61
push dword [esi + 0x24]
push edi
call fcn.00468790
mov edx, dword [esi + 0x28]
add esp, 8
test edx, edx
je 0x481f36
mov ecx, edi
call fcn.00469a60
mov edx, dword [esi + 0x10]
test edx, edx
je 0x481f44
mov ecx, edi
call fcn.004279d0
test byte [esi + 0x38], 0x10
je 0x481f58
mov edx, dword [esi + 0x20]
test edx, edx
je 0x481f58
mov ecx, edi
call fcn.004279d0
mov edx, esi
mov ecx, edi
call fcn.004279d0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov edx, dword [ecx]
test edx, edx
je 0x481faf
cmp byte [edx + 0x36], 5
je 0x481f83
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x481f72
jmp 0x481faf
mov eax, dword [edx + 0x14]
test eax, eax
je 0x481faf
nop word [eax + eax]
cmp byte [eax + 0x36], 5
je 0x481faf
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 0x481f90
jmp 0x481faf
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x481fc4
mov edx, eax
mov ecx, esi
call fcn.00468660
test edi, edi
je 0x481fd1
mov edx, edi
mov ecx, esi
call fcn.00469a60
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.004829b0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x481fed
mov edx, eax
mov ecx, esi
call fcn.004279d0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.004e3214
mov esp, ebp
pop ebp
ret