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

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
mov esi, edx
mov ebx, ecx
sub esp, 0xcc
mov eax, dword [eax]
mov edi, dword [edx + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x665d71f0
movzx eax, byte [edx + 4]
mov edx, str.UNION
sub eax, 0x74
cmp eax, 2
jbe 0x665d71e0
mov dword [esp + 8], edx
mov dword [esp + 4], str.ORDER_BY_clause_should_come_after__s_not_before
mov dword [esp], ebp
call sym._sqlite3ErrorMsg
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x30]
mov ecx, 1
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x90]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x24]
call sym._clearSelect
mov eax, dword [esp + 0x28]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax*4 + 0x66620b0c]
jmp 0x665d7182
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x665d7240
movzx eax, byte [edx + 4]
mov edx, str.UNION
sub eax, 0x74
cmp eax, 2
ja 0x665d720f
mov edx, dword [eax*4 + 0x66620b0c]
mov dword [esp + 8], edx
mov dword [esp + 4], str.LIMIT_clause_should_come_after__s_not_before
mov dword [esp], ebp
call sym._sqlite3ErrorMsg
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 1
jmp 0x665d71a6
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esp + 0x34], eax
je 0x665d810d
cmp byte [esp + 0x84], 0xc
je 0x665d7ad7
movzx ecx, word [esi + 6]
mov eax, dword [esi]
test ch, 1
jne 0x665d7a2d
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [edi]
cmp edx, dword [eax]
je 0x665d729a
movzx edx, byte [esi + 4]
mov eax, ebp
call sym._selectWrongNumTermsError.isra.407
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 1
jmp 0x665d71a6
and ch, 8
jne 0x665d7b1e
mov eax, dword [esi + 0x30]
test eax, eax
je 0x665d7bff
mov eax, dword [ebp]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov edi, eax
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x4c], eax
movzx eax, byte [esi + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x30]
cmp eax, 0x74
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x40], ecx
je 0x665d879f
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x41], 0
jne 0x665d8ba4
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
jle 0x665d8ba4
lea eax, [esp + 0xac]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, 1
mov dword [esp + 0x38], eax
cmp ebx, 0
mov eax, dword [ebp + 4]
jle 0x665d7f50
movzx edx, word [eax + 0x14]
cmp edx, edi
je 0x665d73d0
xor edx, edx
jmp 0x665d7359
movzx ecx, word [eax + 0x14]
cmp edi, ecx
je 0x665d73d0
add edx, 1
add eax, 0x18
cmp edx, ebx
jne 0x665d7351
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, 0x84
mov dword [esp], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
call sym._sqlite3ExprAlloc
test eax, eax
je 0x665d8bb4
or dword [eax + 4], 0x400
mov dword [eax + 8], edi
mov ecx, eax
mov eax, dword [esp + 0x48]
mov edx, ebp
mov eax, dword [eax]
call sym._sqlite3ExprListAppend.isra.447
test eax, eax
mov ebp, eax
je 0x665d73d0
mov edx, dword [ebp + 4]
lea eax, [ebx + ebx*2]
add ebx, 1
lea eax, [edx + eax*8]
mov word [eax + 0x14], di
lea esi, [esi]
mov eax, dword [esp + 0x24]
add edi, 1
cmp byte [eax + 0x41], 0
jne 0x665d73e7
mov eax, dword [esi]
cmp edi, dword [eax]
jle 0x665d7335
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
xor ecx, ecx
lea edx, [eax*4]
mov eax, dword [esp + 0x24]
call sym._sqlite3DbMallocRaw
test eax, eax
mov dword [esp + 0x5c], eax
je 0x665d804a
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x5c]
test edx, edx
mov ecx, dword [eax + 4]
mov eax, edi
lea edi, [edi + edx*4]
jle 0x665d7445
movzx edx, word [ecx + 0x14]
add eax, 4
add ecx, 0x18
sub edx, 1
mov dword [eax - 4], edx
cmp edi, eax
jne 0x665d7431
mov edx, esi
mov eax, ebp
call sym._multiSelectOrderByKeyInfo.constprop.581
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esi + 0x30], eax
mov edx, eax
mov eax, dword [ebp]
call sym._sqlite3ExprListDup
cmp dword [esp + 0x34], 0x74
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [ecx + 0x30], eax
jne 0x665d806c
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0x30]
mov edx, esi
mov dword [esi + 0x34], 0
mov eax, ebp
mov dword [edi + 0x38], 0
mov dword [esp], str.ORDER
call sym._sqlite3ResolveOrderGroupBy.isra.401
mov eax, dword [edi + 0x34]
test eax, eax
je 0x665d8b17
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x665d816e
cmp dword [esp + 0x34], 0x74
jne 0x665d74d1
test ecx, ecx
jne 0x665d8803
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov edi, dword [esp + 0x24]
mov edx, dword [esi + 0x3c]
mov eax, edi
call sym._sqlite3ExprDelete
mov edx, dword [esi + 0x40]
mov eax, edi
mov dword [esi + 0x3c], 0
call sym._sqlite3ExprDelete
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x40], 0
mov byte [esp + 0xac], 0xd
mov byte [esp + 0xad], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea edi, [eax + 2]
lea ecx, [eax + 1]
lea edx, [eax + 3]
add eax, 4
mov byte [esp + 0x98], 0xd
mov byte [esp + 0x99], 0
mov dword [esp + 0xb0], edi
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x28]
mov dword [ebp + 0x48], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], edx
mov edx, 0x14
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x48], ecx
mov eax, dword [edi + 0x20]
mov dword [esp], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add eax, 1
mov dword [esp + 4], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov edx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x68]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x1d4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x98]
mov ecx, eax
mov eax, ebp
call sym._sqlite3Select
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov edx, 0x15
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x20]
cmp edi, eax
jae 0x665d7607
lea edx, [edi + edi*4]
mov edi, dword [ecx + 4]
lea edx, [edi + edx*4]
mov dword [edx + 8], eax
mov edi, dword [esp + 0x28]
sub eax, 1
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x28], edi
mov dword [edx + 0x58], eax
mov eax, dword [edi + 0x20]
mov edx, 0x14
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x38]
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x1d4]
mov dword [esp + 0x70], edx
mov edx, esi
mov dword [esp + 0x78], eax
mov eax, ebp
call sym._sqlite3Select
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edx
mov edx, 0x15
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xa0]
mov dword [esp + 4], ebx
mov edx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
lea eax, [esp + 0xa4]
mov dword [esp], eax
mov eax, ebp
call sym._generateOutputSubroutine.isra.441
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], 0
lea edi, [eax - 0x73]
cmp edi, 1
jbe 0x665d88bd
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x665d770c
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
sub eax, 1
test eax, eax
mov dword [ecx], eax
je 0x665d8388
mov eax, dword [esp + 0x34]
sub eax, 0x75
cmp eax, 1
jbe 0x665d80fc
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, 0x11
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call sym._sqlite3VdbeAddOp3
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], edx
mov edx, 0x16
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov edx, 0x10
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], ecx
xor ecx, ecx
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], edx
cmp dword [esp + 0x34], 0x76
jne 0x665d7f60
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
cmp dword [esi + 0x1c], eax
jb 0x665d77bc
ja 0x665d77b6
cmp dword [esi + 0x18], edx
jbe 0x665d77bc
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
mov edx, 0x11
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov edx, 0x16
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov edx, 0x10
mov dword [esp + 4], 0
mov dword [esp], ecx
xor ecx, ecx
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x34]
add eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
cmp edi, 1
mov eax, dword [eax + 0x20]
mov dword [esp + 0x54], eax
jbe 0x665d892c
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov edx, 0x16
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, 0x10
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov eax, dword [edi + 0x20]
mov ecx, edi
mov edi, dword [esp + 0x68]
cmp edi, eax
jae 0x665d7899
lea edx, [edi + edi*4]
mov edi, dword [ecx + 4]
lea edx, [edi + edx*4]
mov dword [edx + 8], eax
mov edi, dword [esp + 0x28]
sub eax, 1
mov ecx, dword [esp + 0x48]
mov edx, dword [edi + 0x18]
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x58]
mov edx, 0x16
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, 0x16
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi + 0x18]
xor ecx, 0xffffffff
js 0x665d78fd
mov edx, dword [eax + 0x70]
test edx, edx
je 0x665d78fd
mov edi, dword [edi + 0x20]
mov dword [edx + ecx*4], edi
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x20]
lea edx, [ecx - 1]
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [eax + 0x58], edx
mov edx, 0x29
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov dword [esp], 0xfffffff1
mov eax, edi
call sym._sqlite3VdbeChangeP4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa0]
mov edx, 0x2a
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x60]
mov edx, eax
mov dword [esp], 0xfffffffa
mov eax, edi
call sym._sqlite3VdbeChangeP4
mov eax, dword [edi + 4]
test eax, eax
je 0x665d798a
mov edx, dword [edi + 0x20]
lea edx, [edx + edx*4]
mov byte [eax + edx*4 - 0x11], 1
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x28]
mov edx, 0x2b
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x44]
mov eax, dword [edi + 0x18]
xor ecx, 0xffffffff
js 0x665d79c6
mov edx, dword [eax + 0x70]
test edx, edx
je 0x665d79c6
mov edi, dword [edi + 0x20]
mov dword [edx + ecx*4], edi
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
sub edx, 1
mov dword [eax + 0x58], edx
cmp byte [ebx], 9
mov edx, dword [esp + 0x30]
je 0x665d7a19
mov edx, dword [esi + 0x34]
test edx, edx
je 0x665d79f1
mov eax, dword [esp + 0x24]
mov ecx, 1
call sym._clearSelect
mov eax, dword [esp + 0x30]
mov dword [esi + 0x34], eax
mov dword [eax + 0x38], esi
cmp byte [ebp + 0x1c2], 2
je 0x665d8952
mov ebx, dword [ebp + 0x40]
xor eax, eax
test ebx, ebx
setne al
jmp 0x665d71d0
mov edx, eax
mov eax, dword [edx + 0x34]
test eax, eax
jne 0x665d7a17
mov ecx, dword [edx]
mov eax, ebp
xor edx, edx
call sym._generateColumnNames
jmp 0x665d79dc
mov edi, dword [esi + 0x34]
mov ecx, dword [eax]
test edi, edi
je 0x665d7a76
mov edx, 1
jmp 0x665d7a49
mov eax, dword [edi + 0x34]
test eax, eax
je 0x665d7a7d
mov edi, eax
mov eax, dword [edi]
add edx, 1
cmp dword [eax], ecx
je 0x665d7a40
movzx ecx, word [edi + 6]
movzx edx, byte [edi + 4]
mov eax, ebp
call sym._selectWrongNumTermsError.isra.407
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 1
jmp 0x665d71a6
mov edi, esi
mov edx, 1
mov dword [esp + 0x28], edx
sar edx, 0x1f
xor esi, esi
mov dword [esp + 0x2c], edx
jmp 0x665d7aa8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ecx
mov edi, dword [edi + 0x38]
test edi, edi
je 0x665d7ac6
mov esi, dword [edi + 0x34]
lea ecx, [esp + 0x84]
mov dword [edi + 0x34], 0
mov edx, edi
mov eax, ebp
call sym._sqlite3Select
test eax, eax
mov dword [edi + 0x34], esi
je 0x665d7a90
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
jmp 0x665d71a6
mov dword [esp + 4], 0
mov eax, dword [esi]
mov edx, 0x39
mov ecx, dword [esp + 0x88]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
test eax, eax
je 0x665d7b11
mov edx, dword [ecx + 0x20]
lea edx, [edx + edx*4]
mov byte [eax + edx*4 - 0x11], 8
mov byte [esp + 0x84], 0xe
jmp 0x665d725d
mov eax, dword [esi + 0x20]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x21
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x44], eax
mov eax, ebp
call sym._sqlite3AuthCheck
test eax, eax
je 0x665d8183
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
cmp byte [ebp + 0x1c2], 2
je 0x665d8904
test byte [esi + 6], 8
je 0x665d71a6
mov eax, dword [esi]
mov ecx, 1
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov edx, eax
mov edi, eax
mov eax, dword [esp + 0x24]
call sym._sqlite3KeyInfoAlloc
test eax, eax
mov dword [esp + 0x3c], eax
je 0x665d8d09
add eax, 0x14
test edi, edi
mov ecx, eax
jle 0x665d8ce6
mov dword [esp + 0x40], ebx
xor edi, edi
mov ebx, ecx
jmp 0x665d7bdd
add edi, 1
cmp dword [esp + 0x38], edi
je 0x665d8394
mov ecx, dword [esi + 0x34]
mov edx, esi
mov dword [esp], edi
mov eax, ebp
call sym._multiSelectCollSeq.isra.423
test eax, eax
mov dword [ebx + edi*4], eax
jne 0x665d7bd0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [ebx + edi*4], eax
jmp 0x665d7bd0
movzx eax, byte [esi + 4]
cmp al, 0x74
je 0x665d8677
cmp al, 0x75
je 0x665d8414
cmp al, 0x73
je 0x665d8414
mov eax, dword [ebp + 0x44]
mov edx, 0x39
mov ecx, eax
mov dword [esp + 0x38], eax
add eax, 2
mov dword [ebp + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._sqlite3VdbeAddOp3
mov edx, esi
mov dword [esi + 0x10], eax
jmp 0x665d7c52
mov edx, eax
mov eax, dword [edx + 0x38]
test eax, eax
jne 0x665d7c50
mov eax, dword [esp + 0x38]
or word [edx + 6], 8
lea ecx, [esp + 0xac]
mov edx, edi
mov byte [esp + 0xac], 1
mov byte [esp + 0xad], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x1d4]
mov dword [esp + 0x44], eax
mov eax, ebp
call sym._sqlite3Select
test eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
jne 0x665d71a6
mov eax, dword [esp + 0x38]
mov edx, 0x39
mov dword [esp + 4], 0
mov dword [esp], 0
add eax, 1
mov ecx, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x14], eax
mov edx, esi
mov eax, dword [esp + 0x48]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x1d4]
mov dword [esi + 0x40], 0
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0x40], eax
mov eax, ebp
call sym._sqlite3Select
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
mov edx, dword [edi + 0x18]
mov dword [esi + 0x34], edi
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x1c]
cmp dword [esi + 0x1c], eax
jb 0x665d7d58
ja 0x665d7d52
cmp dword [esi + 0x18], edx
jbe 0x665d7d58
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x3c]
call sym._sqlite3ExprDelete
mov eax, dword [esp + 0x3c]
cmp byte [esp + 0x84], 9
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x40], eax
mov eax, esi
je 0x665d7f35
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
cmp dword [esi + 8], 0
mov dword [esp + 0x4c], eax
jne 0x665d7db1
mov ecx, dword [esp + 0x3c]
mov edx, esi
mov eax, ebp
call sym._computeLimitRegisters.part.490
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, 0x6c
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call sym._sqlite3VdbeAddOp3
movzx eax, byte [ebp + 0x13]
test al, al
jne 0x665d8cf7
mov eax, dword [ebp + 0x48]
lea edi, [eax + 1]
mov dword [ebp + 0x48], edi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, 0x65
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov edx, 0x44
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
call sym._sqlite3VdbeAddOp4Int
test edi, edi
je 0x665d7e3a
mov edx, edi
mov eax, ebp
call sym._sqlite3ReleaseTempReg.part.166
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov edx, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esi]
mov eax, ebp
call sym._selectInnerLoop
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x18]
mov eax, edi
xor eax, 0xffffffff
js 0x665d7e96
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x665d7e96
mov edi, dword [esp + 0x34]
mov edi, dword [edi + 0x20]
mov dword [ecx + eax*4], edi
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x4c], eax
sub eax, 1
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x50]
mov edx, 9
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x3c]
mov edx, dword [edi + 0x18]
xor eax, 0xffffffff
js 0x665d7edf
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x665d7edf
mov edi, dword [edi + 0x20]
mov dword [ecx + eax*4], edi
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x3c], eax
sub eax, 1
mov dword [edx + 0x58], eax
mov dword [esp + 4], 0
mov edx, 0x3d
mov dword [esp], 0
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0
mov edx, 0x3d
mov dword [esp], 0
mov eax, edi
call sym._sqlite3VdbeAddOp3
jmp 0x665d7b74
mov eax, edx
mov edx, dword [eax + 0x34]
test edx, edx
jne 0x665d7f33
mov ecx, dword [eax]
mov eax, ebp
call sym._generateColumnNames
jmp 0x665d7d82
jne 0x665d73d0
jmp 0x665d7363
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
mov edx, 0x11
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov edx, 0x16
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x7c]
xor ecx, ecx
mov edx, 0x10
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call sym._sqlite3VdbeAddOp3
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], edx
mov edx, 0x11
call sym._sqlite3VdbeAddOp3
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], edx
mov edx, 0x16
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov edx, 0x10
mov dword [esp + 4], 0
mov dword [esp], ecx
xor ecx, ecx
call sym._sqlite3VdbeAddOp3
cmp dword [esp + 0x34], 0x74
jne 0x665d811d
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
jmp 0x665d782c
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esi + 0x30], eax
mov edx, eax
mov eax, dword [ebp]
call sym._sqlite3ExprListDup
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], 0
mov dword [ecx + 0x30], eax
mov eax, dword [esi]
mov edx, 0x19
mov edi, dword [eax]
mov eax, dword [ebp + 0x48]
lea ecx, [eax + 1]
lea eax, [edi + eax + 1]
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
xor ecx, ecx
mov dword [esp + 4], 0
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x24]
mov ecx, 1
mov edx, edi
call sym._sqlite3KeyInfoAlloc
test eax, eax
mov dword [esp + 0x50], eax
je 0x665d7487
test edi, edi
jle 0x665d7487
xor ecx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ebx
mov edi, eax
mov ebx, ecx
nop
mov ecx, dword [esi + 0x34]
mov edx, esi
mov dword [esp], ebx
mov eax, ebp
call sym._multiSelectCollSeq.isra.423
mov dword [edi + ebx*4 + 0x14], eax
mov eax, dword [edi + 0x10]
mov byte [eax + ebx], 0
add ebx, 1
cmp dword [esp + 0x3c], ebx
jne 0x665d80d0
mov ebx, dword [esp + 0x48]
jmp 0x665d7487
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], eax
jmp 0x665d7795
mov eax, ebp
call sym._sqlite3GetVdbe.part.430
mov dword [esp + 0x34], eax
jmp 0x665d724f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov edx, 0x16
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov edx, 0x10
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], ecx
xor ecx, ecx
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
jmp 0x665d782c
mov ecx, dword [esp + 0x44]
mov edx, esi
mov eax, ebp
call sym._computeLimitRegisters.part.490
mov ecx, dword [esi + 8]
jmp 0x665d74c2
mov eax, dword [edi + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
cmp dword [esi + 8], 0
mov dword [esp + 0x48], eax
jne 0x665d81a0
mov ecx, eax
mov edx, esi
mov eax, ebp
call sym._computeLimitRegisters.part.490
mov eax, dword [esi + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x3c], 0
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [edx]
mov dword [esi + 0x40], 0
mov dword [esp + 0x58], eax
mov eax, dword [esi + 8]
test ecx, ecx
mov dword [esi + 8], 0
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0xc], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x40], eax
jle 0x665d8d66
test byte [edx + 0x30], 8
mov eax, 0
jne 0x665d88a9
mov dword [esp + 0x38], edi
mov edi, edx
jmp 0x665d8212
lea edx, [eax + eax*8]
test byte [edi + edx*8 + 0x30], 8
jne 0x665d88a5
add eax, 1
cmp ecx, eax
jne 0x665d8204
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], 0
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x30], eax
add eax, 1
mov dword [ebp + 0x44], eax
cmp byte [esi + 4], 0x73
mov dword [esp + 0x38], eax
je 0x665d8b33
cmp dword [esp + 0x40], 0
je 0x665d8c61
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, 0x3c
mov byte [esp + 0xac], 7
mov byte [esp + 0xad], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x48]
add eax, 1
mov dword [ebp + 0x48], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x38], 0
mov edx, esi
mov eax, ebp
call sym._multiSelectOrderByKeyInfo.constprop.581
mov edx, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [edx]
mov edx, 0x39
mov dword [esp + 0x60], eax
add eax, 2
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x28]
mov edx, eax
mov dword [esp], 0xfffffffa
mov eax, edi
call sym._sqlite3VdbeChangeP4
mov edx, dword [esp + 0x40]
mov dword [esp + 0xbc], edx
cmp dword [esp + 0x38], 0
je 0x665d832e
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0
mov edx, 0x39
mov dword [esp], 0
mov eax, edi
call sym._sqlite3VdbeAddOp3
or word [esi + 6], 8
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xac]
mov dword [esi + 0x30], 0
mov dword [esp + 0x38], ecx
mov dword [eax + 0x38], 0
mov edx, eax
mov eax, ebp
call sym._sqlite3Select
mov ecx, dword [esp + 0x44]
test eax, eax
mov dword [ecx + 0x38], esi
je 0x665d8975
mov eax, dword [ebp]
mov edx, dword [esi + 0x30]
call sym._sqlite3ExprListDelete
mov eax, dword [esp + 0x40]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x40], eax
jmp 0x665d7b54
mov eax, ecx
call sym._sqlite3KeyInfoUnref.part.187
jmp 0x665d770c
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov edx, dword [esi + ebx*4 + 0x10]
test edx, edx
js 0x665d83e6
cmp edx, dword [ebp + 0x20]
jae 0x665d83c3
mov ecx, dword [ebp + 4]
lea eax, [edx + edx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
add dword [edi], 1
mov ecx, edi
mov dword [esp], 0xfffffffa
mov eax, ebp
call sym._sqlite3VdbeChangeP4
mov dword [esi + ebx*4 + 0x10], 0xffffffff
add ebx, 1
cmp ebx, 2
jne 0x665d83a6
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x665d83a4
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esi]
mov dword [esp + 0x34], eax
sub eax, 1
test eax, eax
mov dword [esi], eax
jne 0x665d71a6
mov eax, esi
call sym._sqlite3KeyInfoUnref.part.187
jmp 0x665d71a6
cmp byte [esp + 0x84], 1
jne 0x665d885f
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov edx, edi
mov byte [esp + 0xac], 1
mov byte [esp + 0xad], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x1d4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x38], eax
mov ecx, eax
mov eax, ebp
call sym._sqlite3Select
test eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
jne 0x665d71a6
mov edx, dword [esi + 0x3c]
cmp byte [esi + 4], 0x75
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x40]
sete al
mov dword [esi + 0x40], 0
add eax, 1
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x1d4]
mov byte [esp + 0xac], al
mov eax, ebp
mov dword [esp + 0x40], edx
mov edx, esi
call sym._sqlite3Select
mov edx, dword [esi + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
call sym._sqlite3ExprListDelete
cmp byte [esi + 4], 0x73
mov eax, dword [esi + 0x34]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], edi
mov dword [esp + 0x30], eax
je 0x665d8d31
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x3c]
call sym._sqlite3ExprDelete
mov eax, dword [esp + 0x48]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x40], eax
movzx eax, byte [esp + 0x84]
cmp al, 1
je 0x665d7b74
cmp al, 9
je 0x665d8d16
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
cmp dword [esi + 8], 0
mov dword [esp + 0x48], eax
jne 0x665d8577
mov ecx, dword [esp + 0x38]
mov edx, esi
mov eax, ebp
call sym._computeLimitRegisters.part.490
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov edx, 0x6c
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xc], eax
mov ecx, dword [esi]
mov eax, ebp
call sym._selectInnerLoop
mov eax, dword [esp + 0x48]
mov edx, dword [edi + 0x18]
xor eax, 0xffffffff
js 0x665d85f7
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x665d85f7
mov edi, dword [edi + 0x20]
mov dword [ecx + eax*4], edi
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x48], eax
sub eax, 1
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x4c]
mov edx, 9
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, edi
mov eax, dword [edi + 0x18]
mov edi, dword [esp + 0x38]
xor edi, 0xffffffff
js 0x665d8642
mov edx, dword [eax + 0x70]
test edx, edx
je 0x665d8642
mov ecx, dword [ecx + 0x20]
mov dword [edx + edi*4], ecx
mov edi, dword [esp + 0x34]
mov ecx, dword [edi + 0x20]
lea edx, [ecx - 1]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x58], edx
mov dword [esp + 4], 0
mov edx, 0x3d
mov dword [esp], 0
mov eax, edi
call sym._sqlite3VdbeAddOp3
jmp 0x665d7b74
mov eax, dword [esi + 8]
lea ecx, [esp + 0x84]
mov edx, edi
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x1d4]
mov dword [esp + 0x44], eax
mov eax, ebp
call sym._sqlite3Select
test eax, eax
mov dword [esp + 0x28], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esp + 0x30], 0
jne 0x665d71a6
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [esi + 0x34], 0
test ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jne 0x665d8bbe
mov eax, dword [ebp + 0x1d4]
lea ecx, [esp + 0x84]
mov edx, esi
mov dword [esp + 0x40], eax
mov eax, ebp
call sym._sqlite3Select
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x34], edi
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x18]
add dword [esi + 0x18], eax
mov eax, dword [edi + 0x3c]
adc dword [esi + 0x1c], edx
test eax, eax
je 0x665d7b74
lea edx, [esp + 0xac]
call sym._sqlite3ExprIsInteger
test eax, eax
je 0x665d7b74
mov ecx, dword [esp + 0xac]
test ecx, ecx
jle 0x665d7b74
mov eax, ecx
cdq
cmp edx, dword [esi + 0x1c]
jb 0x665d875f
ja 0x665d7b74
cmp ecx, dword [esi + 0x18]
jae 0x665d7b74
mov dword [esp + 0x38], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x665d7b74
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x20]
cmp eax, edx
jae 0x665d878d
imul eax, eax, 0x14
add eax, dword [ecx + 4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x34]
sub edx, 1
mov eax, dword [eax + 0x18]
mov dword [eax + 0x58], edx
jmp 0x665d7b74
mov eax, dword [esp + 0x40]
xor ecx, ecx
lea edx, [eax*4]
mov eax, dword [esp + 0x24]
call sym._sqlite3DbMallocRaw
lea ecx, [esp + 0xac]
test eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
jne 0x665d7419
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esi + 0x30], eax
mov edx, eax
mov eax, dword [ebp]
call sym._sqlite3ExprListDup
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [ecx + 0x30], eax
jmp 0x665d7487
mov eax, dword [ebp + 0x48]
lea edi, [eax + 1]
add eax, 2
mov dword [ebp + 0x48], eax
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [esp + 0x68], edi
test eax, eax
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
cmovne ecx, edx
mov edx, 0x21
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x64]
mov dword [esp + 4], 0
mov ecx, edi
mov edx, 0x21
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call sym._sqlite3VdbeAddOp3
jmp 0x665d74e1
mov eax, dword [ebp + 0x44]
mov edx, 0x39
mov ecx, eax
mov dword [esp + 0x3c], eax
add eax, 1
mov dword [ebp + 0x44], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._sqlite3VdbeAddOp3
mov edx, esi
mov dword [esi + 0x10], eax
jmp 0x665d8894
mov edx, eax
mov eax, dword [edx + 0x38]
test eax, eax
jne 0x665d8892
or word [edx + 6], 8
jmp 0x665d842d
mov edi, dword [esp + 0x38]
imul eax, eax, 0x48
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + eax + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x665d8225
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xb4]
mov dword [esp + 4], ebx
mov edx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea eax, [esp + 0xb8]
mov dword [esp], eax
mov eax, ebp
call sym._generateOutputSubroutine.isra.441
mov dword [esp + 0x70], eax
jmp 0x665d76f1
movzx edx, byte [esi + 4]
mov ecx, dword [esp + 0x44]
cmp dl, 0x74
setne al
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, ebp
call sym._explainComposite.part.431
jmp 0x665d7b81
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, 0x11
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call sym._sqlite3VdbeAddOp3
jmp 0x665d7840
movzx edx, byte [esi + 4]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebp
call sym._explainComposite.part.431
jmp 0x665d7a08
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov edx, 0x6c
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov edx, 0x68
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x40]
test eax, eax
je 0x665d8d42
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov eax, dword [eax]
mov edx, 0x2f
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x30]
mov edx, 0x5f
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov eax, dword [edi + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
test edx, edx
jle 0x665d8a23
mov ecx, eax
mov eax, edi
call sym._codeOffset.part.440
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0
mov edx, esi
mov dword [esp + 4], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esi]
mov eax, ebp
call sym._selectInnerLoop
cmp dword [esp + 0x50], 0
je 0x665d8a86
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, 0x8c
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x18]
xor ecx, 0xffffffff
mov dword [esp + 0x30], eax
js 0x665d8aa3
mov edx, dword [eax + 0x70]
test edx, edx
je 0x665d8aa3
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [eax - 1]
mov eax, dword [esp + 0x30]
mov dword [eax + 0x58], edx
mov edx, esi
mov dword [esi + 0x34], 0
mov eax, ebp
call sym._sqlite3Select
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x48]
mov eax, dword [edi + 0x18]
xor ecx, 0xffffffff
mov dword [esp + 0x28], eax
js 0x665d8b05
mov edx, dword [eax + 0x70]
test edx, edx
je 0x665d8b05
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov edx, dword [edi + 0x20]
mov eax, dword [esp + 0x28]
sub edx, 1
mov dword [eax + 0x58], edx
jmp 0x665d8363
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x30]
mov edx, eax
mov dword [esp], str.ORDER
mov eax, ebp
call sym._sqlite3ResolveOrderGroupBy.isra.401
jmp 0x665d74b7
cmp dword [esp + 0x40], 0
je 0x665d8d73
mov ecx, dword [esp + 0x30]
mov edx, 0x3c
mov byte [esp + 0xac], 8
mov byte [esp + 0xad], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, ecx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x28]
add eax, 2
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x48]
add eax, 1
mov dword [ebp + 0x48], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
jmp 0x665d82ac
lea eax, [esp + 0xac]
mov dword [esp + 0x38], eax
jmp 0x665d73f7
mov eax, 7
jmp 0x665d71d0
mov eax, dword [esp + 0x34]
mov edx, 0x2e
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x1d4]
lea ecx, [esp + 0x84]
mov edx, esi
mov dword [esp + 0x40], eax
mov eax, ebp
call sym._sqlite3Select
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x34], edi
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x18]
add dword [esi + 0x18], eax
mov eax, dword [edi + 0x3c]
adc dword [esi + 0x1c], edx
test eax, eax
je 0x665d876d
lea edx, [esp + 0xac]
call sym._sqlite3ExprIsInteger
test eax, eax
je 0x665d876d
mov ecx, dword [esp + 0xac]
test ecx, ecx
jle 0x665d876d
mov eax, ecx
cdq
cmp dword [esi + 0x1c], edx
jb 0x665d876d
ja 0x665d8767
cmp dword [esi + 0x18], ecx
jbe 0x665d876d
jmp 0x665d8767
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, 0x3c
mov byte [esp + 0xac], 5
mov byte [esp + 0xad], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x48]
add eax, 1
mov dword [ebp + 0x48], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, 0x39
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
jmp 0x665d8300
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
jmp 0x665d83a4
sub eax, 1
mov byte [ebp + 0x13], al
movzx eax, al
mov edi, dword [ebp + eax*4 + 0x18]
jmp 0x665d7de7
mov dword [esp + 0x28], 7
jmp 0x665d71a6
mov eax, esi
jmp 0x665d8d1c
mov eax, edx
mov edx, dword [eax + 0x34]
test edx, edx
jne 0x665d8d1a
mov ecx, dword [eax]
mov eax, ebp
call sym._generateColumnNames
jmp 0x665d8548
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], edx
jmp 0x665d8508
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov edx, 0x66
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
jmp 0x665d89e7
mov dword [esp + 0x3c], 0
jmp 0x665d8225
mov ecx, dword [esp + 0x30]
mov edx, 0x3c
mov byte [esp + 0xac], 6
mov byte [esp + 0xad], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, ecx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x28]
add eax, 2
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x48]
add eax, 1
mov dword [ebp + 0x48], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov eax, edi
call sym._sqlite3VdbeAddOp3
jmp 0x665d8cc2