Function at 0x140017cc0
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 r15, r9
mov rsi, rcx
lea rbp, [0x1401851e0]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x98]
call fcn.140027c00
movzx r14d, byte [rsp + 0x60]
cmp r14b, 3
jne 0x140017d0f
mov qword [rsi], 2
jmp 0x14001827a
mov r11, qword [r15 + 0x28]
test r11, r11
je 0x140017ddc
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x58]
cmp dword [r15], 2
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbx
jne 0x140017de4
movdqu xmm0, xmmword [r15 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x1401433b0]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401433c0]
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 r14b, 2
setne al
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.14001c1e0
cmp r14b, 2
jne 0x140017e1f
movzx eax, byte [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.14001c1e0
jmp 0x140017ee5
xor r10d, r10d
jmp 0x14001826f
xor eax, eax
cmp r14b, 2
setne al
movabs r12, 0xcbf29ce484222325
xor r12, rax
movabs rax, 0x1efac7090aef4a21
imul r12, rax
cmp r14b, 2
jne 0x140017e3c
movzx ecx, byte [rsp + 0x28]
xor r12, rcx
imul r12, rax
jmp 0x140017fde
test r14b, 1
je 0x140017e9b
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov r8, rbx
call fcn.14001c1e0
jmp 0x140017ee5
mov rax, qword [rsp + 0x28]
add rax, rbx
test r14b, 1
je 0x14001828e
test rbx, rbx
je 0x140017fde
movabs rcx, 0x100000001b3
mov r8, rbx
and r8, 7
je 0x1400182e0
mov r9, r12
mov rdx, qword [rsp + 0x28]
nop word cs:[rax + rax]
movzx r12d, byte [rdx]
inc rdx
xor r12, r9
imul r12, rcx
mov r9, r12
dec r8
jne 0x140017e80
jmp 0x1400182e5
test rbx, rbx
mov rdi, qword [rsp + 0x28]
je 0x140017ee5
xor esi, esi
lea r12, [rsp + 0x50]
lea r13, [rsp + 0x40]
nop word cs:[rax + rax]
movzx eax, byte [rdi + rsi]
movzx eax, byte [rax + rbp]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, r12
mov rdx, r13
call fcn.14001c1e0
inc rsi
cmp rbx, rsi
jne 0x140017ec0
mov rax, qword [rsp + 0x60]
mov r9, qword [rsp + 0x80]
shl r9, 0x38
or r9, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, r9
mov r8, qword [rsp + 0x50]
add r8, rax
mov rdx, qword [rsp + 0x58]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov r12, rdx
shr r12, 0x20
xor r12, rdx
xor r12, rcx
mov r11, qword [rsp + 0x48]
and r12d, 0x7fff
movzx esi, word [r15 + 0x58]
mov r13d, r12d
and r13d, esi
mov rdi, qword [r15 + 0x50]
mov rbx, qword [r15 + 0x20]
mov rbp, qword [r15 + 0x48]
cmp r14b, 2
jne 0x140018099
xor r10d, r10d
xor eax, eax
mov r9, qword [rsp + 0x28]
jmp 0x140018026
inc rax
inc r13
mov rcx, r13
nop dword [rax]
mov r13, rcx
mov ecx, 0
cmp r13, rdi
jae 0x140018030
movzx r15d, word [rbp + r13*4]
cmp r15, 0xffff
je 0x140018152
movzx ecx, word [rbp + r13*4 + 2]
mov edx, ecx
and edx, esi
mov r8d, r13d
sub r8d, edx
and r8d, esi
cmp rax, r8
ja 0x140018152
cmp cx, r12w
jne 0x140018020
cmp r11, r15
jbe 0x1400183c1
imul rcx, r15, 0x68
cmp qword [rbx + rcx + 0x40], 0
jne 0x140018020
add rcx, rbx
add rcx, 0x40
cmp byte [rcx + 8], r9b
jne 0x140018020
jmp 0x140018147
test r14b, 1
je 0x140018157
xor r14d, r14d
jmp 0x1400180b6
inc r14
inc r13
mov rax, r13
nop dword [rax]
mov r13, rax
mov eax, 0
cmp r13, rdi
jae 0x1400180c0
movzx r15d, word [rbp + r13*4]
cmp r15, 0xffff
je 0x14001825d
movzx eax, word [rbp + r13*4 + 2]
mov ecx, eax
and ecx, esi
mov edx, r13d
sub edx, ecx
and edx, esi
cmp r14, rdx
ja 0x14001825d
cmp ax, r12w
jne 0x1400180b0
cmp r11, r15
jbe 0x1400183c1
imul rax, r15, 0x68
cmp qword [rbx + rax + 0x40], 0
je 0x1400180b0
add rax, rbx
add rax, 0x40
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jne 0x1400180b0
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
mov r11, qword [rsp + 0x48]
test eax, eax
jne 0x1400180b0
mov r10d, 1
jmp 0x14001826a
jmp 0x14001826a
mov rax, qword [rsp + 0x38]
dec rax
xor ecx, ecx
mov rdx, r13
mov r14, qword [rsp + 0x28]
jmp 0x140018180
inc rcx
inc r13
mov rdx, r13
nop word cs:[rax + rax]
mov r13, rdx
mov edx, 0
cmp r13, rdi
jae 0x140018180
movzx r15d, word [rbp + r13*4]
cmp r15, 0xffff
je 0x140018267
movzx edx, word [rbp + r13*4 + 2]
mov r8d, edx
and r8d, esi
mov r9d, r13d
sub r9d, r8d
and r9d, esi
cmp rcx, r9
ja 0x140018267
cmp dx, r12w
jne 0x14001816b
cmp r11, r15
jbe 0x1400183c1
imul rdx, r15, 0x68
cmp qword [rbx + rdx + 0x40], 0
je 0x14001816b
add rdx, rbx
add rdx, 0x40
mov r8, qword [rsp + 0x38]
cmp qword [rdx + 0x10], r8
jne 0x14001816b
cmp qword [rsp + 0x38], 0
je 0x140018250
mov rdx, qword [rdx + 8]
movzx r8d, byte [r14]
lea r9, [0x1401851e0]
movzx r8d, byte [r8 + r9]
cmp r8b, byte [rdx]
jne 0x14001816b
xor r8d, r8d
nop word cs:[rax + rax]
cmp rax, r8
je 0x140018250
movzx r9d, byte [r14 + r8 + 1]
lea r10, [0x1401851e0]
movzx r10d, byte [r9 + r10]
lea r9, [r8 + 1]
cmp r10b, byte [rdx + r8 + 1]
mov r8, r9
je 0x140018220
cmp r9, qword [rsp + 0x38]
jb 0x14001816b
mov rsi, qword [rsp + 0x30]
mov r10d, 1
jmp 0x14001826f
mov rsi, qword [rsp + 0x30]
xor r10d, r10d
jmp 0x14001826f
xor r10d, r10d
mov rsi, qword [rsp + 0x30]
mov qword [rsi], r10
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r15
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rbx, rbx
je 0x140017fde
movabs rcx, 0x100000001b3
mov r8, rbx
and r8, 3
je 0x14001835d
mov rdx, qword [rsp + 0x28]
mov r9, r12
nop word cs:[rax + rax]
movzx r10d, byte [rdx]
movzx r12d, byte [r10 + rbp]
xor r12, r9
imul r12, rcx
inc rdx
mov r9, r12
dec r8
jne 0x1400182c0
jmp 0x140018362
mov rdx, qword [rsp + 0x28]
cmp rbx, 8
jb 0x140017fde
nop
movzx r8d, byte [rdx]
xor r8, r12
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 r12d, byte [rdx + 7]
add rdx, 8
xor r12, r8
imul r12, rcx
cmp rdx, rax
jne 0x1400182f0
jmp 0x140017fde
mov rdx, qword [rsp + 0x28]
cmp rbx, 4
jb 0x140017fde
nop dword [rax]
movzx r8d, byte [rdx]
movzx r8d, byte [r8 + rbp]
xor r8, r12
imul r8, rcx
movzx r9d, byte [rdx + 1]
movzx r9d, byte [r9 + rbp]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 2]
movzx r8d, byte [r8 + rbp]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 3]
movzx r12d, byte [r9 + rbp]
xor r12, r8
imul r12, rcx
add rdx, 4
cmp rdx, rax
jne 0x140018370
jmp 0x140017fde
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_1.1.0_srcheadermap.rs
mov rcx, r15
mov rdx, qword [rsp + 0x48]
call fcn.140009a70
int3