Function at 0x1401589d0
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, 0xe8
mov r14, rcx
lea rdi, [0x14022a360]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0xa8]
call fcn.1401a3cf0
movzx r13d, byte [rsp + 0x60]
cmp r13b, 3
je 0x140158e62
mov r10, qword [r14 + 0x28]
test r10, r10
je 0x140158e62
mov rdx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
cmp dword [r14], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x48], r10
jne 0x140158adf
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdetC:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_1.1.0_srcheadermap.rssize_overflows_MAX_SIZE]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401f98c0]
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 r13b, 2
setne al
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.14002bb20
mov eax, r13d
cmp al, 2
jne 0x140158b1e
mov rsi, qword [rsp + 0x28]
movzx eax, sil
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.14002bb20
mov rdx, rsi
jmp 0x140158bda
xor eax, eax
cmp r13b, 2
setne al
movabs rbx, 0xcbf29ce484222325
xor rbx, rax
movabs rax, 0x1efac7090aef4a21
imul rbx, rax
cmp r13b, 2
jne 0x140158b3e
movzx ecx, dl
xor rcx, rbx
imul rcx, rax
mov r11b, 2
mov rbx, rcx
jmp 0x140158cd6
test al, al
mov rdx, qword [rsp + 0x28]
je 0x140158b9b
lea rcx, [rsp + 0x50]
mov r8, rbp
call fcn.14002bb20
mov rdx, qword [rsp + 0x28]
jmp 0x140158bda
lea rax, [rdx + rbp]
test r13b, r13b
je 0x140158e78
mov r11b, 1
test rbp, rbp
je 0x140158ed0
mov r8, rbp
movabs rcx, 0x100000001b3
and r8, 7
je 0x140158ede
mov r9, rbx
mov r11, rdx
nop word cs:[rax + rax]
movzx ebx, byte [r11]
inc r11
xor rbx, r9
imul rbx, rcx
mov r9, rbx
dec r8
jne 0x140158b80
jmp 0x140158ee1
test rbp, rbp
je 0x140158bda
xor esi, esi
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x40]
nop dword [rax]
movzx eax, byte [rdx + rsi]
movzx eax, byte [rax + rdi]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.14002bb20
mov rdx, qword [rsp + 0x28]
inc rsi
cmp rbp, rsi
jne 0x140158bb0
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 r10, qword [rsp + 0x58]
add r10, rcx
rol rcx, 0x10
xor rcx, r10
add r8, rcx
rol rcx, 0x15
add r10, rax
rol rax, 0x11
xor rcx, r8
xor rax, r10
rol r10, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor r10, 0xff
add r10, rcx
rol rcx, 0x10
xor rcx, r10
add r8, rcx
rol rcx, 0x15
add r10, rax
rol rax, 0x11
xor rax, r10
rol r10, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add r10, rcx
rol rcx, 0x10
xor rcx, r10
add r8, rcx
rol rcx, 0x15
add r10, rax
rol rax, 0x11
xor rax, r10
rol r10, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
add r10, rcx
shl rcx, 0x10
xor rcx, r10
shr rcx, 0x2b
add r10, rax
shr rax, 0x2f
xor rax, rcx
mov rbx, r10
shr rbx, 0x20
xor rbx, r10
xor rbx, rax
mov r10, qword [rsp + 0x48]
mov r11d, r13d
and ebx, 0x7fff
movzx r12d, word [r14 + 0x58]
mov r15d, ebx
and r15d, r12d
mov r13, qword [r14 + 0x50]
mov rdi, qword [r14 + 0x20]
mov r14, qword [r14 + 0x48]
mov qword [rsp + 0x38], rbp
lea rax, [rbp - 1]
mov qword [rsp + 0xa0], rax
xor esi, esi
xor ebp, ebp
jmp 0x140158d16
inc rbp
inc r15
cmp r15, r13
cmovae r15, rsi
jb 0x140158d28
test r13, r13
je 0x140158e60
movzx ecx, word [r14 + r15*4]
cmp rcx, 0xffff
je 0x140158e62
movzx eax, word [r14 + r15*4 + 2]
mov r9d, eax
and r9d, r12d
mov r8d, r15d
sub r8d, r9d
and r8d, r12d
cmp rbp, r8
ja 0x140158e62
cmp ax, bx
jne 0x140158d10
cmp r10, rcx
jbe 0x140158ffc
imul rax, rcx, 0x68
lea rcx, [rdi + rax]
add rcx, 0x40
cmp qword [rdi + rax + 0x40], 0
je 0x140158dbf
cmp r11b, 2
je 0x140158d10
mov rax, qword [rcx + 0x10]
test r11b, r11b
je 0x140158dd7
cmp rax, qword [rsp + 0x38]
jne 0x140158d10
mov rcx, qword [rcx + 8]
mov r8, qword [rsp + 0x38]
mov dword [rsp + 0x34], r11d
call fcn.1401e05a0
mov r11d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov r10, qword [rsp + 0x48]
test eax, eax
jne 0x140158d10
jmp 0x140158ed7
cmp r11b, 2
jne 0x140158d10
cmp byte [rcx + 8], dl
jne 0x140158d10
jmp 0x140158ed7
cmp rax, qword [rsp + 0x38]
jne 0x140158d10
mov eax, 1
cmp qword [rsp + 0x38], 0
je 0x140158e64
mov rcx, qword [rcx + 8]
movzx r9d, byte [rdx]
lea r8, [0x14022a360]
movzx r8d, byte [r9 + r8]
cmp r8b, byte [rcx]
jne 0x140158d10
mov dword [rsp + 0x34], r11d
xor r11d, r11d
nop word cs:[rax + rax]
cmp qword [rsp + 0xa0], r11
je 0x140158e64
movzx r8d, byte [rdx + r11 + 1]
lea r9, [0x14022a360]
movzx r9d, byte [r8 + r9]
lea r8, [r11 + 1]
cmp r9b, byte [rcx + r11 + 1]
mov r11, r8
je 0x140158e20
cmp r8, qword [rsp + 0x38]
mov r11d, dword [rsp + 0x34]
jb 0x140158d10
jmp 0x140158e64
jmp 0x140158e60
xor eax, eax
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rbp, rbp
lea r11, [0x14022a360]
je 0x140158f60
mov rsi, r10
mov rdx, rbp
and rdx, 3
je 0x140158f6f
movabs r8, 0x100000001b3
mov rcx, qword [rsp + 0x28]
mov r9, rbx
nop word [rax + rax]
movzx r10d, byte [rcx]
movzx ebx, byte [r10 + r11]
xor rbx, r9
imul rbx, r8
inc rcx
mov r9, rbx
dec rdx
jne 0x140158eb0
jmp 0x140158f74
xor ebp, ebp
jmp 0x140158cd6
mov eax, 1
jmp 0x140158e64
mov r11, rdx
cmp rbp, 8
jb 0x140158f58
nop word [rax + rax]
movzx r8d, byte [r11]
xor r8, rbx
imul r8, rcx
movzx r9d, byte [r11 + 1]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r11 + 2]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r11 + 3]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r11 + 4]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r11 + 5]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r11 + 6]
xor r8, r9
imul r8, rcx
movzx ebx, byte [r11 + 7]
add r11, 8
xor rbx, r8
imul rbx, rcx
cmp r11, rax
jne 0x140158ef0
mov r11b, 1
jmp 0x140158cd6
xor ebp, ebp
xor r11d, r11d
mov rdx, qword [rsp + 0x28]
jmp 0x140158cd6
mov rcx, qword [rsp + 0x28]
cmp rbp, 4
jae 0x140158f8a
xor r11d, r11d
mov r10, rsi
mov rdx, qword [rsp + 0x28]
jmp 0x140158cd6
movabs rdx, 0x100000001b3
nop word cs:[rax + rax]
movzx r8d, byte [rcx]
movzx r8d, byte [r8 + r11]
xor r8, rbx
imul r8, rdx
movzx r9d, byte [rcx + 1]
movzx r9d, byte [r9 + r11]
xor r9, r8
imul r9, rdx
movzx r8d, byte [rcx + 2]
movzx r8d, byte [r8 + r11]
xor r8, r9
imul r8, rdx
movzx r9d, byte [rcx + 3]
movzx ebx, byte [r9 + r11]
xor rbx, r8
imul rbx, rdx
add rcx, 4
cmp rcx, rax
jne 0x140158fa0
mov r10, rsi
mov rdx, qword [rsp + 0x28]
xor r11d, r11d
jmp 0x140158cd6
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_1.1.0_srcheadermap.rs
mov rdx, r10
call fcn.1401eda70
int3