Function at 0x1401ccc70
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 [0x140241cd4]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
test r8d, r8d
jne 0x1401ccce8
call dbg.sqlite3MutexInit
mov r13d, eax
test eax, eax
jne 0x1401cccce
call sym.sqlite3_initialize.part.0
mov r13d, eax
test eax, eax
je 0x1401ccceb
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 [0x140241b84], 0
mov eax, dword [rsp + 0xc0]
je 0x1401ccd07
test ah, 0x80
je 0x1401cd0c2
test eax, 0x40000
je 0x1401cd0aa
and eax, 0xfffdffff
and eax, 0xfff600e7
mov ecx, 0x308
mov dword [rsp + 0xc0], eax
call sym.sqlite3Malloc
mov r12, rax
test rax, rax
je 0x1401cd048
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 0x1401ccd9b
cmp byte [0x140241b84], 0
je 0x1401cd2f4
mov ecx, 1
call qword [0x140241bf0]
mov qword [r12 + 0x18], rax
mov rcx, rax
test rax, rax
je 0x1401cd2f4
call qword [0x140241c00]
mov eax, dword [rsp + 0xc0]
mov byte [r12 + 0x71], 0x6d
mov rcx, r12
lea rdi, [sym.binCollFunc]
movdqa xmm0, xmmword [0x1403883e0]
movdqa xmm1, xmmword [0x1403883f0]
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 [0x140388400]
and eax, 0x100
mov dword [r12 + 0x28], 2
sub eax, 1
mov qword [r12 + 0xa8], rdx
mov edx, dword [0x140388408]
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 [0x140241ca8]
mov dword [r12 + 0x190], 1
mov qword [r12 + 0x40], rax
lea rax, [0x140241b40]
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 0x1401cd038
mov eax, dword [rsp + 0xc0]
mov edx, 0x46
mov dword [r12 + 0x4c], eax
and eax, 7
bt edx, eax
jae 0x1401cd2c0
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 0x1401cd0e0
cmp eax, 7
jne 0x1401cd00e
cmp byte [r12 + 0x67], 0
jne 0x1401cd00e
cmp byte [r12 + 0x68], 0
jne 0x1401cd00e
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, [0x14037e000]
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 0x1401cd048
call qword [0x140241c10]
mov rcx, r12
call sym.sqlite3_errcode
mov r13d, eax
cmp al, 7
je 0x1401cd2ae
test eax, eax
je 0x1401cd065
mov byte [r12 + 0x71], 0xba
mov rax, qword [rsp + 0x48]
mov qword [rbx], r12
test rax, rax
jne 0x1401cd084
jmp 0x1401cccce
sub rax, 1
cmp byte [rax - 1], 0
jne 0x1401cd080
cmp byte [rax - 2], 0
jne 0x1401cd080
cmp byte [rax - 3], 0
jne 0x1401cd080
cmp byte [rax - 4], 0
jne 0x1401cd080
lea rcx, [rax - 4]
call sym.sqlite3_free
jmp 0x1401cccce
mov ecx, dword [0x140241ccc]
test ecx, ecx
je 0x1401ccd17
or eax, 0x20000
jmp 0x1401ccd17
mov r13d, 1
test eax, 0x10000
jne 0x1401ccd07
movzx r13d, byte [0x140241b85]
jmp 0x1401ccd07
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 0x1401cd36a
mov rdi, qword [r12 + 0x20]
mov rdx, qword [rdi + 8]
cmp byte [rdx + 0x11], 0
je 0x1401cd144
add dword [rdx + 0x14], 1
cmp byte [rdx + 0x12], 0
jne 0x1401cd144
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 0x1401cd304
mov rdi, qword [r12 + 0x20]
mov rcx, qword [rdi + 8]
cmp byte [rcx + 0x11], 0
je 0x1401cd17b
sub dword [rcx + 0x14], 1
jne 0x1401cd17b
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 0x1401cd038
cmp qword [r12 + 0x180], 0
mov dword [r12 + 0x50], 0
je 0x1401cd4aa
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 0x1401cd4b8
mov rcx, r12
call sym.sqlite3_errcode
test eax, eax
jne 0x1401cd23f
mov edi, 1
lea rax, [sym.sqlite3Fts3Init]
lea rsi, sym.sqlite3Fts3Init
mov rcx, r12
call rax
test eax, eax
jne 0x1401cd23f
cmp edi, 3
jg 0x1401cd389
mov rax, qword [rsi + rdi*8]
mov rcx, r12
add rdi, 1
call rax
test eax, eax
je 0x1401cd225
mov dword [r12 + 0x50], eax
mov edx, eax
mov rcx, r12
call dbg.sqlite3ErrorFinish
mov r9d, dword [0x140241b98]
mov r8d, dword [0x140241b94]
mov rcx, r12
xor edx, edx
call dbg.setupLookaside
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x1401cd48a
call qword [0x140241c00]
mov rcx, qword [r12 + 0x18]
lea rax, [sym.sqlite3WalDefaultHook]
mov qword [r12 + 0x160], 0x3e8
mov qword [r12 + 0x158], rax
test rcx, rcx
je 0x1401cd048
call qword [0x140241c10]
jmp 0x1401cd038
mov rcx, r12
xor edx, edx
xor r12d, r12d
call sym.sqlite3Close
jmp 0x1401cd065
lea rax, [0x14037c6ec]
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 0x1401cd00e
mov rcx, r12
xor r12d, r12d
call sym.sqlite3_free
jmp 0x1401cd048
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 0x1401cd336
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 0x1401cd15c
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 0x1401cd349
jmp 0x1401cd15c
cmp eax, 0xc0a
mov eax, 7
mov rcx, r12
cmove edx, eax
mov dword [r12 + 0x50], edx
call dbg.sqlite3ErrorFinish
jmp 0x1401cd038
test eax, eax
jne 0x1401cd23f
mov eax, dword [0x1403f0340]
test eax, eax
je 0x1401cd3f3
xor edi, edi
lea r14, [0x1403f0340]
lea rsi, [rsp + 0x58]
lea r15, sym.sqlite3_aggregate_context
cmp byte [0x140241b84], 0
je 0x1401cd408
mov ecx, 2
call qword [0x140241bf0]
mov r13, rax
test rax, rax
je 0x1401cd408
mov rcx, rax
call qword [0x140241c00]
cmp dword [r14], edi
ja 0x1401cd44f
mov rcx, r13
call qword [0x140241c10]
mov qword [rsp + 0x58], 0
xor ecx, ecx
call sym.sqlite3_free
mov rcx, r12
call sym.sqlite3_errcode
test eax, eax
je 0x1401cd24e
jmp 0x1401cd038
cmp dword [r14], edi
jbe 0x1401cd3e3
mov rdx, qword [0x1403f0348]
mov eax, edi
mov rbp, qword [rdx + rax*8]
mov qword [rsp + 0x58], 0
test rbp, rbp
je 0x1401cd4dd
mov rdx, rsi
mov r8, r15
mov rcx, r12
call rbp
mov edx, eax
test eax, eax
jne 0x1401cd467
mov rcx, qword [rsp + 0x58]
call sym.sqlite3_free
add edi, 1
jmp 0x1401cd3b0
mov rdx, qword [0x1403f0348]
mov eax, edi
mov rcx, r13
mov rbp, qword [rdx + rax*8]
call qword [0x140241c10]
jmp 0x1401cd41a
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 0x1401cd3f3
lea rax, [sym.sqlite3WalDefaultHook]
mov qword [r12 + 0x160], 0x3e8
mov qword [r12 + 0x158], rax
jmp 0x1401cd048
mov dword [r12 + 0x54], 0xffffffff
jmp 0x1401cd1df
cmp byte [r12 + 0x67], 0
jne 0x1401cd1fd
cmp byte [r12 + 0x68], 0
jne 0x1401cd1fd
mov rcx, r12
call sym.sqlite3OomFault.part.0
jmp 0x1401cd1fd
xor ecx, ecx
jmp 0x1401cd442