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

Disassembly:
lea r12, [rsp - 0x60]
cmp r12, qword [r14 + 0x10]
jbe 0x57bbd2
push rbp
mov rbp, rsp
sub rsp, 0xd8
movq qword [rsp + 0xd0], xmm15
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], rcx
mov byte [rsp + 0x100], dil
mov byte [rsp + 0x101], sil
mov qword [rsp + 0x108], r8
mov qword [rsp + 0x110], r9
mov byte [rsp + 0x37], 0
mov dword [rsp + 0x40], 0
mov ebx, 0x30
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._valueFromExpr.deferwrap1]
mov qword [rsp + 0xa0], rcx
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0xa8], rcx
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0xd0], rdx
mov byte [rsp + 0x37], 1
mov r8, rax
mov qword [rax], 0
mov rdx, qword [rsp + 0xf8]
jmp 0x57b27f
mov rdx, qword [rdx + 0x10]
mov r10, rdx
movzx r11d, byte [rdx]
cmp r11d, 0xad
je 0x57b27b
cmp r11d, 0xb5
je 0x57b27b
nop dword [rax + rax]
cmp r11d, 0xb0
jne 0x57b2ae
movzx r11d, byte [rdx + 2]
cmp r11d, 0x24
je 0x57b9e6
mov r12, qword [0x00a30e10]
lea r13, [r12 + 0x688]
cmp r11d, 0xae
jne 0x57b34c
mov r11, qword [rdx + 0x10]
mov r15, r11
movzx eax, byte [r11]
nop dword [rax + rax]
cmp eax, 0x9b
je 0x57b2ee
cmp eax, 0x99
jne 0x57b33d
mov r11d, dword [r11 + 4]
bt r11d, 0xb
jb 0x57b31f
lea r11, [r15 + 8]
mov r11, qword [r11]
mov rdx, r11
movsx r11, byte [r11]
cmp r11d, 0x30
jne 0x57b31f
lea r11, [rdx + 1]
movsx r11, byte [r11]
and r11d, 0xffffffdf
cmp r11d, 0x58
je 0x57b32e
lea r13, [r12 + 0x192f]
mov edx, 0xffffffff
jmp 0x57b357
mov eax, 0xae
mov edx, 1
mov r15, r10
jmp 0x57b357
mov eax, 0xae
mov edx, 1
mov r15, r10
jmp 0x57b357
mov eax, r11d
mov edx, 1
mov r15, r10
mov qword [rsp + 0x68], r8
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x48], edx
cmp eax, 0x75
je 0x57b645
nop word [rax + rax]
cmp eax, 0x99
je 0x57b645
cmp eax, 0x9b
je 0x57b645
nop word [rax + rax]
nop
cmp eax, 0xae
je 0x57b545
cmp eax, 0x79
je 0x57b4f4
cmp eax, 0x9a
jne 0x57b415
mov rax, rcx
mov rbx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._valueNew
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov qword [rdx], rax
mov rdx, rsi
cmp qword [rsi], 0
je 0x57b40e
mov rsi, qword [rsp + 0x60]
add rsi, 8
mov rcx, qword [rsi]
lea rsi, [rcx + 2]
cmp rcx, 0xfffffffffffffffe
je 0x57b407
mov rax, rsi
xor ecx, ecx
jmp 0x57bba5
xor eax, eax
jmp 0x57bb19
xor eax, eax
jmp 0x57b7b9
cmp eax, 0xac
jne 0x57b456
mov r9, qword [rsp + 0x110]
test r9, r9
je 0x57b460
mov rax, rcx
mov rbx, qword [rsp + 0xf0]
mov rcx, r15
movzx edi, byte [rsp + 0x100]
movzx esi, byte [rsp + 0x101]
call sym.modernc.org_sqlite_lib._valueFromFunction
mov r8, qword [rsp + 0x68]
jmp 0x57bb12
mov r9, qword [rsp + 0x110]
nop
cmp eax, 0xaa
jne 0x57b4ed
mov rax, rcx
mov rbx, qword [rsp + 0xf0]
mov rcx, r9
call sym.modernc.org_sqlite_lib._valueNew
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov qword [rdx], rax
mov rdx, rsi
mov rsi, qword [rsi]
test rsi, rsi
je 0x57b4ea
mov word [rsi + 0x14], 4
mov rsi, rdx
mov rdx, qword [rdx]
mov r8, qword [rsp + 0x60]
add r8, 8
mov r8, qword [r8]
add r8, 4
movsx r8, byte [r8]
test r8d, r8d
sete r8b
movzx r8d, r8b
mov qword [rdx], r8
mov rbx, qword [rsi]
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x101]
movzx edi, byte [rsp + 0x100]
nop dword [rax]
call sym.modernc.org_sqlite_lib._applyAffinity
mov rdx, qword [rsp + 0x68]
mov r8, rdx
xor eax, eax
jmp 0x57bb12
mov rax, rcx
mov rbx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._valueNew
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov qword [rdx], rax
mov rdx, rsi
mov rbx, qword [rsi]
nop dword [rax]
test rbx, rbx
jne 0x57b52c
xor eax, eax
jmp 0x57b7b9
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemSetNull
xor eax, eax
nop dword [rax + rax]
jmp 0x57bb12
mov rdx, qword [r15 + 0x10]
mov rax, rcx
mov rbx, qword [rsp + 0xf0]
mov rcx, rdx
movzx edi, byte [rsp + 0x100]
movzx esi, byte [rsp + 0x101]
mov r9, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._valueFromExpr
test eax, eax
jne 0x57b636
mov rcx, qword [rsp + 0x68]
mov rsi, rcx
mov rbx, qword [rcx]
test rbx, rbx
je 0x57b63b
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemNumerify
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
mov rcx, qword [rcx]
movzx esi, word [rcx + 0x14]
bt esi, 3
jae 0x57b5cb
movsd xmm0, qword [rcx]
movsd xmm1, qword [0x007cab98]
pxor xmm0, xmm1
movsd qword [rcx], xmm0
mov rsi, rdx
jmp 0x57b60f
mov rsi, qword [rcx]
movabs r8, 0x8000000000000000
cmp rsi, r8
jne 0x57b606
movsd xmm0, qword [0x007cab88]
movsd qword [rcx], xmm0
mov rsi, rdx
mov rdx, qword [rdx]
movzx r8d, word [rdx + 0x14]
and r8d, 0xfffff240
or r8d, 8
mov word [rdx + 0x14], r8w
jmp 0x57b60f
neg rsi
mov qword [rcx], rsi
mov rsi, rdx
mov rbx, qword [rsi]
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x101]
movzx edi, byte [rsp + 0x100]
call sym.modernc.org_sqlite_lib._applyAffinity
mov rsi, qword [rsp + 0x68]
jmp 0x57b63b
mov rsi, qword [rsp + 0x68]
xor eax, eax
nop dword [rax]
jmp 0x57bae1
mov rax, rcx
mov rbx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._valueNew
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
mov qword [rdx], rax
mov rax, rcx
mov rbx, qword [rcx]
test rbx, rbx
jne 0x57b67d
mov rdx, rax
xor eax, eax
jmp 0x57b7b9
mov rdx, qword [rsp + 0x60]
mov rsi, rdx
mov r8d, dword [rdx + 4]
bt r8d, 0xb
jb 0x57b8cc
mov edx, dword [rsp + 0x44]
nop dword [rax + rax]
cmp edx, 0x9b
je 0x57b6ac
xor ecx, ecx
jmp 0x57b6da
lea rdx, [rsi + 8]
mov rbx, qword [rdx]
lea rcx, [rax + 8]
mov rax, qword [rsp + 0xe8]
nop
call sym.modernc.org_sqlite_lib._sqlite3DecOrHexToI64
test eax, eax
sete dl
mov rax, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov ecx, edx
mov edx, dword [rsp + 0x44]
test cl, cl
je 0x57b70f
mov rdx, rax
mov rbx, qword [rax]
lea rsi, [rdx + 8]
mov rcx, qword [rsi]
mov esi, dword [rsp + 0x48]
movsxd rsi, esi
imul rcx, rsi
mov rax, qword [rsp + 0xe8]
nop
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemSetInt64
mov r10, qword [rsp + 0x68]
jmp 0x57b8ed
movups xmmword [rsp + 0xb0], xmm15
movups xmmword [rsp + 0xc0], xmm15
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x78], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0xb0], rdx
lea r8, [rax + 0x18]
lea r9, [rsp + 0x78]
mov qword [rsp + 0xb8], r9
add rsi, 8
mov rsi, qword [rsi]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xc0], rdx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0xc8], rdx
lea rbx, [rsp + 0xb0]
mov ecx, 2
mov rdi, rcx
mov rax, r8
nop
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x1931
mov rbx, qword [rsp + 0xf0]
mov rdi, rax
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3MPrintf
test rax, rax
jne 0x57b86f
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov rsi, qword [rsp + 0x110]
test rsi, rsi
je 0x57b7d7
mov rdi, rsi
mov rsi, qword [rsi]
cmp dword [rsi + 0x30], 0
jne 0x57b7fe
mov rax, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xf0]
call sym.modernc.org_sqlite_lib._sqlite3OomFault
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x110]
nop
test rax, rax
jne 0x57b80a
test rdi, rdi
jmp 0x57b835
mov rbx, qword [rsp + 0xf0]
mov rcx, rax
mov rax, qword [rsp + 0xe8]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3DbFreeNN
mov rdx, qword [rsp + 0x110]
test rdx, rdx
mov rdx, qword [rsp + 0x68]
jne 0x57b847
mov rbx, qword [rdx]
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3ValueFree
mov dword [rsp + 0x40], 7
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rdx]
nop
call rax
mov eax, dword [rsp + 0x40]
add rsp, 0xd8
pop rbp
ret
lea r9, [0x0072ce00]
mov qword [rsp + 0x90], r9
lea r9, vtable.I_f.8.0
mov qword [rsp + 0x98], r9
mov r9, qword [rsp + 0x68]
mov r10, r9
mov rbx, qword [r9]
test rbx, rbx
je 0x57b8ed
mov r8, qword [rsp + 0x98]
mov rcx, rax
mov rdi, 0xffffffffffffffff
mov esi, 1
mov rax, qword [rsp + 0xe8]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemSetStr
mov r10, qword [rsp + 0x68]
jmp 0x57b8ed
movsxd rcx, dword [rdx + 8]
mov edx, dword [rsp + 0x48]
movsxd rdx, edx
imul rcx, rdx
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemSetInt64
mov r10, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x101]
movzx r8d, cl
cmp r8d, 0x41
jne 0x57b96d
mov r8d, dword [rsp + 0x44]
cmp r8d, 0x99
je 0x57b937
cmp r8d, 0x9b
jne 0x57b98a
mov rbx, qword [r10]
mov rax, qword [rsp + 0xe8]
mov ecx, 0x43
mov edi, 1
call sym.modernc.org_sqlite_lib._applyAffinity
mov r10, qword [rsp + 0x68]
jmp 0x57b98a
mov rcx, qword [r10]
mov r8, rcx
mov rbx, qword [r8 + 8]
mov edi, dword [r8 + 0x10]
mov rax, qword [rsp + 0xe8]
mov esi, 1
call sym.modernc.org_sqlite_lib._sqlite3AtoF
mov rdx, qword [rsp + 0x68]
mov r8, rdx
mov rdx, qword [rdx]
mov word [rdx + 0x14], 8
mov r10, r8
jmp 0x57b98a
mov rbx, qword [r10]
mov rax, qword [rsp + 0xe8]
mov edi, 1
nop dword [rax]
call sym.modernc.org_sqlite_lib._applyAffinity
mov r10, qword [rsp + 0x68]
mov rsi, r10
mov rdi, qword [r10]
mov r8, rdi
movzx edi, word [rdi + 0x14]
test edi, 0x2c
je 0x57b9af
lea rdi, [r8 + 0x14]
movzx r8d, word [rdi]
and r8d, 0xfffffffd
mov word [rdi], r8w
movzx edi, byte [rsp + 0x100]
movzx ecx, dil
nop dword [rax + rax]
cmp ecx, 1
jne 0x57b9cc
xor eax, eax
jmp 0x57bae1
mov rbx, qword [rsi]
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeChangeEncoding
mov rsi, qword [rsp + 0x68]
jmp 0x57bae1
mov qword [rsp + 0x68], r10
lea rdx, [r10 + 8]
mov rbx, qword [rdx]
mov rax, rcx
xor ecx, ecx
call sym.modernc.org_sqlite_lib._sqlite3AffinityType
mov byte [rsp + 0x36], al
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx + 0x10]
mov rbx, qword [rsp + 0xf0]
movzx edi, byte [rsp + 0x100]
mov esi, eax
mov r8, qword [rsp + 0x108]
mov r9, qword [rsp + 0x110]
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._valueFromExpr
mov rdx, qword [rsp + 0x108]
mov rsi, rdx
mov rbx, qword [rdx]
test rbx, rbx
je 0x57babe
mov rdx, rbx
movzx edx, word [rdx + 0x14]
bt edx, 0xa
jb 0x57ba5c
xor eax, eax
jmp 0x57ba71
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemExpandBlob
mov rsi, qword [rsp + 0x108]
mov dword [rsp + 0x38], eax
mov rbx, qword [rsi]
movzx ecx, byte [rsp + 0x36]
movzx edi, byte [rsp + 0x100]
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemCast
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rdx]
mov rax, qword [rsp + 0xe8]
movzx ecx, byte [rsp + 0x101]
movzx edi, byte [rsp + 0x100]
call sym.modernc.org_sqlite_lib._applyAffinity
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x40]
add rsp, 0xd8
pop rbp
ret
mov rcx, qword [rsp + 0x108]
mov rbx, qword [rsi]
mov qword [rcx], rbx
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x40]
add rsp, 0xd8
pop rbp
ret
mov rsi, qword [rsp + 0x68]
jmp 0x57bae1
mov dword [rsp + 0x3c], eax
lea edi, [rax - 1]
mov dword [rsp + 0x4c], edi
mov rbx, qword [rsp + 0xf0]
mov rcx, rsi
mov rax, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3HexToBlob
mov edx, dword [rsp + 0x4c]
shr edx, 0x1f
mov esi, dword [rsp + 0x3c]
lea edx, [rdx + rsi]
lea edx, [rdx - 1]
sar edx, 1
movsxd rdi, edx
lea rdx, [0x0072ce00]
mov qword [rsp + 0x80], rdx
lea rdx, vtable.I_f.8.0
mov qword [rsp + 0x88], rdx
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rdx]
mov r8, qword [rsp + 0x88]
mov rcx, rax
mov rax, qword [rsp + 0xe8]
xor esi, esi
call sym.modernc.org_sqlite_lib._sqlite3VdbeMemSetStr
mov r8, qword [rsp + 0x68]
xor eax, eax
jmp 0x57bb12
lea rsi, [r8 + 1]
inc rcx
mov r8, rsi
cmp byte [rsi], 0
jne 0x57bb9e
and ecx, 0x3fffffff
mov rsi, rax
mov eax, ecx
jmp 0x57bb19
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
mov byte [rsp + 0x21], sil
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
movzx esi, byte [rsp + 0x21]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
nop dword [rax]
jmp sym.modernc.org_sqlite_lib._valueFromExpr