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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rbx, rcx
xor esi, esi
mov dword [rbp + 0x298], esi
mov dword [rbp + 0x2a0], esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea edx, [rsi + 1]
lea rcx, [rsp + 0x30]
call fcn.18002c0c0
mov r14, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
mov byte [r14 + rax], ntohs
inc rax
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.18002b9c0
test eax, eax
jne 0x180050d99
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800507cd
lock inc dword [rcx + 8]
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov esi, dword [rbp + 0x2a0]
mov dword [rbp + 0x298], esi
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
test rcx, rcx
je 0x1800507f7
lock inc dword [rcx + 8]
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov esi, dword [rbp + 0x2a0]
mov dword [rbp + 0x298], esi
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov r12d, 0xffffffff
test rcx, rcx
je 0x18005084d
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18005083c
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18005083c
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov esi, dword [rbp + 0x2a0]
mov dword [rbp + 0x298], esi
mov r14, qword [rsp + 0x30]
movzx edi, byte [rbp + 0x298]
mov r15, qword [rsp + 0x50]
nop dword [rax]
test r15, r15
je 0x180050c96
lea rdx, [rbp - 0x48]
mov rcx, r15
call fcn.18002e990
cmp dword [rbp - 0x48], 2
jne 0x180050bd0
mov r12, qword [r15 + 0x30]
lea r13, [r15 + 0x20]
cmp qword [r15 + 0x38], 8
jb 0x180050892
mov r13, qword [r15 + 0x20]
call fcn.180088ad4
mov dword [rbp + 0x2a8], eax
mov qword [rsp + 0x70], 0
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], rcx
mov byte [rsp + 0x70], bl
or esi, 8
mov dword [rbp + 0x298], esi
mov dword [rbp + 0x2a0], esi
test r12, r12
je 0x1800509ce
cmp r12, 0x7fffffff
ja 0x180050dc0
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov ecx, eax
call fcn.180088b44
mov rbx, rax
mov qword [rbp - 0x70], rax
shr rax, 0x20
test eax, eax
jne 0x180050db7
movsxd rcx, ebx
mov rdx, qword [rbp - 0x80]
cmp rcx, rdx
ja 0x18005092b
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rax, qword [rsp + 0x70]
mov qword [rbp - 0x80], rcx
mov byte [rax + rcx], 0
jmp 0x18005098e
mov r15, rcx
sub r15, rdx
mov r8, qword [rbp - 0x78]
mov rax, r8
sub rax, rdx
cmp r15, rax
ja 0x180050970
mov qword [rbp - 0x80], rcx
lea rsi, [rsp + 0x70]
cmp r8, 0x10
cmovae rsi, qword [rsp + 0x70]
add rsi, rdx
mov r8, r15
xor edx, edx
mov rcx, rsi
call fcn.18008cd80
mov byte [rsi + r15], 0
mov esi, dword [rbp + 0x298]
jmp 0x180050989
mov byte [rsp + 0x20], 0
mov r9, r15
movzx r8d, dil
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.180021dc0
mov r15, qword [rsp + 0x50]
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r9, qword [rsp + 0x70]
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov rdx, r13
mov ecx, dword [rbp + 0x2a8]
call fcn.180088b44
mov qword [rbp + 0x298], rax
shr rax, 0x20
test eax, eax
jne 0x180050dab
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
and esi, 0xfffffff7
or esi, 7
mov dword [rbp + 0x298], esi
mov dword [rbp + 0x2a0], esi
lea r11, [rsp + 0x70]
cmp rcx, 0x10
setae r12b
mov rsi, qword [rsp + 0x70]
cmovae r11, rsi
mov r9, rbx
test rbx, rbx
je 0x180050a3f
mov r8d, 0x7c3f72fb
mov r10, rbx
sub r10, r9
mov eax, 0
je 0x180050a35
lea rcx, [rax + r9]
movzx edx, byte [rcx + r11]
xor edx, r8d
imul r8d, edx, 0x1000193
inc rax
cmp rax, r10
jb 0x180050a11
cmp r8d, 0xa4f7673f
je 0x180050a3b
sub r9, 1
jmp 0x1800509fc
xor bl, bl
jmp 0x180050a41
mov bl, 1
test r12b, r12b
je 0x180050a7a
mov rdx, qword [rbp - 0x78]
inc rdx
mov rax, rsi
cmp rdx, 0x1000
jb 0x180050a72
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050dc6
mov rcx, rsi
call fcn.18008a564
test bl, bl
jne 0x180050bbf
lea rdx, [r15 + 0x20]
lea rcx, [rbp - 0x68]
call fcn.18005b270
nop
cmp byte [rbp - 0x50], bl
jne 0x180050a9a
jmp 0x180050bbf
lea rdx, [r15 + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180029420
mov rsi, qword [rbp - 0x60]
sub rsi, qword [rbp - 0x68]
mov rax, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
sub rax, r14
lea rdx, [rax + 4]
cmp rdx, rax
jae 0x180050ad1
lea rax, [r14 + rdx]
mov qword [rsp + 0x38], rax
jmp 0x180050b00
jbe 0x180050b00
mov rax, qword [rsp + 0x40]
sub rax, r14
cmp rdx, rax
jbe 0x180050af1
lea rcx, [rsp + 0x30]
call fcn.18002c0c0
mov r14, qword [rsp + 0x30]
jmp 0x180050b00
xor eax, eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
add qword [rsp + 0x38], 4
mov rbx, qword [rsp + 0x48]
mov dword [r14 + rbx], esi
add rbx, 4
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x38]
sub rax, r14
lea rdx, [rax + rsi]
cmp rdx, rax
jae 0x180050b2e
lea rax, [r14 + rdx]
mov qword [rsp + 0x38], rax
jmp 0x180050b67
jbe 0x180050b67
mov rax, qword [rsp + 0x40]
sub rax, r14
cmp rdx, rax
jbe 0x180050b53
lea rcx, [rsp + 0x30]
call fcn.18002c0c0
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x30]
jmp 0x180050b67
mov r8, rsi
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.18008cd80
add qword [rsp + 0x38], rsi
lea rcx, [r14 + rbx]
mov r8, rsi
mov rdx, qword [rbp - 0x68]
call fcn.18008c6d0
add rbx, rsi
mov qword [rsp + 0x48], rbx
cmp byte [rbp - 0x50], 0
je 0x180050bbf
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180050bbf
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050bba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050dcc
call fcn.18008a564
mov r12d, 0xffffffff
nop word [rax + rax]
lea rdx, [rbp]
mov rcx, qword [r15 + 0x40]
call fcn.180088f54
cmp eax, 0x12
je 0x180050c1e
test eax, eax
jne 0x180050dd2
cmp word [rbp + 0x2c], 0x2e
jne 0x180050c07
movzx eax, word [rbp + 0x2e]
test ax, ax
je 0x180050bd0
cmp ax, 0x2e
jne 0x180050c07
cmp word [rbp + 0x30], 0
je 0x180050bd0
lea rdx, [rbp]
mov rcx, r15
call fcn.180028dd0
mov esi, dword [rbp + 0x298]
jmp 0x180050860
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r15
test rbx, rbx
mov esi, dword [rbp + 0x298]
je 0x180050860
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180050c61
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x180050c77
mov r14, qword [rsp + 0x30]
mov esi, dword [rbp + 0x2a0]
mov dword [rbp + 0x298], esi
jmp 0x180050854
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rsp + 0x30]
mov esi, dword [rbp + 0x2a0]
mov dword [rbp + 0x298], esi
jmp 0x180050854
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180050cd7
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180050cd2
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180050cd2
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180050d17
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180050d12
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x180050d12
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rsp + 0x30]
cmp qword [rsp + 0x38], r14
je 0x180050d3d
xor r9d, r9d
lea r8, [rsp + 0x30]
mov dl, inet_ntoa
lea rcx, [0x180118fd0]
call fcn.180059d90
mov bl, 1
mov r14, qword [rsp + 0x30]
jmp 0x180050d3f
xor bl, bl
test r14, r14
je 0x180050d75
mov rdx, qword [rsp + 0x40]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x180050d6d
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050d93
mov rcx, r14
call fcn.18008a564
movzx eax, bl
mov rbx, qword [rsp + 0x390]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180090f98
nop
mov r8, rbx
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.18002e8c0
nop
mov ecx, dword [rbp + 0x29c]
call fcn.180028190
int3
mov ecx, dword [rbp - 0x6c]
call fcn.180028190
int3
call fcn.180027ee0
nop
call fcn.180090f98
int3
call fcn.180090f98
int3
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.180028b60
int3