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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x570400]
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 + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x40], 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 + 4], ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], ecx
cmp dword [eax + 0x24], ecx
jne 0x476219
cmp byte [eax + 0xdc], 1
jne 0x474e5b
cmp byte [ebp + 0x28], 2
jne 0x476219
mov ecx, eax
call fcn.00492cc0
test eax, eax
jne 0x476219
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x474e8d
mov edx, dword [ecx]
test edx, edx
jle 0x474e8d
add ecx, 0x14
nop dword [eax + eax]
test byte [ecx], 0x20
jne 0x474f00
inc eax
add ecx, 0x14
cmp eax, edx
jl 0x474e80
cmp dword [esp + 0x28], 0
mov dword [esp + 0x44], 1
je 0x4750e8
lea eax, [esp + 0x50]
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, edi
push eax
push esi
call fcn.0046f690
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
js 0x476219
mov eax, dword [esp + 8]
cmp byte [eax + 0xb1], 0
jne 0x474f35
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00478dc0
cmp dword [esi + 4], 0
jne 0x474f35
mov esi, dword [esp + 0x14]
test eax, eax
je 0x474f39
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x1c]
cmove esi, dword [esp + 0x44]
mov dword [esp + 0x14], esi
jmp 0x474f39
mov edi, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov al, byte [edi + eax*4 + 0x10]
test al, al
je 0x474f18
cmp al, 3
mov eax, str.LAST
jne 0x474f1d
mov eax, str.FIRST
push eax
mov eax, dword [esp + 0x10]
push str.unsupported_use_of_NULLS__s
push eax
call fcn.0041c7c0
add esp, 0xc
jmp 0x47621d
mov esi, dword [esp + 0x14]
mov edx, dword [edi]
mov ecx, esi
mov dword [esp + 0xe8], edi
add ecx, ecx
cmp esi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x110], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0x98]
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x108], eax
xor eax, eax
mov word [esp + 0x100], ax
lea eax, [esp + 0xe8]
mov dword [esp + 0x118], ecx
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x114], str.index
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], 0x46d7b0
mov dword [esp + 0xf4], 0x46d800
mov dword [esp + 0xf8], fcn.004182f0
mov dword [esp + 0xfc], 0
movlpd qword [esp + 0xd4], xmm0
movlpd qword [esp + 0xdc], xmm0
mov dword [esp + 0xb8], eax
call fcn.00457100
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 8]
test edx, edx
je 0x475073
mov eax, dword [edi]
xor ecx, ecx
mov esi, dword [eax + 0x10]
cmp dword [esi + 0xc], edx
lea eax, [esi + 0xc]
je 0x475068
nop dword [eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x475060
add ecx, ecx
mov eax, dword [esi + ecx*8]
mov esi, dword [esp + 0x14]
jmp 0x475076
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x2c]
xor edx, edx
mov ecx, edi
push dword [eax + 0x10]
call fcn.0046eb90
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
test edx, edx
je 0x476219
cmp esi, 1
jne 0x4750c1
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x4750c1
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.0041c7c0
add esp, 0xc
jmp 0x4761d5
test byte [edx + 0x1c], 0x80
je 0x47512e
mov ecx, dword [edx + 8]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x47512e
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4750e2
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4750d2
mov dword [esp + 0x40], ecx
jmp 0x47512e
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x476219
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x47512e
mov eax, dword [esp + 8]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x47512e
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x475122
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 8]
mov eax, esi
shl eax, 4
mov edx, 7
add eax, dword [ecx + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
test esi, esi
je 0x4751c0
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x475174
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x55c130]
cmp al, byte [ecx + 0x55c130]
jne 0x475174
inc esi
inc edi
test edx, edx
jg 0x475152
dec edx
test edx, edx
js 0x475190
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x55c130]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x55c130]
sub ecx, eax
jne 0x4751c4
mov esi, dword [esp + 8]
cmp byte [esi + 0xb1], 0
jne 0x4751c8
cmp dword [esp + 0x28], 0
je 0x4751c8
mov eax, dword [esp + 0x10]
push dword [eax]
push str.table__s_may_not_be_indexed
push dword [esp + 0x14]
call fcn.0041c7c0
add esp, 0xc
jmp 0x4761d5
mov esi, ecx
jmp 0x4751c8
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x4751e9
push str.views_may_not_be_indexed
push dword [esp + 0x10]
call fcn.0041c7c0
add esp, 8
jmp 0x4761d5
cmp al, 1
jne 0x475203
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x10]
call fcn.0041c7c0
add esp, 8
jmp 0x4761d5
mov eax, dword [esp + 0x50]
test eax, eax
je 0x47537c
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x475368
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004190c0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x475354
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, eax
mov byte [eax + esi], 0
call fcn.0041c850
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [esp + 0x1c]
push dword [eax]
push str.index
call fcn.0046f720
add esp, 8
test eax, eax
jne 0x4761d5
cmp byte [edi + 0xdc], 2
mov esi, dword [esp + 0x2c]
jae 0x47534a
mov eax, dword [esp + 8]
cmp byte [eax + 0xb1], 0
jne 0x4752d0
push dword [esi]
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.0046e7b0
add esp, 4
test eax, eax
je 0x4752cc
mov esi, dword [esp + 0x1c]
push esi
push str.there_is_already_a_table_named__s
push edi
call fcn.0041c7c0
add esp, 0xc
mov dword [esp + 0x1c], esi
jmp 0x4761d5
mov eax, dword [esp + 8]
push dword [esi]
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.0046ed50
add esp, 4
test eax, eax
je 0x47534a
cmp dword [ebp + 0x24], 0
jne 0x475306
mov esi, dword [esp + 0x1c]
push esi
push str.index__s_already_exists
push edi
call fcn.0041c7c0
add esp, 0xc
mov dword [esp + 0x1c], esi
jmp 0x4761d5
mov eax, dword [edi + 0x80]
mov edx, edi
mov esi, dword [esp + 0x44]
test eax, eax
mov ecx, dword [esp + 0x14]
cmovne edx, eax
shl esi, cl
mov eax, dword [edx + 0x5c]
test eax, esi
jne 0x475336
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x475336
mov ecx, edx
call fcn.00477670
mov ecx, edi
call fcn.0046f970
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x4761d5
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x4753c3
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0041c850
mov dword [esp + 0x1c], esi
jmp 0x4761d5
xor ecx, ecx
call fcn.0041c850
mov dword [esp + 0x1c], 0
jmp 0x4761d5
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x475390
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x475388
push ecx
push dword [edx]
push str.sqlite_autoindex__s__d
push esi
call fcn.0041b5d0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4761d5
mov edi, dword [esp + 0xc]
cmp byte [edi + 0xdc], 0
je 0x4753bf
inc byte [esi + 7]
mov esi, dword [esp + 0x2c]
cmp byte [edi + 0xdc], 2
jae 0x475429
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x14], 1
mov eax, str.sqlite_master
push esi
cmove eax, ecx
mov edx, 0x12
push 0
push eax
mov ecx, edi
call fcn.0046dcc0
add esp, 0xc
test eax, eax
jne 0x4761d5
mov eax, dword [esp + 0x10]
xor edx, edx
cmp dword [esp + 0x14], 1
mov ecx, edi
push esi
sete dl
push dword [eax]
push dword [esp + 0x24]
lea edx, [edx*2 + 1]
call fcn.0046dcc0
add esp, 0xc
test eax, eax
jne 0x4761d5
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x475500
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 + 0x24], eax
test eax, eax
jne 0x475458
xor esi, esi
jmp 0x47546f
mov esi, eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x475460
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 8]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.004190c0
mov edi, eax
add esp, 8
test edi, edi
je 0x4754c4
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 0x4754b6
push esi
push dword [esp + 0x28]
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 + 0xc]
mov edx, edi
mov ecx, dword [eax]
call fcn.0045d400
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x4761d5
mov ecx, dword [ebp + 0x20]
xor eax, eax
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne eax, edx
mov dword [esp + 0x24], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x24]
mov byte [edi + eax*4 - 4], cl
jmp 0x47552d
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x80]
jle 0x47551f
push str.index
push str.too_many_columns_in__s
push edi
call fcn.0041c7c0
add esp, 0xc
cmp dword [edi + 0x24], 0
jne 0x4761d5
mov edi, dword [esp + 0x18]
mov esi, dword [edi]
test esi, esi
jle 0x47556d
lea edx, [edi + 8]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x475561
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x475556
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x475547
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x20]
inc eax
add eax, ecx
mov dword [esp + 0x20], eax
add edx, 0x14
sub esi, 1
jne 0x475536
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x475574
mov eax, dword [esp + 0x40]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x475591
movzx ecx, word [eax + 0x32]
jmp 0x475596
mov ecx, 1
mov ax, word [edi]
add ax, cx
movzx eax, ax
mov dword [esp + 0x4c], 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 + 0x38], ecx
and eax, 0xfffffff8
add ecx, 0x48
add eax, ecx
mov dword [esp + 0x30], eax
add eax, esi
add eax, dword [esp + 0x20]
lea ecx, [eax + 1]
cdq
add eax, 1
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 8]
adc edx, 0
push edx
push eax
call fcn.004190c0
mov edi, eax
add esp, 8
mov dword [esp + 0x5c], edi
test edi, edi
je 0x475638
push dword [esp + 0x24]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x64]
lea ecx, [edi + 0x48]
mov dword [edi + 0x20], ecx
add esp, 0xc
add ecx, dword [esp + 0x38]
mov dword [edi + 8], ecx
lea eax, [edx + 1]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x30]
mov dword [edi + 4], eax
lea eax, [eax + edx*2]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov word [edi + 0x34], ax
dec eax
mov word [edi + 0x32], ax
add ecx, edi
jmp 0x47563a
xor ecx, ecx
mov eax, dword [esp + 8]
cmp byte [eax + 0x57], 0
jne 0x47618c
lea eax, [esi + 1]
mov dword [edi], ecx
add eax, ecx
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x54]
add esp, 0xc
mov esi, dword [esp + 0x10]
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], esi
sbb ecx, ecx
mov eax, dword [edi + 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 + 0x14]
mov dword [edi + 0x38], eax
add ecx, ecx
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x18], eax
mov ax, word [ecx]
mov word [edi + 0x32], ax
je 0x475796
mov edx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, dword [esi]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], esi
mov eax, dword [edx]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
mov dword [esp + 0x98], 1
mov dword [esp + 0xcc], 0xffffffff
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x98]
cmp dword [esi + 0x3c], ecx
lea ecx, [esp + 0x60]
mov esi, dword [esp + 0x54]
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.0045a640
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x24], esi
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x2c]
lea edx, [ecx + 8]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xdc], 2
jb 0x4757c3
mov dword [edi + 0x28], ecx
mov dword [esp + 0x18], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x20], esi
cmp ax, word [edi + 0x32]
jae 0x475ac8
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x4757eb
cmp cl, 0x71
jne 0x4757ee
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x4757ee
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov esi, dword [esp + 0x10]
mov edx, dword [edx]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [ecx]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], ecx
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
mov eax, dword [eax]
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xd0], xmm0
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
mov dword [esp + 0x98], 1
mov dword [esp + 0xcc], 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 + 0x60], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x64], eax
mov eax, 0x50020
cmove eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], eax
call fcn.0045a640
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
cmp dword [ecx + 0x24], 0
jne 0x475b1a
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
test eax, eax
je 0x4758f3
test dword [eax + 4], 0x2000
je 0x4758f3
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4758e3
cmp byte [eax], 0xa7
je 0x47593f
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx + 0xf8]
je 0x475b0c
cmp dword [edi + 0x28], 0
jne 0x47591d
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x28], ecx
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov edx, ecx
mov word [eax + esi*2], dx
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x38]
and eax, 0xfffffff7
or eax, 0x1000
mov dword [edi + 0x38], eax
jmp 0x475983
movsx ecx, word [eax + 0x20]
mov eax, dword [esp + 0x10]
test ecx, ecx
jns 0x475951
movsx ecx, word [eax + 0x20]
jmp 0x47597c
mov eax, dword [eax + 4]
mov edx, ecx
add edx, edx
test byte [eax + edx*8 + 4], 0xf
jne 0x475963
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x38]
je 0x47597c
or dword [edi + 0x38], 0x1800
mov eax, dword [edi + 4]
mov word [eax + esi*2], cx
mov eax, dword [edx]
cmp byte [eax], 0x71
jne 0x4759cc
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x475995
xor esi, esi
jmp 0x4759af
mov esi, ecx
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4759a0
sub esi, edx
and esi, 0x3fffffff
inc esi
push esi
push ecx
push dword [esp + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, eax
add eax, esi
mov dword [esp + 0x24], eax
jmp 0x475a09
test ecx, ecx
js 0x475a11
mov eax, dword [esp + 0x10]
shl ecx, 4
add ecx, dword [eax + 4]
mov eax, 0x200
test word [ecx + 0xe], ax
jne 0x4759e9
xor edx, edx
jmp 0x475a09
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x4759f6
inc eax
cmp byte [eax], 0
jne 0x4759f0
test byte [ecx + 0xe], 4
je 0x475a06
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x475a00
lea edx, [eax + 1]
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x475a1a
mov edx, 0x55bb18
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 8]
cmp byte [eax + 0xb1], 0
jne 0x475a86
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 + 0x3e], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x3f]
call fcn.00478470
add esp, 8
cmp byte [esp + 0x3e], 0
jne 0x475a78
test eax, eax
je 0x475a60
cmp dword [eax + 0xc], 0
jne 0x475a86
mov esi, dword [esp + 0x2c]
mov dl, byte [esp + 0x37]
mov ecx, dword [esp + 0xc]
push esi
push eax
call fcn.00478580
add esp, 8
jmp 0x475a7c
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x475b1a
jmp 0x475a8a
mov esi, dword [esp + 0x2c]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], esi
xor eax, eax
movzx ecx, byte [edx + 8]
cmp byte [esp + 0x3f], 4
mov esi, dword [esp + 0x20]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add edx, 0x14
mov dword [esp + 0x38], edx
mov byte [esi + eax], cl
inc esi
movzx eax, word [edi + 0x32]
mov dword [esp + 0x20], esi
cmp esi, eax
jl 0x4757d5
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x475b6a
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x32]
jae 0x475b7e
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 + 0x38], eax
call fcn.00471b00
add esp, 8
test eax, eax
je 0x475b23
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x475b57
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ecx
call fcn.0041c7c0
add esp, 8
mov esi, dword [esp + 8]
jmp 0x47618e
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x30]
mov word [eax + edx*2], cx
mov eax, dword [esp + 0x40]
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 + 0x40]
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 + 0x20], edx
mov ecx, dword [esp + 0x40]
inc esi
movzx eax, word [ecx + 0x32]
cmp esi, eax
jl 0x475ae2
jmp 0x475b7e
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], 0x55bb18
mov ecx, edi
call fcn.00476270
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xf8], 0
jne 0x475b99
mov ecx, edi
call fcn.00471aa0
mov ecx, edi
call fcn.00471ba0
cmp dword [esp + 0x28], 0
je 0x475c3f
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 0x34]
mov edx, eax
mov dword [esp + 0x4c], edx
movsx ecx, word [ecx + 0x22]
cmp eax, ecx
jl 0x475c3f
mov eax, dword [esp + 0x10]
xor esi, esi
or dword [edi + 0x38], 0x20
mov dword [esp + 0x30], esi
movzx eax, word [eax + 0x22]
mov ecx, eax
mov dword [esp + 0x58], ecx
cmp si, ax
jge 0x475c3f
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x20]
mov dword [esp + 0x24], eax
nop word [eax + eax]
cmp esi, eax
je 0x475c2d
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x475c3b
movzx eax, dx
mov edx, dword [edi + 4]
mov dword [esp + 0x30], eax
cmp si, word [edx]
je 0x475c1d
inc ecx
movzx eax, ax
add edx, 2
cmp ecx, eax
jge 0x475c3b
mov eax, dword [esp + 0x30]
jmp 0x475c07
movzx eax, cx
test ax, ax
js 0x475c3b
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
inc esi
movsx eax, cx
cmp esi, eax
jge 0x475c3f
mov eax, dword [esp + 0x24]
jmp 0x475bf0
and dword [edi + 0x38], 0xffffffdf
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + 0xf8]
jne 0x475d2c
mov esi, dword [eax + 8]
mov dword [esp + 0x20], esi
test esi, esi
je 0x475d2c
movzx edx, word [edi + 0x32]
movzx eax, word [esi + 0x32]
mov ecx, eax
mov dword [esp + 0x30], ecx
cmp ax, dx
jne 0x475d15
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], edx
cmp cx, ax
jae 0x475d05
mov ecx, dword [edi + 4]
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], eax
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x475d05
mov eax, dword [esi + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + edx*4]
sub esi, eax
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x475ce8
test edx, edx
jne 0x475cfa
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x30]
add ecx, 2
mov esi, dword [esp + 0x20]
movzx eax, ax
cmp edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], ecx
jl 0x475c96
jmp 0x475d05
movzx ecx, byte [ecx + 0x55c130]
movzx edx, byte [edx + 0x55c130]
sub edx, ecx
jne 0x475cfd
inc eax
jmp 0x475cb0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
movzx eax, word [esi + 0x32]
cmp edx, eax
je 0x475d9d
movzx edx, word [edi + 0x32]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x20], esi
test esi, esi
jne 0x475c66
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp byte [edx + 0xdc], 2
mov esi, dword [esp + 8]
jae 0x476157
cmp byte [esi + 0xb1], 0
je 0x475e48
cmp dword [esp + 0x28], 0
je 0x475d78
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xac]
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x475d78
cmp dword [eax + 0x2c], ecx
jne 0x475d71
cmp eax, edi
jne 0x475e06
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x475d64
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
add ecx, 0x18
push edi
call fcn.0041f590
add esp, 4
test eax, eax
je 0x475e3f
mov ecx, esi
call fcn.00419390
jmp 0x47618e
mov al, byte [esi + 0x36]
mov cl, byte [edi + 0x36]
cmp al, cl
je 0x475dcf
cmp al, 0xb
je 0x475dc3
cmp cl, 0xb
je 0x475dc3
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x14]
call fcn.0041c7c0
add esp, 0xc
cmp byte [esi + 0x36], 0xb
jne 0x475dcf
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x475de1
mov eax, dword [esi + 0x38]
and eax, 0xfffffffc
xor eax, 2
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xdc], 2
jb 0x475b1a
mov eax, dword [ecx + 0xfc]
mov dword [edi + 0x14], eax
mov dword [ecx + 0xfc], edi
jmp 0x4761d5
push str.invalid_rootpage
push edx
call fcn.0041c7c0
push 0x567754
push 0x1eb2c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041b8b0
mov eax, dword [esp + 0x28]
add esp, 0x1c
mov dword [eax + 0xc], 0xb
jmp 0x47618e
or dword [esi + 0x18], 1
jmp 0x476153
test byte [eax + 0x1c], 0x80
je 0x475e5a
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47615b
inc dword [edx + 0x2c]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
test esi, esi
jne 0x475e94
cmp dword [edx + 0x80], esi
jne 0x475e7f
mov eax, dword [edx]
test byte [eax + 0x50], 8
jne 0x475e7f
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.00441d60
mov esi, eax
test esi, esi
je 0x475b1a
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x80]
test ecx, ecx
cmovne edx, ecx
mov ecx, dword [esp + 0x14]
shl dword [esp + 0x44], cl
mov dword [esp + 0x30], edx
mov eax, dword [edx + 0x5c]
test dword [esp + 0x44], eax
jne 0x475ece
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x475ece
mov ecx, edx
call fcn.00477670
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
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 0x475efc
push 0
push 0
push 0
mov edx, 0xbb
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
mov edx, eax
jmp 0x475f33
mov edi, dword [esp + 0x5c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
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 0x475f5a
mov edx, dword [esp + 0x20]
mov ecx, esi
push 2
push edx
push dword [esp + 0x1c]
mov edx, 0x93
call fcn.00441fb0
add esp, 0xc
jmp 0x475f8d
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
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 0x475fdf
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
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, 0x5590e3
cmovne eax, edx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x18]
call fcn.0041b5d0
add esp, 0x14
jmp 0x475fe1
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x50], eax
add ecx, ecx
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*8]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x24]
call fcn.0046e690
mov edx, dword [esp + 0x64]
add esp, 0x1c
test edx, edx
je 0x476024
mov ecx, dword [esp + 8]
call fcn.00418c30
cmp dword [esp + 0x28], 0
je 0x47612e
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.00474500
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x14]
add ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x5c], 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 + 0x30], eax
cmp dword [edx + 0x70], ecx
jg 0x476084
mov ecx, dword [esp + 0x5c]
mov edx, 0x64
push eax
push 1
push dword [esp + 0x1c]
call fcn.00441fb0
add esp, 0xc
jmp 0x4760b7
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
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 + 0x18]
call fcn.0041b5d0
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ecx, esi
push eax
call fcn.004426c0
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x4760fb
push 0
push 1
push 0
mov edx, 0xa6
mov ecx, esi
call fcn.00441fb0
add esp, 0xc
jmp 0x47612e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 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 [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x476140
mov eax, 0x5732c0
jmp 0x47614c
mov eax, dword [edi + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
cmp byte [esi + 0xb1], 0
jne 0x476179
test eax, eax
je 0x476179
cmp byte [edx + 0xdc], 2
jb 0x47618e
mov dword [edx + 0xfc], edi
jmp 0x4761d5
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 0x4761d5
mov esi, eax
test edi, edi
je 0x4761d5
mov edx, dword [edi + 0x24]
mov ecx, esi
call fcn.0045c6a0
mov edx, dword [edi + 0x28]
test edx, edx
je 0x4761aa
mov ecx, esi
call fcn.0045d940
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4761b8
mov ecx, esi
call fcn.00418c30
test byte [edi + 0x38], 0x10
je 0x4761cc
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4761cc
mov ecx, esi
call fcn.00418c30
mov edx, edi
mov ecx, esi
call fcn.00418c30
mov ecx, dword [esp + 0x10]
add ecx, 8
mov edx, dword [ecx]
test edx, edx
je 0x476219
cmp byte [edx + 0x36], 5
je 0x4761f3
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x4761e2
jmp 0x476219
mov eax, dword [edx + 0x14]
test eax, eax
je 0x476219
nop word [eax + eax]
cmp byte [eax + 0x36], 5
je 0x476219
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 0x476200
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 8]
test eax, eax
je 0x476232
mov edx, eax
mov ecx, esi
call fcn.0045c540
test edi, edi
je 0x47623f
mov edx, edi
mov ecx, esi
call fcn.0045d940
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.00476d60
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47625b
mov edx, eax
mov ecx, esi
call fcn.00418c30
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret