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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x584362
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 qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rsi
mov byte [rsp + 0x37], 0
mov dword [rsp + 0x3c], 0
mov ebx, 0x70
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._vdbeCompareMemString.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 + 0x37], 1
mov rdx, qword [rsp + 0x88]
mov rsi, rdx
movzx edi, byte [rdx + 0x16]
mov r8, qword [rsp + 0x98]
mov r9, r8
movzx r8d, byte [r8 + 8]
nop
cmp edi, r8d
je 0x584306
mov qword [rsp + 0x50], rax
mov rdx, qword [rdx + 0x18]
lea r8, [rax + 0x38]
mov qword [rsp + 0x48], r8
mov rbx, rax
mov word [rax + 0x14], 1
mov r9, rbx
mov qword [r9 + 0x18], rdx
mov rdx, rbx
mov dword [rdx + 0x20], 0
mov rdx, rsi
mov rsi, qword [rsi + 0x18]
mov r9, r8
mov word [r8 + 0x14], 1
mov r8, r9
mov qword [r9 + 0x18], rsi
mov dword [r8 + 0x20], 0
mov rax, rcx
mov rcx, rdx
mov edi, 0x4000
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemShallowCopy
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
mov edi, 0x4000
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemShallowCopy
mov rdx, qword [rsp + 0x98]
movzx ecx, byte [rdx + 8]
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x50]
nop
call sym.modernc.org_sqlite_lib._sqlite3ValueText
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x98]
movzx ecx, byte [rdx + 8]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3ValueText
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x584257
test rax, rax
jne 0x58426c
mov rcx, qword [rsp + 0xa0]
nop
test rcx, rcx
je 0x584268
mov byte [rcx], 7
xor eax, eax
jmp 0x5842a3
mov r9, qword [rsp + 0x98]
mov r10, r9
mov rdx, qword [r9 + 0x18]
mov r9, qword [rdx]
mov rbx, qword [r10 + 0x10]
mov r10, qword [rsp + 0x50]
mov ecx, dword [r10 + 0x10]
mov r10, qword [rsp + 0x48]
mov esi, dword [r10 + 0x10]
mov r8, rax
mov rax, qword [rsp + 0x80]
nop
call r9
mov dword [rsp + 0x38], eax
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
cmp dword [rcx + 0x20], 0
je 0x5842c9
mov rax, qword [rsp + 0x80]
nop dword [rax]
call sym.modernc.org_sqlite_lib._vdbeMemClear
mov eax, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
nop
cmp dword [rcx + 0x20], 0
je 0x5842e9
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._vdbeMemClear
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x3c]
add rsp, 0x70
pop rbp
ret
mov r10, r9
mov rdx, qword [r9 + 0x18]
mov r9, qword [rdx]
mov rbx, qword [r10 + 0x10]
mov r10d, dword [rsi + 0x10]
mov r11, qword [rsp + 0x90]
mov rdi, qword [rsi + 8]
mov r8, qword [r11 + 8]
mov esi, dword [r11 + 0x10]
mov rax, rcx
mov ecx, r10d
call r9
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0x68]
mov r9, qword [rdx]
call r9
mov eax, dword [rsp + 0x3c]
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
nop dword [rax + rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
nop
jmp sym.modernc.org_sqlite_lib._vdbeCompareMemString