Function at 0x1400294e0
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 rbp, rcx
lea rbx, [0x140182198]
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x98]
call fcn.1400377c0
movzx r14d, byte [rsp + 0x60]
cmp r14d, 3
jne 0x140029530
mov qword [rbp], 2
jmp 0x140029c09
mov r11, qword [r15 + 0x38]
test r11, r11
je 0x14002960a
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
cmp dword [r15], 2
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x40], rdx
jne 0x140029611
mov rbp, rbx
mov rbx, rdx
mov qword [rsp + 0x48], r11
movdqu xmm0, xmmword [r15 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140146fe0]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140146ff0]
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 r14d, 2
setne al
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.140035c20
cmp r14d, 2
jne 0x140029669
movzx eax, bl
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.140035c20
mov rdi, qword [rsp + 0x30]
jmp 0x140029725
xor edi, edi
jmp 0x140029bfd
xor eax, eax
cmp r14d, 2
setne al
movabs r12, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x1efac7090aef4a21
imul r12, rcx
cmp r14d, 2
jne 0x140029688
movzx eax, dl
xor r12d, eax
imul ecx, r12d
and ecx, 0x7fff
movzx r13d, word [r15 + 0x58]
mov eax, ecx
and eax, r13d
mov rsi, qword [r15 + 0x18]
mov rbx, qword [r15 + 0x20]
mov r10, qword [r15 + 0x28]
mov r12d, ecx
jmp 0x14002985f
test r14d, r14d
je 0x1400296db
lea rcx, [rsp + 0x50]
mov rdx, rbx
mov rdi, qword [rsp + 0x30]
mov r8, rdi
call fcn.140035c20
jmp 0x140029725
lea rax, [rdx + rdi]
test r14d, r14d
je 0x1400298db
test rdi, rdi
je 0x140029981
movabs rcx, 0x100000001b3
mov r8, rdi
and r8, 7
je 0x140029a5b
mov r9, r12
mov r10, rdx
nop dword [rax + rax]
movzx r12d, byte [r10]
inc r10
xor r12, r9
imul r12, rcx
mov r9, r12
dec r8
jne 0x1400296c0
jmp 0x140029a5e
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x140029725
xor esi, esi
lea r12, [rsp + 0x50]
lea r13, [rsp + 0x38]
nop word cs:[rax + rax]
movzx eax, byte [rbx + rsi]
movzx eax, byte [rax + rbp]
mov byte [rsp + 0x38], al
mov r8d, 1
mov rcx, r12
mov rdx, r13
call fcn.140035c20
inc rsi
cmp rdi, rsi
jne 0x140029700
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 r12, rdx
shr r12, 0x20
xor r12, rdx
xor r12, rax
mov r11, qword [rsp + 0x48]
mov rbx, rbp
mov rdx, rbx
and r12d, 0x7fff
movzx r13d, word [r15 + 0x58]
mov eax, r12d
and eax, r13d
mov rsi, qword [r15 + 0x18]
mov rbx, qword [r15 + 0x20]
mov r10, qword [r15 + 0x28]
test r14d, r14d
je 0x140029afe
cmp r14d, 2
mov rbp, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
jne 0x14002999f
xor edi, edi
xor ecx, ecx
jmp 0x140029870
inc rcx
inc r14
mov rax, r14
nop
mov r14, rax
mov eax, 0
cmp r14, rbx
jae 0x140029870
movzx r15d, word [rsi + r14*4]
cmp r15, 0xffff
je 0x1400298d6
movzx eax, word [rsi + r14*4 + 2]
mov r9d, eax
and r9d, r13d
mov r8d, r14d
sub r8d, r9d
and r8d, r13d
cmp rcx, r8
ja 0x1400298d6
cmp ax, r12w
jne 0x140029865
cmp r11, r15
jbe 0x140029c1d
imul rax, r15, 0x68
cmp qword [r10 + rax + 0x40], 0
jne 0x140029865
add rax, r10
add rax, 0x40
cmp byte [rax + 8], dl
jne 0x140029865
mov edi, 1
jmp 0x140029bfd
jmp 0x140029bfd
test rdi, rdi
je 0x140029add
movabs rcx, 0x100000001b3
mov r8, rdi
mov rsi, rdx
and r8, 3
je 0x14002991b
mov r9, r12
nop dword [rax]
movzx r10d, byte [rsi]
movzx r12d, byte [r10 + rbx]
xor r12, r9
imul r12, rcx
inc rsi
mov r9, r12
dec r8
jne 0x140029900
cmp rdi, 4
jb 0x140029821
nop word cs:[rax + rax]
movzx r8d, byte [rsi]
movzx r8d, byte [r8 + rbx]
xor r8, r12
imul r8, rcx
movzx r9d, byte [rsi + 1]
movzx r9d, byte [r9 + rbx]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rsi + 2]
movzx r8d, byte [r8 + rbx]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rsi + 3]
movzx r12d, byte [r9 + rbx]
xor r12, r8
imul r12, rcx
add rsi, 4
cmp rsi, rax
jne 0x140029930
jmp 0x140029821
and r12d, 0x7fff
movzx r13d, word [r15 + 0x58]
mov eax, r12d
and eax, r13d
mov rsi, qword [r15 + 0x18]
mov rbx, qword [r15 + 0x20]
mov r10, qword [r15 + 0x28]
xor ebp, ebp
mov qword [rsp + 0x48], r11
jmp 0x1400299c0
inc rbp
inc r14
mov rax, r14
nop word cs:[rax + rax]
mov r14, rax
mov eax, 0
cmp r14, rbx
jae 0x1400299c0
movzx r15d, word [rsi + r14*4]
cmp r15, 0xffff
je 0x140029a4f
movzx eax, word [rsi + r14*4 + 2]
mov ecx, eax
and ecx, r13d
mov r8d, r14d
sub r8d, ecx
and r8d, r13d
cmp rbp, r8
ja 0x140029a4f
cmp ax, r12w
jne 0x1400299a8
cmp r11, r15
jbe 0x140029c1d
imul rax, r15, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x1400299a8
add rax, r10
add rax, 0x40
cmp qword [rax + 0x10], rdi
jne 0x1400299a8
mov rcx, qword [rax + 8]
mov r8, rdi
mov rdi, r10
call sub.msvcrt.dll_memcmp
mov r10, rdi
mov r11, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
test eax, eax
jne 0x1400299a8
mov edi, 1
jmp 0x140029bf8
mov rbp, qword [rsp + 0x28]
xor edi, edi
jmp 0x140029bfd
mov r10, rdx
cmp rdi, 8
jb 0x140029821
nop dword [rax + rax]
movzx r8d, byte [r10]
xor r8, r12
imul r8, rcx
movzx r9d, byte [r10 + 1]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r10 + 2]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r10 + 3]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r10 + 4]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r10 + 5]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r10 + 6]
xor r8, r9
imul r8, rcx
movzx r12d, byte [r10 + 7]
add r10, 8
xor r12, r8
imul r12, rcx
cmp r10, rax
jne 0x140029a70
jmp 0x140029821
mov rdx, rbx
and r12d, 0x7fff
movzx r13d, word [r15 + 0x58]
mov eax, r12d
and eax, r13d
mov rsi, qword [r15 + 0x18]
mov rbx, qword [r15 + 0x20]
mov r10, qword [r15 + 0x28]
lea rcx, [rdi - 1]
xor edi, edi
mov r14, rax
jmp 0x140029b16
inc rdi
inc r14
mov rax, r14
nop dword [rax]
mov r14, rax
mov eax, 0
cmp r14, rbx
jae 0x140029b20
movzx r15d, word [rsi + r14*4]
cmp r15, 0xffff
je 0x140029bf6
movzx eax, word [rsi + r14*4 + 2]
mov r8d, eax
and r8d, r13d
mov r9d, r14d
sub r9d, r8d
and r9d, r13d
cmp rdi, r9
ja 0x140029bf6
cmp ax, r12w
jne 0x140029b10
cmp r11, r15
jbe 0x140029c1d
imul rax, r15, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x140029b10
add rax, r10
add rax, 0x40
mov r8, qword [rsp + 0x30]
cmp qword [rax + 0x10], r8
jne 0x140029b10
cmp qword [rsp + 0x30], 0
je 0x140029bea
mov rax, qword [rax + 8]
mov r8, qword [rsp + 0x40]
movzx r8d, byte [r8]
movzx r8d, byte [r8 + rdx]
cmp r8b, byte [rax]
jne 0x140029b10
xor r8d, r8d
cmp rcx, r8
je 0x140029bea
mov r9, qword [rsp + 0x40]
movzx r9d, byte [r9 + r8 + 1]
mov rbp, r11
mov r11, r10
movzx r10d, byte [r9 + rdx]
lea r9, [r8 + 1]
cmp r10b, byte [rax + r8 + 1]
mov r10, r11
mov r11, rbp
mov r8, r9
je 0x140029bb0
cmp r9, qword [rsp + 0x30]
jb 0x140029b10
mov rbp, qword [rsp + 0x28]
mov edi, 1
jmp 0x140029bfd
xor edi, edi
mov rbp, qword [rsp + 0x28]
mov qword [rbp], rdi
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r15
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_http_0.2.9_src_header_map.rs
mov rcx, r15
mov rdx, r11
call fcn.14000aa40
ud2