Function at 0x60940974
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
push esi
push ebx
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
cmp dword [ebp + 0xc], 0
je 0x609409c5
cmp byte [eax + 0x1e], 0
jne 0x609409c5
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x609409c5
add esp, 0xfffffff4
push 0
push 0
push 0
push 0x15
mov ecx, dword [ebp + 8]
push ecx
call sym._sqlite3AuthCheck
add esp, 0x20
test eax, eax
je 0x609409d0
mov eax, 1
jmp 0x609419ab
lea ebx, [ebp - 0x30]
mov dword [ebp - 0xf8], ebx
mov edi, ebx
cld
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 0x10]
cmp byte [ebx], 4
ja 0x60940a11
add esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
push dword [eax + 0x18]
mov edx, dword [ebp - 0xa8]
push edx
call sym._sqlite3ExprListDelete
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], 0
and byte [ecx + 6], 0xfe
add esp, 0x10
add esp, 0xfffffffc
push 0
mov ebx, dword [ebp + 0xc]
push ebx
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3SelectPrep
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x74], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 0x90], edx
mov ecx, dword [ebx]
mov dword [ebp - 0x8c], ecx
add esp, 0x10
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x40], 0
jne 0x60941953
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0x1e], 0
jne 0x60941953
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 6]
shr ax, 2
mov ecx, eax
and ecx, 1
mov dword [ebp - 0x88], ecx
add esp, 0xfffffff4
push ebx
call sym._sqlite3GetVdbe
mov dword [ebp - 0x84], eax
add esp, 0x10
test eax, eax
je 0x60941953
xor esi, esi
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x1c], 0
jne 0x60940bdc
mov edx, dword [ebp - 0x90]
movsx eax, word [edx]
cmp esi, eax
jge 0x60940bdc
mov dword [ebp - 0x108], 8
mov edi, dword [ebp - 0x90]
add edi, dword [ebp - 0x108]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x60940bba
cmp byte [edi + 0x14], 0
jne 0x60940bba
add esp, 0xfffffff4
mov ebx, dword [ebp + 0xc]
push ebx
call sym._sqlite3SelectExprHeight
mov edx, dword [ebp + 8]
add dword [edx + 0x214], eax
mov ecx, dword [ebp - 0xac]
movzx eax, word [ecx + 6]
shr ax, 2
mov ebx, eax
and ebx, 1
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp - 0x88]
push eax
push esi
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sym._flattenSubquery
add esp, 0x30
test eax, eax
je 0x60940b4c
test ebx, ebx
je 0x60940b38
mov dword [ebp - 0x88], 1
mov ebx, dword [ebp + 0xc]
or byte [ebx + 6], 4
mov dword [ebp - 0x108], 0xffffffd0
mov esi, 0xffffffff
jmp 0x60940b78
add esp, 0xfffffffc
push dword [edi + 0x18]
push 9
lea ebx, [ebp - 0x40]
push ebx
call sym._sqlite3SelectDestInit
add esp, 0xfffffffc
push ebx
mov eax, dword [ebp - 0xac]
push eax
mov edx, dword [ebp + 8]
push edx
call sym._sqlite3Select
mov byte [edi + 0x14], 1
add esp, 0x20
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0x1e], 0
jne 0x60941953
add esp, 0xfffffff4
mov ebx, dword [ebp + 0xc]
push ebx
call sym._sqlite3SelectExprHeight
mov edx, dword [ebp + 8]
sub dword [edx + 0x214], eax
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x90], ecx
add esp, 0x10
mov ebx, dword [ebp + 0x10]
cmp byte [ebx], 4
jbe 0x60940bba
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x74], eax
add dword [ebp - 0x108], 0x38
inc esi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x60940bdc
mov ebx, dword [ebp - 0x90]
movsx eax, word [ebx]
cmp esi, eax
jl 0x60940ab4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0xc]
mov dword [ebp - 0x94], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x78], eax
mov ebx, dword [ecx + 0x14]
mov dword [ebp - 0x98], ebx
movzx eax, word [ecx + 6]
and eax, 1
movzx esi, ax
cmp dword [ecx + 0x1c], 0
je 0x60940c80
cmp dword [ecx + 0x24], 0
jne 0x60940c64
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x60940c3b
mov esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ecx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x60940c28
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x60940c64
cmp edx, eax
jle 0x60940c64
add esp, 0xfffffff8
push 0x60940950
mov ebx, dword [ebp + 8]
push ebx
call sym._sqlite3ErrorMsg
jmp 0x609409c5
add esp, 0xfffffffc
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sym._multiSelect
jmp 0x609419ab
add esp, 0xfffffffc
mov ebx, dword [ebp - 0x8c]
push dword [ebx]
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 8]
push edx
call sym._checkForMultiColumnSelectError
add esp, 0x10
test eax, eax
jne 0x60941953
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + 6]
and eax, 5
cmp ax, 1
jne 0x60940cd8
add esp, 0xfffffffc
push 0
push dword [ecx]
mov ebx, dword [ebp - 0xa8]
push ebx
call sym._sqlite3ExprListDup
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], eax
mov dword [ebp - 0x78], eax
and byte [edx + 6], 0xfe
xor esi, esi
add esp, 0x10
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x60940d2c
add esp, 0xfffffff8
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym._keyInfoFromExprList
mov ecx, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x44]
mov edx, dword [ebp - 0x74]
mov dword [edx + 8], eax
inc dword [ebx + 0x44]
add esp, 0xfffffffc
push 0xfffffffffffffff0
push ecx
push 0
mov eax, dword [edx]
add eax, 2
push eax
push dword [edx + 8]
push 0x28
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp4
mov ebx, eax
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x40], ebx
add esp, 0x30
jmp 0x60940d31
mov ebx, 0xffffffff
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 9
jne 0x60940d55
mov eax, dword [ebp - 0x8c]
push dword [eax]
push dword [ecx + 4]
push 0x28
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeAddOp2
add esp, 0x10
add esp, 0xfffffff4
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeMakeLabel
mov dword [ebp - 0xa4], eax
add esp, 0xfffffffc
push eax
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call sym._computeLimitRegisters
add esp, 0x20
test esi, esi
je 0x60940dc8
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x44]
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp + 8]
inc dword [eax + 0x44]
add esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
push dword [edx]
push eax
call sym._keyInfoFromExprList
add esp, 0xfffffffc
push 0xfffffffffffffff0
push eax
push 0
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
push 0x28
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp4
add esp, 0x30
jmp 0x60940dd2
mov dword [ebp - 0x9c], 0xffffffff
cmp dword [ebp - 0x88], 0
jne 0x60940e84
cmp dword [ebp - 0x78], 0
jne 0x60940e8a
add esp, 0xfffffff4
push 0
lea eax, [ebp - 0x74]
push eax
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x90]
push ecx
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3WhereBegin
mov dword [ebp - 0x80], eax
add esp, 0x20
test eax, eax
je 0x60941953
test ebx, ebx
jl 0x60940e40
cmp dword [ebp - 0x74], 0
jne 0x60940e40
add esp, 0xfffffffc
push 1
push ebx
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeChangeToNoop
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x40], 0xffffffff
add esp, 0x10
add esp, 0xfffffff8
mov ebx, dword [ebp - 0x80]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
mov eax, dword [ebp + 0x10]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x74]
push 0
push 0
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
mov ebx, dword [ebp + 8]
push ebx
call sym._selectInnerLoop
add esp, 0x30
add esp, 0xfffffff4
mov eax, dword [ebp - 0x80]
push eax
call sym._sqlite3WhereEnd
jmp 0x60941901
cmp dword [ebp - 0x78], 0
je 0x60940ec2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x60940ea6
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x60940e98
mov eax, dword [ebp - 0x78]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x60940ec2
mov esi, esi
mov word [eax + 0x10], 0
dec edx
add eax, 0x14
test edx, edx
jg 0x60940eb4
add esp, 0xfffffff4
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeMakeLabel
mov dword [ebp - 0xc4], eax
lea ebx, [ebp - 0x70]
mov dword [ebp - 0xfc], ebx
mov edi, ebx
xor eax, eax
cld
mov ecx, 9
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x54], edx
add esp, 0x10
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x60940f18
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x60940f1f
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
add esp, 0xfffffff8
mov ecx, dword [ebp - 0x8c]
push ecx
mov ebx, dword [ebp - 0xfc]
push ebx
call sym._sqlite3ExprAnalyzeAggList
add esp, 0xfffffff8
push dword [ebp - 0x74]
push ebx
call sym._sqlite3ExprAnalyzeAggList
add esp, 0x20
cmp dword [ebp - 0x98], 0
je 0x60940f66
add esp, 0xfffffff8
mov eax, dword [ebp - 0x98]
push eax
push ebx
call sym._sqlite3ExprAnalyzeAggregates
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
xor esi, esi
cmp esi, dword [ebp - 0xc]
jge 0x60940f9c
xor ebx, ebx
lea esi, [esi]
add esp, 0xfffffff8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx]
push dword [eax + 0x10]
mov edx, dword [ebp - 0xfc]
push edx
call sym._sqlite3ExprAnalyzeAggList
add esp, 0x10
add ebx, 0x10
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x60940f78
mov ecx, dword [ebp - 0xa8]
cmp byte [ecx + 0x1e], 0
jne 0x60941953
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x60941624
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x2c], eax
inc dword [ebx + 0x44]
add esp, 0xfffffff8
push edx
push ebx
call sym._keyInfoFromExprList
mov dword [ebp - 0xc8], eax
add esp, 0xfffffffc
push 0xfffffffffffffff0
push eax
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push 0x28
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeAddOp4
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
mov dword [ebp - 0xb8], ecx
lea ebx, [eax + 2]
mov dword [ebp - 0xbc], ebx
lea ecx, [eax + 3]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], ecx
mov eax, ecx
mov dword [ebp - 0xd0], eax
add esp, 0x30
add esp, 0xfffffff4
mov ebx, dword [ebp - 0x84]
push ebx
call sym._sqlite3VdbeMakeLabel
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
lea ecx, [eax + 1]
mov dword [edx + 0x48], ecx
mov eax, ecx
mov dword [ebp - 0xdc], eax
add esp, 0xfffffff4
push ebx
call sym._sqlite3VdbeMakeLabel
mov dword [ebp - 0xd8], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp - 0x78]
add eax, dword [edx]
mov dword [ebx + 0x48], eax
lea ecx, [eax + 1]
mov dword [ebp - 0xb4], ecx
add eax, dword [edx]
mov dword [ebx + 0x48], eax
add esp, 0x20
mov ebx, dword [ebp - 0xbc]
push ebx
push 0
push 7
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp2
mov edx, dword [ebp - 0xb8]
push edx
push 0
push 7
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeAddOp2
add esp, 0x20
mov ebx, dword [ebp - 0xd8]
push ebx
mov eax, dword [ebp - 0xdc]
push eax
push 2
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeAddOp2
add esp, 0xfffffff4
push 0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov ebx, dword [ebp - 0x90]
push ebx
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3WhereBegin
mov dword [ebp - 0x80], eax
add esp, 0x30
test eax, eax
je 0x60941953
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x60941118
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xc0], 0
jmp 0x609412bf
mov dword [ebp - 0xc0], 1
mov edi, dword [eax]
lea ebx, [edi + 1]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xe4], ebx
xor esi, esi
mov edx, dword [ebp - 0x1c]
cmp esi, edx
jge 0x60941159
mov ecx, dword [ebp - 0x20]
xor eax, eax
lea esi, [esi]
cmp dword [ecx + eax + 0xc], ebx
jl 0x60941151
inc dword [ebp - 0xe4]
inc ebx
add eax, 0x18
inc esi
cmp esi, edx
jl 0x60941144
add esp, 0xfffffff8
mov ecx, dword [ebp - 0xe4]
push ecx
mov ebx, dword [ebp + 8]
push ebx
call sym._sqlite3GetTempRange
mov dword [ebp - 0xe0], eax
add esp, 0xfffffff4
push ebx
call sym._sqlite3ExprCacheClear
add esp, 0x20
push 0
mov eax, dword [ebp - 0xe0]
push eax
push dword [ebp - 0x78]
push ebx
call sym._sqlite3ExprCodeExprList
mov eax, dword [ebp - 0xe0]
add eax, edi
push eax
push dword [ebp - 0x2c]
push 0x34
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeAddOp2
mov ebx, dword [ebp - 0x100]
xor esi, esi
add esp, 0x20
cmp esi, dword [ebp - 0x1c]
jge 0x60941218
mov dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
add eax, dword [ebp - 0x20]
cmp dword [eax + 0xc], ebx
jl 0x6094120b
mov ecx, dword [ebp - 0xe0]
lea edi, [ecx + ebx]
add esp, 0xfffffff4
push edi
push dword [eax + 4]
push dword [eax + 8]
push dword [eax]
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3ExprCodeGetColumn
add esp, 0x20
cmp edi, eax
je 0x6094120a
push edi
push eax
push 0xf
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeAddOp2
add esp, 0x10
inc ebx
add dword [ebp - 0x104], 0x18
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x609411c4
add esp, 0xfffffff4
mov ecx, dword [ebp + 8]
push ecx
call sym._sqlite3GetTempReg
mov ebx, eax
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp - 0xe4]
push eax
mov edx, dword [ebp - 0xe0]
push edx
push 0x1e
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeAddOp3
add esp, 0x30
push ebx
push dword [ebp - 0x2c]
push 0x43
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp2
add esp, 0xfffffff8
push ebx
mov edx, dword [ebp + 8]
push edx
call sym._sqlite3ReleaseTempReg
add esp, 0x20
add esp, 0xfffffffc
mov ecx, dword [ebp - 0xe4]
push ecx
mov ebx, dword [ebp - 0xe0]
push ebx
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3ReleaseTempRange
add esp, 0xfffffff4
mov edx, dword [ebp - 0x80]
push edx
call sym._sqlite3WhereEnd
add esp, 0x20
mov ecx, dword [ebp - 0xc4]
push ecx
push dword [ebp - 0x2c]
push 0x3f
mov ebx, dword [ebp - 0x84]
push ebx
call sym._sqlite3VdbeAddOp2
mov byte [ebp - 0x2f], 1
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3ExprCacheClear
add esp, 0x20
add esp, 0xfffffff4
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeCurrentAddr
mov edi, eax
add esp, 0xfffffff4
mov ecx, dword [ebp + 8]
push ecx
call sym._sqlite3ExprCacheClear
xor ebx, ebx
add esp, 0x20
mov eax, dword [ebp - 0x78]
cmp ebx, dword [eax]
jge 0x60941348
xor esi, esi
mov esi, esi
cmp dword [ebp - 0xc0], 0
je 0x60941318
add esp, 0xfffffff4
mov eax, dword [ebp - 0xb4]
add eax, ebx
push eax
push ebx
push dword [ebp - 0x2c]
push 0x1c
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp3
add esp, 0x20
jmp 0x6094133d
mov byte [ebp - 0x30], 1
add esp, 0xfffffffc
mov eax, dword [ebp - 0xb4]
add eax, ebx
push eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
push dword [eax + esi]
mov edx, dword [ebp + 8]
push edx
call sym._sqlite3ExprCode
add esp, 0x10
add esi, 0x14
inc ebx
mov eax, dword [ebp - 0x78]
cmp ebx, dword [eax]
jl 0x609412ec
add esp, 0xfffffffc
push 0xfffffffffffffffa
mov ecx, dword [ebp - 0xc8]
push ecx
mov eax, dword [ebp - 0x78]
push dword [eax]
mov ebx, dword [ebp - 0xb4]
push ebx
mov eax, dword [ebp - 0xb0]
push eax
push 0x18
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeAddOp4
add esp, 0x20
add esp, 0xfffffff4
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeCurrentAddr
mov ebx, eax
add esp, 0xfffffff4
lea eax, [ebx + 1]
push eax
push 0
push eax
push 0x19
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp3
add esp, 0x30
mov eax, dword [ebp - 0x78]
push dword [eax]
mov edx, dword [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0xb4]
push ecx
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3ExprCodeMove
mov edx, dword [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0xd0]
push ecx
push 2
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp2
add esp, 0x20
mov edx, dword [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0xbc]
push ecx
push 0x70
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp2
mov edx, dword [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0xdc]
push ecx
push 2
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp2
add esp, 0x20
add esp, 0xfffffff8
push ebx
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeJumpHere
add esp, 0xfffffff8
mov ecx, dword [ebp - 0xf8]
push ecx
mov ebx, dword [ebp + 8]
push ebx
call sym._updateAccumulator
add esp, 0x20
mov eax, dword [ebp - 0xb8]
push eax
push 1
push 7
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeAddOp2
add esp, 0x10
cmp dword [ebp - 0xc0], 0
je 0x6094147c
push edi
push dword [ebp - 0x2c]
push 0x42
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeAddOp2
add esp, 0x10
jmp 0x609414a3
add esp, 0xfffffff4
mov ebx, dword [ebp - 0x80]
push ebx
call sym._sqlite3WhereEnd
add esp, 0xfffffffc
push 1
mov eax, dword [ebp - 0xd4]
push eax
mov edx, dword [ebp - 0x84]
push edx
call sym._sqlite3VdbeChangeToNoop
add esp, 0x20
mov ecx, dword [ebp - 0xcc]
push ecx
mov ebx, dword [ebp - 0xd0]
push ebx
push 2
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp2
mov edx, dword [ebp - 0xc4]
push edx
push 0
push 1
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeAddOp2
add esp, 0x20
add esp, 0xfffffff4
mov ebx, dword [ebp - 0x84]
push ebx
call sym._sqlite3VdbeCurrentAddr
mov esi, eax
mov eax, dword [ebp - 0xbc]
push eax
push 1
push 7
push ebx
call sym._sqlite3VdbeAddOp2
add esp, 0x20
add esp, 0xfffffffc
mov edx, dword [ebp - 0xd0]
push edx
push 3
push ebx
call sym._sqlite3VdbeAddOp1
add esp, 0xfffffff8
mov ecx, dword [ebp - 0xcc]
push ecx
push ebx
call sym._sqlite3VdbeResolveLabel
add esp, 0x20
add esp, 0xfffffff4
push ebx
call sym._sqlite3VdbeCurrentAddr
mov dword [ebp - 0xcc], eax
add eax, 2
push eax
mov ebx, dword [ebp - 0xb8]
push ebx
push 0x70
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp2
add esp, 0x20
add esp, 0xfffffffc
mov edx, dword [ebp - 0xd0]
push edx
push 3
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeAddOp1
add esp, 0xfffffff8
mov ebx, dword [ebp - 0xf8]
push ebx
mov eax, dword [ebp + 8]
push eax
call sym._finalizeAggFunctions
add esp, 0x20
push 8
mov ebx, dword [ebp - 0xcc]
inc ebx
push ebx
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sym._sqlite3ExprIfFalse
add esp, 0xfffffff8
push esi
push ebx
mov ebx, dword [ebp + 0x10]
push ebx
mov eax, dword [ebp - 0x9c]
push eax
push dword [ebp - 0x74]
push 0
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sym._selectInnerLoop
add esp, 0x40
add esp, 0xfffffffc
mov ebx, dword [ebp - 0xd0]
push ebx
push 3
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp1
add esp, 0xfffffff8
mov edx, dword [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeResolveLabel
add esp, 0x20
add esp, 0xfffffff8
mov ebx, dword [ebp - 0xf8]
push ebx
mov eax, dword [ebp + 8]
push eax
call sym._resetAccumulator
add esp, 0xfffffffc
mov edx, dword [ebp - 0xdc]
push edx
push 3
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeAddOp1
add esp, 0x20
jmp 0x609418eb
mov dword [ebp - 0xe8], 0
add esp, 0xfffffff8
mov ebx, dword [ebp - 0xf8]
push ebx
mov eax, dword [ebp + 0xc]
push eax
call sym._isSimpleCount
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x6094176c
add esp, 0xfffffff8
push dword [ebx + 0x44]
mov edx, dword [ebp + 8]
push dword [edx]
call sym._sqlite3SchemaToIndex
mov esi, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x44]
mov dword [ebp - 0xec], ecx
mov eax, dword [ebp + 8]
inc dword [eax + 0x44]
mov dword [ebp - 0xf0], 0
xor edi, edi
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0xf4], edx
add esp, 0xfffffff8
push esi
push eax
call sym._sqlite3CodeVerifySchema
add esp, 0x20
add esp, 0xfffffff4
push dword [ebx + 4]
push 0
push dword [ebx + 0x18]
push esi
mov ecx, dword [ebp + 8]
push ecx
call sym._sqlite3TableLock
mov edx, dword [ebx + 0x14]
add esp, 0x20
test edx, edx
je 0x609416c9
nop
test edi, edi
je 0x609416c0
mov eax, dword [edi + 4]
cmp dword [edx + 4], eax
jge 0x609416c2
mov edi, edx
mov edx, dword [edx + 0x20]
test edx, edx
jne 0x609416b4
test edi, edi
je 0x609416f4
mov eax, dword [ebx + 0xc]
cmp dword [edi + 4], eax
jge 0x609416f4
mov ebx, dword [edi + 0x14]
mov dword [ebp - 0xf4], ebx
add esp, 0xfffffff8
push edi
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3IndexKeyinfo
mov dword [ebp - 0xf0], eax
add esp, 0x10
add esp, 0xfffffff4
push esi
mov edx, dword [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0xec]
push ecx
push 0x26
mov ebx, dword [ebp - 0x84]
push ebx
call sym._sqlite3VdbeAddOp3
add esp, 0x20
cmp dword [ebp - 0xf0], 0
je 0x60941734
push 0xfffffffffffffff0
mov eax, dword [ebp - 0xf0]
push eax
push 0xffffffffffffffff
push ebx
call sym._sqlite3VdbeChangeP4
add esp, 0x10
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
mov edx, dword [ebp - 0xec]
push edx
push 0x1f
mov ecx, dword [ebp - 0x84]
push ecx
call sym._sqlite3VdbeAddOp2
add esp, 0xfffffffc
mov ebx, dword [ebp - 0xec]
push ebx
push 0x2a
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeAddOp1
jmp 0x6094188c
mov dword [ebp - 0x7c], 0
add esp, 0xfffffff4
mov edx, dword [ebp + 0xc]
push edx
call sym._minMaxQuery
mov bl, al
add esp, 0x10
test bl, bl
je 0x609417d9
add esp, 0xfffffffc
push 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax + 0x10]
mov eax, dword [ebp - 0xa8]
push eax
call sym._sqlite3ExprListDup
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xe8], eax
add esp, 0x10
test eax, eax
je 0x609417d9
mov edx, dword [ebp - 0xa8]
cmp byte [edx + 0x1e], 0
jne 0x609417d9
mov edx, dword [eax + 0xc]
cmp bl, 1
setne al
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
add esp, 0xfffffff8
mov ecx, dword [ebp - 0xf8]
push ecx
mov eax, dword [ebp + 8]
push eax
call sym._resetAccumulator
add esp, 0xfffffff4
movzx eax, bl
push eax
lea eax, [ebp - 0x7c]
push eax
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x90]
push ecx
mov eax, dword [ebp + 8]
push eax
call sym._sqlite3WhereBegin
mov dword [ebp - 0x80], eax
add esp, 0x30
test eax, eax
jne 0x60941834
add esp, 0xfffffff8
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xa8]
push ecx
call sym._sqlite3ExprListDelete
jmp 0x60941950
add esp, 0xfffffff8
mov eax, dword [ebp - 0xf8]
push eax
mov edx, dword [ebp + 8]
push edx
call sym._updateAccumulator
add esp, 0x10
cmp dword [ebp - 0x7c], 0
jne 0x6094186d
test bl, bl
je 0x6094186d
mov ecx, dword [ebp - 0x80]
push dword [ecx + 0x14]
push 0
push 1
mov ebx, dword [ebp - 0x84]
push ebx
call sym._sqlite3VdbeAddOp2
add esp, 0x10
add esp, 0xfffffff4
mov eax, dword [ebp - 0x80]
push eax
call sym._sqlite3WhereEnd
add esp, 0xfffffff8
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sym._finalizeAggFunctions
add esp, 0x20
mov dword [ebp - 0x74], 0
push 8
mov ebx, dword [ebp - 0xc4]
push ebx
mov eax, dword [ebp - 0x98]
push eax
mov edx, dword [ebp + 8]
push edx
call sym._sqlite3ExprIfFalse
add esp, 0xfffffff8
push ebx
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push ebx
mov eax, dword [ebp + 8]
push eax
call sym._selectInnerLoop
add esp, 0x40
add esp, 0xfffffff8
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xa8]
push ecx
call sym._sqlite3ExprListDelete
add esp, 0x10
add esp, 0xfffffff8
mov ebx, dword [ebp - 0xc4]
push ebx
mov eax, dword [ebp - 0x84]
push eax
call sym._sqlite3VdbeResolveLabel
add esp, 0x10
cmp dword [ebp - 0x74], 0
je 0x60941930
add esp, 0xfffffff4
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x8c]
push dword [ecx]
mov ebx, dword [ebp - 0x84]
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call sym._generateSortTail
add esp, 0x20
add esp, 0xfffffff8
mov ecx, dword [ebp - 0xa4]
push ecx
mov ebx, dword [ebp - 0x84]
push ebx
call sym._sqlite3VdbeResolveLabel
mov dword [ebp - 0xa0], 0
add esp, 0x10
cmp dword [ebp - 0xa0], 0
jne 0x60941981
mov eax, dword [ebp + 0x10]
cmp byte [eax], 5
jne 0x60941981
add esp, 0xfffffffc
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x90]
push ecx
mov ebx, dword [ebp + 8]
push ebx
call sym._generateColumnNames
add esp, 0x10
add esp, 0xfffffff8
push dword [ebp - 0x20]
mov eax, dword [ebp - 0xa8]
push eax
call sym._sqlite3DbFree
add esp, 0xfffffff8
push dword [ebp - 0x10]
mov edx, dword [ebp - 0xa8]
push edx
call sym._sqlite3DbFree
mov eax, dword [ebp - 0xa0]
lea esp, [ebp - 0x128]
pop ebx
pop esi
pop edi
leave
ret