Function at 0x595b80
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 r13, rcx
lea rax, [0x0072cdaf]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x98]
call fcn.0059fb40
movzx edi, byte [rsp + 0x60]
cmp dil, 3
je 0x5960b4
mov r10, qword [r13 + 0x28]
test r10, r10
je 0x5960b4
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x58]
cmp dword [r13], 2
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x48], r10
jne 0x595c86
movdqu xmm0, xmmword [r13 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x006e5120]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x006e5130]
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 dil, 2
setne al
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.004a8890
cmp dil, 2
jne 0x595cd2
mov ebx, edi
movzx eax, byte [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
jmp 0x595cec
xor eax, eax
cmp dil, 2
setne al
movabs rsi, 0xcbf29ce484222325
xor rsi, rax
movabs rax, 0x1efac7090aef4a21
imul rsi, rax
cmp dil, 2
jne 0x595dfc
movzx ecx, byte [rsp + 0x28]
xor rcx, rsi
imul rcx, rax
mov r8b, 2
mov rsi, rcx
lea r11, [0x0072cdaf]
jmp 0x595f7a
mov ebx, edi
test dil, dil
je 0x595e5a
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
call fcn.004a8890
lea rdi, [0x0072cdaf]
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 rsi, rdx
shr rsi, 0x20
xor rsi, rdx
xor rsi, rax
mov r11, rdi
mov r10, qword [rsp + 0x48]
mov r8d, ebx
jmp 0x595f7a
mov rax, qword [rsp + 0x28]
add rax, r8
test dil, dil
lea r11, [0x0072cdaf]
je 0x595eaf
test r8, r8
je 0x595f77
movabs rcx, 0x100000001b3
and r8, 7
je 0x595f00
mov r9, rsi
mov rdx, qword [rsp + 0x28]
nop dword [rax]
movzx esi, byte [rdx]
inc rdx
xor rsi, r9
imul rsi, rcx
mov r9, rsi
dec r8
jne 0x595e40
jmp 0x595f05
mov r14, qword [rsp + 0x30]
test r14, r14
lea rdi, [0x0072cdaf]
je 0x595cf8
xor esi, esi
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x38]
nop dword [rax + rax]
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + rsi]
movzx eax, byte [rax + rdi]
mov byte [rsp + 0x38], al
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.004a8890
inc rsi
cmp r14, rsi
jne 0x595e80
jmp 0x595cf8
test r8, r8
je 0x5960ce
mov rdi, r10
movabs rcx, 0x100000001b3
and r8, 3
je 0x5960d6
mov rdx, qword [rsp + 0x28]
mov r9, rsi
nop word [rax + rax]
movzx r10d, byte [rdx]
movzx esi, byte [r10 + r11]
xor rsi, r9
imul rsi, rcx
inc rdx
mov r9, rsi
dec r8
jne 0x595ee0
jmp 0x5960db
mov rdx, qword [rsp + 0x28]
cmp qword [rsp + 0x30], 8
jb 0x595f77
nop dword [rax]
movzx r8d, byte [rdx]
xor r8, rsi
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 esi, byte [rdx + 7]
add rdx, 8
xor rsi, r8
imul rsi, rcx
cmp rdx, rax
jne 0x595f10
mov r8b, 1
and esi, 0x7fff
movzx r12d, word [r13 + 0x58]
mov r15d, esi
and r15d, r12d
mov rax, r13
mov r13, qword [r13 + 0x50]
mov r14, qword [rax + 0x20]
mov rdi, qword [rax + 0x48]
xor ebx, ebx
mov ebp, r8d
movzx eax, r8b
mov dword [rsp + 0x44], eax
mov r8, qword [rsp + 0x30]
jmp 0x595fb6
inc rbx
inc r15
mov rax, r15
nop dword [rax]
mov r15, rax
mov eax, 0
cmp r15, r13
jae 0x595fc0
movzx ecx, word [rdi + r15*4]
cmp rcx, 0xffff
je 0x5960b4
movzx eax, word [rdi + r15*4 + 2]
mov edx, eax
and edx, r12d
mov r9d, r15d
sub r9d, edx
and r9d, r12d
cmp rbx, r9
ja 0x5960b4
cmp ax, si
jne 0x595fb0
cmp r10, rcx
jbe 0x596154
imul rcx, rcx, 0x68
lea rax, [r14 + rcx]
add rax, 0x40
cmp qword [r14 + rcx + 0x40], 0
je 0x596059
test bpl, bpl
je 0x596073
cmp dword [rsp + 0x44], 2
je 0x595fb0
cmp qword [rax + 0x10], r8
jne 0x595fb0
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x28]
call sub.msvcrt.dll_memcmp
mov r8, qword [rsp + 0x30]
mov r10, qword [rsp + 0x48]
lea r11, [0x0072cdaf]
test eax, eax
jne 0x595fb0
jmp 0x5960ca
cmp bpl, 2
jne 0x595fb0
mov rcx, qword [rsp + 0x28]
cmp byte [rax + 8], cl
jne 0x595fb0
jmp 0x5960ca
cmp qword [rax + 0x10], r8
jne 0x595fb0
mov rax, qword [rax + 8]
xor ecx, ecx
nop word cs:[rax + rax]
cmp r8, rcx
je 0x5960ca
mov rdx, qword [rsp + 0x28]
movzx edx, byte [rdx + rcx]
lea r9, [rcx + 1]
movzx edx, byte [rdx + r11]
cmp dl, byte [rax + rcx]
mov rcx, r9
je 0x596090
jmp 0x595fb0
xor eax, eax
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov al, 1
jmp 0x5960b6
xor r8d, r8d
jmp 0x595f7a
mov rdx, qword [rsp + 0x28]
cmp qword [rsp + 0x30], 4
jae 0x5960ee
xor r8d, r8d
mov r10, rdi
jmp 0x595f7a
mov r10, rdi
nop word cs:[rax + rax]
movzx r8d, byte [rdx]
movzx r8d, byte [r8 + r11]
xor r8, rsi
imul r8, rcx
movzx r9d, byte [rdx + 1]
movzx r9d, byte [r9 + r11]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 2]
movzx r8d, byte [r8 + r11]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 3]
movzx esi, byte [r9 + r11]
xor rsi, r8
imul rsi, rcx
add rdx, 4
xor r8d, r8d
cmp rdx, rax
jne 0x596100
jmp 0x595f7a
lea r8, str._home_uni_100_.cargo_registry_src_index.crates.io_6f17d22bba15001f_http_0.2.12_src_header_map.rssize_overflows_MAX_SIZE
mov rdx, r10
call fcn.0056d4e0
int3