Function at 0x1402f0c20
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 r15, rcx
test r8, r8
je 0x1402f0c77
mov r14, r9
mov rbp, r8
mov rbx, rdx
cmp r8, 0x40
ja 0x1402f0c61
lea rcx, [rbp - 1]
mov eax, ebp
and eax, 3
cmp rcx, 3
jae 0x1402f0c83
xor r9d, r9d
jmp 0x1402f0cf7
xor eax, eax
cmp rbp, 0x10000
setb sil
setae cl
jb 0x1402f0d7b
mov qword [r15], 0
jmp 0x1402f12c8
mov rcx, rbp
and rcx, 0xfffffffffffffffc
xor r8d, r8d
lea rdx, [0x1403b2e1f]
nop word cs:[rax + rax]
movzx r9d, byte [rbx + r8]
movzx r9d, byte [r9 + rdx]
mov byte [rsp + r8 + 0xa8], r9b
movzx r9d, byte [rbx + r8 + 1]
movzx r9d, byte [r9 + rdx]
mov byte [rsp + r8 + 0xa9], r9b
movzx r9d, byte [rbx + r8 + 2]
movzx r9d, byte [r9 + rdx]
mov byte [rsp + r8 + 0xaa], r9b
lea r9, [r8 + 4]
movzx r10d, byte [rbx + r8 + 3]
movzx r10d, byte [r10 + rdx]
mov byte [rsp + r8 + 0xab], r10b
mov r8, r9
cmp rcx, r9
jne 0x1402f0ca0
test rax, rax
je 0x1402f0d36
lea rcx, [rsp + r9]
add rcx, 0xa8
add rbx, r9
xor edx, edx
lea r8, [0x1403b2e1f]
nop word cs:[rax + rax]
movzx r9d, byte [rbx + rdx]
movzx r9d, byte [r9 + r8]
mov byte [rcx + rdx], r9b
inc rdx
cmp rax, rdx
jne 0x1402f0d20
lea rbx, [rsp + 0xa8]
mov rcx, rbx
mov rdx, rbp
call fcn.140150450
cmp al, 0x51
jne 0x1402f0da1
cmp rbp, 0xf
ja 0x1402f0e90
xor eax, eax
nop dword [rax]
cmp byte [rsp + rax + 0xa8], 0
je 0x1402f0c77
inc rax
cmp rbp, rax
jne 0x1402f0d60
jmp 0x1402f1016
movabs r12, 0x89cd31291d2aefa4
xor edi, edi
mov al, cl
lea ecx, [rax + rax*2]
mov eax, 1
mov r11, qword [r14 + 0x38]
test r11, r11
jne 0x1402f0dc0
xor eax, eax
jmp 0x1402f12bd
movzx ebx, al
movabs r12, 0xa8c7f832281a39c5
mov dil, 1
mov cl, 2
xor eax, eax
xor esi, esi
mov r11, qword [r14 + 0x38]
test r11, r11
je 0x1402f0d9a
cmp dword [r14], 2
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x50], r11
jne 0x1402f0e6b
mov dword [rsp + 0x34], ecx
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140310f50]
movdqa xmmword [rsp + 0x60], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140310f60]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmmword [rsp + 0x80], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.140200b20
test dil, dil
je 0x1402f0ee8
movzx eax, bl
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov r8d, 8
jmp 0x1402f1048
test dil, dil
je 0x1402f0f3a
movzx eax, bl
xor rax, r12
movabs r12, 0x1efac7090aef4a21
imul r12, rax
mov r10b, 2
jmp 0x1402f114b
lea rax, [rsp + 0xaf]
and rax, 0xfffffffffffffff8
sub rax, rbx
je 0x1402f0f9f
cmp rax, rbp
cmovae rax, rbp
test rax, rax
je 0x1402f0f9f
xor ecx, ecx
nop word [rax + rax]
cmp byte [rsp + rcx + 0xa8], 0
je 0x1402f0c77
inc rcx
cmp rax, rcx
jne 0x1402f0ec0
lea rcx, [rbp - 0x10]
cmp rax, rcx
jbe 0x1402f0fa5
jmp 0x1402f0ffb
test sil, sil
je 0x1402f103d
test rbp, rbp
je 0x1402f104d
xor esi, esi
lea rdi, [0x1403b2e1f]
lea r12, [rsp + 0x60]
lea r13, [rsp + 0x40]
nop dword [rax]
movzx eax, byte [rbx + rsi]
movzx eax, byte [rax + rdi]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, r12
mov rdx, r13
call fcn.140200b20
inc rsi
cmp rbp, rsi
jne 0x1402f0f10
jmp 0x1402f104d
lea rax, [rbx + rbp]
test sil, sil
je 0x1402f12dc
test rbp, rbp
je 0x1402f1332
movabs rcx, 0x100000001b3
lea r8, [rbp - 1]
mov r9, rbp
mov rdi, r11
and r9, 3
je 0x1402f134a
lea r10, [0x1403b2e1f]
mov rdx, rbx
mov r11, r12
nop dword [rax + rax]
movzx esi, byte [rdx]
movzx r12d, byte [rsi + r10]
xor r12, r11
imul r12, rcx
inc rdx
mov r11, r12
dec r9
jne 0x1402f0f80
jmp 0x1402f134d
lea rcx, [rbp - 0x10]
xor eax, eax
movabs rdx, 0xfefefefefefefeff
movabs r8, 0x8080808080808080
nop dword [rax]
mov r9, qword [rsp + rax + 0xa8]
mov r10, r9
not r10
add r9, rdx
and r10, r8
test r10, r9
jne 0x1402f0ffb
mov r9, qword [rsp + rax + 0xb0]
mov r10, r9
not r10
add r9, rdx
and r10, r8
test r10, r9
jne 0x1402f0ffb
add rax, 0x10
cmp rax, rcx
jbe 0x1402f0fc0
cmp rax, rbp
je 0x1402f1016
cmp byte [rsp + rax + 0xa8], 0
je 0x1402f0c77
inc rax
cmp rbp, rax
jne 0x1402f1000
mov eax, 1
mov cl, 1
movabs r12, 0x89cd31291d2aefa4
xor esi, esi
xor edi, edi
mov r11, qword [r14 + 0x38]
test r11, r11
jne 0x1402f0dc0
jmp 0x1402f0d9a
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8, rbp
call fcn.140200b20
mov rax, qword [rsp + 0x70]
mov r9, qword [rsp + 0x90]
shl r9, 0x38
or r9, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x68]
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 + 0x50]
mov r10d, dword [rsp + 0x34]
and r12d, 0x7fff
movzx esi, word [r14 + 0x58]
mov r13d, r12d
and r13d, esi
mov r15, qword [r14 + 0x18]
mov rbp, qword [r14 + 0x20]
mov r8, qword [r14 + 0x28]
mov rax, qword [rsp + 0x28]
neg rax
mov qword [rsp + 0x58], rax
xor edi, edi
mov qword [rsp + 0x48], r8
jmp 0x1402f1186
inc rdi
inc r13
mov rax, r13
nop dword [rax]
mov r13, rax
mov eax, 0
cmp r13, rbp
jae 0x1402f1190
movzx r14d, word [r15 + r13*4]
cmp r14, 0xffff
je 0x1402f12b6
movzx eax, word [r15 + r13*4 + 2]
mov ecx, eax
and ecx, esi
mov edx, r13d
sub edx, ecx
and edx, esi
cmp rdi, rdx
ja 0x1402f12b6
cmp ax, r12w
jne 0x1402f1180
cmp r11, r14
jbe 0x1402f144d
imul rcx, r14, 0x68
lea rax, [r8 + rcx]
add rax, 0x40
cmp qword [r8 + rcx + 0x40], 0
je 0x1402f1238
cmp r10b, 2
je 0x1402f1180
test r10b, r10b
je 0x1402f1250
mov rcx, qword [rsp + 0x28]
cmp qword [rax + 0x10], rcx
jne 0x1402f1180
mov rcx, qword [rax + 8]
mov rdx, rbx
mov r8, qword [rsp + 0x28]
mov dword [rsp + 0x34], r10d
call sub.msvcrt.dll_memcmp
mov r8, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x34]
mov r11, qword [rsp + 0x50]
test eax, eax
jne 0x1402f1180
jmp 0x1402f132b
cmp r10b, 2
jne 0x1402f1180
cmp byte [rax + 8], bl
jne 0x1402f1180
jmp 0x1402f132b
mov rcx, qword [rsp + 0x28]
cmp qword [rax + 0x10], rcx
jne 0x1402f1180
mov rcx, qword [rax + 8]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
mov rax, qword [rsp + 0x58]
lea r8, [rax + rdx]
mov eax, 1
cmp r8, 0xffffffffffffffff
je 0x1402f12b8
movzx r8d, byte [rbx + rdx + 1]
lea r9, [0x1403b2e1f]
movzx r9d, byte [r8 + r9]
lea r8, [rdx + 1]
cmp r9b, byte [rcx + rdx + 1]
mov rdx, r8
je 0x1402f1270
cmp r8, qword [rsp + 0x28]
mov r8, qword [rsp + 0x48]
jb 0x1402f1180
jmp 0x1402f12b8
xor eax, eax
mov r15, qword [rsp + 0x38]
mov qword [r15], rax
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r14
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r10b, 1
test rbp, rbp
je 0x1402f133e
movabs rcx, 0x100000001b3
lea r8, [rbp - 1]
mov r9, rbp
and r9, 7
je 0x1402f13c4
mov r10, r12
mov rdx, rbx
nop word cs:[rax + rax]
movzx r12d, byte [rdx]
inc rdx
xor r12, r10
imul r12, rcx
mov r10, r12
dec r9
jne 0x1402f1310
jmp 0x1402f13c7
mov eax, 1
jmp 0x1402f12b8
xor eax, eax
mov qword [rsp + 0x28], rax
jmp 0x1402f13bc
xor eax, eax
mov qword [rsp + 0x28], rax
jmp 0x1402f114b
mov rdx, rbx
cmp r8, 3
jae 0x1402f135e
xor r10d, r10d
mov r11, rdi
jmp 0x1402f114b
lea r8, [0x1403b2e1f]
mov r11, rdi
nop dword [rax + rax]
movzx r9d, byte [rdx]
movzx r9d, byte [r9 + r8]
xor r9, r12
imul r9, rcx
movzx r10d, byte [rdx + 1]
movzx r10d, byte [r10 + r8]
xor r10, r9
imul r10, rcx
movzx r9d, byte [rdx + 2]
movzx r9d, byte [r9 + r8]
xor r9, r10
imul r9, rcx
movzx r10d, byte [rdx + 3]
movzx r12d, byte [r10 + r8]
xor r12, r9
imul r12, rcx
add rdx, 4
cmp rdx, rax
jne 0x1402f1370
xor r10d, r10d
jmp 0x1402f114b
mov rdx, rbx
cmp r8, 7
mov r10b, 1
jb 0x1402f114b
nop word cs:[rax + rax]
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 0x1402f13e0
jmp 0x1402f114b
lea r8, str._Users_sh1n_.cargo_registry_src_rsproxy.cn_8f6827c7555bfaf8_http_0.2.9_src_header_map.rs___
mov rcx, r14
mov rdx, r11
call fcn.140136ed0
ud2