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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x54], eax
mov edi, dword [eax]
mov al, byte [esi]
cmp al, 0x39
ja 0x61e37d2f
cmp al, 0x34
jae 0x61e38c20
cmp al, 0x2d
je 0x61e38bef
ja 0x61e37d1a
cmp al, 0x14
jmp 0x61e37d24
cmp al, 0x30
je 0x61e38c20
cmp al, 0x31
je 0x61e38ba6
jmp 0x61e38c67
cmp al, 0x82
je 0x61e37d74
ja 0x61e37d3d
cmp al, 0x3b
je 0x61e37dae
cmp al, 0x7f
jmp 0x61e37d24
cmp al, 0x9c
je 0x61e38bef
cmp al, 0x9d
je 0x61e3863c
cmp al, 0x90
jne 0x61e38c67
mov eax, dword [ebp - 0x54]
mov ecx, str.parameters
mov dx, word [eax + 0x18]
mov dword [esp], 0x26
mov eax, edi
call sym._notValid.isra.404
jmp 0x61e38c67
mov eax, dword [ebp - 0x54]
mov ebx, dword [esi + 0xc]
mov ecx, str.the__.__operator
mov dx, word [eax + 0x18]
mov dword [esp], 0x20
mov eax, edi
call sym._notValid.isra.404
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x70], 0
cmp byte [ecx], 0x3b
je 0x61e37dc4
mov eax, dword [ebx + 8]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x70], eax
jmp 0x61e37dc4
mov eax, dword [esi + 8]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], eax
jmp 0x61e37dff
mov eax, dword [ebx + 8]
cmp byte [edi + 0xc4], 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x6c], eax
jbe 0x61e37de6
mov eax, dword [edi + 0x10c]
mov edx, esi
call sym._sqlite3RenameTokenRemap.isra.132
cmp byte [edi + 0xc4], 1
jbe 0x61e37dff
mov eax, dword [edi + 0x10c]
lea edx, [esi + 0x2c]
mov ecx, ebx
call sym._sqlite3RenameTokenRemap.isra.132
cmp dword [ebp - 0x70], 0
mov eax, dword [edi]
mov dword [ebp - 0x78], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [ebp - 0x80], eax
je 0x61e37e7b
mov eax, dword [ebp - 0x54]
test byte [eax + 0x18], 6
jne 0x61e37e6d
mov eax, dword [ebp - 0x80]
xor ebx, ebx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x58], eax
cmp ebx, dword [ebp - 0x58]
jge 0x61e37e64
mov ecx, dword [ebp - 0x80]
mov eax, ebx
mov edx, dword [ebp - 0x70]
shl eax, 4
add eax, dword [ecx + 0x10]
mov ecx, eax
mov eax, dword [eax]
mov dword [ebp - 0x60], ecx
call sym._sqlite3StrICmp
test eax, eax
mov ecx, dword [ebp - 0x60]
jne 0x61e37e61
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x78], eax
jmp 0x61e37e7b
inc ebx
jmp 0x61e37e33
mov dword [ebp - 0x78], 0
jmp 0x61e37e7b
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], 0x9e
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x2c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 0x88], eax
je 0x61e380fd
add eax, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x94]
cmp ebx, dword [eax]
jge 0x61e380cf
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x61e37f86
test byte [eax + 9], 8
je 0x61e37f86
mov eax, dword [eax]
mov dword [ebp - 0x90], 0
xor ebx, ebx
mov dword [ebp - 0x8c], eax
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
cmp ebx, dword [ebp - 0x9c]
jge 0x61e37f6f
imul eax, ebx, 0x18
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ecx + eax + 0xc]
mov ecx, dword [ebp - 0x70]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x5c]
call sym._sqlite3MatchSpanName
test eax, eax
je 0x61e37f6c
mov eax, dword [ebp - 0x74]
inc dword [ebp - 0x58]
mov word [esi + 0x20], bx
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x64], eax
inc ebx
jmp 0x61e37f24
cmp dword [ebp - 0x5c], 0
je 0x61e380c0
cmp dword [ebp - 0x90], 0
jne 0x61e380c0
cmp dword [ebp - 0x70], 0
je 0x61e37f9b
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x78]
cmp dword [eax + 0x48], ebx
jne 0x61e380c0
cmp dword [ebp - 0x5c], 0
je 0x61e37fe2
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0xc]
test ebx, ebx
mov eax, ebx
jne 0x61e37fb2
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x5c]
call sym._sqlite3StrICmp
test eax, eax
jne 0x61e380c0
cmp byte [edi + 0xc4], 1
jbe 0x61e37fe2
test ebx, ebx
je 0x61e37fe2
mov eax, dword [edi + 0x10c]
mov ecx, dword [ebp - 0xa4]
xor edx, edx
call sym._sqlite3RenameTokenRemap.isra.132
mov eax, dword [ebp - 0x60]
inc eax
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
cmove eax, dword [ebp - 0x74]
xor ebx, ebx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x7c]
movsx eax, word [eax + 0x2a]
mov dword [ebp - 0x9c], eax
cmp ebx, dword [ebp - 0x9c]
jge 0x61e380b7
mov ecx, dword [ebp - 0x90]
mov eax, ebx
mov edx, dword [ebp - 0x6c]
shl eax, 4
mov eax, dword [ecx + eax]
call sym._sqlite3StrICmp
test eax, eax
jne 0x61e380b1
cmp dword [ebp - 0x58], 1
je 0x61e38061
mov eax, dword [ebp - 0x7c]
inc dword [ebp - 0x58]
movsx eax, word [eax + 0x28]
cmp eax, ebx
mov eax, 0xffffffff
cmovne eax, ebx
mov word [esi + 0x20], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
jmp 0x61e380b7
mov eax, dword [ebp - 0x74]
test byte [eax + 0x24], 4
jne 0x61e380b1
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x61e38041
mov eax, dword [ecx + 4]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
cmp dword [ebp - 0x60], edx
jge 0x61e38041
mov eax, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
mov eax, dword [eax + ecx*8]
call sym._sqlite3StrICmp
test eax, eax
je 0x61e380b1
inc dword [ebp - 0x60]
mov ecx, dword [ebp - 0xa8]
jmp 0x61e38081
inc ebx
jmp 0x61e38015
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], eax
inc dword [ebp - 0x94]
add dword [ebp - 0x74], 0x48
jmp 0x61e37ed7
cmp dword [ebp - 0x64], 0
je 0x61e380fd
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x64]
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x2c], eax
test byte [ebx + 0x24], 8
je 0x61e380f7
or dword [esi + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x70], 0
sete dl
cmp dword [ebp - 0x5c], 0
setne al
test dl, al
je 0x61e382cf
cmp dword [ebp - 0x60], 0
jne 0x61e382cf
mov ebx, dword [edi + 0x78]
test ebx, ebx
je 0x61e38171
movzx ecx, byte [edi + 0x8c]
cmp ecx, 0x75
mov dword [ebp - 0x60], ecx
je 0x61e38155
mov edx, dword [ebp - 0x5c]
mov eax, 0x61e99f50
call sym._sqlite3StrICmp
test eax, eax
mov ecx, dword [ebp - 0x60]
jne 0x61e38150
mov dword [esi + 0x1c], 1
jmp 0x61e38171
cmp ecx, 0x74
je 0x61e3816f
mov edx, dword [ebp - 0x5c]
mov eax, 0x61e99f54
call sym._sqlite3StrICmp
test eax, eax
jne 0x61e3816f
mov dword [esi + 0x1c], 0
jmp 0x61e38171
xor ebx, ebx
mov eax, dword [ebp - 0x68]
test byte [eax + 0x19], 2
je 0x61e381a5
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [ebp - 0x60], ecx
je 0x61e381a5
mov edx, dword [ebp - 0x5c]
mov eax, str.excluded
call sym._sqlite3StrICmp
test eax, eax
jne 0x61e381a5
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 0x14]
mov ebx, dword [eax + 0x18]
mov dword [esi + 0x1c], 2
test ebx, ebx
mov dword [ebp - 0x60], 0
je 0x61e382cf
mov eax, dword [ebx + 0x48]
xor ecx, ecx
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x60], eax
movsx eax, word [ebx + 0x2a]
mov dword [ebp - 0x74], eax
cmp ecx, dword [ebp - 0x74]
jge 0x61e38205
mov eax, ecx
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x60]
shl eax, 4
mov edx, dword [ebp - 0x6c]
mov eax, dword [ecx + eax]
call sym._sqlite3StrICmp
test eax, eax
mov ecx, dword [ebp - 0x7c]
jne 0x61e38202
movsx eax, word [ebx + 0x28]
cmp eax, ecx
jne 0x61e38227
cmp dword [ebp - 0x74], 0
js 0x61e382c8
or ecx, 0xffffffff
jmp 0x61e38227
inc ecx
jmp 0x61e381c9
mov eax, dword [ebp - 0x6c]
call sym._sqlite3IsRowid
test eax, eax
mov dword [ebp - 0x60], 1
je 0x61e382cf
test byte [ebx + 0x24], 0x40
je 0x61e381f3
jmp 0x61e382cf
mov eax, dword [esi + 0x1c]
inc dword [ebp - 0x58]
cmp eax, 2
jne 0x61e3826d
cmp byte [edi + 0xc4], 1
jbe 0x61e3824e
mov word [esi + 0x20], cx
mov dword [esi + 0x2c], ebx
mov dword [ebp - 0x84], 0x9e
jmp 0x61e382c8
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x84], 0xa4
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x18]
or dword [esi + 4], 0x400000
mov dword [esi + 0x1c], ecx
jmp 0x61e382c8
test ecx, ecx
jns 0x61e38277
mov byte [esi + 1], 0x44
jmp 0x61e382b7
test eax, eax
jne 0x61e3829a
or eax, 0xffffffff
cmp ecx, 0x1f
mov edx, dword [edi + 0x84]
jg 0x61e38290
mov eax, 1
shl eax, cl
or eax, edx
mov dword [edi + 0x84], eax
jmp 0x61e382b7
or eax, 0xffffffff
cmp ecx, 0x1f
mov edx, dword [edi + 0x88]
jg 0x61e382af
mov eax, 1
shl eax, cl
or eax, edx
mov dword [edi + 0x88], eax
mov dword [esi + 0x2c], ebx
mov word [esi + 0x20], cx
mov dword [ebp - 0x84], 0x4d
mov dword [ebp - 0x60], 1
cmp dword [ebp - 0x58], 0
jne 0x61e3831a
cmp dword [ebp - 0x60], 1
jne 0x61e3831a
cmp dword [ebp - 0x64], 0
mov dword [ebp - 0x58], 0
je 0x61e3831a
mov eax, dword [ebp - 0x68]
test byte [eax + 0x18], 0x20
jne 0x61e3831a
mov eax, dword [ebp - 0x6c]
call sym._sqlite3IsRowid
test eax, eax
je 0x61e3831a
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x10]
test byte [eax + 0x24], 0x40
jne 0x61e3831a
mov word [esi + 0x20], 0xffff
mov byte [esi + 1], 0x44
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x18]
test al, 0x80
mov word [ebp - 0x74], ax
je 0x61e3842a
cmp dword [ebp - 0x58], 0
jne 0x61e3842a
cmp dword [ebp - 0x5c], 0
jne 0x61e3842a
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov ebx, dword [eax + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x58], ecx
jge 0x61e38430
imul eax, dword [ebp - 0x58], 0x18
mov ecx, dword [ebx + eax + 8]
mov dword [ebp - 0x7c], eax
test ecx, ecx
je 0x61e38422
mov edx, dword [ebp - 0x6c]
mov eax, ecx
mov dword [ebp - 0x8c], ecx
call sym._sqlite3StrICmp
test eax, eax
mov ecx, dword [ebp - 0x8c]
jne 0x61e38422
test byte [ebp - 0x74], 1
mov eax, dword [ebp - 0x7c]
mov eax, dword [ebx + eax + 4]
jne 0x61e383be
test byte [eax + 4], 2
je 0x61e383be
mov dword [esp + 8], ecx
mov dword [esp + 4], str.misuse_of_aliased_aggregate__s
mov dword [esp], edi
call sym._sqlite3ErrorMsg
jmp 0x61e383d6
call sym._sqlite3ExprVectorSize
dec eax
je 0x61e383e0
mov dword [esp + 4], str.row_value_misused
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov eax, 2
jmp 0x61e38c99
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x58]
mov edx, ebx
mov dword [esp + 4], 0x61e984ec
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, edi
call sym._resolveAlias
cmp byte [edi + 0xc4], 1
jbe 0x61e38594
mov eax, dword [edi + 0x10c]
mov ecx, esi
xor edx, edx
call sym._sqlite3RenameTokenRemap.isra.132
jmp 0x61e38594
inc dword [ebp - 0x58]
jmp 0x61e38355
cmp dword [ebp - 0x58], 0
jne 0x61e3844e
mov eax, dword [ebp - 0x68]
inc dword [ebp - 0x98]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [ebp - 0x68], eax
jne 0x61e37eac
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
jne 0x61e38485
cmp dword [ebp - 0x5c], 0
jne 0x61e38485
test byte [esi + 4], 0x40
je 0x61e3846f
mov byte [esi], 0x6a
mov dword [esi + 0x2c], 0
jmp 0x61e38b9c
mov eax, esi
call sym._sqlite3ExprIdToTrueFalse
test eax, eax
jne 0x61e38b9c
mov eax, str.no_such_column
jmp 0x61e384a0
cmp dword [ebp - 0x58], 1
je 0x61e3851d
cmp dword [ebp - 0x58], 0
mov edx, str.no_such_column
mov eax, str.ambiguous_column_name
cmove eax, edx
cmp dword [ebp - 0x70], 0
je 0x61e384d1
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:__s._s._s
mov dword [esp], edi
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp - 0x5c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call sym._sqlite3ErrorMsg
jmp 0x61e38513
cmp dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x6c]
je 0x61e384fb
mov ebx, dword [ebp - 0x5c]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:__s._s
mov dword [esp], edi
mov dword [esp + 0xc], ebx
call sym._sqlite3ErrorMsg
jmp 0x61e38513
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:__s
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov eax, dword [ebp - 0x54]
mov byte [edi + 0x11], 1
inc dword [eax + 0x14]
cmp dword [ebp - 0x64], 0
mov eax, dword [esi + 0x20]
je 0x61e38557
mov ecx, eax
sub cx, 0
js 0x61e38557
cmp ax, 0x3f
movsx edx, ax
mov ecx, 0x3f
cmovle ecx, edx
mov ebx, dword [ebp - 0x64]
xor eax, eax
xor edx, edx
test cl, 0x20
sete al
setne dl
shl edx, cl
shl eax, cl
or dword [ebx + 0x3c], edx
or dword [ebx + 0x38], eax
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x80]
call sym._sqlite3ExprDelete
mov eax, dword [ebp - 0x80]
mov edx, dword [esi + 0x10]
mov dword [esi + 0xc], 0
call sym._sqlite3ExprDelete
or dword [esi + 4], 0x800000
cmp dword [ebp - 0x58], 1
mov al, byte [ebp - 0x84]
mov dword [esi + 0x10], 0
mov byte [esi], al
jne 0x61e383d6
test byte [esi + 6], 0x40
jne 0x61e38625
mov eax, dword [edi]
cmp dword [eax + 0x130], 0
je 0x61e38625
mov edx, dword [ebp - 0x78]
call sym._sqlite3SchemaToIndex
test eax, eax
mov dword [ebp - 0x58], eax
js 0x61e38625
cmp byte [esi], 0x4d
je 0x61e385cc
mov ebx, dword [ebp - 0x68]
xor edx, edx
mov ecx, dword [ebx + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x5c], ebx
jmp 0x61e385d2
mov ebx, dword [edi + 0x78]
jmp 0x61e385eb
inc edx
cmp edx, dword [ebp - 0x5c]
jge 0x61e385e9
imul ebx, edx, 0x48
mov eax, dword [ecx + ebx + 0x34]
cmp dword [esi + 0x1c], eax
jne 0x61e385d1
mov ebx, dword [ecx + ebx + 0x18]
jmp 0x61e385eb
xor ebx, ebx
test ebx, ebx
movsx edx, word [esi + 0x20]
je 0x61e38625
test dx, dx
jns 0x61e38606
movsx edx, word [ebx + 0x28]
mov ecx, str.ROWID
test dx, dx
js 0x61e3860e
shl edx, 4
add edx, dword [ebx + 4]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov edx, dword [ebx]
mov eax, edi
call sym._sqlite3AuthReadCol
cmp eax, 2
jne 0x61e38625
mov byte [esi], 0x6e
mov eax, dword [ebp - 0x54]
inc dword [eax + 0x10]
cmp eax, dword [ebp - 0x68]
je 0x61e38b9c
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], eax
jmp 0x61e38625
mov eax, dword [esi + 0x14]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x64], eax
je 0x61e3864a
mov ebx, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x5c], eax
call sym._sqlite3Strlen30
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov ecx, ebx
mov edx, dword [ebp - 0x5c]
movzx eax, byte [eax + 0x46]
mov dword [esp + 4], 0
mov dword [ebp - 0x60], eax
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
call sym._sqlite3FindFunction
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x61e386c1
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0
mov ecx, 0xfffffffe
mov edx, dword [ebp - 0x5c]
mov dword [esp], eax
mov eax, dword [edi]
call sym._sqlite3FindFunction
cmp eax, 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 0
sbb eax, eax
xor edx, edx
inc eax
cmp dword [ebp - 0x58], 1
setb dl
jmp 0x61e3880e
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x14], 0
setne al
movzx eax, al
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
test byte [eax + 5], 4
je 0x61e3878b
or dword [esi + 4], 0x41000
cmp ebx, 2
jne 0x61e38772
fld1
mov eax, dword [ebp - 0x64]
fchs
mov eax, dword [eax + 0x1c]
fstp qword [ebp - 0x38]
cmp byte [eax], 0x8d
je 0x61e38709
jmp 0x61e38704
fstp st(0)
or eax, 0xffffffff
jmp 0x61e38753
mov ebx, dword [eax + 8]
mov eax, ebx
call sym._sqlite3Strlen30
lea edx, [ebp - 0x38]
mov ecx, eax
mov dword [esp], 1
mov eax, ebx
call sym._sqlite3AtoF
fld qword [ebp - 0x38]
fld1
fxch st(1)
fucomi st(1)
fstp st(1)
ja 0x61e38702
fmul dword [0x61ea96dc]
fnstcw word [ebp - 0x4a]
mov ax, word [ebp - 0x4a]
or ah, 0xc
mov word [ebp - 0x4c], ax
fldcw word [ebp - 0x4c]
fistp dword [ebp - 0x50]
fldcw word [ebp - 0x4a]
mov eax, dword [ebp - 0x50]
test eax, eax
mov dword [esi + 0x1c], eax
jns 0x61e3878b
mov dword [esp + 4], str.second_argument_to_likelihood___must_be_a_constant_between_0.0_and_1.0
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov eax, dword [ebp - 0x54]
inc dword [eax + 0x14]
jmp 0x61e3878b
mov eax, dword [ebp - 0x58]
mov edx, 0x7800000
mov eax, dword [eax + 0x20]
cmp byte [eax], 0x75
mov eax, 0x800000
cmovne eax, edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [eax + 0x20]
mov dword [esp], eax
mov eax, edi
call sym._sqlite3AuthCheck
test eax, eax
je 0x61e387d9
dec eax
jne 0x61e387d1
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x20]
mov dword [esp + 4], str.not_authorized_to_use_function:__s
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
mov eax, dword [ebp - 0x54]
inc dword [eax + 0x14]
mov byte [esi], 0x6e
jmp 0x61e38b9c
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
test ah, 0x28
je 0x61e387eb
or dword [esi + 4], 0x80000
test ah, 8
jne 0x61e3880a
mov eax, dword [ebp - 0x54]
mov ecx, str.non_deterministic_functions
mov dx, word [eax + 0x18]
mov dword [esp], 0x22
mov eax, edi
call sym._notValid.isra.404
xor eax, eax
xor edx, edx
cmp byte [edi + 0xc4], 1
ja 0x61e38936
cmp dword [ebp - 0x58], 0
je 0x61e3884b
mov ebx, dword [ebp - 0x58]
cmp dword [ebx + 0x18], 0
jne 0x61e3884b
cmp dword [esi + 0x30], 0
je 0x61e3884b
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], str._.s___may_not_be_used_as_a_window_function
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 8], eax
jmp 0x61e38906
cmp dword [ebp - 0x60], 0
je 0x61e388c5
mov ebx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebx + 0x18]
mov ecx, dword [ecx + 4]
test bl, 1
je 0x61e3887b
test ecx, 0x10000
je 0x61e38870
cmp dword [esi + 0x30], 0
je 0x61e3887b
cmp dword [esi + 0x30], 0
je 0x61e388c5
and bh, 0x40
jne 0x61e388c5
and ecx, 0x10000
mov eax, str.window
jne 0x61e38894
cmp dword [esi + 0x30], 0
mov edx, str.aggregate
cmove eax, edx
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
mov dword [esp + 8], eax
mov dword [esp + 4], str.misuse_of__s_function__.s__
mov dword [esp], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
call sym._sqlite3ErrorMsg
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], 0
inc dword [eax + 0x14]
jmp 0x61e38936
test edx, edx
je 0x61e388ec
mov edx, dword [edi]
cmp byte [edx + 0x9d], 0
jne 0x61e388ec
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], str.no_such_function:__.s
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 8], eax
jmp 0x61e38906
test eax, eax
je 0x61e38914
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], str.wrong_number_of_arguments_to_function__.s__
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov eax, dword [ebp - 0x54]
inc dword [eax + 0x14]
cmp dword [ebp - 0x60], 0
je 0x61e38936
cmp dword [esi + 0x30], 1
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x60], 1
sbb eax, eax
and ax, 0x3fff
sub ax, 0x4001
and word [ebx + 0x18], ax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkExprList
cmp dword [ebp - 0x60], 0
je 0x61e38b9c
mov eax, dword [esi + 0x30]
test eax, eax
je 0x61e38b2b
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov ebx, dword [ecx + 0x1c]
mov dword [ebp - 0x60], ebx
call sym._sqlite3WalkExprList
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkExprList
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkExpr
mov ebx, dword [esi + 0x30]
mov ecx, dword [ebx]
test ecx, ecx
je 0x61e38a31
cmp byte [ebx + 0xc], 0
jne 0x61e38a31
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x61e38c80
mov eax, dword [ebp - 0x5c]
mov edx, ecx
mov dword [ebp - 0x64], ecx
mov eax, dword [eax]
call sym._sqlite3StrICmp
test eax, eax
mov eax, dword [ebp - 0x5c]
je 0x61e389d1
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
jmp 0x61e389a6
mov edx, dword [eax + 4]
mov eax, dword [edi]
xor ecx, ecx
call sym._sqlite3ExprListDup
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov edx, dword [eax + 8]
mov eax, dword [edi]
call sym._sqlite3ExprListDup
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov edx, dword [eax + 0x10]
mov eax, dword [edi]
call sym._sqlite3ExprDup
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov edx, dword [eax + 0x14]
mov eax, dword [edi]
call sym._sqlite3ExprDup
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x5c]
mov al, byte [eax + 0xd]
mov byte [ebx + 0xd], al
mov eax, dword [ebp - 0x5c]
mov al, byte [eax + 0xe]
mov byte [ebx + 0xe], al
mov eax, dword [ebp - 0x5c]
mov al, byte [eax + 0xc]
mov byte [ebx + 0xc], al
mov eax, dword [ebp - 0x58]
test byte [eax + 6], 1
je 0x61e38af1
cmp dword [ebx + 0x1c], 0
je 0x61e38a59
mov dword [esp + 4], str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
mov dword [esp], edi
call sym._sqlite3ErrorMsg
jmp 0x61e38af1
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x20]
cmp eax, str.ntile
je 0x61e38a72
cmp eax, str.row_number
jne 0x61e38a9c
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3ExprDelete
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3ExprDelete
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
mov byte [ebx + 0xc], 0x4c
jmp 0x61e38ae9
cmp eax, str.dense_rank
sete cl
cmp eax, str.rank
sete dl
or edx, ecx
cmp eax, str.percent_rank
sete cl
or dl, cl
jne 0x61e38ac1
cmp eax, str.cume_dist
jne 0x61e38af1
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3ExprDelete
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x5c]
call sym._sqlite3ExprDelete
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
mov byte [ebx + 0xc], 0x56
mov byte [ebx + 0xd], 0x57
mov byte [ebx + 0xe], 0x52
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + 0x44]
test edx, edx
jne 0x61e38b12
mov edi, dword [ebp - 0x60]
mov eax, dword [esi + 0x30]
mov edx, dword [edi + 0x44]
mov dword [eax + 0x18], edx
mov dword [edi + 0x44], eax
jmp 0x61e38b20
mov ecx, dword [esi + 0x30]
mov eax, edi
call sym._sqlite3WindowCompare
test eax, eax
je 0x61e38b01
mov eax, dword [ebp - 0x54]
or word [eax + 0x18], 0x4000
jmp 0x61e38b9c
mov ebx, dword [ebp - 0x54]
lea edi, [ebp - 0x44]
mov byte [esi], 0x9f
mov byte [esi + 0x26], 0
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x34], sym._exprSrcCount
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call sym._sqlite3WalkExprList
cmp dword [ebp - 0x40], 0
jg 0x61e38b80
cmp dword [ebp - 0x3c], 0
je 0x61e38b80
inc byte [esi + 0x26]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x61e38b38
jmp 0x61e38b94
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
and ax, 0x1000
or eax, dword [ebx + 0x18]
or eax, 0x10
mov word [ebx + 0x18], ax
mov eax, dword [ebp - 0x54]
or word [eax + 0x18], 1
mov eax, 1
jmp 0x61e38c99
test byte [esi + 5], 8
je 0x61e38c67
mov eax, dword [ebp - 0x54]
mov ecx, str.subqueries
mov dx, word [eax + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, edi
mov dword [esp], 0x26
call sym._notValid.isra.404
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
mov eax, dword [ebp - 0x54]
cmp ebx, dword [eax + 0x10]
je 0x61e38c67
or dword [esi + 4], 0x20
or word [eax + 0x18], 0x40
jmp 0x61e38c67
mov ebx, dword [esi + 0x10]
cmp byte [ebx], 0x3b
jne 0x61e38c20
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._resolveExprStep
cmp eax, 2
je 0x61e383d6
cmp byte [ebx], 0x9b
jne 0x61e38c20
mov al, byte [esi]
mov byte [esi], 0xa3
mov byte [esi + 0x26], al
xor eax, eax
jmp 0x61e38c99
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x61e38c67
mov eax, dword [esi + 0xc]
call sym._sqlite3ExprVectorSize
cmp byte [esi], 0x30
mov ebx, eax
jne 0x61e38c4b
mov esi, dword [esi + 0x14]
mov eax, dword [esi + 4]
call sym._sqlite3ExprVectorSize
cmp ebx, eax
jne 0x61e38c57
mov eax, dword [esi + 0x1c]
jmp 0x61e38c4e
mov eax, dword [esi + 0x10]
call sym._sqlite3ExprVectorSize
cmp eax, ebx
je 0x61e38c67
mov dword [esp + 4], str.row_value_misused
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x61e383d6
mov edx, dword [edi]
cmp byte [edx + 0x49], 0
jne 0x61e383d6
jmp 0x61e38c99
mov dword [esp + 8], ecx
mov dword [esp + 4], str.no_such_window:__s
mov dword [esp], edi
call sym._sqlite3ErrorMsg
jmp 0x61e38af7
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret