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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov qword [rdx], 0
mov r15, rcx
mov rbx, rdx
mov r14, r9
mov dword [rsp + 0xc0], r8d
mov r8d, dword [0x140248ef4]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
test r8d, r8d
jne 0x1401d1b98
call dbg.sqlite3MutexInit
mov r13d, eax
test eax, eax
jne 0x1401d1b7e
call sym.sqlite3_initialize.part.0
mov r13d, eax
test eax, eax
je 0x1401d1b9b
mov eax, r13d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mfence
xor r13d, r13d
cmp byte [0x140248da4], 0
mov eax, dword [rsp + 0xc0]
je 0x1401d1bb7
test ah, 0x80
je 0x1401d1f72
test eax, 0x40000
je 0x1401d1f5a
and eax, 0xfffdffff
and eax, 0xfff600e7
mov ecx, 0x308
mov dword [rsp + 0xc0], eax
call sym.sqlite3Malloc
mov r12, rax
test rax, rax
je 0x1401d1ef8
lea rdi, [rax + 8]
mov rcx, rax
mov qword [rax], 0
mov qword [rax + 0x300], 0
and rdi, 0xfffffffffffffff8
xor eax, eax
sub rcx, rdi
add ecx, 0x308
shr ecx, 3
rep stosq qword [rdi], rax
test r13d, r13d
je 0x1401d1c4b
cmp byte [0x140248da4], 0
je 0x1401d21a4
mov ecx, 1
call qword [0x140248e10]
mov qword [r12 + 0x18], rax
mov rcx, rax
test rax, rax
je 0x1401d21a4
call qword [0x140248e20]
mov eax, dword [rsp + 0xc0]
mov byte [r12 + 0x71], 0x6d
mov rcx, r12
lea rdi, [sym.binCollFunc]
movdqa xmm0, xmmword [0x140399680]
movdqa xmm1, xmmword [0x140399690]
mov byte [r12 + 0x65], 1
mov r8d, 1
and eax, 0x2000000
mov byte [r12 + 0x6a], 0xff
movups xmmword [r12 + 0x88], xmm0
cmp eax, 1
movups xmmword [r12 + 0x98], xmm1
sbb eax, eax
xor edx, edx
xor r9d, r9d
mov word [r12 + 0x194], dx
mov rdx, qword [0x1403996a0]
and eax, 0x100
mov dword [r12 + 0x28], 2
sub eax, 1
mov qword [r12 + 0xa8], rdx
mov edx, dword [0x1403996a8]
mov dword [r12 + 0x58], eax
lea rax, [r12 + 0x290]
mov dword [r12 + 0xb0], edx
lea rdx, str.BINARY
mov qword [r12 + 0x20], rax
mov rax, qword [0x140248ec8]
mov dword [r12 + 0x190], 1
mov qword [r12 + 0x40], rax
lea rax, [0x140248d60]
mov qword [r12 + 0xd0], rax
mov eax, 0xe00480e0
or qword [r12 + 0x30], rax
mov dword [r12 + 0xb4], 0
mov dword [r12 + 0x74], 0
mov qword [r12 + 0x260], 0
mov qword [r12 + 0x268], 0
mov qword [r12 + 0x270], 0
mov qword [r12 + 0x218], 0
mov qword [r12 + 0x220], 0
mov qword [r12 + 0x228], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
call dbg.createCollation
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x28], 0
mov r8d, 3
lea rdx, str.BINARY
call dbg.createCollation
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x28], 0
mov r8d, 2
lea rdx, str.BINARY
call dbg.createCollation
lea rax, [dbg.nocaseCollatingFunc]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rdx, str.NOCASE
mov rcx, r12
call dbg.createCollation
lea rax, [dbg.rtrimCollFunc]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rdx, str.RTRIM
mov rcx, r12
call dbg.createCollation
cmp byte [r12 + 0x67], 0
jne 0x1401d1ee8
mov eax, dword [rsp + 0xc0]
mov edx, 0x46
mov dword [r12 + 0x4c], eax
and eax, 7
bt edx, eax
jae 0x1401d2170
lea rax, [rsp + 0x50]
mov rdx, r15
mov r9, r12
mov rcx, r14
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call dbg.sqlite3ParseUri
mov edx, eax
test eax, eax
je 0x1401d1f90
cmp eax, 7
jne 0x1401d1ebe
cmp byte [r12 + 0x67], 0
jne 0x1401d1ebe
cmp byte [r12 + 0x68], 0
jne 0x1401d1ebe
mov rcx, r12
mov dword [rsp + 0x3c], eax
call sym.sqlite3OomFault.part.0
mov edx, dword [rsp + 0x3c]
mov r9, qword [rsp + 0x50]
mov eax, 0
lea r8, [0x14038f2a0]
mov rcx, r12
test r9, r9
cmove r8, rax
call dbg.sqlite3ErrorWithMsg
mov rcx, qword [rsp + 0x50]
call sym.sqlite3_free
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x1401d1ef8
call qword [0x140248e30]
mov rcx, r12
call sym.sqlite3_errcode
mov r13d, eax
cmp al, 7
je 0x1401d215e
test eax, eax
je 0x1401d1f15
mov byte [r12 + 0x71], 0xba
mov rax, qword [rsp + 0x48]
mov qword [rbx], r12
test rax, rax
jne 0x1401d1f34
jmp 0x1401d1b7e
sub rax, 1
cmp byte [rax - 1], 0
jne 0x1401d1f30
cmp byte [rax - 2], 0
jne 0x1401d1f30
cmp byte [rax - 3], 0
jne 0x1401d1f30
cmp byte [rax - 4], 0
jne 0x1401d1f30
lea rcx, [rax - 4]
call sym.sqlite3_free
jmp 0x1401d1b7e
mov ecx, dword [0x140248eec]
test ecx, ecx
je 0x1401d1bc7
or eax, 0x20000
jmp 0x1401d1bc7
mov r13d, 1
test eax, 0x10000
jne 0x1401d1bb7
movzx r13d, byte [0x140248da5]
jmp 0x1401d1bb7
mov eax, dword [rsp + 0xc0]
mov rdx, qword [r12 + 0x20]
mov r8, r12
mov dword [rsp + 0x20], 0
or ah, 1
lea r9, [rdx + 8]
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rcx, qword [r12]
call dbg.sqlite3BtreeOpen
mov edx, eax
test eax, eax
jne 0x1401d221a
mov rdi, qword [r12 + 0x20]
mov rdx, qword [rdi + 8]
cmp byte [rdx + 0x11], 0
je 0x1401d1ff4
add dword [rdx + 0x14], 1
cmp byte [rdx + 0x12], 0
jne 0x1401d1ff4
mov rcx, rdx
call dbg.btreeLockCarefully
mov rdi, qword [r12 + 0x20]
mov rdx, qword [rdi + 8]
mov rcx, r12
call dbg.sqlite3SchemaGet
mov qword [rdi + 0x18], rax
cmp byte [r12 + 0x67], 0
je 0x1401d21b4
mov rdi, qword [r12 + 0x20]
mov rcx, qword [rdi + 8]
cmp byte [rcx + 0x11], 0
je 0x1401d202b
sub dword [rcx + 0x14], 1
jne 0x1401d202b
call dbg.unlockBtreeMutex
mov rdi, qword [r12 + 0x20]
xor edx, edx
mov rcx, r12
lea rsi, str.main
call dbg.sqlite3SchemaGet
mov qword [rdi + 0x38], rax
mov rax, qword [r12 + 0x20]
mov qword [rax], rsi
lea rsi, str.temp
mov byte [rax + 0x10], 3
mov qword [rax + 0x20], rsi
mov byte [rax + 0x30], 1
cmp byte [r12 + 0x67], 0
mov byte [r12 + 0x71], 0x76
jne 0x1401d1ee8
cmp qword [r12 + 0x180], 0
mov dword [r12 + 0x50], 0
je 0x1401d235a
xor edx, edx
mov rcx, r12
call dbg.sqlite3ErrorFinish
mov r8d, 2
lea rdx, str.MATCH
mov rcx, r12
call dbg.sqlite3_overload_function
cmp eax, 7
je 0x1401d2368
mov rcx, r12
call sym.sqlite3_errcode
test eax, eax
jne 0x1401d20ef
mov edi, 1
lea rax, [sym.sqlite3Fts3Init]
lea rsi, sym.sqlite3Fts3Init
mov rcx, r12
call rax
test eax, eax
jne 0x1401d20ef
cmp edi, 3
jg 0x1401d2239
mov rax, qword [rsi + rdi*8]
mov rcx, r12
add rdi, 1
call rax
test eax, eax
je 0x1401d20d5
mov dword [r12 + 0x50], eax
mov edx, eax
mov rcx, r12
call dbg.sqlite3ErrorFinish
mov r9d, dword [0x140248db8]
mov r8d, dword [0x140248db4]
mov rcx, r12
xor edx, edx
call dbg.setupLookaside
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x1401d233a
call qword [0x140248e20]
mov rcx, qword [r12 + 0x18]
lea rax, [sym.sqlite3WalDefaultHook]
mov qword [r12 + 0x160], 0x3e8
mov qword [r12 + 0x158], rax
test rcx, rcx
je 0x1401d1ef8
call qword [0x140248e30]
jmp 0x1401d1ee8
mov rcx, r12
xor edx, edx
xor r12d, r12d
call sym.sqlite3Close
jmp 0x1401d1f15
lea rax, [0x14038d98c]
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0x2cbc6
mov ecx, 0x15
mov qword [rsp + 0x20], rax
lea r8, str.misuse
call dbg.sqlite3_log
mov edx, 0x15
jmp 0x1401d1ebe
mov rcx, r12
xor r12d, r12d
call sym.sqlite3_free
jmp 0x1401d1ef8
mov rax, qword [r12 + 0x20]
xor r8d, r8d
lea rdx, str.BINARY
mov rcx, r12
mov rax, qword [rax + 0x18]
movzx edi, byte [rax + 0x71]
mov byte [r12 + 0x64], dil
call dbg.findCollSeqEntry
test rax, rax
je 0x1401d21e6
lea rdx, [rdi + rdi*4]
lea rax, [rax + rdx*8 - 0x28]
mov rdx, qword [r12 + 8]
mov qword [r12 + 0x10], rax
test rdx, rdx
je 0x1401d200c
movzx eax, byte [rdx + 0xc8]
and eax, 0xfffffffc
or eax, 2
mov byte [rdx + 0xc8], al
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1401d21f9
jmp 0x1401d200c
cmp eax, 0xc0a
mov eax, 7
mov rcx, r12
cmove edx, eax
mov dword [r12 + 0x50], edx
call dbg.sqlite3ErrorFinish
jmp 0x1401d1ee8
test eax, eax
jne 0x1401d20ef
mov eax, dword [0x1404013e0]
test eax, eax
je 0x1401d22a3
xor edi, edi
lea r14, [0x1404013e0]
lea rsi, [rsp + 0x58]
lea r15, sym.sqlite3_aggregate_context
cmp byte [0x140248da4], 0
je 0x1401d22b8
mov ecx, 2
call qword [0x140248e10]
mov r13, rax
test rax, rax
je 0x1401d22b8
mov rcx, rax
call qword [0x140248e20]
cmp dword [r14], edi
ja 0x1401d22ff
mov rcx, r13
call qword [0x140248e30]
mov qword [rsp + 0x58], 0
xor ecx, ecx
call sym.sqlite3_free
mov rcx, r12
call sym.sqlite3_errcode
test eax, eax
je 0x1401d20fe
jmp 0x1401d1ee8
cmp dword [r14], edi
jbe 0x1401d2293
mov rdx, qword [0x1404013e8]
mov eax, edi
mov rbp, qword [rdx + rax*8]
mov qword [rsp + 0x58], 0
test rbp, rbp
je 0x1401d238d
mov rdx, rsi
mov r8, r15
mov rcx, r12
call rbp
mov edx, eax
test eax, eax
jne 0x1401d2317
mov rcx, qword [rsp + 0x58]
call sym.sqlite3_free
add edi, 1
jmp 0x1401d2260
mov rdx, qword [0x1404013e8]
mov eax, edi
mov rcx, r13
mov rbp, qword [rdx + rax*8]
call qword [0x140248e30]
jmp 0x1401d22ca
mov r9, qword [rsp + 0x58]
mov rcx, r12
lea r8, str.automatic_extension_loading_failed:__s
call dbg.sqlite3ErrorWithMsg
mov rcx, qword [rsp + 0x58]
call sym.sqlite3_free
jmp 0x1401d22a3
lea rax, [sym.sqlite3WalDefaultHook]
mov qword [r12 + 0x160], 0x3e8
mov qword [r12 + 0x158], rax
jmp 0x1401d1ef8
mov dword [r12 + 0x54], 0xffffffff
jmp 0x1401d208f
cmp byte [r12 + 0x67], 0
jne 0x1401d20ad
cmp byte [r12 + 0x68], 0
jne 0x1401d20ad
mov rcx, r12
call sym.sqlite3OomFault.part.0
jmp 0x1401d20ad
xor ecx, ecx
jmp 0x1401d22f2