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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [rcx]
mov eax, dword [rax + 0x88]
mov r12, rcx
lea ebp, [rax + 0x14]
mov ecx, 0xf
xor eax, eax
mov rdi, rdx
mov rsi, rdx
rep stosq qword [rdi], rax
mov dword [rdx], r8d
mov ecx, dword [r12 + 0x3c]
test ecx, ecx
jne 0x1401b30b0
call sym.sqlite3_initialize
test eax, eax
jne 0x1401b3278
mov edx, 0x20
xor ecx, ecx
call sym.sqlite3Realloc
mov rbx, rax
test rax, rax
je 0x1401b3278
movsxd rax, dword [rsi + 0x54]
mov r8d, 1
xor edx, edx
sub r8d, eax
shl rax, 5
movsxd r8, r8d
lea rcx, [rbx + rax]
shl r8, 5
call sub.msvcrt.dll_memset
mov qword [rsi + 0x58], rbx
mov eax, dword [rsi + 0x2c]
mov dword [rsi + 0x54], 1
mov dword [rsi + 8], 1
mov byte [rsi + 0x4a], 1
mov dword [rsi + 0x70], 1
cmp ebp, eax
jbe 0x1401b312a
movsxd rbx, eax
test eax, eax
mov eax, 0x40
cmove rbx, rax
jmp 0x1401b30cf
mov dword [rdx + 8], 1
mov byte [rdx + 0x4a], 1
mov dword [rdx + 0x70], 1
test ebp, ebp
je 0x1401b318a
mov ebx, 0x40
mov eax, ebp
cmp rax, rbx
jbe 0x1401b30e8
nop word cs:[rax + rax]
add rbx, rbx
cmp rax, rbx
ja 0x1401b30e0
mov r13, qword [rsi + 0x20]
call sym.sqlite3_initialize
test eax, eax
jne 0x1401b31e0
test r13, r13
je 0x1401b3294
cmp rbx, 0x7ffffeff
ja 0x1401b31e0
mov rdx, rbx
mov rcx, r13
call sym.sqlite3Realloc.part.0
test rax, rax
je 0x1401b31e0
mov dword [rsi + 0x2c], ebx
mov qword [rsi + 0x20], rax
movsxd rbx, dword [rsi + 0x1c]
cmp ebx, ebp
jae 0x1401b318a
mov eax, 0x40
test ebx, ebx
cmove rbx, rax
mov eax, ebp
cmp rax, rbx
jbe 0x1401b3150
nop dword [rax]
add rbx, rbx
cmp rbx, rax
jb 0x1401b3148
mov r13, qword [rsi + 0x10]
call sym.sqlite3_initialize
test eax, eax
jne 0x1401b31f0
test r13, r13
je 0x1401b32a1
cmp rbx, 0x7ffffeff
ja 0x1401b31f0
mov rdx, rbx
mov rcx, r13
call sym.sqlite3Realloc.part.0
test rax, rax
je 0x1401b31f0
mov dword [rsi + 0x1c], ebx
mov qword [rsi + 0x10], rax
cmp qword [r12 + 0x58], 0
je 0x1401b3201
mov eax, dword [r12 + 0x3c]
test eax, eax
je 0x1401b31b0
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [rsi + 0x10]
mov dword [rax], 0
movsxd rdx, dword [rsi]
mov rcx, qword [r12 + 0x58]
mov dword [rsi + 0x18], 4
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.sqlite3_bind_int64.constprop.0.isra.0
mov dword [r12 + 0x3c], 7
jmp 0x1401b312a
mov dword [r12 + 0x3c], 7
cmp qword [r12 + 0x58], 0
jne 0x1401b3192
mov rax, qword [r12]
lea rcx, str.INSERT_INTO__q._q_idx_segid_term_pgno__VALUES_______
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
call sym.sqlite3_mprintf
mov edx, dword [r12 + 0x3c]
mov r13, rax
test edx, edx
jne 0x1401b3266
test rax, rax
je 0x1401b3289
mov rax, qword [r12]
lea rdx, [r12 + 0x58]
mov qword [rsp + 0x30], 0
mov r9d, 0x85
mov qword [rsp + 0x28], rdx
mov r8d, 0xffffffff
mov rdx, r13
mov qword [rsp + 0x20], 0
mov rcx, qword [rax]
call sym.sqlite3LockAndPrepare
mov dword [r12 + 0x3c], eax
mov rcx, r13
call sym.sqlite3_free
jmp 0x1401b3192
mov dword [r12 + 0x3c], 7
mov eax, dword [rsi + 0x2c]
jmp 0x1401b3081
mov dword [r12 + 0x3c], 7
jmp 0x1401b3266
mov rcx, rbx
call sym.sqlite3Malloc
jmp 0x1401b311a
mov rcx, rbx
call sym.sqlite3Malloc
jmp 0x1401b317e