Function at 0x140020e90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r14, rcx
lea r13, [0x140252dd8]
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x98]
call fcn.140032e20
movzx ebp, byte [rsp + 0x60]
cmp ebp, 3
jne 0x140020ed9
mov r14d, 2
jmp 0x140021503
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140021500
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
cmp dword [r14], 2
mov qword [rsp + 0x48], rdi
jne 0x140020f9b
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x1401f18e0]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401f18f0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x70], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
xor eax, eax
cmp bpl, 2
setne al
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.140020880
cmp bpl, 2
jne 0x140020ff6
movzx eax, dil
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.140020880
jmp 0x1400210a6
xor eax, eax
cmp bpl, 2
setne al
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs r15, 0x1efac7090aef4a21
imul r15, rcx
cmp bpl, 2
jne 0x140021010
movzx eax, dil
xor r15d, eax
imul r15d, r15d, 0x4a21
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rbx, qword [r14 + 0x50]
mov rdi, qword [r14 + 0x20]
mov rsi, qword [r14 + 0x48]
jmp 0x1400211ce
test bpl, bpl
je 0x14002106b
lea rcx, [rsp + 0x50]
mov rdx, rdi
mov r8, rbx
call fcn.140020880
jmp 0x1400210a6
lea rax, [rdi + rbx]
test bpl, bpl
mov qword [rsp + 0x30], rbx
je 0x14002125e
test rbx, rbx
je 0x1400212b0
mov r8, rbx
movabs rcx, 0x100000001b3
and r8, 7
je 0x14002136f
mov r9, r15
mov rdx, rdi
nop dword [rax + rax]
movzx r15d, byte [rdx]
inc rdx
xor r15, r9
imul r15, rcx
mov r9, r15
dec r8
jne 0x140021050
jmp 0x140021372
test rbx, rbx
je 0x1400210a6
xor esi, esi
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x38]
nop dword [rax]
movzx eax, byte [rdi + rsi]
movzx eax, byte [rax + r13]
mov byte [rsp + 0x38], al
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.140020880
inc rsi
cmp rbx, rsi
jne 0x140021080
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x60]
mov r9, qword [rsp + 0x80]
shl r9, 0x38
or r9, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x50]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x58]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
add rdx, rcx
shl rcx, 0x10
xor rcx, rdx
shr rcx, 0x2b
add rdx, rax
shr rax, 0x2f
xor rax, rcx
mov r15, rdx
shr r15, 0x20
xor r15, rdx
xor r15, rax
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rbx, qword [r14 + 0x50]
mov rdi, qword [r14 + 0x20]
mov rsi, qword [r14 + 0x48]
test ebp, ebp
je 0x14002140b
cmp ebp, 2
jne 0x1400212ce
xor r14d, r14d
xor r11d, r11d
mov rdx, qword [rsp + 0x40]
jmp 0x1400211f0
inc r11
inc r8
mov rax, r8
nop word cs:[rax + rax]
mov r8, rax
mov eax, 0
cmp r8, rbx
jae 0x1400211f0
movzx ecx, word [rsi + r8*4]
cmp rcx, 0xffff
je 0x140021503
movzx eax, word [rsi + r8*4 + 2]
mov r9d, eax
and r9d, r12d
mov r10d, r8d
sub r10d, r9d
and r10d, r12d
cmp r11, r10
ja 0x140021503
cmp ax, r15w
jne 0x1400211db
cmp rdx, rcx
jbe 0x140021596
imul rax, rcx, 0x68
cmp qword [rdi + rax + 0x40], 0
jne 0x1400211db
add rax, rdi
add rax, 0x40
mov rcx, qword [rsp + 0x48]
cmp byte [rax + 8], cl
jne 0x1400211db
jmp 0x140021364
test rbx, rbx
je 0x1400213ed
mov rdx, rbx
and rdx, 3
je 0x14002151e
movabs r8, 0x100000001b3
mov rcx, rdi
mov r9, r15
nop word cs:[rax + rax]
movzx r10d, byte [rcx]
movzx r15d, byte [r10 + r13]
xor r15, r9
imul r15, r8
inc rcx
mov r9, r15
dec rdx
jne 0x140021290
jmp 0x140021521
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rbx, qword [r14 + 0x50]
mov rdi, qword [r14 + 0x20]
mov rsi, qword [r14 + 0x48]
xor r14d, r14d
xor r13d, r13d
jmp 0x1400212e0
inc r13
inc rbp
mov rax, rbp
nop
mov rbp, rax
mov eax, 0
cmp rbp, rbx
jae 0x1400212e0
movzx ecx, word [rsi + rbp*4]
cmp rcx, 0xffff
je 0x140021503
movzx eax, word [rsi + rbp*4 + 2]
mov edx, eax
and edx, r12d
mov r8d, ebp
sub r8d, edx
and r8d, r12d
cmp r13, r8
ja 0x140021503
cmp ax, r15w
jne 0x1400212d6
cmp qword [rsp + 0x40], rcx
jbe 0x140021591
imul rax, rcx, 0x68
cmp qword [rdi + rax + 0x40], 0
je 0x1400212d6
add rax, rdi
add rax, 0x40
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
jne 0x1400212d6
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400212d6
mov r14d, 1
jmp 0x140021503
mov rdx, rdi
cmp rbx, 8
jb 0x14002119f
nop dword [rax]
movzx r8d, byte [rdx]
xor r8, r15
imul r8, rcx
movzx r9d, byte [rdx + 1]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 2]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 3]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 4]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 5]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 6]
xor r8, r9
imul r8, rcx
movzx r15d, byte [rdx + 7]
add rdx, 8
xor r15, r8
imul r15, rcx
cmp rdx, rax
jne 0x140021380
jmp 0x14002119f
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rbx, qword [r14 + 0x50]
mov rdi, qword [r14 + 0x20]
mov rsi, qword [r14 + 0x48]
mov rcx, qword [rsp + 0x30]
lea rbp, [rcx - 1]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov r14d, 1
jmp 0x140021436
inc r8
inc rax
mov rcx, rax
nop dword [rax]
mov rax, rcx
mov ecx, 0
cmp rax, rbx
jae 0x140021440
movzx ecx, word [rsi + rax*4]
cmp rcx, 0xffff
je 0x140021500
movzx r9d, word [rsi + rax*4 + 2]
mov r10d, r9d
and r10d, r12d
mov r11d, eax
sub r11d, r10d
and r11d, r12d
cmp r8, r11
ja 0x140021500
cmp r9w, r15w
jne 0x140021430
cmp rdx, rcx
jbe 0x140021596
imul rcx, rcx, 0x68
cmp qword [rdi + rcx + 0x40], 0
je 0x140021430
add rcx, rdi
add rcx, 0x40
mov r9, qword [rsp + 0x30]
cmp qword [rcx + 0x10], r9
jne 0x140021430
cmp qword [rsp + 0x30], 0
je 0x140021503
mov rcx, qword [rcx + 8]
mov r9, qword [rsp + 0x48]
movzx r9d, byte [r9]
movzx r9d, byte [r9 + r13]
cmp r9b, byte [rcx]
jne 0x140021430
xor r9d, r9d
nop
cmp rbp, r9
je 0x140021503
mov r10, qword [rsp + 0x48]
movzx r10d, byte [r10 + r9 + 1]
movzx r11d, byte [r10 + r13]
lea r10, [r9 + 1]
cmp r11b, byte [rcx + r9 + 1]
mov r9, r10
je 0x1400214d0
cmp r10, qword [rsp + 0x30]
jb 0x140021430
jmp 0x140021503
xor r14d, r14d
and r14b, 1
mov eax, r14d
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
cmp rbx, 4
jb 0x14002119f
movabs rdx, 0x100000001b3
nop word cs:[rax + rax]
movzx r8d, byte [rcx]
movzx r8d, byte [r8 + r13]
xor r8, r15
imul r8, rdx
movzx r9d, byte [rcx + 1]
movzx r9d, byte [r9 + r13]
xor r9, r8
imul r9, rdx
movzx r8d, byte [rcx + 2]
movzx r8d, byte [r8 + r13]
xor r8, r9
imul r8, rdx
movzx r9d, byte [rcx + 3]
movzx r15d, byte [r9 + r13]
xor r15, r8
imul r15, rdx
add rcx, 4
cmp rcx, rax
jne 0x140021540
jmp 0x14002119f
mov rdx, qword [rsp + 0x40]
lea r8, str.C:UsersEnder.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_0.2.11_srcheadermap.rs
call fcn.1401e5f90
int3