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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6849eb
push rbp
mov rbp, rsp
sub rsp, 0x70
movq qword [rsp + 0x68], xmm15
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov dword [rsp + 0x90], ecx
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0xa0], esi
mov byte [rsp + 0x33], 0
mov ebx, 0x50
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x50], rax
lea rcx, [sym.modernc.org_sqlite_lib._jsonInsertIntoBlob.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 + 0x33], 1
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx]
mov edi, dword [rsp + 0x90]
cmp edi, 1
setne r8b
movzx r8d, r8b
mov rbx, qword [rsp + 0x88]
mov rax, rcx
mov rcx, rdx
mov edi, r8d
call sym.modernc.org_sqlite_lib._jsonParseFuncArg
test rax, rax
je 0x6846b0
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov ecx, 1
xor ebx, ebx
jmp 0x6846c8
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
add rsp, 0x70
pop rbp
ret
add ecx, 2
lea edi, [rdx - 1]
cmp ecx, edi
jge 0x68499f
movsxd rdi, ecx
lea rdi, [rsi + rdi*8]
mov rdi, qword [rdi]
mov r8, rdi
movzx edi, word [rdi + 0x14]
and edi, 0x3f
lea r9, [0x009bafc0]
movzx edi, byte [r9 + rdi]
cmp edi, 5
je 0x6846c5
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], ecx
nop
mov rax, qword [rsp + 0x80]
mov rbx, r8
mov ecx, 1
call sym.modernc.org_sqlite_lib._sqlite3ValueText
test rax, rax
je 0x684963
mov qword [rsp + 0x40], rax
movsx rsi, byte [rax]
cmp esi, 0x24
jne 0x6848cc
mov edx, dword [rsp + 0x38]
lea esi, [rdx + 1]
movsxd rsi, esi
mov r8, qword [rsp + 0x98]
lea rsi, [r8 + rsi*8]
mov rcx, qword [rsi]
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x50]
nop
call sym.modernc.org_sqlite_lib._jsonFunctionArgToBlob
test eax, eax
jne 0x684892
mov rdi, qword [rsp + 0x40]
lea rdx, [rdi + 1]
mov r9, rdx
movsx rdx, byte [rdx]
nop dword [rax]
test edx, edx
jne 0x6847cb
mov edx, dword [rsp + 0xa0]
cmp edx, 2
je 0x684795
cmp edx, 4
jne 0x6847c7
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov edi, dword [rdx + 8]
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx]
mov r8d, dword [rdx + 8]
mov rax, qword [rsp + 0x80]
xor ecx, ecx
call sym.modernc.org_sqlite_lib._jsonBlobEdit
mov edx, dword [rsp + 0xa0]
mov rdi, qword [rsp + 0x40]
xor eax, eax
jmp 0x68481a
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov r8d, dword [rsp + 0xa0]
mov byte [rdx + 0x33], r8b
mov rdx, rbx
mov r10, qword [rsp + 0x50]
mov r11, r10
mov r10d, dword [r10 + 8]
mov dword [rdx + 0x38], r10d
mov rdx, rbx
mov r11, qword [r11]
mov qword [rdx + 0x40], r11
mov rdx, rbx
mov dword [rdx + 0x34], 0
mov rax, qword [rsp + 0x80]
xor ecx, ecx
mov rdi, r9
mov esi, ecx
call sym.modernc.org_sqlite_lib._jsonLookupStep
mov dword [rsp + 0x3c], eax
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._jsonParseReset
mov ecx, dword [rsp + 0x3c]
cmp ecx, 0xfffffffe
jne 0x684865
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
lea r9, [0x009bafc0]
mov ebx, dword [rsp + 0x3c]
nop dword [rax]
jmp 0x6846c5
cmp ecx, 0xfffffffd
jae 0x6848d0
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
lea r9, [0x009bafc0]
mov ebx, dword [rsp + 0x3c]
jmp 0x6846c5
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x50]
nop
call sym.modernc.org_sqlite_lib._jsonParseReset
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
call sym.modernc.org_sqlite_lib._jsonParseFree
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx]
call rcx
add rsp, 0x70
pop rbp
ret
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x34], ecx
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
call sym.modernc.org_sqlite_lib._jsonParseFree
mov ecx, dword [rsp + 0x34]
cmp ecx, 0xffffffff
jne 0x684934
mov rcx, qword [0x00a30e10]
add rcx, 0x6718
mov rdx, qword [rsp + 0x88]
mov r9, rdx
mov dword [rdx + 0x24], 1
mov rbx, qword [r9]
mov rax, qword [rsp + 0x80]
mov rdi, 0xffffffffffffffff
mov esi, 1
mov r8, 0xffffffffffffffff
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemSetStr
jmp 0x68494e
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call sym.modernc.org_sqlite_lib._jsonBadPathError
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
call sym.modernc.org_sqlite_lib.Xsqlite3_result_error_nomem
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
call sym.modernc.org_sqlite_lib._jsonParseFree
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx]
call rcx
add rsp, 0x70
pop rbp
ret
mov rbx, qword [rsp + 0x88]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._jsonReturnParse
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x48]
call sym.modernc.org_sqlite_lib._jsonParseFree
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rdx]
call rsi
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov esi, dword [rsp + 0x28]
nop
jmp sym.modernc.org_sqlite_lib._jsonInsertIntoBlob