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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x659db8
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rcx
lea rdx, [rbx + 0x250]
mov qword [rsp + 0x38], rdx
mov rdi, qword [rbx + 0x18]
mov rbx, rdx
mov rcx, rdi
call sym.modernc.org_sqlite_lib._sqlite3WhereExprListUsage
mov rdx, qword [rsp + 0x58]
mov rsi, rdx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x659b12
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3WhereExprListUsage
mov rdx, qword [rsp + 0x20]
or rax, rdx
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rdi, rsi
mov r8, qword [rsi + 8]
add r8, 8
movzx r8d, byte [r8 + 0x3c]
movzx esi, byte [rsi + 0x40]
dec esi
bt r8d, 6
setb r8b
movzx r8d, r8b
mov dword [rsp + 0x1c], r8d
mov rcx, qword [rsp + 0x60]
jmp 0x659b4b
dec esi
mov rdi, r10
test esi, esi
jle 0x659cfb
movsxd r9, esi
imul r9, r9, 0x68
lea r9, [r9 + rdi]
lea r9, [r9 + 0x358]
mov r10, r9
mov r9, qword [r9 + 0x58]
mov r11, rdi
mov r12, r9
movzx r13d, byte [r9 + 0x10]
imul r13, r13, 0x68
add r13, qword [rdi + 8]
add r13, 8
movzx r15d, byte [r13 + 0x3c]
and r15d, 0x18
cmp r15d, 8
je 0x659ba2
movabs r9, 0x3ffffffffffff
mov r10, r11
nop
jmp 0x659b46
movzx r15d, word [rdi + 0x3c]
bt r15d, 8
jb 0x659bcb
mov r15d, dword [r9 + 0x30]
bt r15d, 0xc
jb 0x659bcb
movabs r9, 0x3ffffffffffff
mov r10, r11
jmp 0x659b46
mov r9, qword [r9 + 8]
test r9, rax
je 0x659be6
movabs r9, 0x3ffffffffffff
mov r10, r11
jmp 0x659b46
mov qword [rsp + 0x38], r10
movsxd r15, dword [rdi + 0x7c]
imul r15, r15, 0x38
mov rdi, qword [rdi + 0x88]
add r15, rdi
mov rdx, rdi
jmp 0x659d0d
cmp rbx, r15
jmp 0x659c0d
cmp rbx, r15
mov r10, qword [rsp + 0x38]
jmp 0x659c1c
cmp rbx, r15
mov r10, qword [rsp + 0x38]
jae 0x659c30
movabs r9, 0x3ffffffffffff
mov r10, r11
jmp 0x659b46
not r9
and rcx, r9
jmp 0x659d80
mov rdi, r11
movzx r9d, byte [r11 + 0x40]
lea r11d, [r9 - 1]
cmp esi, r11d
je 0x659cdd
sub r9d, esi
dec r9d
movsxd r9, r9d
imul r9, r9, 0x68
lea r11d, [rsi + 1]
movsxd r11, r11d
imul r11, r11, 0x68
movsxd rdx, r9d
lea rbx, [r11 + rdi]
lea rbx, [rbx + 0x358]
test rdx, rdx
jne 0x659c87
movabs r9, 0x3ffffffffffff
jmp 0x659ce7
movabs r9, 0x3ffffffffffff
cmp r9, rdx
jb 0x659daf
test byte [r10], al
test byte [rbx], al
nop
cmp rbx, r10
je 0x659ce7
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x18], esi
mov rax, r10
mov rcx, rdx
call sym.runtime.memmove
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov esi, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x1c]
movabs r9, 0x3ffffffffffff
jmp 0x659ce7
movabs r9, 0x3ffffffffffff
mov r10, rdi
movzx r11d, byte [rdi + 0x40]
dec r11d
mov byte [rdi + 0x40], r11b
jmp 0x659b46
mov rax, rcx
add rsp, 0x40
pop rbp
ret
lea rdi, [rbx + 0x38]
mov r10, qword [rsp + 0x38]
cmp rdi, r15
jae 0x659c1c
mov rbx, rdi
mov r10, qword [rdi + 0x30]
nop dword [rax]
test r9, r10
je 0x659d52
mov r10, qword [rdi]
mov qword [rsp + 0x30], r10
mov r10d, dword [r10 + 4]
bt r10d, 0
jae 0x659c0a
mov r10, qword [rsp + 0x30]
add r10, 0x34
mov r10d, dword [r10]
cmp dword [r13 + 0x44], r10d
jne 0x659c05
test r8d, r8d
je 0x659d04
mov rdi, qword [rdi]
mov r10, rdi
mov edi, dword [rdi + 4]
bt edi, 1
jae 0x659d04
lea rdi, [r10 + 0x34]
mov edi, dword [rdi]
cmp dword [r13 + 0x44], edi
jne 0x659d04
jmp 0x659c14
lea rdx, [rdi + 0x38]
mov r12, r13
nop
cmp rdx, r15
jae 0x659c3b
mov rdi, rdx
mov r9, qword [rdx + 0x30]
mov r13, r12
mov r12, qword [r12 + 8]
test r9, r12
je 0x659d77
lea r9, [rdi + 0x12]
movzx r12d, word [r9]
or r12d, 4
mov word [r9], r12w
jmp 0x659d77
mov rbx, r9
call sym.runtime.panicSlice3AlenU
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax + rax]
jmp sym.modernc.org_sqlite_lib._whereOmitNoopJoin