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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x65a49c
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x88], rsi
mov rdx, rcx
mov r8, qword [rcx + 0x18]
mov qword [rsp + 0x28], r8
xor ecx, ecx
nop
jmp 0x65a1ac
inc ecx
mov rdx, r9
mov r8, qword [rsp + 0x28]
mov r9, rdx
movzx r10d, word [rdx + 0x60]
cmp ecx, r10d
jge 0x65a496
mov dword [rsp + 0x24], ecx
movsxd r10, ecx
mov qword [rsp + 0x40], r10
mov r11, r10
shl r10, 1
add r10, qword [rdx + 8]
movsx r10, word [r10]
cmp r10d, 0xfffffffe
je 0x65a25c
nop dword [rax]
test r10d, r10d
jl 0x65a254
mov rdx, r8
movsxd r10, r10d
shl r10, 4
add r10, qword [r8 + 8]
movzx r12d, word [r10 + 0xe]
bt r12d, 5
jae 0x65a1a2
movzx r10d, word [r10 + 0xc]
test r10d, r10d
jne 0x65a20e
xor r8d, r8d
jmp 0x65a26e
movzx r8d, byte [r8 + 0x3f]
test r8d, r8d
jne 0x65a24f
lea r8, [rdx + 0x40]
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x65a22a
xor r8d, r8d
jmp 0x65a26e
mov r12, r8
cmp dword [r8], r10d
jge 0x65a237
xor r8d, r8d
jmp 0x65a26e
lea r8d, [r10 - 1]
movsxd r8, r8d
shl r8, 5
lea r8, [r8 + r12]
lea r8, [r8 + 8]
mov r8, qword [r8]
jmp 0x65a26e
xor r8d, r8d
jmp 0x65a26e
mov rdx, r8
jmp 0x65a1a2
shl r11, 5
add r11, qword [rdx + 0x50]
lea rdx, [r11 + 8]
mov rdx, qword [rdx]
mov r8, rdx
mov qword [rsp + 0x30], r8
xor ebx, ebx
mov rcx, r8
mov edi, 1
nop dword [rax]
call sym.modernc.org_sqlite_lib._exprIsConst
test eax, eax
je 0x65a2b5
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov edi, dword [rsp + 0x80]
mov r9, qword [rsp + 0x78]
jmp 0x65a1a2
mov rcx, qword [rsp + 0x30]
mov rdx, rcx
movzx edx, byte [rdx]
cmp edx, 0xac
je 0x65a2cc
xor edx, edx
jmp 0x65a2e5
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
call sym.modernc.org_sqlite_lib._sqlite3ExprCanReturnSubtype
test eax, eax
setne dl
mov rcx, qword [rsp + 0x30]
test dl, dl
je 0x65a315
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov edi, dword [rsp + 0x80]
mov r9, qword [rsp + 0x78]
jmp 0x65a1a2
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov rax, qword [rsp + 0x68]
mov ecx, 0x20
call sym.modernc.org_sqlite_lib._sqlite3DbMallocRaw
test rax, rax
je 0x65a496
mov qword [rsp + 0x38], rax
mov rsi, qword [rsp + 0x70]
mov r8, rsi
mov rsi, qword [rsi + 0x60]
mov qword [rax + 0x18], rsi
mov rbx, qword [r8]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
xor edi, edi
call sym.modernc.org_sqlite_lib._sqlite3ExprDup
mov rdx, qword [rsp + 0x38]
mov rsi, rdx
mov qword [rdx], rax
mov rdx, rsi
mov r8, qword [rsp + 0x88]
mov r9, r8
mov r8d, dword [r8 + 0x44]
mov dword [rsi + 8], r8d
mov rsi, rdx
mov r8d, dword [rsp + 0x80]
mov dword [rdx + 0xc], r8d
mov rdx, rsi
mov r10d, dword [rsp + 0x24]
mov dword [rsi + 0x10], r10d
mov rsi, rdx
mov r11, r9
movzx r9d, byte [r9 + 0x3c]
test r9d, 0x58
setne byte [rdx + 0x14]
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rdx, qword [rdx + 0x20]
nop dword [rax]
test rdx, rdx
jne 0x65a3f9
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov rax, qword [rsp + 0x68]
call sym.modernc.org_sqlite_lib._computeIndexAffStr
mov rcx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x24]
mov r11, qword [rsp + 0x88]
mov rdx, rax
test rdx, rdx
je 0x65a41b
mov rdx, rsi
mov r9, rcx
mov r12, qword [rcx + 0x20]
mov r13, qword [rsp + 0x40]
add r12, r13
movzx r12d, byte [r12]
mov byte [rsi + 0x15], r12b
jmp 0x65a421
mov rdx, rsi
mov r9, rcx
mov rdi, qword [rsp + 0x70]
mov rbx, rdi
mov qword [rdi + 0x60], rdx
cmp qword [rdx + 0x18], 0
jne 0x65a47e
lea rdi, [rbx + 0x60]
lea rdx, [0x0072fd20]
mov qword [rsp + 0x48], rdx
lea rsi, sym.modernc.org_sqlite_lib._whereIndexedExprCleanup
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
call sym.modernc.org_sqlite_lib._sqlite3ParserAddCleanup
mov rbx, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x80]
mov r9, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x24]
mov r11, qword [rsp + 0x88]
mov rax, qword [rsp + 0x68]
mov ecx, r10d
mov rdx, qword [rsp + 0x28]
mov rsi, r11
mov edi, r8d
jmp 0x65a1a2
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rsi
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 rsi, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._whereAddIndexedExpr