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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
push edi
mov edi, edx
mov dword [esp + 0xc], esi
mov eax, dword [esi]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x24], eax
jne 0x4c0db2
cmp byte [esi + 0xd0], 1
jne 0x4bfa62
cmp byte [ebp + 0x28], 2
jne 0x4c0db2
call fcn.004dae20
test eax, eax
jne 0x4c0db2
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4bfa90
mov edx, dword [ecx]
test edx, edx
jle 0x4bfa90
add ecx, 0x14
test byte [ecx], 0x20
jne 0x4bfb04
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x4bfa83
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x38], 1
je 0x4bfcc7
mov esi, dword [ebp + 8]
lea eax, [esp + 0x48]
push eax
mov edx, edi
mov edi, dword [esp + 0x10]
push esi
mov ecx, edi
call fcn.004ba4f0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
js 0x4c0db2
mov eax, dword [esp + 8]
cmp byte [eax + 0xb1], 0
jne 0x4bfb34
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.004c36c0
cmp dword [esi + 4], 0
jne 0x4bfb34
mov esi, dword [esp + 0x18]
test eax, eax
je 0x4bfb38
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x38]
mov dword [esp + 0x18], esi
jmp 0x4bfb38
mov edi, dword [ebp + 0x10]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x4bfb1b
cmp al, 3
mov eax, str.LAST
jne 0x4bfb20
mov eax, str.FIRST
push eax
push str.unsupported_use_of_NULLS__s
push esi
call fcn.0046eb10
add esp, 0xc
jmp 0x4c0d7a
mov esi, dword [esp + 0x18]
mov edx, dword [edi]
mov ecx, esi
mov dword [esp + 0xcc], edi
add ecx, ecx
cmp esi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0xf4], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0x50]
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0xf0]
mov dword [esp + 0xec], eax
lea ecx, [esp + 0xd0]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xfc], eax
xor eax, eax
mov word [esp + 0xe4], ax
lea eax, [esp + 0xcc]
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xf8], str.index
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], 0x4b8510
mov dword [esp + 0xd8], 0x4b8560
mov dword [esp + 0xdc], fcn.0041cc60
mov dword [esp + 0xe0], 0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x70], eax
call fcn.004a3940
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
test edx, edx
je 0x4bfc53
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x4bfc48
nop
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x4bfc40
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x18]
jmp 0x4bfc56
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.004b99d0
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4c0db2
cmp esi, 1
jne 0x4bfca0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ecx + 0x3c]
je 0x4bfca0
push dword [ecx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.0046eb10
add esp, 0xc
jmp 0x4c0d5a
test byte [ecx + 0x1c], 0x80
je 0x4bfd0c
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4bfd0c
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4bfcc1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4bfcb1
mov dword [esp + 0x3c], ecx
jmp 0x4bfd0c
mov eax, dword [esi + 0xec]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4c0db2
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x4bfd0c
mov eax, dword [esp + 8]
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4bfd0c
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4bfd00
mov dword [esp + 0x18], esi
mov edi, dword [esp + 8]
mov ecx, esi
shl ecx, 4
mov edx, 7
mov dword [esp + 0x4c], ecx
mov eax, dword [edi + 0x10]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4bfdb6
mov edi, str.sqlite_
nop
mov al, byte [esi]
dec edx
test al, al
je 0x4bfd62
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x58e5f0]
cmp al, byte [ecx + 0x58e5f0]
jne 0x4bfd62
inc esi
inc edi
test edx, edx
jg 0x4bfd40
dec edx
test edx, edx
js 0x4bfd7e
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x58e5f0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x58e5f0]
sub eax, ecx
jne 0x4bfdae
mov edi, dword [esp + 8]
cmp byte [edi + 0xb1], 0
jne 0x4bfdb2
cmp dword [ebp + 0xc], 0
je 0x4bfdb2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push dword [eax]
push str.table__s_may_not_be_indexed
push ecx
call fcn.0046eb10
add esp, 0xc
jmp 0x4c0d5a
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x4bfdd8
mov ecx, dword [esp + 0xc]
push str.views_may_not_be_indexed
push ecx
call fcn.0046eb10
add esp, 8
jmp 0x4c0d5a
cmp al, 1
jne 0x4bfdf3
mov ecx, dword [esp + 0xc]
push str.virtual_tables_may_not_be_indexed
push ecx
call fcn.0046eb10
add esp, 8
jmp 0x4c0d5a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4bff6a
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x4bff56
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.0046b920
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4bff42
push esi
push edi
push eax
call fcn.005487c0
mov edi, dword [esp + 0x20]
add esp, 0xc
mov ecx, edi
mov byte [esi + edi], 0
call fcn.0046eba0
mov eax, dword [esp + 0x10]
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, edi
push dword [eax]
push str.index
call fcn.004ba580
add esp, 8
test eax, eax
jne 0x4c0d5a
cmp byte [edi + 0xd0], 2
jae 0x4bff34
mov esi, dword [esp + 8]
cmp byte [esi + 0xb1], al
jne 0x4bfeb7
mov edx, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004b9610
add esp, 4
test eax, eax
je 0x4bfeb7
push dword [esp + 0x14]
push str.there_is_already_a_table_named__s
push edi
call fcn.0046eb10
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4c0d5a
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push dword [esi]
call fcn.004b9b90
add esp, 4
test eax, eax
je 0x4bff38
cmp dword [ebp + 0x24], 0
jne 0x4bfef3
mov esi, dword [esp + 0x14]
push esi
push str.index__s_already_exists
push edi
call fcn.0046eb10
add esp, 0xc
mov dword [esp + 0x14], esi
jmp 0x4c0d5a
mov eax, dword [edi + 0x74]
mov edx, edi
mov esi, dword [esp + 0x38]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x54]
test eax, esi
jne 0x4bff20
bts eax, ecx
mov dword [edx + 0x54], eax
cmp ecx, 1
jne 0x4bff20
mov ecx, edx
call fcn.004c2010
mov ecx, edi
call fcn.004ba810
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x4c0d5a
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x4bffae
mov ecx, eax
call fcn.0046eba0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x4c0d5a
xor ecx, ecx
call fcn.0046eba0
mov dword [esp + 0x14], 0
jmp 0x4c0d5a
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x4bff7e
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4bff76
push ecx
push esi
push str.sqlite_autoindex__s__d
push edi
call fcn.0046de90
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c0d5a
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
cmp byte [edi + 0xd0], 0
je 0x4bffae
inc byte [eax + 7]
cmp byte [edi + 0xd0], 2
jae 0x4c0014
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x18], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, edi
call fcn.004b89f0
add esp, 0xc
test eax, eax
jne 0x4c0d5a
mov eax, dword [esp + 0x10]
xor edx, edx
cmp dword [esp + 0x18], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x1c]
lea edx, [edx*2 + 1]
call fcn.004b89f0
add esp, 0xc
test eax, eax
jne 0x4c0d5a
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4c00e7
mov eax, dword [esp + 0x10]
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 0x4c0042
xor esi, esi
jmp 0x4c0056
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c0047
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 8]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.0046b920
mov edi, eax
add esp, 8
test edi, edi
je 0x4c00ab
push 0x34
push 0
push edi
call fcn.00548d40
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 0x4c009d
push esi
push dword [esp + 0x30]
push eax
call fcn.005487c0
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
mov ecx, dword [esp + 0xc]
mov edx, edi
mov ecx, dword [ecx]
call fcn.004a9080
mov edi, eax
mov dword [esp + 0x30], edi
test edi, edi
je 0x4c0d5a
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 0x4c0113
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x4c0106
push str.index
push str.too_many_columns_in__s
push edi
call fcn.0046eb10
add esp, 0xc
cmp dword [edi + 0x24], 0
jne 0x4c0d5a
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jle 0x4c0157
lea edx, [edi + 8]
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x4c014b
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4c0140
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c0131
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x28]
inc eax
add eax, ecx
mov dword [esp + 0x28], eax
add edx, 0x14
sub esi, 1
jne 0x4c0120
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov eax, edi
add eax, 8
mov dword [esp + 0x20], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c0167
mov eax, dword [esp + 0x3c]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x4c0184
movzx ecx, word [eax + 0x32]
jmp 0x4c0189
mov ecx, 1
movzx edx, word [edi]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
add dx, cx
mov ecx, dword [esp + 0xc]
inc eax
add eax, esi
push eax
call fcn.004bf970
mov edi, eax
add esp, 8
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], edi
cmp byte [eax + 0x57], 0
jne 0x4c0d11
mov ecx, dword [esp + 0x1c]
mov dword [edi], ecx
lea eax, [ecx + 1]
add eax, esi
mov dword [esp + 0x1c], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x18]
push ecx
call fcn.005487c0
mov eax, dword [esp + 0x1c]
add esp, 0xc
movzx edx, byte [ebp + 0x28]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x14]
mov byte [edi + 0x36], al
neg eax
mov esi, dword [ebp + 0x1c]
sbb ecx, ecx
mov dword [esp + 0x40], edx
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
or ecx, eax
mov eax, ecx
xor eax, edx
mov edx, dword [esp + 0x4c]
and eax, 3
xor eax, ecx
mov dword [edi + 0x38], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [edx + eax + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax]
mov word [edi + 0x32], ax
mov ecx, eax
mov edx, eax
test esi, esi
je 0x4c0315
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
movlpd qword [esp + 0xa8], xmm0
mov eax, dword [ecx]
mov dword [esp + 0x60], eax
mov eax, dword [edx]
movlpd qword [esp + 0xb0], xmm0
mov dword [esp + 0xbc], 0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x50], 1
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x50]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
mov eax, 0x50002
cmp dword [edx + 0x3c], ecx
mov ecx, 0x10002
mov edx, esi
cmove eax, ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], eax
call fcn.004a6620
movzx eax, word [edi + 0x32]
mov dword [edi + 0x24], esi
mov edx, eax
mov dword [ebp + 0x1c], 0
jmp 0x4c0317
mov eax, ecx
movzx ecx, ax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x47], al
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xd0], 2
jb 0x4c0344
mov eax, dword [esp + 0x30]
mov dword [edi + 0x28], eax
mov dword [esp + 0x30], 0
mov eax, ecx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x28], esi
cmp cx, dx
jae 0x4c063d
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x4c0371
cmp cl, 0x71
jne 0x4c0374
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x4c0374
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov esi, dword [esp + 0x10]
mov edx, dword [edx]
movaps xmmword [esp + 0xa0], xmm0
mov eax, dword [ecx]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
movaps xmmword [esp + 0xb0], xmm0
movlpd qword [esp + 0x54], xmm0
mov eax, dword [eax]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x50], 1
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0xc]
cmp dword [esi + 0x3c], ecx
mov ecx, 0x10020
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x50]
mov dword [esp + 0xa4], eax
mov eax, 0x50020
cmove eax, ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], eax
call fcn.004a6620
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
cmp dword [ecx + 0x24], 0
jne 0x4c0634
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4c0462
test dword [eax + 4], 0x1000
je 0x4c0462
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4c0452
cmp byte [eax], 0xa7
je 0x4c04a7
mov edx, dword [esp + 0x10]
cmp edx, dword [ecx + 0xec]
je 0x4c0626
cmp dword [edi + 0x28], 0
jne 0x4c048c
mov eax, dword [esp + 0x30]
mov dword [edi + 0x28], eax
mov dword [esp + 0x30], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov edx, ecx
mov word [eax + esi*2], dx
mov edx, dword [esp + 0x10]
and dword [edi + 0x38], 0xfffffff7
add edx, 4
jmp 0x4c04ef
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x4c04bc
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x20]
lea edx, [eax + 4]
jmp 0x4c04e4
mov edx, dword [esp + 0x10]
mov esi, ecx
add edx, 4
add esi, esi
mov eax, dword [edx]
test byte [eax + esi*8 + 4], 0xf
jne 0x4c04d4
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edx]
test byte [eax + esi*8 + 0xe], 0x20
je 0x4c04e4
or dword [edi + 0x38], 0x400
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x28]
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp byte [eax], 0x71
jne 0x4c053b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4c0505
xor esi, esi
jmp 0x4c051f
mov esi, ecx
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c0510
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x24]
call fcn.005487c0
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edx]
mov dword [esp + 0x1c], eax
jmp 0x4c056b
test ecx, ecx
js 0x4c0573
shl ecx, 4
add ecx, dword [edx]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x4c0573
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x4c055d
inc eax
cmp byte [eax], 0
jne 0x4c0557
test dl, 4
je 0x4c0568
inc eax
cmp byte [eax], 0
jne 0x4c0562
lea edx, [eax + 1]
mov dword [esp + 0x24], edx
test edx, edx
jne 0x4c057c
mov edx, 0x58dff0
mov dword [esp + 0x24], edx
mov eax, dword [esp + 8]
cmp byte [eax + 0xb1], 0
jne 0x4c05e4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x37], al
mov al, byte [ecx + 0xb1]
mov byte [esp + 0x46], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x3f]
call fcn.004c2d40
add esp, 8
cmp byte [esp + 0x46], 0
jne 0x4c05da
test eax, eax
je 0x4c05c2
cmp dword [eax + 0xc], 0
jne 0x4c05e4
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x37]
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.004c2e50
add esp, 8
jmp 0x4c05de
mov esi, dword [esp + 0x24]
test eax, eax
je 0x4c0634
jmp 0x4c05e8
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x20]
mov dword [eax + edx*4], esi
xor eax, eax
mov esi, dword [esp + 0x20]
cmp byte [esp + 0x47], 4
movzx ecx, byte [esi + 8]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add esi, 0x14
mov dword [esp + 0x20], esi
mov byte [edx + eax], cl
inc edx
movzx eax, word [edi + 0x32]
mov dword [esp + 0x28], edx
mov ecx, eax
cmp edx, eax
jl 0x4c0357
jmp 0x4c063f
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.0046eb10
add esp, 8
mov esi, dword [esp + 8]
jmp 0x4c0d13
xor edx, edx
cmp dword [esp + 0x3c], 0
movzx eax, ax
je 0x4c06e3
mov edx, dword [esp + 0x3c]
xor ecx, ecx
xor esi, esi
cmp cx, word [edx + 0x32]
jae 0x4c06f7
mov ecx, eax
mov eax, dword [edx + 4]
movzx ecx, cx
push esi
push edx
movzx eax, word [eax + esi*2]
mov edx, ecx
mov dword [esp + 0x28], eax
mov eax, ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.004bc800
add esp, 8
test eax, eax
je 0x4c0699
mov eax, 0xffff
add word [edi + 0x34], ax
mov eax, dword [esp + 0x1c]
movzx eax, ax
jmp 0x4c06d1
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov word [eax + edx*2], cx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
inc edx
movzx eax, word [edi + 0x32]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x3c]
inc esi
movzx ecx, ax
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x4c0661
jmp 0x4c06f7
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + edx*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + edx*4], 0x58dff0
mov ecx, edi
call fcn.004c0df0
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xec], 0
jne 0x4c0712
mov ecx, edi
call fcn.004bc7a0
mov ecx, edi
call fcn.004bc8a0
cmp dword [ebp + 0xc], 0
je 0x4c0776
mov ecx, dword [esp + 0x10]
movzx esi, word [edi + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x4c0776
or dword [edi + 0x38], 0x20
xor edx, edx
movsx eax, word [ecx + 0x22]
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x4c0776
movsx ecx, word [ecx + 0x20]
mov dword [esp + 0x20], ecx
nop dword [eax]
cmp edx, ecx
je 0x4c0831
xor eax, eax
test esi, esi
je 0x4c0772
mov ecx, dword [edi + 4]
cmp dx, word [ecx]
je 0x4c081d
inc eax
add ecx, 2
cmp eax, esi
jl 0x4c0761
and dword [edi + 0x38], 0xffffffdf
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + 0xec]
jne 0x4c0887
mov esi, dword [eax + 8]
mov dword [esp + 0x20], esi
test esi, esi
je 0x4c0887
movzx ecx, word [edi + 0x32]
nop dword [eax]
movzx eax, word [esi + 0x32]
cmp ax, cx
jne 0x4c0870
mov ecx, eax
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4c0864
mov eax, dword [esi + 4]
mov edi, dword [edi + 4]
sub eax, edi
mov dword [esp + 0x28], eax
nop dword [eax]
mov ax, word [eax + edi]
cmp ax, word [edi]
jne 0x4c0860
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x20]
mov ecx, dword [ecx + 0x20]
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + edx*4]
sub esi, eax
nop
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x4c083f
test edx, edx
jne 0x4c0851
mov edx, dword [esp + 0x1c]
add edi, 2
mov ecx, dword [esp + 0x24]
inc edx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
cmp edx, ecx
jl 0x4c07d0
jmp 0x4c0860
movzx eax, ax
test ax, ax
js 0x4c0772
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc edx
cmp edx, eax
jl 0x4c0750
jmp 0x4c0776
movzx ecx, byte [ecx + 0x58e5f0]
movzx edx, byte [edx + 0x58e5f0]
sub edx, ecx
jne 0x4c0854
inc eax
jmp 0x4c07f0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
cmp edx, ecx
je 0x4c08fb
movzx ecx, word [edi + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x20], esi
test esi, esi
jne 0x4c07a0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp byte [edx + 0xd0], 2
mov esi, dword [esp + 8]
jae 0x4c0cdd
cmp byte [esi + 0xb1], 0
je 0x4c09a7
cmp dword [ebp + 0xc], 0
je 0x4c08d4
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xac]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x4c08d4
nop
cmp dword [eax + 0x2c], ecx
jne 0x4c08cd
cmp eax, edi
jne 0x4c0965
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c08c0
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.00470410
add esp, 4
test eax, eax
je 0x4c099e
push esi
call fcn.0046bbf0
add esp, 4
jmp 0x4c0d13
mov al, byte [esi + 0x36]
mov cl, byte [edi + 0x36]
cmp al, cl
je 0x4c092d
cmp al, 0xb
je 0x4c0921
cmp cl, 0xb
je 0x4c0921
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x14]
call fcn.0046eb10
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x4c092d
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x4c0940
mov ecx, dword [esi + 0x38]
xor ecx, dword [esp + 0x40]
and ecx, 3
xor dword [esi + 0x38], ecx
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xd0], 2
jb 0x4c0634
mov eax, dword [ecx + 0xf0]
mov dword [edi + 0x14], eax
mov dword [ecx + 0xf0], edi
jmp 0x4c0d5a
push str.invalid_rootpage
push edx
call fcn.0046eb10
push 0x59950c
push 0x1cdec
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0046e0f0
mov eax, dword [esp + 0x28]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x4c0d13
or dword [esi + 0x18], 1
jmp 0x4c0cd9
test byte [eax + 0x1c], 0x80
je 0x4c09b8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c0ce0
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
test esi, esi
je 0x4c09ce
lea eax, [edx + 0x74]
jmp 0x4c09f8
cmp dword [edx + 0x74], 0
jne 0x4c09e0
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x4c09e0
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.0048fb60
mov edx, dword [esp + 0xc]
mov esi, eax
lea eax, [edx + 0x74]
test esi, esi
je 0x4c0634
mov eax, dword [eax]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne edx, eax
shl dword [esp + 0x38], cl
mov dword [esp + 0x40], edx
mov eax, dword [edx + 0x54]
test dword [esp + 0x38], eax
jne 0x4c0a2e
bts eax, ecx
mov dword [edx + 0x54], eax
cmp ecx, 1
jne 0x4c0a2e
mov ecx, edx
call fcn.004c2010
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x50]
or byte [edx + 0x14], 1
bts eax, ecx
mov dword [edx + 0x50], eax
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4c0a63
push 0
push 0
push 0
mov edx, 0xb6
mov ecx, esi
call fcn.0048fdb0
mov edx, eax
add esp, 0xc
lea eax, [esi + 0x70]
mov dword [esp + 0x38], eax
jmp 0x4c0aa0
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
lea eax, [esi + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0xb6
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x2c], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4c0ac7
mov edx, dword [esp + 0x20]
mov ecx, esi
push 2
push edx
push dword [esp + 0x20]
mov edx, 0x92
call fcn.0048fdb0
add esp, 0xc
jmp 0x4c0afd
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x92
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 2
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
je 0x4c0b4e
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc8]
add edx, dword [eax + 0xc4]
mov eax, dword [esp + 0x48]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [ebp + 0x14], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x58ac88
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x18]
call fcn.0046de90
add esp, 0x14
jmp 0x4c0b50
xor eax, eax
mov ecx, dword [esp + 0x4c]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push dword [eax]
mov eax, dword [esp + 0x14]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x24]
call fcn.004b94e0
mov edx, dword [esp + 0x38]
add esp, 0x1c
test edx, edx
je 0x4c0b91
mov ecx, dword [esp + 8]
call fcn.0046b530
cmp dword [ebp + 0xc], 0
je 0x4c0c65
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.004bf020
mov eax, dword [esp + 0x10]
add esp, 4
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [eax]
mov eax, dword [ecx + 0x74]
inc edx
mov dword [esp + 0x40], eax
cmp dword [ecx + 0x78], eax
jg 0x4c0bea
push edx
push 1
push dword [esp + 0x20]
mov edx, 0x63
call fcn.0048fdb0
add esp, 0xc
jmp 0x4c0c23
mov edi, dword [esp + 0x18]
inc eax
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0
push ecx
push dword [edi]
push str.name_q_AND_typeindex
push dword [esp + 0x18]
call fcn.0046de90
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ecx, esi
push eax
call fcn.004904b0
mov ecx, dword [esi + 0x74]
add esp, 8
cmp dword [esi + 0x78], ecx
jg 0x4c0c7f
push 0
push 1
push 0
mov edx, 0xa5
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
mov edx, dword [esp + 0x38]
mov eax, dword [esi]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x40], ecx
cmp byte [eax + 0x57], 0
je 0x4c0cbb
mov eax, 0x5c4868
jmp 0x4c0cd2
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0xa5
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c0c69
lea eax, [ecx - 1]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 8]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
cmp byte [esi + 0xb1], 0
jne 0x4c0cfe
test eax, eax
je 0x4c0cfe
cmp byte [edx + 0xd0], 2
jb 0x4c0d13
mov dword [edx + 0xf0], edi
jmp 0x4c0d5a
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 8], edi
jmp 0x4c0d5a
mov esi, eax
test edi, edi
je 0x4c0d5a
mov edx, dword [edi + 0x24]
mov ecx, esi
call fcn.004a82f0
mov edx, dword [edi + 0x28]
test edx, edx
je 0x4c0d2f
mov ecx, esi
call fcn.004a94d0
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4c0d3d
mov ecx, esi
call fcn.0046b530
test byte [edi + 0x38], 0x10
je 0x4c0d51
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4c0d51
mov ecx, esi
call fcn.0046b530
mov edx, edi
mov ecx, esi
call fcn.0046b530
mov ecx, dword [esp + 0x10]
add ecx, 8
mov edx, dword [ecx]
test edx, edx
je 0x4c0d76
cmp byte [edx + 0x36], 5
je 0x4c0d90
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x4c0d67
mov edi, dword [esp + 0x30]
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x4c0db7
mov edx, esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.004a81b0
jmp 0x4c0dbb
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4c0d76
cmp byte [eax + 0x36], 5
je 0x4c0d76
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 0x4c0d97
jmp 0x4c0d76
mov edi, dword [ebp + 0x10]
jmp 0x4c0d7a
mov esi, dword [esp + 8]
test edi, edi
je 0x4c0dc8
mov edx, edi
mov ecx, esi
call fcn.004a94d0
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.004c1930
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c0de3
mov edx, eax
mov ecx, esi
call fcn.0046b530
pop edi
pop esi
mov esp, ebp
pop ebp
ret