Function at 0x14000f653
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x318
mov rdi, r8
mov r12, rdx
mov qword [rsp + 0x38], rcx
lea rax, [0x140233846]
lea rdx, [rsp + 0x130]
mov qword [rdx], rax
mov rax, qword [rdx]
mov rcx, 0xffffffffbc64d5a8
sub rcx, qword [0x1402f8150]
mov r8, rcx
shr r8, 0x16
xor r8, rcx
neg r8
mov ecx, r8d
xor ecx, 0xdd4
shld rcx, r8, 4
movzx ecx, cx
movabs r8, 0xd5c71ca2da295871
xor r8, qword [rax + rcx]
lea r15, [rsp + 0x40]
mov qword [r15], r8
movzx eax, word [rax + rcx + 8]
xor eax, 0xb6eb
mov word [r15 + 8], ax
lea rax, [rsp + 0x1d0]
mov qword [rax], r15
mov qword [rax + 8], 0xa
lea rcx, [rsp + 0x278]
mov qword [rcx], rdi
lea r8, [0x14000aee0]
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], rax
lea rbx, [0x1400ecb90]
mov qword [rcx + 0x18], rbx
lea rax, str.failed_to_write_whole_buffer
mov qword [rdx + 0x10], rax
mov eax, 2
mov qword [rdx + 0x18], rax
mov qword [rdx], 0
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rax
lea rsi, [rsp + 0xe8]
mov rcx, rsi
call fcn.14003ff20
mov rbp, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
lea rsi, [rsp + 0x130]
mov rcx, rsi
mov rdx, rbp
mov r8, r14
call fcn.1400f5a30
cmp dword [rsi], 2
jne 0x14000f783
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x278], 2
jmp 0x14000f7af
lea r13, [rsp + 0x278]
lea rsi, [rsp + 0x130]
mov ecx, 9
mov qword [rsp + 0x30], rdi
mov rdi, r13
rep movsq qword [rdi], qword [rsi]
mov rdi, qword [rsp + 0x30]
cmp qword [r13], 2
jne 0x14000f7e4
lea rcx, [rsp + 0x280]
call fcn.1400089cb
mov rax, qword [rsp + 0x38]
mov byte [rax], 0x13
cmp qword [rsp + 0xe8], 0
je 0x14000fe77
mov rcx, qword [0x1402fea40]
xor edx, edx
mov r8, rbp
jmp 0x14000fe71
lea rsi, [rsp + 0x100]
mov rcx, rsi
call fcn.1400f1450
movups xmm0, xmmword [rsi + 8]
movups xmmword [rsp + 0x120], xmm0
mov rcx, rbp
mov rdx, r14
call fcn.1400f58d0
test rax, rax
je 0x14000fea5
mov rcx, rax
call fcn.1400f8600
test rax, rax
je 0x14000feb5
mov rcx, rax
call fcn.140109190
test rax, rax
je 0x14000fec5
add r12, 0x18
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rsi, [rsp + 0x278]
mov qword [rsi], r12
lea rbp, [0x14000aee0]
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rbx
lea rax, str.failed_to_write_whole_buffer
lea rdi, [rsp + 0x130]
mov qword [rdi + 0x10], rax
mov eax, 2
mov qword [rdi + 0x18], rax
xor r12d, r12d
mov qword [rdi], r12
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x28], rax
lea r14, [rsp + 0x1d0]
mov rcx, r14
mov rdx, rdi
call fcn.14003ff20
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
mov rcx, r15
call fcn.140040300
lea rax, [0x14023d4bc]
mov qword [rdi], rax
mov rax, qword [rdi]
mov ecx, 0x501f4490
add rcx, qword [0x1402f8158]
mov rdx, rcx
shr rdx, 0x15
xor rdx, rcx
mov ecx, 0x31c93c0d
sub rcx, rdx
mov edx, ecx
shr edx, 7
xor edx, ecx
shld rdx, rcx, 1
movzx ecx, dx
movabs rdx, 0xeb58b9bdd91e35ce
xor rdx, qword [rax + rcx]
lea r8, [rsp + 0x268]
mov qword [r8], rdx
movzx edx, byte [rax + rcx + 0xa]
movzx eax, word [rax + rcx + 8]
xor eax, 0x96ca
mov word [r8 + 8], ax
xor dl, 0x83
mov byte [r8 + 0xa], dl
lea rax, [rsp + 0x90]
mov qword [rax], r8
mov qword [rax + 8], 0xb
lea rcx, [rsp + 0x120]
mov qword [rdi], rcx
lea rcx, [0x1400f8bf0]
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rbx
lea rax, str.failed_to_write_whole_buffer
mov qword [rsi + 0x10], rax
mov eax, 3
mov qword [rsi + 0x18], rax
mov qword [rsi], r12
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x28], rax
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14003ff20
cmp qword [rsp + 0x40], r12
je 0x14000f9a0
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x1d0], 0
je 0x14000f9c2
mov r8, qword [rsp + 0x1d8]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xf8]
lea rdx, [rsp + 0x130]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rsp + 0xe8]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x278]
mov rcx, r14
mov r8, rsi
mov r9, rdi
call fcn.1400059e1
cmp qword [r14], 0
je 0x14000fa5a
mov rax, qword [rsp + 0x280]
lea rcx, [rsp + 0x130]
mov qword [rcx], rax
call fcn.1400089cb
mov rax, qword [rsp + 0x38]
mov byte [rax], 0x17
test rbx, rbx
mov rdi, qword [rsp + 0x30]
je 0x14000fe55
mov rcx, qword [0x1402fea40]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14000fe55
lea rdx, [rsp + 0x40]
mov qword [rdx], rbx
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rdi
mov byte [rdx + 0x18], 1
mov eax, dword [rsp + 0x89]
mov ecx, dword [rsp + 0x8c]
mov dword [rdx + 0x19], eax
mov dword [rdx + 0x1c], ecx
lea rsi, [rsp + 0x130]
mov rcx, rsi
call fcn.14000e853
mov bl, byte [rsi + 0x98]
cmp bl, 3
jne 0x14000fafb
movups xmm0, xmmword [rsp + 0x130]
movups xmm1, xmmword [rsp + 0x140]
movups xmm2, xmmword [rsp + 0x150]
movups xmm3, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x200], xmm3
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1d0], xmm0
mov rax, qword [rsp + 0x38]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdi, qword [rsp + 0x30]
jmp 0x14000fe55
lea rsi, [rsp + 0x1d0]
lea rdi, [rsp + 0x130]
mov r8d, 0x98
mov rcx, rsi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x99]
mov ecx, dword [rdi + 0x9c]
lea r14, [rsp + 0x278]
mov dword [r14 + 0x99], eax
mov dword [r14 + 0x9c], ecx
mov r8d, 0x98
mov rcx, r14
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + 0x98], bl
lea rax, [0x14023565f]
mov qword [rdi], rax
mov rcx, qword [rdi]
mov eax, 0x67048187
sub rax, qword [0x1402f8160]
rol rax, 1
movzx eax, ax
add rax, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov rcx, 0xfffffffffffffff8
lea rdx, [0x14023f4c0]
mov r8, qword [rcx + rdx + 8]
xor r8, qword [rax + rcx + 8]
mov qword [rsp + rcx + 0xa8], r8
add rcx, 8
cmp rcx, 0x30
jb 0x14000fbad
mov ecx, 0xe455ad69
xor ecx, dword [rax + 0x38]
mov dword [rsp + 0xd8], ecx
mov al, byte [rax + 0x3c]
xor al, 0x35
mov byte [rsp + 0xdc], al
cmp qword [rsp + 0x278], 0
jne 0x14000fedf
lea rdi, [rsp + 0x278]
mov qword [rdi], 0xffffffffffffffff
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x20], 0x3d
lea r14, [rsp + 0x130]
lea r9, [rsp + 0xa0]
mov rcx, r14
mov r8, rdi
call fcn.1400d8326
inc qword [rdi]
mov rax, qword [r14 + 0x40]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movups xmm3, xmmword [r14 + 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 0x14000fcca
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x200], xmm3
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x200]
call fcn.140188010
test eax, eax
mov rdi, qword [rsp + 0x30]
je 0x14000fcfc
cdqe
mov rcx, qword [rsp + 0x38]
mov byte [rcx], 0x11
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], rax
jmp 0x14000fe3b
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
mov rax, qword [rsp + 0x38]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdi, qword [rsp + 0x30]
jmp 0x14000fe48
lea rdx, [rsp + 0x90]
mov qword [rdx], rsi
mov qword [rdx + 8], 0
lea rsi, [rsp + 0x130]
mov rcx, rsi
call fcn.140003e1b
cmp qword [rsi + 8], 0
je 0x14000fe06
mov ecx, 0x120
mov edx, 8
call fcn.1401270b0
test rax, rax
je 0x14000ff0d
mov r15, rax
lea r13, [rsp + 0x130]
mov ecx, 9
mov rdi, rax
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
lea r14, [rsp + 0x40]
mov qword [r14], 4
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], 1
movups xmm0, xmmword [rsp + 0x90]
lea rbp, [rsp + 0xa0]
movups xmmword [rbp], xmm0
mov r12d, 1
mov ebx, 0x48
mov rcx, r13
mov rdx, rbp
call fcn.140003e1b
cmp qword [rsp + 0x138], 0
mov rdi, qword [rsp + 0x30]
je 0x14000fde9
cmp r12, qword [rsp + 0x40]
je 0x14000fdd1
lea rdi, [r15 + rbx]
mov ecx, 9
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
inc r12
mov qword [rsp + 0x50], r12
add rbx, 0x48
jmp 0x14000fd92
mov r8d, 1
mov rcx, r14
mov rdx, r12
call fcn.140236a89
mov r15, qword [rsp + 0x48]
jmp 0x14000fdb4
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x14000fdff
mov rcx, qword [rax + 0x30]
call fcn.14018881c
mov rax, qword [rsp + 0x40]
jmp 0x14000fe27
mov rax, qword [rsp + 0x90]
mov r15d, 8
test rax, rax
je 0x14000fe22
mov rcx, qword [rax + 0x30]
call fcn.14018881c
xor r12d, r12d
xor eax, eax
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r12
mov byte [rcx], 0x1a
lea rcx, [rsp + 0x1d0]
call fcn.140008d34
lea rcx, [rsp + 0x278]
call fcn.140008331
cmp qword [rsp + 0x100], 0
je 0x14000fe77
mov r8, qword [rsp + 0x108]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rdi], 0
je 0x14000fe90
mov r8, qword [rdi + 8]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x318
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, [0x14023f478]
jmp 0x14000fed3
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, [0x14023f490]
jmp 0x14000fed3
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, [0x14023f4a8]
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 + 0x130]
mov edx, 0x10
call fcn.140237ca0
ud2
mov ecx, 0x120
mov edx, 8
call fcn.140237540
ud2