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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x614d1f
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 qword [rsp + 0xa8], r9
mov byte [rsp + 0x3b], 0
mov dword [rsp + 0x40], 0
mov ebx, 0x10
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x50], rax
lea rcx, [sym.modernc.org_sqlite_lib._sqlite3Prepare16.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 + 0x3b], 1
mov qword [rax], 0
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov rax, rcx
mov rbx, qword [rsp + 0x88]
call sym.modernc.org_sqlite_lib._sqlite3SafetyCheckOk
test eax, eax
je 0x614ade
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x614ade
mov r8d, dword [rsp + 0x98]
test r8d, r8d
jl 0x614b22
xor eax, eax
jmp 0x614ce1
mov rdi, qword [0x00a30e10]
add rdi, 0x668a
mov rax, qword [rsp + 0x80]
mov ebx, 0x15
mov ecx, 0x22dd3
nop
call sym.modernc.org_sqlite_lib._sqlite3ReportError
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x40]
add rsp, 0x70
pop rbp
ret
mov rbx, qword [rsp + 0x88]
mov r9, rbx
mov r9, qword [r9 + 0x18]
test r9, r9
je 0x614b67
mov dword [rsp + 0x44], r8d
mov rdx, qword [0x009c03a0]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x80]
mov rbx, r9
call rcx
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x44]
mov rax, qword [rsp + 0x80]
mov edi, r8d
mov esi, 2
call sym.modernc.org_sqlite_lib._sqlite3Utf16to8
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x614b8a
xor ecx, ecx
jmp 0x614bc5
mov rbx, qword [rsp + 0x88]
mov rcx, rax
mov edi, 0xffffffff
mov esi, dword [rsp + 0x9c]
xor r8d, r8d
mov r9, qword [rsp + 0xa0]
mov r10, qword [rsp + 0x50]
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3LockAndPrepare
mov ecx, eax
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x3c], ecx
mov rsi, qword [rsp + 0x50]
mov rsi, qword [rsi]
test rsi, rsi
je 0x614c46
mov rdi, qword [rsp + 0xa8]
nop
test rdi, rdi
jne 0x614bea
test rax, rax
jmp 0x614c49
sub rsi, rax
mov rbx, rax
mov rcx, rsi
mov rax, qword [rsp + 0x80]
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3Utf8CharLen
mov rbx, qword [rsp + 0x90]
mov ecx, eax
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3Utf16ByteLen
mov rdx, qword [rsp + 0xa8]
movsxd rsi, eax
mov rdi, qword [rsp + 0x90]
add rsi, rdi
mov qword [rdx], rsi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
mov rax, rcx
mov ecx, dword [rsp + 0x3c]
jmp 0x614c49
test rax, rax
nop
je 0x614c69
mov rbx, qword [rsp + 0x88]
mov rcx, rax
mov rax, qword [rsp + 0x80]
nop
call sym.modernc.org_sqlite_lib._sqlite3DbFreeNN
mov ecx, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x88]
mov rsi, rbx
cmp byte [rsi + 0x67], 0
jne 0x614c7e
test ecx, ecx
je 0x614c95
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._apiHandleError
mov rbx, qword [rsp + 0x88]
jmp 0x614c97
xor eax, eax
mov rbx, qword [rbx + 0x18]
nop dword [rax + rax]
test rbx, rbx
je 0x614cc1
mov dword [rsp + 0x3c], eax
mov rdx, qword [0x009c03b0]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x80]
call rcx
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x40]
add rsp, 0x70
pop rbp
ret
add eax, 2
cmp r8d, eax
jle 0x614d08
movsxd r9, eax
add r9, rcx
movsx r9, byte [r9]
test r9d, r9d
jne 0x614cde
lea r9d, [rax + 1]
movsxd r9, r9d
add r9, rcx
movsx r9, byte [r9]
test r9d, r9d
jne 0x614cde
mov r8d, eax
jmp 0x614b22
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
mov qword [rsp + 0x30], r9
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]
mov r9, qword [rsp + 0x30]
jmp sym.modernc.org_sqlite_lib._sqlite3Prepare16