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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6411cb
push rbp
mov rbp, rsp
sub rsp, 0x70
movq qword [rsp + 0x68], xmm15
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov dword [rsp + 0x98], edi
mov dword [rsp + 0x9c], esi
mov qword [rsp + 0xa0], r8
mov byte [rsp + 0x37], 0
mov ebx, 0x10
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x50], rax
lea rcx, [sym.modernc.org_sqlite_lib._filterPullDown.deferwrap1]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x68], rdx
mov byte [rsp + 0x37], 1
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x90]
mov edi, dword [rsp + 0x98]
jmp 0x640f82
mov rsi, r11
mov edi, r10d
lea r10d, [rdi + 1]
mov r11, rsi
movzx r12d, byte [rsi + 0x40]
cmp r12d, r10d
jle 0x6411aa
movsxd r12, r10d
imul r12, r12, 0x68
lea rdi, [r12 + r11]
lea rdi, [rdi + 0x358]
mov r12, rdi
cmp dword [r12 + 0x2c], 0
je 0x640f7c
mov r13, qword [r12 + 0x58]
mov r15, r13
cmp word [r13 + 0x36], 0
jne 0x640f7c
mov r13, qword [r13]
test rdx, r13
jne 0x640f7c
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x48], rdi
mov r13d, dword [rsp + 0x9c]
mov dword [r12 + 0xc], r13d
mov r12d, dword [r15 + 0x30]
bt r12d, 8
jae 0x6410c5
mov r12, qword [r15 + 0x40]
mov rbx, qword [rsp + 0x88]
mov r15, rbx
movzx r15d, byte [r15 + 0x1f]
mov r12, qword [r12]
test r15d, r15d
jne 0x64101f
lea r15, [rbx + 0x38]
mov rsi, r15
inc dword [r15]
mov r15d, dword [rsi]
jmp 0x641042
lea rsi, [rbx + 0x1f]
mov r8, rsi
movzx r9d, byte [rsi]
dec r9d
mov byte [rsi], r9b
movzx esi, byte [r8]
lea rsi, [rbx + rsi*4]
lea rsi, [rsi + 0xe8]
mov r15d, dword [rsi]
mov rax, rcx
mov rcx, r12
xor esi, esi
mov r8d, esi
mov r9d, r15d
call sym.modernc.org_sqlite_lib._codeEqualityTerm
mov dword [rsp + 0x3c], eax
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx + 0x10]
mov ecx, 0xd
mov edi, eax
mov esi, dword [rsp + 0x9c]
xor r8d, r8d
mov rax, qword [rsp + 0x80]
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp3
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx + 0x10]
mov rdx, qword [rsp + 0x48]
mov edi, dword [rdx + 0x2c]
mov rax, qword [rsp + 0x80]
mov ecx, 0x40
mov esi, dword [rsp + 0x9c]
mov r8d, dword [rsp + 0x3c]
mov r9d, 1
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4Int
nop dword [rax]
jmp 0x64116b
movzx edx, word [r15 + 0x18]
mov dword [rsp + 0x44], edx
mov rbx, qword [rsp + 0x88]
xor esi, esi
mov r8, rax
mov rax, rcx
mov rcx, rdi
mov edi, esi
call sym.modernc.org_sqlite_lib._codeAllEqualityTerms
mov dword [rsp + 0x40], eax
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx]
mov rbx, qword [rsp + 0x88]
mov ecx, eax
mov edi, dword [rsp + 0x44]
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._codeApplyAffinity
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx]
test rcx, rcx
je 0x641134
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx]
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3DbFreeNN
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx + 0x10]
mov rdx, qword [rsp + 0x48]
mov edi, dword [rdx + 0x2c]
mov rax, qword [rsp + 0x80]
mov ecx, 0x40
mov esi, dword [rsp + 0x9c]
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
call sym.modernc.org_sqlite_lib._sqlite3VdbeAddOp4Int
mov r10, qword [rsp + 0x48]
mov r11, r10
mov dword [r10 + 0x2c], 0
mov dword [r11 + 0xc], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x38]
mov r11, qword [rsp + 0x90]
jmp 0x640f7c
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], esi
mov qword [rsp + 0x28], r8
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edi, dword [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._filterPullDown