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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140131800]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r10d, r8d
movsxd r11, edx
mov r9, qword [0x140132e00]
mov rax, qword [0x140132df8]
cmp rax, r9
je 0x14005a05a
cmp r11d, r8d
jge 0x14005a05a
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xor r12d, r12d
mov ecx, r12d
mov qword [rbp - 0x38], rcx
mov r8d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], r8
mov byte [rbp - 0x48], cl
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp - 0x20], r12
mov byte [rbp - 0x18], r12b
movdqa xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov qword [rbp + 0x10], r12
mov byte [rbp + 0x18], r12b
movdqa xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x30], r12b
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
mov byte [rbp + 0x48], r12b
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r8
mov byte [rbp - 0x68], r12b
sub r9, rax
movabs rsi, 0x2aaaaaaaaaaaaaab
mov rax, rsi
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10d, edx
cmovl edx, r10d
mov eax, r12d
test edx, edx
cmovg eax, edx
mov rdx, r11
movsxd rdi, eax
cmp r11, rdi
jge 0x140059d91
lea r11, [r11 + r11*2]
shl r11, 3
mov qword [rsp + 0x38], r11
sub rdi, rdx
mov qword [rsp + 0x40], rdi
movabs r15, 0x100000001b3
mov r9, qword [rbp - 0x48]
nop word [rax + rax]
mov r13, qword [0x140132df8]
add r13, r11
mov rdx, qword [r13 + 8]
mov rax, qword [r13]
cmp rax, rdx
je 0x140059d79
sub rdx, rax
mov rax, rsi
imul rdx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rcx
ja 0x140059bcc
mov qword [rbp - 0x38], rdx
lea rax, [rbp - 0x48]
cmp r8, 0xf
cmova rax, r9
mov byte [rax + rdx], 0
jmp 0x140059c21
mov rdi, rdx
sub rdi, rcx
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x140059c03
mov qword [rbp - 0x38], rdx
lea rbx, [rbp - 0x48]
cmp r8, 0xf
cmova rbx, r9
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
jmp 0x140059c17
mov byte [rsp + 0x20], 0
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140005a80
mov rdi, qword [rsp + 0x40]
mov r11, qword [rsp + 0x38]
mov r8, r12
mov r10, qword [r13]
mov rcx, qword [r13 + 8]
sub rcx, r10
mov rax, rsi
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140059c96
mov r9, r12
nop word [rax + rax]
movzx ecx, byte [r10 + r9]
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rax, qword [rbp - 0x48]
mov byte [rax + r8], cl
mov dword [r10 + r9 + 4], r12d
inc r8
lea r9, [r9 + 0xc]
mov r10, qword [r13]
mov rcx, qword [r13 + 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 0x140059c50
lea rbx, [rbp - 0x48]
mov r9, qword [rbp - 0x48]
mov r8, qword [rbp - 0x30]
cmp r8, 0xf
cmova rbx, r9
mov qword [rsp + 0x30], rbx
mov rcx, qword [rbp - 0x38]
lea r14, [rcx + rbx]
mov qword [rsp + 0x48], r14
mov rsi, rbx
cmp rbx, r14
je 0x140059d6f
nop dword [rax + rax]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
mov rax, qword [0x140133060]
test rax, rax
je 0x140059d09
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x80]
mov rdx, r14
mov rcx, rsi
call rax
test al, al
jne 0x140059df4
mov rbx, qword [0x140133088]
mov rdi, qword [0x140133090]
cmp rbx, rdi
je 0x140059d48
nop dword [rax]
mov qword [rsp + 0x28], rsi
mov r9, rbx
lea r8, [rbp - 0x20]
mov rdx, r14
mov rcx, rsi
call fcn.14005ff60
test al, al
jne 0x140059dd6
add rbx, 0x30
cmp rbx, rdi
jne 0x140059d20
inc rsi
mov rbx, qword [rsp + 0x30]
cmp rsi, r14
jne 0x140059cd0
mov r8, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
mov r9, qword [rbp - 0x48]
mov r11, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
movabs rsi, 0x2aaaaaaaaaaaaaab
add r11, 0x18
mov qword [rsp + 0x38], r11
sub rdi, 1
mov qword [rsp + 0x40], rdi
jne 0x140059b80
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005a002
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059ffd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059ffd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov qword [rbp - 0x80], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x78], rax
mov eax, dword [rbx + 0x28]
mov dword [rbp - 0x70], eax
mov rbx, qword [rsp + 0x30]
mov r12, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
sub r12, rdx
cmp dword [rbp - 0x70], 7
jne 0x140059fc6
mov r8, r12
lea rcx, [rbp - 0x68]
call fcn.140001d50
mov rdi, qword [rbp - 0x58]
cmp byte [0x140133080], 0
jne 0x140059e80
lea r14, [rbp - 0x68]
mov rcx, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova r14, rcx
lea r15, [rbp - 0x68]
cmova r15, rcx
add r15, rdi
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rbx, rcx
cmp rbx, r15
je 0x140059e6c
sub r14, rbx
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 0x140059e53
mov rdi, qword [rbp - 0x58]
movabs r15, 0x100000001b3
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
sub rsi, rbx
lea rcx, [rsi + rsi*2]
mov rax, qword [r13]
lea rdx, [rbp - 0x68]
test byte [rax + rcx*4 + 8], 4
jne 0x140059f6d
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
movabs rsi, 0xcbf29ce484222325
mov r9, rsi
xor ecx, ecx
test rdi, rdi
je 0x140059ed3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, rdi
jb 0x140059ec0
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x50]
lea rcx, [0x140132f38]
call fcn.1400600f0
cmp qword [rax + 8], 0
je 0x140059efb
mov dword [rbp - 0x70], 1
jmp 0x140059fc6
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r9, rsi
xor ecx, ecx
test rdi, rdi
je 0x140059f33
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, rdi
jb 0x140059f20
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [0x140132f78]
call fcn.1400600f0
cmp qword [rax + 8], 0
je 0x140059f58
mov dword [rbp - 0x70], 8
jmp 0x140059fc6
lea rdx, [rbp - 0x68]
lea rcx, [0x140132fb8]
call fcn.14005e240
test rax, rax
jmp 0x140059fbd
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdi, rdi
je 0x140059fa3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, rdi
jb 0x140059f90
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [0x140132fb8]
call fcn.1400600f0
cmp qword [rax + 8], 0
je 0x140059fc6
mov dword [rbp - 0x70], 9
xor r8d, r8d
test r12, r12
je 0x140059ff1
nop
mov rax, r8
sub rax, rbx
add rax, qword [rbp - 0x80]
lea rdx, [rax + rax*2]
mov rcx, qword [r13]
mov eax, dword [rbp - 0x70]
mov dword [rcx + rdx*4 + 4], eax
inc r8
cmp r8, r12
jb 0x140059fd0
mov rsi, qword [rbp - 0x78]
xor r12d, r12d
jmp 0x140059d50
call fcn.1400dbb84
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x10]
call fcn.14005c2f0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14005a05a
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a055
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a055
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dbb84
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400dbb20
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret