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

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x138], 0xfffffffffffffffe
mov esi, edx
lea rdi, [rbp + 0x110]
mov qword [rbp + 0x108], rcx
mov rdx, rdi
call fcn.14003e840
mov rcx, qword [rbp + 0x120]
cmp qword [rbp + 0x128], 0x10
jb 0x1400158d0
mov rdi, qword [rbp + 0x110]
test rcx, rcx
je 0x1400158ea
mov eax, ecx
and eax, 7
cmp rcx, 8
jae 0x1400158f4
mov edx, 0x811c9dc5
jmp 0x140015985
mov edx, 0x811c9dc5
jmp 0x1400159a7
and rcx, 0xfffffffffffffff8
mov edx, 0x811c9dc5
nop dword [rax]
movsx r8d, byte [rdi]
xor r8d, edx
imul edx, r8d, 0x1000193
movsx r8d, byte [rdi + 1]
xor r8d, edx
imul edx, r8d, 0x1000193
movsx r8d, byte [rdi + 2]
xor r8d, edx
imul edx, r8d, 0x1000193
movsx r8d, byte [rdi + 3]
xor r8d, edx
imul edx, r8d, 0x1000193
movsx r8d, byte [rdi + 4]
xor r8d, edx
imul edx, r8d, 0x1000193
movsx r8d, byte [rdi + 5]
xor r8d, edx
imul edx, r8d, 0x1000193
movsx r8d, byte [rdi + 6]
xor r8d, edx
imul edx, r8d, 0x1000193
movsx r8d, byte [rdi + 7]
xor r8d, edx
imul edx, r8d, 0x1000193
add rdi, 8
add rcx, 0xfffffffffffffff8
jne 0x140015900
test rax, rax
je 0x1400159a7
xor ecx, ecx
nop dword [rax]
movsx r8d, byte [rdi + rcx]
xor r8d, edx
imul edx, r8d, 0x1000193
inc rcx
cmp rax, rcx
jne 0x140015990
mov dword [rbp - 0x50], edx
mov dword [rbp - 0x4c], esi
lea rsi, [rbp - 0x48]
mov rcx, rsi
mov rdx, qword [rbp + 0x108]
call fcn.140038700
mov rdx, qword [0x1400c3f40]
cmp rdx, qword [0x1400c3f48]
je 0x1400159f0
mov rax, qword [rbp - 0x50]
mov qword [rdx], rax
add rdx, 8
mov rcx, rdx
mov rdx, rsi
call fcn.140038700
add qword [0x1400c3f40], 0x28
jmp 0x140015a00
lea rcx, [0x1400c3f38]
lea r8, [rbp - 0x50]
call fcn.140016fc0
cmp qword [rbp - 0x40], 0
je 0x140015a11
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp + 0x128]
cmp rax, 0x10
jb 0x140015a56
mov rcx, qword [rbp + 0x110]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140015a51
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140015eaa
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140055568
lea rax, str.peers.bin
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 9
call fcn.140055cf8
lea rcx, [rbp + 0xc8]
lea r8, [rbp - 0x50]
mov edx, eax
call fcn.14000a4d0
lea rcx, [rbp + 0xe8]
call fcn.140043410
lea rdx, str.Calamity__Inc
lea rcx, [rbp + 0xe8]
call fcn.140016640
lea rdx, str.Soup
lea rcx, [rbp + 0xe8]
call fcn.140016640
lea rdx, str.Mesh_Network
lea rsi, [rbp + 0xe8]
mov rcx, rsi
call fcn.140016640
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x110], xmm0
mov rdi, qword [rbp + 0xf8]
cmp qword [rbp + 0x100], 8
jb 0x140015af1
mov rsi, qword [rbp + 0xe8]
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jae 0x140015ea5
cmp rdi, 7
ja 0x140015b2b
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], 7
movups xmm0, xmmword [rsi]
movaps xmmword [rbp + 0x110], xmm0
jmp 0x140015bc8
mov qword [rbp + 0x128], 7
mov rax, rdi
or rax, 7
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140015eb0
cmp rax, 0xb
mov ebx, 0xa
cmovae rbx, rax
lea rcx, [rbx + rbx]
cmp rbx, 0x7ff
jb 0x140015b97
movabs rax, 0x7fffffffffffffec
cmp rbx, rax
jae 0x140015eb0
add rcx, 0x29
call fcn.140055524
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140015ba3
add rcx, 2
call fcn.140055524
mov rcx, rax
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], rbx
lea r8, [rdi + rdi]
add r8, 2
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rsi, [rbp + 0x110]
lea rdx, [rbp + 0xc8]
mov rcx, rsi
call fcn.1400160c0
mov byte [rbp - 0x48], 1
lea rax, [0x14005a8f0]
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x40]
cmp qword [rbp + 0x128], 8
jb 0x140015c02
mov rsi, qword [rbp + 0x110]
mov dword [rsp + 0x20], 1
mov rdx, rsi
mov r8d, 0x20
mov r9d, 0x40
call fcn.14000e900
mov rax, qword [rbp + 0x128]
cmp rax, 8
jb 0x140015c6a
mov rcx, qword [rbp + 0x110]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140015c65
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140015eaa
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055568
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], 7
mov word [rbp + 0x110], 0
mov rax, qword [rbp + 0x100]
cmp rax, 8
jb 0x140015cd5
mov rcx, qword [rbp + 0xe8]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140015cd0
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140015eaa
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055568
mov rax, qword [rbp + 0xe0]
cmp rax, 8
jb 0x140015d21
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140015d1c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140015eaa
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140055568
mov byte [rbp + 0x110], 0
mov rax, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x110]
mov r8d, 1
call qword [rax + 0x18]
mov rax, qword [0x1400c3f40]
sub rax, qword [0x1400c3f38]
sar rax, 3
movabs rcx, 0xcccccccccccccccd
imul rcx, rax
mov qword [rbp + 0x110], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x110]
call fcn.140006c30
mov rbx, qword [0x1400c3f38]
mov r14, qword [0x1400c3f40]
lea rsi, [rbp - 0x50]
jmp 0x140015da4
mov rax, qword [rbp - 0x50]
mov rcx, rsi
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop dword [rax + rax]
add rbx, 0x28
cmp rbx, r14
je 0x140015e43
lea rdx, [rbx + 8]
mov rcx, rsi
call fcn.140043180
lea rdi, [rbx + 4]
cmp byte [rbp - 0x48], 0
je 0x140015e00
mov rax, qword [rbp - 0x50]
mov rcx, rsi
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x140015da0
lea rdx, [rbx + 5]
mov rax, qword [rbp - 0x50]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x140015da0
lea rdx, [rbx + 6]
mov rax, qword [rbp - 0x50]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x140015da0
lea rdi, [rbx + 7]
jmp 0x140015d8b
lea rdx, [rbx + 7]
mov rax, qword [rbp - 0x50]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x140015da0
lea rdx, [rbx + 6]
mov rax, qword [rbp - 0x50]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x140015da0
lea rdx, [rbx + 5]
mov rax, qword [rbp - 0x50]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140015d8b
jmp 0x140015da0
lea rsi, [rbp + 0x68]
mov rax, qword [rbp - 0x40]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rax - 0x40], rcx
mov rax, qword [rbp - 0x40]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xa8]
mov dword [rbp + rax - 0x44], ecx
lea rcx, [rbp - 0x38]
call fcn.140001af0
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::ios_base::destructor_void____ptr64]
mov rax, qword [rbp + 0x108]
cmp qword [rax + 8], 0
je 0x140015e96
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call fcn.140001860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.140001280
int3