Function at 0x10014800
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x84
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x10014d0c
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp byte [0x101f1024], 0
je 0x10014c99
mov ecx, dword [0x101f1068]
call dword [section..00cfg]
push 5
call ecx
add esp, 4
test eax, eax
je 0x10014c99
mov edi, eax
mov ecx, dword [0x101f1070]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
jle 0x10014caf
test esi, esi
je 0x10014caf
mov dword [ebp - 0x3c], 0
cmp dword [0x101f4190], 0
je 0x10014c36
mov al, byte [0x101f4210]
movzx eax, al
cmp eax, ebx
jb 0x100148c8
sub eax, ebx
lea eax, [eax + 0x101f41d0]
push ebx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub byte [0x101f4210], bl
cmp byte [ebp - 0x3c], 0
jne 0x10014d0c
mov ecx, dword [0x101f1078]
call dword [section..00cfg]
push edi
call ecx
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
test eax, eax
sete cl
mov dword [ebp - 0x74], edi
test cl, 1
je 0x10014c11
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ebx
mov eax, dword [0x101f41c0]
inc eax
mov dword [0x101f41c0], eax
mov ecx, dword [0x101f4190]
mov dword [ebp - 0x48], ecx
mov ecx, dword [0x101f4194]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [0x101f4198]
mov dword [ebp - 0x50], ecx
mov ecx, dword [0x101f419c]
mov dword [ebp - 0x54], ecx
mov esi, dword [0x101f41a0]
mov ecx, dword [0x101f41a4]
mov dword [ebp - 0x58], ecx
mov ecx, dword [0x101f41a8]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [0x101f41ac]
mov dword [ebp - 0x60], ecx
mov ebx, dword [0x101f41b0]
mov ecx, dword [0x101f41b4]
mov dword [ebp - 0x64], ecx
mov ecx, dword [0x101f41b8]
mov dword [ebp - 0x68], ecx
mov ecx, dword [0x101f41bc]
mov dword [ebp - 0x6c], ecx
mov edx, dword [0x101f41c4]
mov edi, dword [0x101f41c8]
mov dword [ebp - 0x8c], 0xa
mov ecx, dword [0x101f41cc]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x78], esi
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x84], edi
mov ecx, edi
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x18]
add edi, esi
mov dword [ebp - 0x18], edi
xor dword [ebp - 0x10], edi
rol dword [ebp - 0x10], 0x10
mov edi, dword [ebp - 0x10]
add dword [ebp - 0x20], edi
xor esi, dword [ebp - 0x20]
rol esi, 0xc
mov edi, dword [ebp - 0x18]
add edi, esi
mov dword [ebp - 0x18], edi
xor dword [ebp - 0x10], edi
rol dword [ebp - 0x10], 8
mov edi, dword [ebp - 0x10]
add dword [ebp - 0x20], edi
xor esi, dword [ebp - 0x20]
rol esi, 7
mov dword [ebp - 0x90], esi
add dword [ebp - 0x2c], ebx
mov edi, dword [ebp - 0x30]
xor edi, dword [ebp - 0x2c]
rol edi, 0x10
add dword [ebp - 0x1c], edi
xor ebx, dword [ebp - 0x1c]
rol ebx, 0xc
add dword [ebp - 0x2c], ebx
xor edi, dword [ebp - 0x2c]
rol edi, 8
mov dword [ebp - 0x30], edi
add dword [ebp - 0x1c], edi
xor ebx, dword [ebp - 0x1c]
rol ebx, 7
mov edi, dword [ebp - 0x28]
add edi, eax
xor ecx, edi
rol ecx, 0x10
mov esi, dword [ebp - 0x38]
add esi, ecx
xor eax, esi
rol eax, 0xc
add edi, eax
mov dword [ebp - 0x28], edi
xor ecx, edi
rol ecx, 8
mov edi, esi
add edi, ecx
xor eax, edi
mov esi, edi
rol eax, 7
add dword [ebp - 0x24], edx
mov edi, dword [ebp - 0x34]
xor edi, dword [ebp - 0x24]
rol edi, 0x10
add dword [ebp - 0x14], edi
xor edx, dword [ebp - 0x14]
rol edx, 0xc
add dword [ebp - 0x24], edx
xor edi, dword [ebp - 0x24]
rol edi, 8
add dword [ebp - 0x14], edi
xor edx, dword [ebp - 0x14]
rol edx, 7
add dword [ebp - 0x18], ebx
xor edi, dword [ebp - 0x18]
rol edi, 0x10
add esi, edi
xor ebx, esi
rol ebx, 0xc
add dword [ebp - 0x18], ebx
xor edi, dword [ebp - 0x18]
rol edi, 8
mov dword [ebp - 0x34], edi
add esi, edi
mov dword [ebp - 0x38], esi
xor ebx, esi
rol ebx, 7
mov edi, dword [ebp - 0x2c]
add edi, eax
xor dword [ebp - 0x10], edi
rol dword [ebp - 0x10], 0x10
mov esi, dword [ebp - 0x14]
add esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
xor eax, dword [ebp - 0x14]
rol eax, 0xc
add edi, eax
mov dword [ebp - 0x2c], edi
xor dword [ebp - 0x10], edi
rol dword [ebp - 0x10], 8
mov edi, dword [ebp - 0x14]
add edi, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
xor eax, edi
rol eax, 7
add dword [ebp - 0x28], edx
mov edi, dword [ebp - 0x30]
xor edi, dword [ebp - 0x28]
rol edi, 0x10
add dword [ebp - 0x20], edi
xor edx, dword [ebp - 0x20]
rol edx, 0xc
add dword [ebp - 0x28], edx
xor edi, dword [ebp - 0x28]
rol edi, 8
mov dword [ebp - 0x30], edi
add dword [ebp - 0x20], edi
xor edx, dword [ebp - 0x20]
rol edx, 7
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x90]
add edi, esi
xor ecx, edi
rol ecx, 0x10
add dword [ebp - 0x1c], ecx
xor esi, dword [ebp - 0x1c]
rol esi, 0xc
add edi, esi
mov dword [ebp - 0x24], edi
xor ecx, edi
rol ecx, 8
add dword [ebp - 0x1c], ecx
xor esi, dword [ebp - 0x1c]
rol esi, 7
dec dword [ebp - 0x8c]
jne 0x100149c8
mov edi, ecx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x48]
mov dword [0x101f41d0], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x4c]
mov dword [0x101f41d4], ecx
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x50]
mov dword [0x101f41d8], ecx
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x54]
mov dword [0x101f41dc], ecx
add esi, dword [ebp - 0x78]
mov dword [0x101f41e0], esi
add ebx, dword [ebp - 0x58]
mov dword [0x101f41e4], ebx
add eax, dword [ebp - 0x5c]
mov dword [0x101f41e8], eax
add edx, dword [ebp - 0x60]
mov dword [0x101f41ec], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x7c]
mov dword [0x101f41f0], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x64]
mov dword [0x101f41f4], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x68]
mov dword [0x101f41f8], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x6c]
mov dword [0x101f41fc], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x88]
mov dword [0x101f4200], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x80]
mov dword [0x101f4204], eax
add edi, dword [ebp - 0x84]
mov dword [0x101f4208], edi
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x70]
mov dword [0x101f420c], eax
mov byte [0x101f4210], 0x40
mov eax, 0x40
xor ecx, ecx
mov ebx, dword [ebp - 0x44]
cmp ebx, 0x40
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x74]
jle 0x1001488b
jmp 0x100148d0
push eax
push 0x101f41d0
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x101f4210]
sub ebx, eax
mov dword [ebp - 0x44], ebx
add esi, eax
mov dword [ebp - 0x40], esi
jmp 0x100148df
push 0
call sym.nss3.dll_sqlite3_vfs_find
add esp, 4
movups xmm0, xmmword [0x101b1818]
movups xmmword [0x101f4190], xmm0
test eax, eax
je 0x10014cbe
mov ecx, dword [0x101f1134]
test ecx, ecx
jne 0x10014cda
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x10], eax
call dword [section..00cfg]
push 0x101f41a0
push 0x2c
push dword [ebp - 0x10]
call ecx
add esp, 0xc
mov eax, dword [0x101f41c0]
mov dword [0x101f41cc], eax
mov dword [0x101f41c0], 0
mov byte [0x101f4210], 0
xor eax, eax
jmp 0x10014884
test ebx, ebx
jle 0x10014d02
test esi, esi
je 0x10014d02
mov eax, ebx
xor edi, edi
mov cl, 1
mov dword [ebp - 0x3c], ecx
jmp 0x10014872
mov dword [0x101f4190], 0
jmp 0x100148ae
xorps xmm0, xmm0
movups xmmword [0x101f41bc], xmm0
movups xmmword [0x101f41b0], xmm0
movups xmmword [0x101f41a0], xmm0
xor eax, eax
jmp 0x10014c7c
xor eax, eax
mov dword [0x101f41c8], eax
mov dword [0x101f41c4], eax
xorps xmm0, xmm0
movups xmmword [0x101f41b4], xmm0
movups xmmword [0x101f41a4], xmm0
mov dword [0x101f41a0], ecx
jmp 0x10014c7c
mov dword [0x101f4190], 0
add esp, 0x84
jmp 0x100148c3