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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x577018]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, ecx
mov dword [esp + 0x44], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [ecx + 0x51], 0
mov edi, edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x44], 0
jne 0x470b4f
cmp dword [eax + 0x24], 0
jg 0x470b4f
cmp byte [eax + 0xc4], 1
jne 0x46fc30
cmp byte [ebp + 0x28], 2
jne 0x470b4f
mov ecx, eax
call fcn.00486fa0
test eax, eax
jne 0x46fd14
cmp dword [esp + 0x2c], eax
je 0x46fe27
lea eax, [esp + 0x4c]
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.0046c160
mov edx, eax
add esp, 8
mov dword [esp + 0x20], edx
test edx, edx
js 0x46fd14
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xa5], 0
jne 0x46fcae
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.004738c0
cmp dword [esi + 4], 0
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
jne 0x46fcb2
test eax, eax
je 0x46fcb2
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x1c]
mov eax, 1
cmove edx, eax
mov dword [esp + 0x20], edx
jmp 0x46fcb2
mov esi, edx
mov edx, eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x60]
push eax
push str.index
push edx
mov edx, edi
call fcn.0046a110
mov edx, dword [esp + 0x38]
add esp, 0xc
call fcn.0046a150
mov eax, dword [esp + 0x2c]
xor edx, edx
add eax, 8
mov ecx, edi
push eax
call fcn.0046b1a0
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x46fd14
cmp dword [esp + 0x20], 1
jne 0x46fd1b
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [ecx + 0x48]
je 0x46fd1b
push dword [ecx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push edi
call fcn.00427d40
add esp, 0xc
xor edi, edi
jmp 0x46ffba
test byte [ecx + 0x24], 0x20
je 0x46fd2a
call fcn.0046c280
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
mov edx, 7
shl ecx, 4
mov esi, dword [esi]
add eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x46fe83
mov edi, str.sqlite_
nop
mov al, byte [esi]
dec edx
test al, al
je 0x46fd82
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x554bc0]
cmp al, byte [ecx + 0x554bc0]
jne 0x46fd82
inc esi
inc edi
test edx, edx
jg 0x46fd60
dec edx
test edx, edx
js 0x46fda2
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x554bc0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x554bc0]
sub eax, ecx
jne 0x46fe7f
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xa5], 0
jne 0x46fe79
mov eax, dword [esp + 0x28]
mov edx, 9
lea esi, [eax + 7]
test esi, esi
je 0x46fe0e
mov edi, str.altertab_
mov al, byte [esi]
dec edx
test al, al
je 0x46fdea
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x554bc0]
cmp al, byte [ecx + 0x554bc0]
jne 0x46fdea
inc esi
inc edi
test edx, edx
jg 0x46fdc8
dec edx
test edx, edx
js 0x46fe7f
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x554bc0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x554bc0]
sub eax, ecx
je 0x46fe7f
mov eax, dword [esp + 0x28]
push eax
push str.table__s_may_not_be_indexed
push dword [esp + 0x1c]
call fcn.00427d40
add esp, 0xc
xor edi, edi
jmp 0x46ffba
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xe0]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46fd14
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x20], 0xfff0bdc0
test ecx, ecx
je 0x46fd2a
mov edx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [edx + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x46fd2e
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x46fe68
mov dword [esp + 0x20], esi
jmp 0x46fd2e
mov esi, dword [esp + 0x28]
jmp 0x46fe87
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], 0
je 0x46fea9
push str.views_may_not_be_indexed
push dword [esp + 0x18]
call fcn.00427d40
add esp, 8
xor edi, edi
jmp 0x46ffba
cmp dword [eax + 0x38], 0
je 0x46fec7
push str.virtual_tables_may_not_be_indexed
push dword [esp + 0x18]
call fcn.00427d40
add esp, 8
xor edi, edi
jmp 0x46ffba
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47002a
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
jne 0x46fee8
xor ecx, ecx
call fcn.00427d90
jmp 0x46ffba
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, edx
call fcn.00423950
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x46ff18
push esi
push edi
mov edi, eax
push edi
call fcn.005190f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x46ff1c
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00427d90
test edi, edi
je 0x46ffba
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0046c1d0
test eax, eax
jne 0x46ffb6
cmp byte [edi + 0xc4], 2
jae 0x470080
mov esi, dword [esp + 0x10]
cmp byte [esi + 0xa5], al
jne 0x46ff80
mov edx, dword [esp + 0x18]
mov ecx, esi
push eax
call fcn.0046ae80
add esp, 4
test eax, eax
je 0x46ff80
push dword [esp + 0x18]
push str.there_is_already_a_table_named__s
push edi
call fcn.00427d40
mov edi, dword [esp + 0x24]
add esp, 0xc
jmp 0x46ffbe
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push dword [esi]
call fcn.0046b1f0
add esp, 4
test eax, eax
je 0x470084
cmp dword [ebp + 0x24], 0
jne 0x47001d
push dword [esp + 0x18]
push str.index__s_already_exists
push edi
call fcn.00427d40
add esp, 0xc
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x46ffcf
mov edx, eax
mov ecx, esi
call fcn.0045dbe0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x46ffe0
mov edx, eax
mov ecx, esi
call fcn.0045edb0
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.00471680
test edi, edi
je 0x470bf7
cmp dword [esi + 0x1e0], 0
je 0x470b58
mov edx, edi
mov ecx, esi
call fcn.00423550
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.00471f50
jmp 0x46ffb6
mov edx, dword [esp + 0x1c]
mov ecx, 1
mov eax, dword [edx + 8]
test eax, eax
je 0x470048
nop word [eax + eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x470040
push ecx
push esi
mov esi, dword [esp + 0x18]
push str.sqlite_autoindex__s__d
push esi
call fcn.00426f70
mov edi, eax
add esp, 0x10
mov dword [esp + 0x18], edi
test edi, edi
je 0x46ffbe
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x48]
cmp byte [edi + 0xc4], 0
je 0x470084
inc byte [eax + 7]
jmp 0x470084
mov esi, dword [esp + 0x48]
cmp byte [edi + 0xc4], 2
jae 0x4700ec
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.0046a650
add esp, 0xc
test eax, eax
jne 0x46ffb6
push esi
mov esi, dword [esp + 0x20]
xor edx, edx
cmp dword [esp + 0x24], 1
mov ecx, edi
sete dl
push dword [esi]
push dword [esp + 0x20]
lea edx, [edx*2 + 1]
call fcn.0046a650
add esp, 0xc
test eax, eax
jne 0x46ffb6
jmp 0x4700f0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x4701e5
movsx ecx, word [esi + 0x2a]
mov eax, dword [esi + 4]
add ecx, ecx
or byte [eax + ecx*8 - 1], 8
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x47011a
xor esi, esi
jmp 0x47012f
mov esi, eax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x470120
sub esi, ecx
and esi, 0x3fffffff
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x35]
push 0
push eax
call fcn.00423950
mov edi, eax
add esp, 8
test edi, edi
je 0x470184
push 0x34
push 0
push edi
call fcn.00519680
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 0x470176
push esi
push dword [esp + 0x40]
push eax
call fcn.005190f0
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
mov eax, dword [esp + 0x14]
push 0
push 0x1c
mov esi, dword [eax]
mov ecx, esi
call fcn.00423950
mov edx, eax
add esp, 8
mov dword [esp + 0x34], edx
test edx, edx
je 0x4701cb
mov ecx, dword [ebp + 0x20]
xorps xmm0, xmm0
mov dword [edx], 1
movups xmmword [edx + 8], xmm0
mov dword [edx + 0x18], 0
mov dword [edx + 4], edi
test ecx, ecx
js 0x470205
mov eax, dword [edx]
lea eax, [eax + eax*2]
mov byte [edx + eax*8 - 8], cl
jmp 0x470205
test edi, edi
je 0x4701d8
mov edx, edi
mov ecx, esi
call fcn.0045dbe0
mov dword [esp + 0x34], 0
jmp 0x46ffb6
mov eax, dword [edi]
mov esi, dword [edx]
cmp esi, dword [eax + 0x74]
jle 0x470207
push str.index
push str.too_many_columns_in__s
push edi
call fcn.00427d40
mov edx, dword [esp + 0x40]
add esp, 0xc
mov esi, dword [edx]
test esi, esi
jle 0x470247
add edx, 4
nop
mov ecx, dword [edx]
cmp byte [ecx], 0x66
jne 0x47023b
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x470230
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x470221
sub ecx, edi
and ecx, 0x3fffffff
mov eax, dword [esp + 0x38]
inc eax
add eax, ecx
mov dword [esp + 0x38], eax
add edx, 0x18
sub esi, 1
jne 0x470210
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov eax, edx
add eax, 4
mov dword [esp + 0x30], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x470257
mov eax, dword [esp + 0x44]
sub edi, ecx
and edi, 0x3fffffff
test eax, eax
je 0x470274
movzx ecx, word [eax + 0x32]
jmp 0x470279
mov ecx, 1
movzx edx, word [edx]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
add dx, cx
mov ecx, dword [esp + 0x14]
inc eax
add eax, edi
push eax
call fcn.0046fb00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
cmp byte [eax + 0x51], 0
jne 0x470606
mov ecx, dword [esp + 0x24]
mov dword [esi], ecx
lea eax, [ecx + 1]
add eax, edi
mov dword [esp + 0x24], eax
lea eax, [edi + 1]
push eax
push dword [esp + 0x1c]
push ecx
call fcn.005190f0
mov ecx, dword [esp + 0x60]
add esp, 0xc
movzx edi, byte [ebp + 0x28]
mov eax, dword [esi + 0x38]
and edi, 3
mov edx, dword [esp + 0x1c]
mov byte [esi + 0x36], cl
neg ecx
mov dword [esi + 0xc], edx
sbb ecx, ecx
mov dword [esp + 0x58], edi
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esi + 0x38], ecx
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + eax + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
movzx eax, word [eax]
mov word [esi + 0x32], ax
mov ecx, eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x470349
push 0
push eax
push 2
mov ecx, edi
call fcn.0045c590
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov dword [esi + 0x24], ecx
movzx ecx, word [esi + 0x32]
mov dword [esp + 0x50], 0
cmp byte [edi + 0xc4], 2
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x43], al
jb 0x47036f
mov eax, dword [esp + 0x34]
mov dword [esi + 0x28], eax
mov dword [esp + 0x34], 0
xor edx, edx
xor eax, eax
mov dword [esp + 0x28], edx
cmp ax, cx
jae 0x470624
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov cl, byte [eax]
cmp cl, 0x6a
je 0x47039a
cmp cl, 0x66
jne 0x47039d
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x6a
jne 0x47039d
mov byte [eax], 0x3b
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edx, dword [edx]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0xa0], ecx
mov eax, dword [ecx]
lea ecx, [esp + 0x60]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x64], eax
mov eax, 0x20
movaps xmmword [esp + 0x70], xmm0
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 dword [esp + 0x60], edi
mov word [esp + 0x78], ax
call fcn.0045c340
cmp dword [edi + 0x24], 0
jne 0x470606
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
test eax, eax
je 0x470483
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x470483
test ecx, 0x40000
je 0x47047c
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
jmp 0x47047f
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x470461
cmp byte [eax], 0x9e
je 0x4704cc
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0xe0]
je 0x4705f8
cmp dword [esi + 0x28], 0
jne 0x4704ad
mov eax, dword [esp + 0x34]
mov dword [esi + 0x28], eax
mov dword [esp + 0x34], 0
mov eax, dword [esi + 4]
mov edx, 0xfffffffe
mov ecx, dword [esp + 0x28]
mov edi, edx
mov word [eax + ecx*2], di
mov edi, dword [esp + 0x1c]
and dword [esi + 0x38], 0xfffffff7
add edi, 4
jmp 0x470504
movsx edx, word [eax + 0x20]
test edx, edx
jns 0x4704e1
mov eax, dword [esp + 0x1c]
movsx edx, word [eax + 0x28]
lea edi, [eax + 4]
jmp 0x4704f9
mov edi, dword [esp + 0x1c]
mov ecx, edx
add edi, 4
add ecx, ecx
mov eax, dword [edi]
cmp byte [eax + ecx*8 + 0xc], 0
jne 0x4704f9
and dword [esi + 0x38], 0xfffffff7
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x28]
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp byte [eax], 0x66
jne 0x47054c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47051a
xor esi, esi
jmp 0x47052f
mov esi, ecx
lea edx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x470520
sub esi, edx
and esi, 0x3fffffff
mov edi, dword [esp + 0x24]
inc esi
push esi
push ecx
push edi
call fcn.005190f0
lea eax, [esi + edi]
add esp, 0xc
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
jmp 0x470558
test edx, edx
js 0x47055c
mov eax, dword [edi]
add edx, edx
mov edi, dword [eax + edx*8 + 8]
test edi, edi
jne 0x470561
mov edi, 0x554604
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xa5], 0
jne 0x4705b9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov al, byte [ecx + 0xa5]
mov dl, byte [ecx + 0x4e]
mov byte [esp + 0x41], al
movzx eax, al
push eax
push edi
mov byte [esp + 0x4a], dl
call fcn.00473050
add esp, 8
cmp byte [esp + 0x41], 0
jne 0x4705b5
test eax, eax
je 0x4705a3
cmp dword [eax + 0xc], 0
jne 0x4705b9
mov dl, byte [esp + 0x42]
mov ecx, dword [esp + 0x14]
push edi
push eax
call fcn.00472e10
add esp, 8
test eax, eax
je 0x470606
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x20]
mov dword [eax + edx*4], edi
xor eax, eax
mov edi, dword [esp + 0x30]
cmp byte [esp + 0x43], 4
movzx ecx, byte [edi + 0xc]
cmovb ecx, eax
mov eax, dword [esi + 0x1c]
add edi, 0x18
mov dword [esp + 0x30], edi
mov byte [edx + eax], cl
inc edx
movzx eax, word [esi + 0x32]
mov dword [esp + 0x28], edx
cmp edx, eax
jge 0x470624
mov edi, dword [esp + 0x14]
jmp 0x470380
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push edi
call fcn.00427d40
add esp, 8
test esi, esi
je 0x46ffb6
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0046b2b0
mov edi, dword [esp + 0x18]
jmp 0x46ffbe
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4706c4
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x38], edx
cmp cx, word [eax + 0x32]
jae 0x4706d8
mov eax, dword [eax + 4]
movzx ecx, word [esi + 0x32]
movzx edi, word [eax + edx*2]
mov eax, dword [esi + 4]
mov edx, eax
test ecx, ecx
je 0x470669
mov ax, word [edx]
lea edx, [edx + 2]
dec ecx
cmp di, ax
je 0x4706b5
test ecx, ecx
jg 0x470656
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov word [eax + ecx*2], di
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + edx*4]
mov dword [ecx + edi*4], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x1c]
mov al, byte [edx + eax]
mov byte [edi + ecx], al
inc edi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x44]
inc edx
mov dword [esp + 0x38], edx
movzx eax, word [eax + 0x32]
cmp edx, eax
mov eax, dword [esp + 0x44]
jl 0x470642
jmp 0x4706d8
mov edx, dword [esp + 0x38]
mov eax, 0xffff
add word [esi + 0x34], ax
jmp 0x47069e
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov word [eax + edx*2], cx
mov eax, dword [esi + 0x20]
mov dword [eax + edx*4], 0x554604
mov ecx, esi
call fcn.00470c10
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xe0], 0
jne 0x4706f3
mov ecx, esi
call fcn.0046d300
mov ecx, esi
call fcn.0046d3e0
cmp dword [esp + 0x2c], 0
je 0x470756
mov ecx, dword [esp + 0x1c]
movzx edi, word [esi + 0x34]
movsx eax, word [ecx + 0x2a]
cmp edi, eax
jl 0x470756
or dword [esi + 0x38], 0x20
xor edx, edx
movsx eax, word [ecx + 0x2a]
mov dword [esp + 0x24], eax
test eax, eax
jle 0x470756
movsx ecx, word [ecx + 0x28]
mov dword [esp + 0x38], ecx
nop dword [eax + eax]
cmp edx, ecx
je 0x470888
xor eax, eax
test edi, edi
je 0x470752
mov ecx, dword [esi + 4]
cmp dx, word [ecx]
je 0x470874
inc eax
add ecx, 2
cmp eax, edi
jl 0x470741
and dword [esi + 0x38], 0xffffffdf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0xe0]
jne 0x4707fa
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4707fa
movzx edx, word [esi + 0x32]
nop dword [eax]
movzx eax, word [ecx + 0x32]
cmp ax, dx
jne 0x4707e7
mov edx, eax
xor edi, edi
mov dword [esp + 0x24], edx
test edx, edx
je 0x4707db
mov eax, dword [ecx + 4]
mov esi, dword [esi + 4]
sub eax, esi
mov dword [esp + 0x38], eax
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x4707d7
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x20]
mov edx, dword [eax + 0x20]
mov ecx, dword [ecx + edi*4]
mov edx, dword [edx + edi*4]
call fcn.00427e20
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x4707d7
mov eax, dword [esp + 0x38]
inc edi
add esi, 2
cmp edi, edx
jl 0x4707a1
mov esi, dword [esp + 0x3c]
cmp edi, edx
je 0x470896
movzx edx, word [esi + 0x32]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x470780
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp byte [edx + 0xc4], 2
mov edi, dword [esp + 0x10]
jae 0x470ad2
cmp byte [edi + 0xa5], 0
je 0x47092e
cmp dword [esp + 0x2c], 0
je 0x470904
mov eax, dword [edi + 0xa0]
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.00486680
test eax, eax
je 0x470904
mov edi, dword [esp + 0x14]
push str.invalid_rootpage
push edi
call fcn.00427d40
push 0x55eb74
push 0x1ae08
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004272e0
add esp, 0x1c
mov dword [edi + 0xc], 0xb
jmp 0x470606
movzx eax, ax
test ax, ax
js 0x470752
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
inc edx
cmp edx, eax
jl 0x470730
jmp 0x470756
mov al, byte [ecx + 0x36]
mov dl, byte [esi + 0x36]
cmp al, dl
je 0x4708cc
cmp al, 0xb
je 0x4708c0
cmp dl, 0xb
je 0x4708c0
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push dword [esp + 0x1c]
call fcn.00427d40
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp byte [ecx + 0x36], 0xb
jne 0x4708cc
mov al, byte [esi + 0x36]
mov byte [ecx + 0x36], al
cmp byte [ebp + 0x28], 2
jne 0x4708df
mov eax, dword [ecx + 0x38]
and eax, 0xfffffffc
or eax, dword [esp + 0x58]
mov dword [ecx + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xc4], 2
jb 0x470606
mov eax, dword [ecx + 0xe4]
mov dword [esi + 0x14], eax
mov dword [ecx + 0xe4], esi
jmp 0x46ffb6
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
add ecx, 0x18
push esi
call fcn.004291f0
add esp, 4
test eax, eax
je 0x470925
mov ecx, edi
call fcn.00423cf0
jmp 0x470606
or dword [edi + 0x18], 1
jmp 0x470ace
test byte [eax + 0x24], 0x20
je 0x470940
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x470ad6
inc dword [edx + 0x2c]
mov edi, dword [edx + 8]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x470973
cmp dword [edx + 0x74], edi
jne 0x470962
mov eax, dword [edx]
test byte [eax + 0x4c], 8
jne 0x470962
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.00446150
mov edi, eax
test edi, edi
je 0x470606
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, 1
call fcn.00472010
add esp, 4
mov edx, 0xab
mov ecx, edi
call fcn.004464a0
push 2
push dword [esp + 0x40]
mov edx, 0x8c
mov dword [esi + 0x2c], eax
push dword [esp + 0x28]
mov ecx, edi
call fcn.00446430
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x470a02
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xbc]
add edx, dword [eax + 0xb8]
mov eax, dword [esp + 0x4c]
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 [esp + 0x58], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x5581b4
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x20]
call fcn.00426f70
add esp, 0x14
jmp 0x470a04
xor eax, eax
mov ecx, dword [esp + 0x5c]
push eax
push dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [esi]
push str.sqlite_master
mov eax, dword [eax + 0x10]
push dword [ecx + eax]
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push dword [esp + 0x30]
call fcn.0046ad80
mov edx, dword [esp + 0x44]
add esp, 0x20
mov ecx, dword [esp + 0x10]
call fcn.00423630
cmp dword [esp + 0x2c], 0
je 0x470aa1
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.0046f720
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x14]
call fcn.0046cf70
push dword [esi]
push str.name_q_AND_typeindex
push dword [esp + 0x18]
call fcn.00426f70
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, edi
push eax
call fcn.00446950
add esp, 4
mov edx, 0x9f
mov ecx, edi
push 1
push 0
call fcn.00446560
add esp, 8
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
mov ecx, dword [esi + 0x2c]
cmp byte [eax + 0x51], 0
je 0x470ab6
mov eax, 0x57ad14
jmp 0x470ac7
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x10]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp byte [edi + 0xa5], 0
jne 0x470afb
test eax, eax
je 0x470afb
cmp byte [edx + 0xc4], 2
jb 0x470606
mov dword [edx + 0xe4], esi
jmp 0x46ffb6
cmp dword [esp + 0x54], 5
jne 0x470b3d
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x470b3d
cmp byte [ecx + 0x36], 5
je 0x470b3d
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x470b2f
nop word [eax + eax]
cmp byte [eax + 0x36], 5
je 0x470b2f
mov ecx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x470b20
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
mov dword [ecx + 0x14], esi
jmp 0x46ffb6
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [esi + 0x14], eax
mov dword [ecx + 8], esi
jmp 0x46ffb6
mov esi, ecx
xor edi, edi
jmp 0x46ffbe
cmp edi, dword [esi + 0x130]
jb 0x470b8a
cmp edi, dword [esi + 0x134]
jae 0x470b8a
mov eax, dword [esi + 0x12c]
mov dword [edi], eax
mov dword [esi + 0x12c], edi
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
cmp dword [0x577a68], 0
je 0x470bed
mov eax, dword [0x57adf8]
test eax, eax
je 0x470ba6
push eax
call dword [0x577ac4]
add esp, 4
push edi
call dword [0x577aa0]
sub dword [0x57ad28], eax
add esp, 4
dec dword [0x57ad4c]
push edi
call dword [0x577a98]
mov eax, dword [0x57adf8]
add esp, 4
test eax, eax
je 0x470bf7
push eax
call dword [0x577acc]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push edi
call dword [0x577a98]
add esp, 4
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret