Function at 0x14000ff1e
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x328
mov rbx, r8
mov r15, rdx
mov rdi, rcx
lea rax, [rsp + 0x268]
mov qword [rax], r8
lea r14, [0x14000aee0]
mov qword [rax + 8], r14
lea rcx, str.failed_to_write_whole_buffer
lea rdx, [rsp + 0xb0]
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], 2
mov qword [rdx], 0
mov qword [rdx + 0x20], rax
mov qword [rdx + 0x28], 1
lea rsi, [rsp + 0x98]
mov rcx, rsi
call fcn.14003ff20
mov r13, qword [rsi + 8]
mov rbp, qword [rsi + 0x10]
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, r13
mov r8, rbp
call fcn.1400f5a30
cmp dword [rsi], 2
jne 0x14000ffcf
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x268], 2
jmp 0x14000fffb
lea r12, [rsp + 0x268]
lea rsi, [rsp + 0xb0]
mov ecx, 9
mov qword [rsp + 0x30], rdi
mov rdi, r12
rep movsq qword [rdi], qword [rsi]
mov rdi, qword [rsp + 0x30]
cmp qword [r12], 2
jne 0x14001002b
lea rcx, [rsp + 0x270]
call fcn.1400089cb
mov byte [rdi], 0x13
cmp qword [rsp + 0x98], 0
je 0x1400106cc
mov rcx, qword [0x1402fea40]
xor edx, edx
mov r8, r13
jmp 0x1400106c6
lea rsi, [rsp + 0x150]
mov rcx, rsi
call fcn.1400f1450
movups xmm0, xmmword [rsi + 8]
movups xmmword [rsp + 0x1b8], xmm0
mov rcx, r13
mov rdx, rbp
call fcn.1400f58d0
test rax, rax
je 0x1400106fa
mov rcx, rax
call fcn.1400f8600
test rax, rax
je 0x14001070a
mov rcx, rax
call fcn.140109190
test rax, rax
je 0x14001071a
add r15, 0x18
lea rsi, [rsp + 0x170]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
lea rdi, [rsp + 0x268]
mov qword [rdi], r15
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], rsi
lea rbp, [0x1400ecb90]
mov qword [rdi + 0x18], rbp
lea rax, str.failed_to_write_whole_buffer
lea r15, [rsp + 0xb0]
mov qword [r15 + 0x10], rax
mov eax, 2
mov qword [r15 + 0x18], rax
xor r13d, r13d
mov qword [r15], r13
mov qword [r15 + 0x20], r12
mov qword [r15 + 0x28], rax
lea r12, [rsp + 0x1d0]
mov rcx, r12
mov rdx, r15
call fcn.14003ff20
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
mov rcx, rsi
call fcn.140040300
lea rax, [0x140233bf0]
mov qword [r15], rax
mov rax, qword [r15]
mov ecx, 0x4826dbb6
sub rcx, qword [0x1402f8168]
rol rcx, 1
movzx ecx, cx
movabs rdx, 0x60800e10ac58d748
xor rdx, qword [rax + rcx]
lea rax, [rsp + 0x1c8]
mov qword [rax], rdx
lea rcx, [rsp + 0x88]
mov qword [rcx], rax
mov qword [rcx + 8], 8
lea rax, [rsp + 0x1b8]
mov qword [r15], rax
lea rax, [0x1400f8bf0]
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], r14
mov qword [r15 + 0x20], rcx
mov qword [r15 + 0x28], rbp
lea rax, str.failed_to_write_whole_buffer
mov qword [rdi + 0x10], rax
mov eax, 3
mov qword [rdi + 0x18], rax
mov qword [rdi], r13
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], rax
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.14003ff20
cmp qword [rsi], r13
je 0x1400101b6
mov r8, qword [rsp + 0x178]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x1d0], 0
je 0x1400101d8
mov r8, qword [rsp + 0x1d8]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
mov rax, qword [rsp + 0xa8]
lea rdx, [rsp + 0xb0]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rdx], xmm0
lea r12, [rsp + 0x268]
mov rcx, r12
mov r8, rdi
mov r9, r15
call fcn.1400059e1
cmp qword [r12], 0
je 0x140010263
mov rax, qword [rsp + 0x270]
lea rcx, [rsp + 0xb0]
mov qword [rcx], rax
call fcn.1400089cb
mov rax, qword [rsp + 0x30]
mov byte [rax], 0x17
test r14, r14
je 0x1400106aa
mov rcx, qword [0x1402fea40]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400106aa
lea rdx, [rsp + 0x308]
mov qword [rdx], r14
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], r15
mov byte [rdx + 0x18], 1
mov eax, dword [rsp + 0x39]
mov ecx, dword [rsp + 0x3c]
mov dword [rdx + 0x19], eax
mov dword [rdx + 0x1c], ecx
lea rdi, [rsp + 0xb0]
mov rcx, rdi
call fcn.14000e853
mov bpl, byte [rdi + 0x98]
cmp bpl, 3
jne 0x1400102fe
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmm3, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x200], xmm3
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1d0], xmm0
mov rax, qword [rsp + 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
jmp 0x1400106aa
lea r15, [rsp + 0x1d0]
lea rdi, [rsp + 0xb0]
mov r8d, 0x98
mov rcx, r15
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x99]
mov ecx, dword [rdi + 0x9c]
lea r12, [rsp + 0x268]
mov dword [r12 + 0x99], eax
mov dword [r12 + 0x9c], ecx
mov r8d, 0x98
mov rcx, r12
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r12 + 0x98], bpl
lea rax, [0x14023db6a]
mov qword [r15], rax
mov rcx, qword [r15]
imul rax, qword [0x1402f8170], 0xffffffffd94a07dd
movabs rdx, 0xf8c1b35e2d689716
add rdx, rax
rol rdx, 7
movzx eax, dx
add rax, rcx
xorps xmm0, xmm0
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x40], xmm0
mov qword [rdi + 0x50], 0
mov rcx, 0xfffffffffffffff8
lea rdx, [0x14023f570]
mov r8, qword [rcx + rdx + 8]
xor r8, qword [rax + rcx + 8]
mov qword [rsp + rcx + 0xb8], r8
add rcx, 8
cmp rcx, 0x50
jb 0x1400103b7
mov ecx, 0xd271cbd6
xor ecx, dword [rax + 0x58]
mov dword [rsp + 0x108], ecx
movzx ecx, byte [rax + 0x5e]
movzx eax, word [rax + 0x5c]
xor eax, 0xb433
mov word [rsp + 0x10c], ax
xor cl, 0x64
mov byte [rsp + 0x10e], cl
cmp qword [rsp + 0x268], 0
jne 0x140010734
lea rdi, [rsp + 0x268]
mov qword [rdi], 0xffffffffffffffff
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x20], 0x5f
lea r15, [rsp + 0x1d0]
lea r9, [rsp + 0xb0]
mov rcx, r15
mov r8, rdi
call fcn.1400d8326
inc qword [rdi]
mov rax, qword [r15 + 0x40]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmm2, xmmword [r15 + 0x20]
movups xmm3, xmmword [r15 + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x70], xmm3
test rax, rax
je 0x1400104e2
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x1a0], xmm3
movaps xmmword [rsp + 0x190], xmm2
movaps xmmword [rsp + 0x180], xmm1
movaps xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.140188010
test eax, eax
mov rcx, qword [rsp + 0x30]
je 0x14001050f
cdqe
mov byte [rcx], 0x11
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], rax
jmp 0x140010690
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
mov rax, qword [rsp + 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
jmp 0x14001069d
lea rdx, [rsp + 0x88]
mov qword [rdx], rsi
mov qword [rdx + 8], 0
lea rsi, [rsp + 0xb0]
mov rcx, rsi
call fcn.140003acb
cmp qword [rsi + 0x18], 0
je 0x14001065d
mov ecx, 0x100
mov edx, 8
call fcn.1401270b0
test rax, rax
je 0x140010762
mov rsi, rax
lea r15, [rsp + 0xb0]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmm2, xmmword [r15 + 0x20]
movups xmm3, xmmword [r15 + 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
lea r12, [rsp + 0x1d0]
mov qword [r12], 4
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], 1
movups xmm0, xmmword [rsp + 0x88]
lea r13, [rsp + 0x40]
movups xmmword [r13], xmm0
mov edi, 1
mov r14d, 0x40
mov rcx, r15
mov rdx, r13
call fcn.140003acb
cmp qword [rsp + 0xc8], 0
je 0x140010640
cmp rdi, qword [rsp + 0x1d0]
je 0x140010625
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmm3, xmmword [rsp + 0xe0]
movups xmmword [rsi + r14 + 0x30], xmm3
movups xmmword [rsi + r14 + 0x20], xmm2
movups xmmword [rsi + r14 + 0x10], xmm1
movups xmmword [rsi + r14], xmm0
inc rdi
mov qword [rsp + 0x1e0], rdi
add r14, 0x40
jmp 0x1400105bd
mov r8d, 1
mov rcx, r12
mov rdx, rdi
call fcn.1402368fe
mov rsi, qword [rsp + 0x1d8]
jmp 0x1400105dd
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140010653
mov rcx, qword [rax + 0x30]
call fcn.14018881c
mov rax, qword [rsp + 0x1d0]
jmp 0x14001067c
mov rax, qword [rsp + 0x88]
mov esi, 8
test rax, rax
je 0x140010678
mov rcx, qword [rax + 0x30]
call fcn.14018881c
xor edi, edi
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rdi
mov byte [rcx], 0x1a
lea rcx, [rsp + 0x170]
call fcn.140008d34
lea rcx, [rsp + 0x268]
call fcn.140008331
cmp qword [rsp + 0x150], 0
je 0x1400106cc
mov r8, qword [rsp + 0x158]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbx], 0
je 0x1400106e5
mov r8, qword [rbx + 8]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x328
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, [0x14023f528]
jmp 0x140010728
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, [0x14023f540]
jmp 0x140010728
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, [0x14023f558]
mov edx, 0x2b
call fcn.140237a10
ud2
lea rax, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rusqlite_0.28.0_srclib.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1402ace81]
lea r9, [0x14023e348]
lea r8, [rsp + 0x1d0]
mov edx, 0x10
call fcn.140237ca0
ud2
mov ecx, 0x100
mov edx, 8
call fcn.140237540
ud2