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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x66468f
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rdx, rbx
mov r10, qword [rdx]
mov r11, qword [rdx + 8]
mov r12, r11
lea r13, [r10 + 0x44]
mov r15, r13
mov rdx, qword [rdx + 0x10]
movzx r11d, byte [r11 + 0x20]
nop
dec dword [r13]
cmp ecx, 2
jne 0x663f30
mov r13, r12
movzx r12d, byte [r12 + 0x21]
cmp r12d, 0x5a
jne 0x663f33
xor eax, eax
add rsp, 0x70
pop rbp
ret
mov r13, r12
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x94], edi
mov dword [rsp + 0x98], esi
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x54], r11d
mov r9d, dword [r15]
mov dword [rsp + 0x40], r9d
test edi, edi
jle 0x66406a
movzx r15d, byte [r13 + 0x20]
cmp r15d, 0x59
jne 0x66400b
nop
mov edx, dword [rdx + 0x90]
mov dword [rsp + 0x4c], edx
cmp ecx, 2
jne 0x663fe7
movzx r13d, byte [r13 + 0x21]
cmp r13d, 0x56
jne 0x663fc7
mov rdx, rbx
mov r10d, dword [rdx + 0x34]
mov r8d, dword [rdx + 0x2c]
mov ecx, 0x37
mov esi, edi
mov edi, r10d
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._windowCodeRangeTest
jmp 0x664005
mov rdx, rbx
mov r10d, dword [rdx + 0x2c]
mov r8d, dword [rdx + 0x34]
mov ecx, 0x39
mov esi, edi
mov edi, r10d
nop dword [rax]
call sym.modernc.org_sqlite_lib._windowCodeRangeTest
jmp 0x664005
mov rdx, rbx
mov r10d, dword [rdx + 0x3c]
mov r8d, dword [rdx + 0x34]
mov ecx, 0x36
mov esi, edi
mov edi, r10d
nop dword [rax]
call sym.modernc.org_sqlite_lib._windowCodeRangeTest
mov eax, dword [rsp + 0x4c]
jmp 0x664027
mov rbx, rdx
mov ecx, 0x3b
mov esi, r9d
mov r8d, 1
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
xor eax, eax
mov ecx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x98]
mov edi, dword [rsp + 0x94]
mov r9d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x54]
mov r13, qword [rsp + 0x68]
mov r8d, eax
mov rax, qword [rsp + 0x80]
jmp 0x66406d
xor r8d, r8d
mov dword [rsp + 0x4c], r8d
cmp ecx, 1
jne 0x6640d0
mov r12, r13
cmp dword [r13 + 0x84], 0
jne 0x6640d3
xor ecx, ecx
call sym.modernc.org_sqlite_lib._windowAggFinal
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x98]
mov edi, dword [rsp + 0x94]
mov r8d, dword [rsp + 0x4c]
mov r9d, dword [rsp + 0x40]
mov r10, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x54]
mov r12, qword [rsp + 0x68]
jmp 0x6640d3
mov r12, r13
mov r13, r12
movzx r15d, byte [r12 + 0x21]
movzx r8d, byte [r12 + 0x22]
nop
mov edx, dword [rdx + 0x90]
mov dword [rsp + 0x50], edx
cmp r15d, r8d
jne 0x66436c
test edi, edi
je 0x664367
movzx r12d, byte [r12 + 0x20]
cmp r12d, 0x59
jne 0x664362
mov r12, r10
movzx r10d, byte [r10 + 0x1f]
test r10d, r10d
jne 0x66412b
lea r10, [r12 + 0x38]
mov r15, r10
inc dword [r10]
mov r10d, dword [r15]
jmp 0x66414f
lea r15, [r12 + 0x1f]
mov rdi, r15
movzx r8d, byte [r15]
dec r8d
mov byte [r15], r8b
movzx r15d, byte [rdi]
lea r15, [r12 + r15*4]
lea r15, [r15 + 0xe8]
mov r10d, dword [r15]
mov r15, r12
movzx r12d, byte [r12 + 0x1f]
test r12d, r12d
jne 0x664170
lea r12, [r15 + 0x38]
mov rdi, r12
inc dword [r12]
mov r12d, dword [rdi]
cmp ecx, 2
jmp 0x664196
lea rdi, [r15 + 0x1f]
mov r8, rdi
movzx r12d, byte [rdi]
dec r12d
mov byte [rdi], r12b
movzx edi, byte [r8]
lea rdi, [r15 + rdi*4]
lea rdi, [rdi + 0xe8]
mov r12d, dword [rdi]
cmp ecx, 2
mov dword [rsp + 0x34], r10d
mov dword [rsp + 0x30], r12d
je 0x66423b
mov rdi, rbx
cmp dword [rdi + 0x28], 0
je 0x6642e5
mov edi, dword [rdi + 0x3c]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x87
mov esi, r10d
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x88]
mov edi, dword [rdx + 0x28]
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x39
mov esi, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x34]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x98]
mov r9d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x54]
mov r12d, dword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
jmp 0x6642e5
mov edi, dword [rbx + 0x2c]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x87
mov esi, r10d
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x88]
mov edi, dword [rdx + 0x3c]
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x87
mov esi, dword [rsp + 0x30]
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x39
mov edi, dword [rsp + 0x30]
mov esi, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x34]
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x98]
mov r9d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x54]
mov r12d, dword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
nop
test r10d, r10d
je 0x66431c
mov rdi, r15
movzx r15d, byte [r15 + 0x1f]
cmp r15d, 8
jge 0x66431f
lea r15, [rdi + 0x1f]
movzx r8d, byte [r15]
lea edx, [r8 + 1]
mov byte [r15], dl
lea rdx, [rdi + r8*4]
lea rdx, [rdx + 0xe8]
mov dword [rdx], r10d
mov edx, dword [rsp + 0x50]
jmp 0x66431f
mov rdi, r15
nop
test r12d, r12d
je 0x66435a
mov r10, rdi
movzx r15d, byte [rdi + 0x1f]
cmp r15d, 8
jge 0x664355
lea r15, [r10 + 0x1f]
movzx edi, byte [r15]
lea r8d, [rdi + 1]
mov byte [r15], r8b
lea r15, [r10 + rdi*4]
lea r15, [r15 + 0xe8]
mov dword [r15], r12d
cmp ecx, 1
jmp 0x66436f
cmp ecx, 1
jmp 0x66436f
cmp ecx, 1
mov r10, rdi
jmp 0x66436f
cmp ecx, 1
jmp 0x66436f
cmp ecx, 1
jmp 0x66436f
cmp ecx, 1
je 0x664434
cmp ecx, 2
jne 0x6643d8
mov r12, rbx
mov r15, r13
mov edi, dword [r13 + 0x84]
mov r13d, dword [r12 + 0x2c]
mov dword [rsp + 0x44], r13d
mov r8d, dword [r12 + 0x30]
mov dword [rsp + 0x38], r8d
test edi, edi
je 0x6643b9
nop
mov rbx, qword [rsp + 0x58]
mov ecx, 0x56
mov esi, 1
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x6643ce
mov r8d, dword [r12 + 0x20]
mov rcx, r15
mov edi, r13d
mov esi, 1
call sym.modernc.org_sqlite_lib._windowAggStep
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
jmp 0x664452
mov r12, rbx
mov r15, r13
mov edi, dword [r12 + 0x3c]
mov dword [rsp + 0x44], edi
mov r8d, dword [r12 + 0x40]
mov dword [rsp + 0x38], r8d
cmp dword [r13 + 0x84], 0
je 0x66441b
mov edi, dword [r13 + 0x88]
mov rbx, qword [rsp + 0x58]
mov ecx, 0x56
mov esi, 1
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x66442a
mov r8d, dword [r12 + 0x20]
mov rcx, r15
xor esi, esi
call sym.modernc.org_sqlite_lib._windowAggStep
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
jmp 0x664452
mov rcx, rbx
mov edx, dword [rcx + 0x34]
mov dword [rsp + 0x44], edx
mov ecx, dword [rcx + 0x38]
mov dword [rsp + 0x38], ecx
call sym.modernc.org_sqlite_lib._windowReturnOneRow
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x44], eax
mov rdx, qword [rsp + 0x88]
mov r9, rdx
mov r10d, dword [rsp + 0x90]
cmp dword [rdx + 0x24], r10d
jne 0x6644d3
nop
mov rbx, qword [rsp + 0x58]
mov ecx, 0x82
mov edi, eax
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov r9d, dword [rdx + 0x90]
nop
test r9d, r9d
jle 0x6644c3
dec r9d
movsxd r9, r9d
lea r9, [r9 + r9*2]
shl r9, 3
add r9, qword [rdx + 0x88]
mov word [r9 + 2], 2
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x38]
mov r9, qword [rsp + 0x88]
mov edx, dword [rsp + 0x54]
cmp edx, 0x4c
setne dl
movzx edx, dl
mov dword [rsp + 0x48], edx
mov r10d, dword [rsp + 0x98]
test r10d, r10d
je 0x66453d
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov esi, dword [rdx + 0x90]
add esi, 2
mov ecx, 0x27
mov edi, eax
xor r8d, r8d
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x58]
mov ecx, 9
xor edi, edi
mov esi, edi
mov r8d, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x48]
jmp 0x664599
mov rbx, qword [rsp + 0x58]
mov r9, rbx
mov r9d, dword [r9 + 0x90]
lea esi, [rdx + r9]
lea esi, [rsi + 1]
mov ecx, 0x27
mov edi, eax
xor r8d, r8d
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x664597
nop
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x58]
mov ecx, 9
xor edi, edi
mov esi, dword [rsp + 0x40]
mov r8d, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x48]
xor eax, eax
mov dword [rsp + 0x28], eax
nop dword [rax]
test edx, edx
je 0x66464b
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov rdx, qword [rdx + 0x18]
test rdx, rdx
je 0x6645bd
mov edx, dword [rdx]
jmp 0x6645bf
xor edx, edx
mov dword [rsp + 0x3c], edx
test edx, edx
jne 0x6645cb
xor ecx, ecx
jmp 0x6645e1
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x60]
mov ecx, edx
call sym.modernc.org_sqlite_lib._sqlite3GetTempRange
mov ecx, eax
mov dword [rsp + 0x2c], ecx
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov edi, ecx
mov ecx, dword [rsp + 0x44]
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._windowReadPeerValues
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx + 0x18]
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x60]
mov edi, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x50]
call sym.modernc.org_sqlite_lib._windowIfNewPeer
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x2c]
mov edi, dword [rsp + 0x3c]
call sym.modernc.org_sqlite_lib._sqlite3ReleaseTempRange
mov eax, dword [rsp + 0x28]
mov esi, dword [rsp + 0x4c]
test esi, esi
je 0x66466f
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x58]
mov ecx, 9
xor edi, edi
mov r8d, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x40]
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
mov eax, dword [rsp + 0x28]
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov dword [rsp + 0x1c], edi
mov dword [rsp + 0x20], esi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov edi, dword [rsp + 0x1c]
mov esi, dword [rsp + 0x20]
jmp sym.modernc.org_sqlite_lib._windowCodeOp