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

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x64652c
push rbp
mov rbp, rsp
sub rsp, 0xb8
movq qword [rsp + 0xb0], xmm15
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], r8
mov byte [rsp + 0x2f], 0
mov dword [rsp + 0x34], 0
mov ebx, 0x10
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x80], rax
lea rcx, [sym.modernc.org_sqlite_lib._isLikeOrGlob.deferwrap1]
mov qword [rsp + 0xa0], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0xa8], rcx
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0xb0], rdx
mov byte [rsp + 0x2f], 1
mov rdx, qword [rsp + 0xd0]
mov rbx, qword [rdx]
mov qword [rsp + 0x78], rbx
mov rdi, qword [rsp + 0xf0]
mov rdx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xd8]
mov rsi, rdx
call sym.modernc.org_sqlite_lib._sqlite3IsLikeFunction
test eax, eax
je 0x645e58
mov rdx, qword [rsp + 0xd8]
add rdx, 0x20
mov rdx, qword [rdx]
lea rsi, [rdx + 0x28]
add rdx, 8
mov rsi, qword [rsi]
mov rdx, qword [rdx]
jmp 0x645e83
mov dword [rsp + 0x34], 0
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xb0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x34]
add rsp, 0xb8
pop rbp
ret
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x645e98
mov r8, rdx
mov r9d, dword [rdx + 4]
bt r9d, 0xd
jb 0x645e7f
jmp 0x645e9b
mov r8, rdx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x98], r8
mov rdx, r8
movzx r9d, byte [r8]
mov dword [rsp + 0x44], r9d
nop word [rax + rax]
nop dword [rax]
cmp r9d, 0x9c
jne 0x645fc8
mov rbx, qword [rsp + 0x78]
mov r10, rbx
mov r10, qword [r10 + 0x30]
bt r10d, 0x17
nop
jb 0x645fcd
mov rdx, qword [rsp + 0xd0]
mov rbx, qword [rdx + 0x150]
movsx rcx, word [r8 + 0x30]
mov dword [rsp + 0x40], ecx
mov rax, qword [rsp + 0xc8]
mov edi, 0x41
call sym.modernc.org_sqlite_lib._sqlite3VdbeGetBoundValue
test rax, rax
je 0x645f57
mov rbx, rax
movzx edx, word [rax + 0x14]
and edx, 0x3f
lea rsi, [0x009bafc0]
movzx edx, byte [rsi + rdx]
cmp edx, 3
je 0x645f33
xor eax, eax
jmp 0x645f5c
mov qword [rsp + 0x90], rbx
mov rax, qword [rsp + 0xc8]
mov ecx, 1
call sym.modernc.org_sqlite_lib._sqlite3ValueText
mov rbx, qword [rsp + 0x90]
jmp 0x645f5c
mov rbx, rax
xor eax, eax
mov rdx, qword [rsp + 0xd0]
mov rsi, rdx
mov rdx, qword [rdx + 0x10]
mov ecx, dword [rsp + 0x40]
cmp ecx, 0x20
jl 0x645f83
add rdx, 0x11c
or dword [rdx], 0x80000000
jmp 0x645fa9
dec ecx
test ecx, ecx
jl 0x646514
add rdx, 0x11c
mov r8d, 1
shl r8d, cl
cmp ecx, 0x20
sbb r9d, r9d
and r9d, r8d
or dword [rdx], r9d
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x44]
mov r8, rax
mov rax, rbx
mov rbx, qword [rsp + 0x78]
jmp 0x645fe1
mov rbx, qword [rsp + 0x78]
cmp r9d, 0x75
jne 0x645fdc
lea r8, [rdx + 8]
mov r8, qword [r8]
jmp 0x645fdf
xor r8d, r8d
xor eax, eax
test r8, r8
je 0x645ff2
mov r10, qword [rsp + 0x80]
xor ecx, ecx
jmp 0x64603e
mov qword [rsp + 0x50], r8
mov rbx, rax
mov rax, qword [rsp + 0xc8]
call sym.modernc.org_sqlite_lib._sqlite3ValueFree
mov rcx, qword [rsp + 0x50]
test rcx, rcx
setne cl
movzx ecx, cl
mov dword [rsp + 0x34], ecx
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x34]
add rsp, 0xb8
pop rbp
ret
mov r10, r13
mov ecx, r11d
movsxd r11, ecx
lea r12, [r11 + r8]
movzx r12d, byte [r12]
test r12d, r12d
je 0x646092
mov r13, r10
movzx r15d, byte [r10]
cmp r15d, r12d
je 0x646095
movzx r15d, byte [r10 + 1]
cmp r15d, r12d
je 0x646095
movzx r15d, byte [r10 + 2]
cmp r15d, r12d
je 0x646095
movzx r10d, byte [r10 + 3]
lea r11d, [rcx + 1]
cmp r10d, r12d
jne 0x646038
movsxd r10, r11d
add r10, r8
movzx r10d, byte [r10]
test r10d, r10d
je 0x646038
lea r11d, [rcx + 2]
jmp 0x646038
mov r13, r10
cmp ecx, 1
jg 0x6460cf
nop word [rax + rax]
test ecx, ecx
jle 0x646189
mov rdi, r8
movzx r8d, byte [r8]
mov r10, r13
movzx r13d, byte [r13 + 3]
nop word [rax + rax]
cmp r8d, r13d
je 0x646189
mov r8, rdi
mov r13, r10
lea r10d, [rcx - 1]
movsxd r10, r10d
add r10, r8
movzx r10d, byte [r10]
nop dword [rax]
cmp r10d, 0xff
je 0x646189
mov qword [rsp + 0x90], r11
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x3c], ecx
movzx r13d, byte [r13]
cmp r13d, r12d
jne 0x646122
lea r12d, [rcx + 1]
movsxd r12, r12d
add r12, r8
movzx r12d, byte [r12]
test r12d, r12d
sete r12b
nop
jmp 0x646125
xor r12d, r12d
mov qword [rsp + 0x50], r8
mov rdx, qword [rsp + 0xe8]
movzx r9d, r12b
mov dword [rdx], r9d
mov rax, qword [rsp + 0xc8]
mov ecx, 0x75
mov rdi, r8
call sym.modernc.org_sqlite_lib._sqlite3Expr
test rax, rax
je 0x64617d
lea rdx, [rax + 8]
mov rbx, qword [rdx]
mov rdx, qword [rsp + 0x90]
add rdx, rbx
mov byte [rdx], 0
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x80]
xor esi, esi
xor edi, edi
jmp 0x646321
mov edx, dword [rsp + 0x44]
cmp edx, 0x9c
jmp 0x646193
xor ecx, ecx
mov r8, rcx
jmp 0x645ff2
mov rdx, qword [rsp + 0xe0]
mov qword [rdx], rax
nop
jne 0x6462f5
mov rbx, qword [rsp + 0xd0]
mov rdx, rbx
mov rcx, qword [rsp + 0x98]
mov rsi, rcx
movsx rsi, word [rsi + 0x30]
mov rdx, qword [rdx + 0x10]
cmp esi, 0x20
jl 0x6461dc
lea rsi, [rdx + 0x11c]
or dword [rsi], 0x80000000
mov rax, rcx
jmp 0x646208
dec esi
nop
test esi, esi
jl 0x646305
lea r8, [rdx + 0x11c]
mov rax, rcx
mov ecx, esi
mov r9d, 1
shl r9d, cl
cmp ecx, 0x20
sbb esi, esi
and r9d, esi
or dword [r8], r9d
mov rsi, qword [rsp + 0xe8]
cmp dword [rsi], 0
je 0x6462f5
lea rsi, [rax + 8]
mov rsi, qword [rsi]
inc rsi
cmp byte [rsi], 0
je 0x6462f5
mov qword [rsp + 0x58], rdx
mov rsi, rbx
movzx esi, byte [rsi + 0x1f]
test esi, esi
jne 0x64624a
lea rsi, [rbx + 0x38]
mov r8, rsi
inc dword [rsi]
mov esi, dword [r8]
jmp 0x64626d
lea r8, [rbx + 0x1f]
mov r9, r8
movzx r10d, byte [r8]
dec r10d
mov byte [r8], r10b
movzx r8d, byte [r9]
lea r8, [rbx + r8*4]
lea r8, [r8 + 0xe8]
mov esi, dword [r8]
mov dword [rsp + 0x30], esi
mov rcx, rax
mov edi, esi
mov rax, qword [rsp + 0xc8]
nop
call sym.modernc.org_sqlite_lib._sqlite3ExprCodeTarget
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rdx]
cmp byte [rsi + 0x67], 0
je 0x64629c
lea rcx, [0x00a30f90]
jmp 0x6462b6
mov esi, dword [rdx + 0x90]
dec esi
movsxd rsi, esi
lea rcx, [rsi + rsi*2]
shl rcx, 3
add rcx, qword [rdx + 0x88]
mov dword [rcx + 0xc], 0
nop
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x6462f5
mov rdx, qword [rsp + 0xd0]
mov rsi, rdx
movzx edx, byte [rdx + 0x1f]
cmp edx, 8
jge 0x6462f5
lea rdx, [rsi + 0x1f]
movzx edi, byte [rdx]
lea r8d, [rdi + 1]
mov byte [rdx], r8b
lea rdx, [rsi + rdi*4]
lea rdx, [rdx + 0xe8]
mov dword [rdx], ecx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
nop
jmp 0x64618b
call sym.runtime.panicshift
movsxd r8, edi
add r8, rbx
movsxd r9, esi
add r9, rbx
movzx r9d, byte [r9]
mov byte [r8], r9b
inc edi
inc esi
cmp esi, edx
jge 0x646342
movsxd r8, esi
add r8, rbx
movsx r8, byte [r8]
mov r9, rcx
movzx r9d, byte [r9 + 3]
cmp r8d, r9d
jne 0x64630a
inc esi
nop
jmp 0x64630a
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x38], edi
movsxd rdx, edi
add rdx, rbx
mov byte [rdx], 0
mov rdx, qword [rsp + 0x70]
mov r8, rdx
movzx edx, byte [rdx]
cmp edx, 0xa7
je 0x646373
mov edx, 1
jmp 0x6463ac
mov rax, qword [rsp + 0xc8]
mov rbx, r8
nop
call sym.modernc.org_sqlite_lib._sqlite3ExprAffinity
movsx rcx, al
cmp ecx, 0x42
setne cl
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x38]
mov r8, qword [rsp + 0x70]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
test dl, dl
jne 0x6463ea
mov rdx, r8
mov r8d, dword [r8 + 4]
nop word [rax + rax]
test r8d, 0x3000000
jne 0x646505
add rdx, 0x40
mov rdx, qword [rdx]
test rdx, rdx
je 0x6464f1
movzx edx, byte [rdx + 0x3f]
cmp edx, 1
jne 0x6464e2
add rcx, 8
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + 0xc8]
mov esi, 1
call sym.modernc.org_sqlite_lib._sqlite3AtoF
test eax, eax
jg 0x646479
mov edi, dword [rsp + 0x38]
cmp edi, 1
jne 0x64642d
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
movsx rdx, byte [rdx]
cmp edx, 0x2d
jne 0x646432
mov eax, 1
jmp 0x646479
mov rbx, qword [rsp + 0x48]
lea edx, [rdi - 1]
movsxd rdx, edx
add rdx, rbx
mov qword [rsp + 0x88], rdx
movzx r9d, byte [rdx]
inc r9d
mov byte [rdx], r9b
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x90]
mov esi, 1
call sym.modernc.org_sqlite_lib._sqlite3AtoF
mov rdx, qword [rsp + 0x88]
movzx r8d, byte [rdx]
dec r8d
mov byte [rdx], r8b
test eax, eax
jg 0x646491
mov edx, dword [rsp + 0x44]
cmp edx, 0x9c
mov rax, qword [rsp + 0x68]
jmp 0x646193
nop
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call sym.modernc.org_sqlite_lib._sqlite3ExprDeleteNN
mov rax, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib._sqlite3ValueFree
mov dword [rsp + 0x34], 0
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xb0]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x34]
add rsp, 0xb8
pop rbp
ret
mov edx, dword [rsp + 0x44]
cmp edx, 0x9c
jmp 0x646193
mov edx, dword [rsp + 0x44]
cmp edx, 0x9c
nop dword [rax + rax]
jmp 0x646193
mov edx, dword [rsp + 0x44]
cmp edx, 0x9c
jmp 0x646193
call sym.runtime.panicshift
nop
call sym.runtime.deferreturn
mov eax, dword [rsp + 0x34]
add rsp, 0xb8
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp sym.modernc.org_sqlite_lib._isLikeOrGlob