Function at 0x1400317d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140111028]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r9d, r8d
movsxd r11, edx
mov r14, rcx
mov qword [rsp + 0x58], rcx
mov r10, qword [rcx + 0x10]
mov rax, qword [rcx + 8]
cmp rax, r10
je 0x140031b15
cmp r11d, r8d
jge 0x140031b15
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor r13d, r13d
mov ecx, r13d
mov qword [rbp - 0x18], rcx
mov r8d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r8
mov byte [rbp - 0x28], cl
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp], r13
mov byte [rbp + 8], r13b
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov qword [rbp + 0x30], r13
mov byte [rbp + 0x38], r13b
movdqa xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x50], r13b
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x60], r13
mov byte [rbp + 0x68], r13b
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r8
mov byte [rbp - 0x48], r13b
sub r10, rax
movabs rsi, 0x2aaaaaaaaaaaaaab
mov rax, rsi
imul r10
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9d, edx
cmovl edx, r9d
mov eax, r13d
test edx, edx
cmovg eax, edx
mov rdx, r11
movsxd rbx, eax
cmp r11, rbx
jge 0x140031af8
lea r11, [r11 + r11*2]
shl r11, 3
mov qword [rsp + 0x40], r11
sub rbx, rdx
mov qword [rsp + 0x50], rbx
mov r9, qword [rbp - 0x28]
nop word [rax + rax]
mov r12, qword [r14 + 8]
add r12, r11
mov qword [rsp + 0x30], r12
mov rdx, qword [r12 + 8]
mov rax, qword [r12]
cmp rax, rdx
je 0x140031ae0
sub rdx, rax
mov rax, rsi
imul rdx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rcx
ja 0x14003193f
lea rax, [rbp - 0x28]
cmp r8, 0x10
cmovae rax, r9
mov qword [rbp - 0x18], rdx
mov byte [rax + rdx], 0
jmp 0x14003198f
mov rdi, rdx
sub rdi, rcx
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x14003197b
mov qword [rbp - 0x18], rdx
lea rbx, [rbp - 0x28]
cmp r8, 0x10
cmovae rbx, r9
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x50]
jmp 0x14003198a
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400146f0
mov r11, qword [rsp + 0x40]
mov r8, r13
mov r10, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r10
mov rax, rsi
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140031a07
mov r9, r13
nop word [rax + rax]
movzx ecx, byte [r9 + r10]
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + r8], cl
mov dword [r9 + r10 + 4], r13d
inc r8
lea r9, [r9 + 0xc]
mov r10, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r10
mov rax, rsi
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x1400319c0
lea rax, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r8, qword [rbp - 0x10]
cmp r8, 0x10
cmovae rax, r9
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp - 0x18]
lea r15, [rcx + rax]
mov qword [rsp + 0x48], r15
mov rsi, rax
cmp rax, r15
je 0x140031ad6
nop dword [rax]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
mov dword [rbp - 0x50], r13d
mov rax, qword [r14 + 0x270]
test rax, rax
je 0x140031a79
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x60]
mov rdx, r15
mov rcx, rsi
call rax
test al, al
jne 0x140031b55
mov rbx, qword [r14 + 0x298]
mov rdi, qword [r14 + 0x2a0]
cmp rbx, rdi
je 0x140031ab8
nop dword [rax]
mov qword [rsp + 0x28], rsi
mov r9, rbx
lea r8, [rbp]
mov rdx, r15
mov rcx, rsi
call fcn.140035e30
test al, al
jne 0x140031b3c
add rbx, 0x30
cmp rbx, rdi
jne 0x140031a90
inc rsi
cmp rsi, r15
jne 0x140031a40
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
mov r9, qword [rbp - 0x28]
mov r11, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
movabs rsi, 0x2aaaaaaaaaaaaaab
add r11, 0x18
mov qword [rsp + 0x40], r11
sub rbx, 1
mov qword [rsp + 0x50], rbx
jne 0x1400318f0
lea rcx, [rbp - 0x48]
call fcn.140006360
nop
lea rcx, [rbp + 0x10]
call fcn.1400337a0
nop
lea rcx, [rbp - 0x28]
call fcn.140006360
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400c6990
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
mov qword [rbp - 0x60], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x58], rax
mov eax, dword [rbx + 0x28]
mov dword [rbp - 0x50], eax
mov r13, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
sub r13, rdx
cmp dword [rbp - 0x50], 7
jne 0x140031c75
mov r8, r13
lea rcx, [rbp - 0x48]
call fcn.140013a60
mov rdx, qword [rbp - 0x30]
mov r12, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x38]
cmp byte [r14 + 0x290], 0
jne 0x140031beb
lea r14, [rbp - 0x48]
cmp rdx, 0x10
setae al
cmovae r14, r12
lea rcx, [rbp - 0x48]
test al, al
je 0x140031bac
mov rbx, r12
lea r15, [rdi + r12]
jmp 0x140031bb4
lea r15, [rdi + rcx]
lea rbx, [rbp - 0x48]
cmp rbx, r15
je 0x140031be1
sub r14, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r15
jne 0x140031bc0
mov rdx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
mov r12, qword [rbp - 0x48]
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x38]
sub rsi, rbx
lea rcx, [rsi + rsi*2]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea r8, [rbp - 0x48]
movabs r9, 0xcbf29ce484222325
test byte [rax + rcx*4 + 8], 4
jne 0x140031d82
lea rcx, [r14 + 0x148]
cmp rdx, 0x10
setae bl
cmovae r8, r12
xor edx, edx
movabs rsi, 0x100000001b3
test rdi, rdi
je 0x140031c54
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, rsi
inc rdx
cmp rdx, rdi
jb 0x140031c40
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x60]
call fcn.140007a40
cmp qword [rax + 8], 0
je 0x140031cb2
mov dword [rbp - 0x50], 1
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor r8d, r8d
test r13, r13
je 0x140031ca6
mov rax, r8
sub rax, rbx
add rax, qword [rbp - 0x60]
lea rcx, [rax + rax*2]
mov rax, qword [r12]
lea rdx, [rax + rcx*4]
mov eax, dword [rbp - 0x50]
mov dword [rdx + 4], eax
inc r8
cmp r8, r13
jb 0x140031c82
mov rsi, qword [rbp - 0x58]
xor r13d, r13d
jmp 0x140031abb
lea rcx, [r14 + 0x188]
lea r8, [rbp - 0x48]
test bl, bl
cmovne r8, r12
xor edx, edx
movabs r9, 0xcbf29ce484222325
test rdi, rdi
je 0x140031cf4
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, rsi
inc rdx
cmp rdx, rdi
jb 0x140031ce0
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x70]
call fcn.140007a40
cmp qword [rax + 8], 0
je 0x140031d15
mov dword [rbp - 0x50], 8
jmp 0x140031c70
lea rcx, [r14 + 0x1c8]
lea r8, [rbp - 0x48]
test bl, bl
cmovne r8, r12
xor edx, edx
movabs r9, 0xcbf29ce484222325
test rdi, rdi
je 0x140031d54
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, rsi
inc rdx
cmp rdx, rdi
jb 0x140031d40
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x80]
call fcn.140007a40
mov rbx, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
cmp qword [rax + 8], 0
je 0x140031c7a
mov dword [rbp - 0x50], 9
jmp 0x140031c7a
lea rcx, [r14 + 0x1c8]
cmp rdx, 0x10
cmovae r8, r12
xor edx, edx
test rdi, rdi
je 0x140031dc9
movabs r15, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, r15
inc rdx
cmp rdx, rdi
jb 0x140031db0
mov r15, qword [rsp + 0x48]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x70]
call fcn.140007a40
jmp 0x140031d66