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

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x662fa2
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov rdx, rbx
mov r9, qword [rbx + 8]
mov r10, r9
mov r11, qword [r9 + 0x18]
mov r12, qword [rbx + 0x10]
mov r9d, dword [r9 + 0x64]
test r11, r11
je 0x662a17
mov r11d, dword [r11]
jmp 0x662a1a
xor r11d, r11d
mov rbx, qword [rbx]
lea r13, [rbx + 0x44]
mov r15, r13
nop
dec dword [r13]
mov r13, r15
mov ecx, dword [r15]
lea esi, [rcx - 1]
nop
mov dword [r15], esi
mov r15, rbx
movzx r15d, byte [r15 + 0x1f]
mov r13d, dword [r13]
test r15d, r15d
jne 0x662a56
lea r15, [rbx + 0x38]
mov rsi, r15
inc dword [r15]
mov r15d, dword [rsi]
jmp 0x662a78
lea rsi, [rbx + 0x1f]
mov rdi, rsi
movzx r8d, byte [rsi]
dec r8d
mov byte [rsi], r8b
movzx esi, byte [rdi]
lea rsi, [rbx + rsi*4]
lea rsi, [rsi + 0xe8]
mov r15d, dword [rsi]
mov rsi, rbx
movzx esi, byte [rsi + 0x1f]
nop
test esi, esi
jne 0x662a91
lea rsi, [rbx + 0x38]
mov rdi, rsi
inc dword [rsi]
mov esi, dword [rdi]
jmp 0x662ab2
lea rsi, [rbx + 0x1f]
mov rdi, rsi
movzx r8d, byte [rsi]
dec r8d
mov byte [rsi], r8b
movzx esi, byte [rdi]
lea rsi, [rbx + rsi*4]
lea rsi, [rsi + 0xe8]
mov esi, dword [rsi]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], esi
test r11d, r11d
jne 0x662af6
xor edi, edi
xor r8d, r8d
jmp 0x662b36
mov ecx, r11d
call sym.modernc.org_sqlite_lib._sqlite3GetTempRange
mov dword [rsp + 0x34], eax
mov rbx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x90]
call sym.modernc.org_sqlite_lib._sqlite3GetTempRange
mov r10, qword [rsp + 0x70]
mov r12, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
mov r8d, eax
mov rax, qword [rsp + 0x90]
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x34], edi
mov r9d, dword [r10 + 0x58]
mov rbx, r12
mov ecx, 0x87
mov esi, r15d
mov edi, r9d
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rdx + 0x58]
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x78]
mov edi, dword [rsp + 0x34]
call sym.modernc.org_sqlite_lib._windowReadPeerValues
mov rax, qword [rsp + 0x70]
jmp 0x662bae
mov qword [rsp + 0x58], rax
mov esi, dword [rax + 0x5c]
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x4b
xor edi, edi
mov r8d, edi
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x58]
mov rax, qword [rdx + 0x40]
test rax, rax
jne 0x662b7e
mov rdx, qword [rsp + 0x70]
mov r8d, dword [rdx + 0x84]
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x17
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x3c]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
nop
nop
mov edx, dword [rdx + 0x90]
mov dword [rsp + 0x44], edx
mov rax, qword [rsp + 0x90]
mov ecx, 0x87
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x28]
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x70]
mov edi, dword [rdx + 0x88]
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x36
mov esi, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x28]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
movzx r9d, byte [rdx + 0x24]
cmp r9d, 0x55
je 0x662dd9
cmp r9d, 0x42
je 0x662dd2
mov rdx, qword [rdx + 0x18]
nop
test rdx, rdx
jne 0x662c69
xor eax, eax
jmp 0x662c8a
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x60]
mov rcx, rdx
xor edi, edi
mov esi, edi
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3KeyInfoFromExprList
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rdx, rcx
movzx r9d, byte [rcx + 0x24]
cmp r9d, 0x5e
je 0x662ca2
xor ecx, ecx
nop
jmp 0x662cd1
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x35
mov edi, dword [rsp + 0x30]
xor esi, esi
mov r8d, dword [rsp + 0x28]
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x70]
mov ecx, eax
mov rax, qword [rsp + 0x68]
mov dword [rsp + 0x48], ecx
test rax, rax
je 0x662d67
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x40]
mov edi, dword [rsp + 0x2c]
call sym.modernc.org_sqlite_lib._windowReadPeerValues
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x5a
mov edi, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov edi, 0xfffffff8
call sym.modernc.org_sqlite_lib._sqlite3VdbeAppendP4
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov r8d, dword [rdx + 0x90]
inc r8d
mov rax, qword [rsp + 0x90]
mov ecx, 0xe
mov edi, r8d
mov esi, dword [rsp + 0x4c]
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
jmp 0x662d88
nop
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 9
xor edi, edi
mov esi, dword [rsp + 0x4c]
mov r8d, edi
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x662dcb
mov r9, qword [rsp + 0x50]
mov r10, r9
mov r11, qword [r9]
nop
cmp byte [r11 + 0x67], 0
je 0x662dac
lea rdx, [0x00a30f90]
jmp 0x662dbe
movsxd r11, edx
lea rdx, [r11 + r11*2]
shl rdx, 3
add rdx, qword [r9 + 0x88]
mov r9d, dword [r9 + 0x90]
mov dword [rdx + 8], r9d
jmp 0x662dfd
mov r10, qword [rsp + 0x50]
jmp 0x662dfd
mov r10, qword [rsp + 0x50]
jmp 0x662dfd
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x35
mov edi, dword [rsp + 0x30]
mov esi, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x28]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
mov r8d, dword [rdx + 0x20]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
mov edi, dword [rsp + 0x40]
xor esi, esi
nop dword [rax]
call sym.modernc.org_sqlite_lib._windowAggStep
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x4c]
call sym.modernc.org_sqlite_lib._sqlite3VdbeResolveLabel
nop
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
mov ecx, 0x27
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
xor r8d, r8d
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x50]
mov r9, rdx
mov r10, qword [rdx]
cmp byte [r10 + 0x67], 0
je 0x662e7e
lea rsi, [0x00a30f90]
mov r8d, dword [rsp + 0x44]
jmp 0x662e99
mov r8d, dword [rsp + 0x44]
lea r10d, [r8 - 1]
movsxd r10, r10d
lea rsi, [r10 + r10*2]
shl rsi, 3
add rsi, qword [rdx + 0x88]
mov edx, dword [rdx + 0x90]
mov dword [rsi + 8], edx
mov rdx, qword [r9]
cmp byte [rdx + 0x67], 0
je 0x662eb4
lea rdx, [0x00a30f90]
jmp 0x662eca
lea esi, [r8 + 1]
movsxd rsi, esi
lea rdx, [rsi + rsi*2]
shl rdx, 3
add rdx, qword [r9 + 0x88]
mov esi, dword [r9 + 0x90]
mov dword [rdx + 8], esi
nop
mov edx, dword [rsp + 0x28]
test edx, edx
je 0x662f0c
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
movzx esi, byte [rsi + 0x1f]
cmp esi, 8
jge 0x662f11
lea rsi, [rbx + 0x1f]
movzx r8d, byte [rsi]
lea r9d, [r8 + 1]
mov byte [rsi], r9b
lea rsi, [rbx + r8*4]
lea rsi, [rsi + 0xe8]
mov dword [rsi], edx
jmp 0x662f11
mov rbx, qword [rsp + 0x60]
nop
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x662f52
mov rsi, rbx
movzx esi, byte [rsi + 0x1f]
cmp esi, 8
jge 0x662f4a
lea rsi, [rbx + 0x1f]
movzx r8d, byte [rsi]
lea r9d, [r8 + 1]
mov byte [rsi], r9b
lea rsi, [rbx + r8*4]
lea rsi, [rsi + 0xe8]
mov dword [rsi], edx
mov edi, dword [rsp + 0x38]
test edi, edi
jmp 0x662f58
mov edi, dword [rsp + 0x38]
test edi, edi
jmp 0x662f58
mov edi, dword [rsp + 0x38]
test edi, edi
je 0x662f85
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x2c]
call sym.modernc.org_sqlite_lib._sqlite3ReleaseTempRange
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
mov edi, dword [rsp + 0x38]
call sym.modernc.org_sqlite_lib._sqlite3ReleaseTempRange
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x78]
mov ecx, 1
call sym.modernc.org_sqlite_lib._windowAggFinal
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop dword [rax + rax]
jmp sym.modernc.org_sqlite_lib._windowFullScan