Function at 0x5e32b0
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 qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
call sym.sqlite3_initialize
mov r13d, eax
test eax, eax
jne 0x5e3644
cmp byte [0x0060b1a4], 0
mov eax, dword [rsp + 0xc0]
jne 0x5e3680
test eax, 0x40000
je 0x5e3660
and eax, 0xfffdffff
and eax, 0xfff600e7
mov ecx, 0x308
mov dword [rsp + 0xc0], eax
call dbg.sqlite3MallocZero
mov r12, rax
test rax, rax
je 0x5e3615
test r13d, r13d
je 0x5e36b0
cmp byte [0x0060b1a4], 0
je 0x5e38d8
mov ecx, 1
call qword [0x0060b210]
mov qword [r12 + 0x18], rax
mov rcx, rax
test rax, rax
je 0x5e38e0
call qword [0x0060b220]
mov eax, dword [rsp + 0xc0]
mov byte [r12 + 0x71], 0x6d
mov rcx, r12
lea r13, [sym.binCollFunc]
movdqu xmm0, xmmword [0x00740ee0]
movdqu xmm1, xmmword [0x00740ef0]
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 [0x00740f00]
and eax, 0x100
mov dword [r12 + 0x28], 2
sub eax, 1
mov qword [r12 + 0xa8], rdx
mov edx, dword [0x00740f08]
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 [0x0060b2c8]
mov dword [r12 + 0x190], 1
mov qword [r12 + 0x40], rax
lea rax, [0x0060b160]
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], r13
call dbg.createCollation
mov qword [rsp + 0x20], r13
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], r13
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 0x5e3605
mov eax, dword [rsp + 0xc0]
mov edx, 0x46
mov dword [r12 + 0x4c], eax
and eax, 7
bt edx, eax
jae 0x5e3880
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 0x5e36c8
cmp eax, 7
jne 0x5e35db
mov rcx, r12
mov dword [rsp + 0x3c], eax
call sym.sqlite3OomFault
mov edx, dword [rsp + 0x3c]
mov r9, qword [rsp + 0x50]
mov eax, 0
lea r8, [0x00736750]
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 0x5e3615
call qword [0x0060b230]
mov rcx, r12
call sym.sqlite3_errcode
mov r13d, eax
cmp al, 7
je 0x5e3868
test eax, eax
je 0x5e3632
mov byte [r12 + 0x71], 0xba
mov rcx, qword [rsp + 0x48]
mov qword [rbx], r12
test rcx, rcx
je 0x5e3644
call sym.sqlite3_free_filename.part.0
mov eax, r13d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [0x0060b2ec]
test ecx, ecx
je 0x5e331e
or eax, 0x20000
jmp 0x5e331e
test ah, 0x80
jne 0x5e330e
mov r13d, 1
test eax, 0x10000
jne 0x5e330e
movzx r13d, byte [0x0060b1a5]
jmp 0x5e330e
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x5e3378
jmp 0x5e3372
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 0x5e38f0
mov r13, qword [r12 + 0x20]
mov rdx, qword [r13 + 8]
cmp byte [rdx + 0x11], 0
je 0x5e3722
mov rcx, rdx
call sym.sqlite3BtreeEnter.part.0
mov r13, qword [r12 + 0x20]
mov rdx, qword [r13 + 8]
mov rcx, r12
call dbg.sqlite3SchemaGet
mov qword [r13 + 0x18], rax
cmp byte [r12 + 0x67], 0
je 0x5e38b8
mov rsi, qword [r12 + 0x20]
mov rcx, qword [rsi + 8]
cmp byte [rcx + 0x11], 0
je 0x5e3760
sub dword [rcx + 0x14], 1
jne 0x5e3760
call sym.sqlite3BtreeLeave.part.0
mov rsi, qword [r12 + 0x20]
nop dword [rax]
xor edx, edx
mov rcx, r12
lea rdi, str.main
call dbg.sqlite3SchemaGet
mov qword [rsi + 0x38], rax
mov rax, qword [r12 + 0x20]
mov qword [rax], rdi
lea rdi, str.temp
mov byte [rax + 0x10], 3
mov rax, qword [r12 + 0x20]
mov qword [rax + 0x20], rdi
mov byte [rax + 0x30], 1
cmp byte [r12 + 0x67], 0
mov byte [r12 + 0x71], 0x76
jne 0x5e3605
cmp qword [r12 + 0x180], 0
mov dword [r12 + 0x50], 0
je 0x5e3a28
xor edx, edx
mov rcx, r12
call dbg.sqlite3ErrorFinish
mov r8d, 2
lea rdx, str.MATCH
mov rcx, r12
call sym.sqlite3_overload_function
cmp eax, 7
je 0x5e3a36
mov rcx, r12
call sym.sqlite3_errcode
test eax, eax
jne 0x5e382b
mov r13d, 1
lea rax, [sym.sqlite3Fts3Init]
lea rsi, sym.sqlite3Fts3Init
mov rcx, r12
call rax
test eax, eax
jne 0x5e382b
cmp r13d, 3
jg 0x5e3910
mov rax, qword [rsi + r13*8]
mov rcx, r12
add r13, 1
call rax
test eax, eax
je 0x5e3810
mov dword [r12 + 0x50], eax
mov edx, eax
mov rcx, r12
call dbg.sqlite3ErrorFinish
mov r9d, dword [0x0060b1b8]
mov r8d, dword [0x0060b1b4]
xor edx, edx
mov rcx, r12
call dbg.setupLookaside
mov edx, 0x3e8
mov rcx, r12
call sym.sqlite3_wal_autocheckpoint
jmp 0x5e3605
mov rcx, r12
xor edx, edx
xor r12d, r12d
call dbg.sqlite3Close
jmp 0x5e3632
lea rax, [0x00735444]
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0x2c543
mov ecx, 0x15
mov qword [rsp + 0x20], rax
lea r8, str.misuse
call dbg.sqlite3_log
mov edx, 0x15
jmp 0x5e35db
mov rax, qword [r12 + 0x20]
mov rcx, r12
mov rax, qword [rax + 0x18]
movzx edx, byte [rax + 0x71]
call dbg.sqlite3SetTextEncoding
jmp 0x5e373a
mov qword [rax + 0x18], 0
mov rcx, r12
xor r12d, r12d
call sym.sqlite3_free
jmp 0x5e3615
cmp eax, 0xc0a
mov eax, 7
mov rcx, r12
cmove edx, eax
mov dword [r12 + 0x50], edx
call dbg.sqlite3ErrorFinish
jmp 0x5e3605
test eax, eax
jne 0x5e382b
mov eax, dword [0x007e71c0]
test eax, eax
je 0x5e397b
xor r14d, r14d
lea r15, [0x007e71c0]
lea rdi, [rsp + 0x58]
lea rsi, sym.sqlite3_aggregate_context
cmp byte [0x0060b1a4], 0
je 0x5e3990
mov ecx, 2
call qword [0x0060b210]
mov r13, rax
test rax, rax
je 0x5e3990
mov rcx, rax
call qword [0x0060b220]
cmp dword [r15], r14d
ja 0x5e39e0
mov rcx, r13
call qword [0x0060b230]
mov qword [rsp + 0x58], 0
xor ecx, ecx
call sym.sqlite3_free
mov rcx, r12
call sym.sqlite3_errcode
test eax, eax
je 0x5e383a
jmp 0x5e3605
cmp dword [r15], r14d
jbe 0x5e396b
mov rdx, qword [0x007e71c8]
mov eax, r14d
mov rbp, qword [rdx + rax*8]
mov qword [rsp + 0x58], 0
test rbp, rbp
je 0x5e3a43
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call rbp
test eax, eax
jne 0x5e3a00
mov rcx, qword [rsp + 0x58]
call sym.sqlite3_free
add r14d, 1
jmp 0x5e3938
mov rdx, qword [0x007e71c8]
mov eax, r14d
mov rcx, r13
mov rbp, qword [rdx + rax*8]
call qword [0x0060b230]
jmp 0x5e39a3
mov r9, qword [rsp + 0x58]
mov rcx, r12
lea r8, str.automatic_extension_loading_failed:__s
mov edx, eax
call dbg.sqlite3ErrorWithMsg
mov rcx, qword [rsp + 0x58]
call sym.sqlite3_free
jmp 0x5e397b
mov dword [r12 + 0x54], 0xffffffff
jmp 0x5e37c9
mov rcx, r12
call sym.sqlite3OomFault
jmp 0x5e37e7
xor ecx, ecx
jmp 0x5e39c9