Function at 0x140012700
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 - 0x27]
sub rsp, 0xa0
mov r15, rdx
mov rsi, rcx
mov qword [rbp + 0x17], rdx
mov qword [rbp + 0x1f], rcx
call fcn.1400c9908
test eax, eax
jne 0x140012a1f
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x140012a0f
mov r13, qword [r15]
mov rcx, qword [rsi + 0x170]
mov rax, qword [rcx]
lea rdx, [rbp - 0x41]
call qword [rax + reloc.WS2_32.dll_recv]
mov r14, rax
mov qword [rbp - 0x49], rax
mov rcx, qword [r13 + 0x28]
mov rdx, qword [r13 + 0x30]
xor r12d, r12d
cmp rcx, rdx
je 0x1400127bf
lea rbx, [rcx + 0x10]
mov rdi, qword [rcx]
mov rcx, qword [r14]
mov rax, qword [rdi]
mov r12, qword [rax + 0x20]
cmp rbx, rdx
je 0x1400127a7
mov rax, qword [rcx]
lea rdx, [rbp - 0x51]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, rax
mov rcx, rdi
call r12
mov rcx, rbx
mov rdx, qword [r13 + 0x30]
cmp rbx, rdx
jne 0x140012770
jmp 0x1400127bc
mov qword [r14], 0
mov qword [rbp - 0x59], rcx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call r12
xor r12d, r12d
mov rcx, qword [r14]
test rcx, rcx
je 0x1400127d1
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x140012889
mov rbx, qword [r15]
lea rax, [rbp - 0x29]
mov qword [rbp - 0x49], rax
mov qword [rbp + 0xf], r12
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax]
mov r8, rax
mov qword [rbp + 0xf], rax
add rbx, 0x48
mov rcx, rax
lea rax, [rbp - 0x29]
cmp rbx, rax
je 0x140012874
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14001282d
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rbx + 0x38], r12
mov r8, qword [rbp + 0xf]
mov rcx, r8
test r8, r8
je 0x140012874
lea rax, [rbp - 0x29]
cmp rcx, rax
jne 0x14001286a
mov rax, qword [r8]
mov rdx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rbx + 0x38], rax
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140012889
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rbp + 0xf], r12
jmp 0x140012889
mov qword [rbx + 0x38], r8
mov qword [rbp + 0xf], r12
jmp 0x140012889
test rcx, rcx
je 0x140012889
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdi, qword [r15]
mov r14, qword [rdi + 0x18]
lea r8, [rdi + 8]
mov r13, qword [rdi + 0x20]
cmp r13, 0xf
jbe 0x1400128a2
mov r8, qword [rdi + 8]
movabs rdx, 0xcbf29ce484222325
mov rcx, r12
test r14, r14
je 0x1400128d4
movabs r9, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, r14
jb 0x1400128c0
mov rcx, qword [rsi + 0x160]
and rcx, rdx
add rcx, rcx
mov rax, qword [rsi + 0x148]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [rsi + 0x138]
je 0x140012944
mov r12, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140012912
mov rdx, qword [rdx]
lea rcx, [rdi + 8]
cmp r13, 0xf
jbe 0x140012920
mov rcx, qword [rdi + 8]
cmp r14, rax
jne 0x140012931
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001293c
cmp rbx, r12
je 0x140012941
mov rbx, qword [rbx + 8]
jmp 0x140012900
xor r12d, r12d
jmp 0x140012947
xor r12d, r12d
mov rbx, r12
test rbx, rbx
je 0x14001295a
cmp rbx, qword [rsi + 0x138]
je 0x14001295a
mov ecx, dword [rbx + 0x30]
jmp 0x140012960
mov ecx, dword [rsi + 0x178]
xchg dword [rdi + 0x40], ecx
mov rcx, qword [r15]
mov eax, dword [rsi + 0x17c]
xchg dword [rcx + 0x44], eax
mov rdx, qword [rsi + 0x1f0]
test rdx, rdx
je 0x14001298a
mov rcx, qword [r15]
add rcx, 0x88
call fcn.14000fcc0
cmp byte [rsi + 0x1e8], 0
je 0x1400129b6
mov rax, qword [r15]
mov qword [rbp - 0x39], rax
mov rax, qword [r15 + 8]
mov qword [rbp - 0x31], rax
mov qword [r15], r12
mov qword [r15 + 8], r12
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.140012a30
nop
mov rcx, rsi
call fcn.1400c9910
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x1400129f4
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400129f4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400129f4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
dec eax
mov dword [rsi + 0x4c], eax
mov ecx, 6
call fcn.1400c93e8
int3
mov ecx, 5
call fcn.1400c93e8
int3