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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x511080]
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 0x47352b
cmp byte [eax + 0xd4], 1
jne 0x47214f
cmp byte [ebp + 0x28], 2
jne 0x47352b
mov ecx, eax
call fcn.0048e1c0
test eax, eax
jne 0x47352b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x47217d
mov edx, dword [ecx]
test edx, edx
jle 0x47217d
add ecx, 0x14
nop
test byte [ecx], 0x20
jne 0x4721f0
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x472170
cmp dword [esp + 0x30], 0
mov dword [esp + 0x4c], 1
je 0x4723d8
lea eax, [esp + 0x28]
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.0046c9f0
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
js 0x47352b
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x472225
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00475f30
cmp dword [esi + 4], 0
jne 0x472225
mov esi, dword [esp + 0x20]
test eax, eax
je 0x472229
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 0x472229
mov edi, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x472208
cmp al, 3
mov eax, str.LAST
jne 0x47220d
mov eax, str.FIRST
push eax
mov eax, dword [esp + 0x18]
push str.unsupported_use_of_NULLS__s
push eax
call fcn.0041c910
add esp, 0xc
jmp 0x47352f
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], 0x46aa60
mov dword [esp + 0xe4], 0x46aab0
mov dword [esp + 0xe8], fcn.0040b7c0
mov dword [esp + 0xec], 0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov dword [esp + 0xa8], eax
call fcn.00454d40
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 8]
test edx, edx
je 0x472363
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x472358
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x472350
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x20]
jmp 0x472366
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x34]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.0046be70
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
je 0x47352b
cmp esi, 1
jne 0x4723b1
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x4723b1
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.0041c910
add esp, 0xc
jmp 0x4734e1
test byte [edx + 0x1c], 0x80
je 0x47241e
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x47241e
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4723d2
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4723c2
mov dword [esp + 0x44], ecx
jmp 0x47241e
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xf0]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47352b
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x47241e
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 0x47241e
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x472412
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 0x4724b0
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x472464
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x501178]
cmp al, byte [ecx + 0x501178]
jne 0x472464
inc esi
inc edi
test edx, edx
jg 0x472442
dec edx
test edx, edx
js 0x472480
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x501178]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x501178]
sub ecx, eax
jne 0x4724b4
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xb1], 0
jne 0x4724b8
cmp dword [esp + 0x30], 0
je 0x4724b8
mov eax, dword [esp + 0x1c]
push dword [eax]
push str.table__s_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.0041c910
add esp, 0xc
jmp 0x4734e1
mov edx, ecx
jmp 0x4724b8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x2b]
cmp al, 2
jne 0x4724d9
push str.views_may_not_be_indexed
push dword [esp + 0x18]
call fcn.0041c910
add esp, 8
jmp 0x4734e1
cmp al, 1
jne 0x4724f3
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x18]
call fcn.0041c910
add esp, 8
jmp 0x4734e1
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x47267d
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x472670
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edx
call fcn.00419010
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x472667
push esi
push edi
push eax
call fcn.004d4640
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 + 0x500618], 0
jge 0x47257d
cmp cl, 0x5b
movzx edx, cl
mov eax, 0x5d
lea ecx, [esi + 1]
cmove edx, eax
mov al, byte [ecx]
cmp al, dl
jne 0x472572
lea eax, [ecx + 1]
mov ecx, eax
cmp byte [eax], dl
jne 0x472578
mov al, dl
mov byte [esi], al
inc ecx
inc esi
jmp 0x472561
mov byte [esi], 0
jmp 0x472589
mov dword [esp + 0x38], edi
test edi, edi
je 0x4734e1
mov eax, dword [esp + 0x1c]
mov edx, edi
mov esi, dword [esp + 0x14]
mov ecx, esi
push dword [eax]
push str.index
call fcn.0046cb40
add esp, 8
test eax, eax
jne 0x4734e1
cmp byte [esi + 0xd4], 2
mov esi, dword [esp + 0x2c]
jae 0x4726cf
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x4725f7
push dword [esi]
mov edx, edi
mov ecx, eax
call fcn.0046ba80
add esp, 4
test eax, eax
je 0x4725f3
push edi
push str.there_is_already_a_table_named__s
push dword [esp + 0x1c]
call fcn.0041c910
add esp, 0xc
jmp 0x4734e1
mov eax, dword [esp + 0x18]
push dword [esi]
mov edx, edi
mov ecx, eax
call fcn.0046c030
add esp, 4
test eax, eax
je 0x4726cf
cmp dword [ebp + 0x24], 0
jne 0x47262a
push edi
push str.index__s_already_exists
push dword [esp + 0x1c]
call fcn.0041c910
add esp, 0xc
jmp 0x4734e1
mov esi, dword [esp + 0x14]
mov edx, esi
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x78]
test eax, eax
cmovne edx, eax
shl edi, cl
mov eax, dword [edx + 0x58]
test eax, edi
jne 0x47265b
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x47265b
mov ecx, edx
call fcn.00474900
mov ecx, esi
call fcn.0046ce10
jmp 0x4734e1
mov dword [esp + 0x38], eax
jmp 0x4734e1
mov dword [esp + 0x38], 0
jmp 0x4734e1
mov eax, dword [esp + 0x1c]
mov ecx, 1
mov eax, dword [eax + 8]
test eax, eax
je 0x472698
nop dword [eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x472690
mov eax, dword [esp + 0x1c]
push ecx
push dword [eax]
push str.sqlite_autoindex__s__d
push edx
call fcn.0041b790
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
je 0x4734e1
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
cmp byte [edi + 0xd4], 0
je 0x4726d3
inc byte [eax + 7]
jmp 0x4726d3
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xd4], 2
jae 0x472739
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.0046aec0
add esp, 0xc
test eax, eax
jne 0x4734e1
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.0046aec0
add esp, 0xc
test eax, eax
jne 0x4734e1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x472810
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 0x472768
xor esi, esi
jmp 0x47277f
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x472770
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.00419010
mov edi, eax
add esp, 8
test edi, edi
je 0x4727d4
push 0x34
push 0
push edi
call fcn.004d4bd0
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 0x4727c6
push esi
push dword [esp + 0x2c]
push eax
call fcn.004d4640
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.0045a5f0
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x4734e5
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 0x47283d
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x47282f
push str.index
push str.too_many_columns_in__s
push edi
call fcn.0041c910
add esp, 0xc
cmp dword [edi + 0x24], 0
mov edi, dword [esp + 0x10]
jne 0x4734e5
mov esi, dword [edi]
test esi, esi
jle 0x472879
lea edx, [edi + 8]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x472871
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x472866
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472857
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 0x472846
mov edi, dword [esp + 0x38]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x472880
mov eax, dword [esp + 0x44]
sub edi, ecx
and edi, 0x3fffffff
test eax, eax
je 0x47289d
movzx ecx, word [eax + 0x32]
jmp 0x4728a2
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.00419010
mov esi, eax
add esp, 8
mov dword [esp + 0x3c], esi
test esi, esi
je 0x472948
push dword [esp + 0x28]
push 0
push esi
call fcn.004d4bd0
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 0x47294a
xor ecx, ecx
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x473496
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 fcn.004d4640
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 0x472aa8
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.00457cc0
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 + 0xd4], 2
jb 0x472ad5
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 0x472dbc
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x472afd
cmp cl, 0x71
jne 0x472b00
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x472b00
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.00457cc0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
cmp dword [ecx + 0x24], 0
jne 0x472e0e
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
test eax, eax
je 0x472c00
nop word [eax + eax]
test dword [eax + 4], 0x2000
je 0x472c00
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x472bf0
cmp byte [eax], 0xa7
je 0x472c4c
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 0xf0]
je 0x472e00
cmp dword [esi + 0x28], 0
jne 0x472c2a
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 0x472c90
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x1c]
test ecx, ecx
jns 0x472c5e
movsx ecx, word [eax + 0x20]
jmp 0x472c89
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x472c70
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 0x472c89
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 0x472cd7
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x472ca2
xor esi, esi
jmp 0x472cb6
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x472ca7
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x30]
call fcn.004d4640
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 0x472d19
test ecx, ecx
js 0x472d1d
mov eax, dword [esp + 0x1c]
shl ecx, 4
add ecx, dword [eax + 4]
mov eax, 0x200
test word [ecx + 0xe], ax
jne 0x472cf4
xor edi, edi
jmp 0x472d19
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x472d06
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x472d00
test byte [ecx + 0xe], 4
je 0x472d16
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x472d10
lea edi, [eax + 1]
test edi, edi
jne 0x472d22
mov edi, 0x500b60
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xb1], 0
jne 0x472d7e
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.004755e0
add esp, 8
cmp byte [esp + 0x41], 0
jne 0x472d76
test eax, eax
je 0x472d64
cmp dword [eax + 0xc], 0
jne 0x472d7e
mov dl, byte [esp + 0x42]
mov ecx, dword [esp + 0x14]
push edi
push eax
call fcn.004756f0
add esp, 8
test eax, eax
je 0x472e0e
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 0x472ae7
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x472e5e
xor eax, eax
xor edi, edi
cmp ax, word [ecx + 0x32]
jae 0x472e72
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.0046ee80
add esp, 8
test eax, eax
je 0x472e17
mov eax, 0xffff
add word [esi + 0x34], ax
jmp 0x472e4b
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.0041c910
add esp, 8
mov edi, dword [esp + 0x18]
jmp 0x473498
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 0x472dd6
jmp 0x472e72
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [esi + 0x20]
mov dword [eax + edi*4], 0x500b60
mov ecx, esi
call fcn.00473590
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xf0], 0
jne 0x472e8d
mov ecx, esi
call fcn.0046ee00
mov ecx, esi
call fcn.0046ef20
cmp dword [esp + 0x30], 0
je 0x472f38
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 0x472f38
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 0x472f38
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x20]
mov dword [esp + 0x28], eax
cmp edi, eax
je 0x472f26
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x472f34
movzx eax, dx
mov edx, dword [esi + 4]
mov dword [esp + 0x34], eax
nop dword [eax]
cmp di, word [edx]
je 0x472f16
inc ecx
movzx eax, ax
add edx, 2
cmp ecx, eax
jge 0x472f34
mov eax, dword [esp + 0x34]
jmp 0x472f00
movzx eax, cx
test ax, ax
js 0x472f34
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
inc edi
movsx eax, cx
cmp edi, eax
jge 0x472f38
mov eax, dword [esp + 0x28]
jmp 0x472ee2
and dword [esi + 0x38], 0xffffffdf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0xf0]
jne 0x473034
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x473034
movzx edi, word [esi + 0x32]
nop
movzx eax, word [ecx + 0x32]
mov edx, eax
mov dword [esp + 0x34], edx
cmp ax, di
jne 0x47301d
xor edi, edi
xor edx, edx
mov dword [esp + 0x28], edi
cmp dx, ax
jae 0x47300d
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 0x47300d
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 0x472fec
test ecx, ecx
jne 0x472ffe
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 0x472f94
jmp 0x47300d
movzx edx, byte [ecx + 0x501178]
movzx ecx, byte [esi + 0x501178]
sub edx, ecx
jne 0x473001
inc eax
jmp 0x472fb0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + 0x32]
cmp edi, eax
je 0x4730a9
movzx edi, word [esi + 0x32]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x472f60
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp byte [edx + 0xd4], 2
mov edi, dword [esp + 0x18]
jae 0x473461
cmp byte [edi + 0xb1], 0
je 0x473158
cmp dword [esp + 0x30], 0
je 0x473084
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0xac]
mov dword [esi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x473084
nop dword [eax]
cmp dword [eax + 0x2c], ecx
jne 0x47307d
cmp eax, esi
jne 0x473116
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x473070
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
add ecx, 0x18
push esi
call fcn.0041e160
add esp, 4
test eax, eax
je 0x47314f
mov ecx, edi
call fcn.004192e0
jmp 0x473498
mov al, byte [ecx + 0x36]
mov dl, byte [esi + 0x36]
cmp al, dl
je 0x4730df
cmp al, 0xb
je 0x4730d3
cmp dl, 0xb
je 0x4730d3
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x1c]
call fcn.0041c910
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp byte [ecx + 0x36], 0xb
jne 0x4730df
mov al, byte [esi + 0x36]
mov byte [ecx + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x4730f1
mov eax, dword [ecx + 0x38]
and eax, 0xfffffffc
xor eax, 2
mov dword [ecx + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xd4], 2
jb 0x472e0e
mov eax, dword [ecx + 0xf4]
mov dword [esi + 0x14], eax
mov dword [ecx + 0xf4], esi
jmp 0x4734e1
push str.invalid_rootpage
push edx
call fcn.0041c910
push 0x50c3cc
push 0x1d8b5
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041bb20
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x473498
or dword [edi + 0x18], 1
jmp 0x47345d
test byte [eax + 0x1c], 0x80
je 0x47316a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x473465
inc dword [edx + 0x2c]
mov edi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x24], eax
test edi, edi
jne 0x4731a1
cmp dword [edx + 0x78], edi
jne 0x47318c
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x47318c
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.00440600
mov edi, eax
test edi, edi
je 0x472e0e
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x78]
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 0x4731d8
bts eax, ecx
mov dword [edx + 0x58], eax
cmp ecx, 1
jne 0x4731d8
mov ecx, edx
call fcn.00474900
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 0x473206
push 0
push 0
push 0
mov edx, 0xb8
mov ecx, edi
call fcn.00440850
add esp, 0xc
mov edx, eax
jmp 0x47323d
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 0x473264
mov edx, dword [esp + 0x24]
mov ecx, edi
push 2
push edx
push dword [esp + 0x28]
mov edx, 0x93
call fcn.00440850
add esp, 0xc
jmp 0x473297
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 0x4732e9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax + 0xcc]
add edx, dword [eax + 0xc8]
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, 0x504da5
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x28]
call fcn.0041b790
add esp, 0x14
jmp 0x4732eb
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.0046b970
mov edx, dword [esp + 0x6c]
add esp, 0x1c
test edx, edx
je 0x47332e
mov ecx, dword [esp + 0x18]
call fcn.00418b80
cmp dword [esp + 0x30], 0
je 0x473438
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.004717d0
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 0x47338e
mov ecx, dword [esp + 0x34]
mov edx, 0x64
push eax
push 1
push dword [esp + 0x28]
call fcn.00440850
add esp, 0xc
jmp 0x4733c1
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.0041b790
mov edx, dword [esp + 0x34]
add esp, 0x10
mov ecx, edi
push eax
call fcn.00440f10
mov ecx, dword [edi + 0x6c]
add esp, 8
cmp dword [edi + 0x70], ecx
jg 0x473405
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, edi
call fcn.00440850
add esp, 0xc
jmp 0x473438
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 0x47344a
mov eax, 0x514d18
jmp 0x473456
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 0x473483
test eax, eax
je 0x473483
cmp byte [edx + 0xd4], 2
jb 0x473498
mov dword [edx + 0xf4], esi
jmp 0x4734e1
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 0x4734e1
mov edi, eax
test esi, esi
je 0x4734e1
push dword [esi + 0x24]
push edi
call fcn.004598a0
mov edx, dword [esi + 0x28]
add esp, 8
test edx, edx
je 0x4734b6
mov ecx, edi
call fcn.0045ab70
mov edx, dword [esi + 0x10]
test edx, edx
je 0x4734c4
mov ecx, edi
call fcn.00418b80
test byte [esi + 0x38], 0x10
je 0x4734d8
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4734d8
mov ecx, edi
call fcn.00418b80
mov edx, esi
mov ecx, edi
call fcn.00418b80
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov edx, dword [ecx]
test edx, edx
je 0x47352f
cmp byte [edx + 0x36], 5
je 0x473503
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x4734f2
jmp 0x47352f
mov eax, dword [edx + 0x14]
test eax, eax
je 0x47352f
nop word [eax + eax]
cmp byte [eax + 0x36], 5
je 0x47352f
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 0x473510
jmp 0x47352f
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x473544
mov edx, eax
mov ecx, esi
call fcn.00459770
test edi, edi
je 0x473551
mov edx, edi
mov ecx, esi
call fcn.0045ab70
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.00473f40
mov eax, dword [esp + 0x38]
test eax, eax
je 0x47356d
mov edx, eax
mov ecx, esi
call fcn.00418b80
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret