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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x248]
sub rsp, 0x348
mov qword [rbp + 0x150], 0xfffffffffffffffe
mov r12, r8
mov r15, rdx
mov r13, rcx
xor r9d, r9d
mov dword [rsp + 0x4c], r9d
mov r8d, 1
mov esi, r8d
mov dword [rsp + 0x30], r8d
mov ebx, r8d
mov dword [rsp + 0x48], ebx
mov byte [rbp + 0x2a8], r9b
cmp dword [rdx], r8d
je 0x1400649e1
mov qword [rsp + 0x78], r8
movsxd rax, esi
lea r14, [rax*8]
mov rdx, qword [r12]
mov rcx, qword [rdx + r14]
movzx eax, byte [rcx]
cmp al, byte [0x1401be1c8]
jne 0x1400640ba
movzx eax, byte [rcx + 1]
cmp al, byte [0x1401be1c9]
jne 0x1400640ba
movzx eax, byte [rcx + 2]
cmp al, byte [0x1401be1ca]
je 0x1400649d4
mov qword [rbp + 0x80], r9
mov byte [rbp + 0x88], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
mov qword [rbp + 0xb0], r9
mov byte [rbp + 0xb8], 0
movdqa xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xd0], 0
mov qword [rbp + 0xd8], r9
mov qword [rbp + 0xe0], r9
mov byte [rbp + 0xe8], 0
mov rcx, qword [rdx + r14]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp byte [rcx + rax], 0
jne 0x140064120
lea rdx, [rax + rcx]
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], r9d
lea r9, [0x14028ad20]
lea r8, [rbp + 0x80]
call fcn.14004c0e0
mov rdi, qword [rbp + 0x90]
mov r15, qword [rbp + 0x98]
cmp rdi, r15
jne 0x1400641e1
mov rax, qword [r12]
mov rdx, qword [r14 + rax]
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], shutdown
mov byte [rbp + 0x110], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140064190
lea rcx, [rbp + 0x110]
call fcn.14001e6d0
lea rdx, [rbp + 0x110]
mov rcx, r13
call fcn.14005b630
test al, al
jne 0x140064458
mov rcx, qword [r12]
mov rax, qword [rcx + r14]
mov rdi, qword [rsp + 0x78]
mov qword [rcx + rdi*8], rax
inc ebx
mov dword [rsp + 0x48], ebx
inc rdi
mov qword [rsp + 0x78], rdi
jmp 0x140064458
mov rcx, r15
sub rcx, rdi
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 4
lea rax, [rbp + 0xd8]
jbe 0x140064213
lea rax, [rdi + 0x60]
cmp byte [rax + 0x10], 0
je 0x140064223
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14006422c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x14006464a
cmp rdx, 4
ja 0x14006424b
lea rdi, [rbp + 0xd8]
jmp 0x14006424f
add rdi, 0x60
cmp byte [rdi + 0x10], 0
je 0x14006425f
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140064268
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], shutdown
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x140064297
sub r8, rdx
lea rcx, [rbp - 0x40]
call fcn.14001e6d0
or dword [rsp + 0x4c], 3
xor r12d, r12d
mov qword [rsp + 0x70], r12
cmp qword [rbp - 0x30], r12
je 0x140064416
nop
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rax, qword [rbp - 0x40]
mov r15d, 0xf
mov qword [rsp + 0x68], r15
mov word [rsp + 0x50], 0
mov r10d, 1
mov qword [rsp + 0x60], r10
movsx eax, byte [rax + r12]
movzx eax, al
mov byte [rsp + 0x50], al
mov r9, qword [r13]
mov qword [rbp - 0x80], r9
lea r8, [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
movabs r9, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, r10
jb 0x140064310
mov r9, qword [r13]
mov rax, qword [r9 + 0x30]
and rax, rdx
shl rax, 4
mov rcx, qword [r9 + 0x18]
mov qword [rbp - 0x60], rcx
mov r13, qword [rcx + rax]
mov rbx, r13
add rax, 8
mov qword [rsp + 0x38], rax
mov r14, qword [r9 + 8]
nop
cmp r13, r14
jne 0x14006435a
mov rax, r14
jmp 0x140064361
mov rax, qword [rax + rcx]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400643d5
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x50]
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx + 0x18]
cmp r12, 0x10
jb 0x140064380
mov rcx, qword [rcx]
cmp rdi, r10
jne 0x140064397
mov r8, rdi
call fcn.14016dc00
test eax, eax
je 0x1400643a5
mov r10d, 1
mov rbx, qword [rbx]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rsp + 0x38]
jmp 0x140064350
lea rdx, [rbx + 0x10]
cmp r12, 0x10
jb 0x1400643b2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
mov r8d, 1
cmp r8, rdi
jne 0x1400643cb
call fcn.14016dc00
test eax, eax
je 0x1400643d8
mov r9, qword [rbp - 0x80]
mov rbx, qword [r9 + 8]
jmp 0x1400643dc
mov rbx, r14
mov r9, qword [rbp - 0x80]
cmp rbx, qword [r9 + 8]
jne 0x140064486
mov r13, qword [rbp + 0x290]
cmp byte [r13 + 0xa8], 0
je 0x140064be1
mov r12, qword [rsp + 0x70]
inc r12
mov qword [rsp + 0x70], r12
cmp r12, qword [rbp - 0x30]
jne 0x1400642b0
mov esi, dword [rsp + 0x30]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140064451
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006444c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064c37
call fcn.14014f740
mov r12, qword [rbp + 0x2a0]
inc esi
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0x90]
call fcn.140051d30
mov ebx, dword [rsp + 0x48]
mov r15, qword [rbp + 0x298]
cmp esi, dword [r15]
je 0x1400649e1
xor r9d, r9d
jmp 0x140064080
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x1400644a1
lock inc dword [rdi + 8]
mov rdi, qword [rbx + 0x38]
mov r15, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rbx + 0x30]
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], rdi
mov r12, qword [rsp + 0x70]
lea rax, [r12 + 1]
cmp rax, qword [rbp - 0x30]
jne 0x140064523
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
test rdi, rdi
je 0x1400644d2
lock inc dword [rdi + 8]
mov rbx, qword [rbp + 0x48]
mov qword [rbp], rbx
mov qword [rbp + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rax, qword [rbp + 0x2a0]
mov r8, qword [rax]
mov rax, qword [rbp + 0x298]
mov edx, dword [rax]
mov r13, qword [rbp + 0x290]
mov rcx, r13
call fcn.14005ae70
mov r15, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
jmp 0x1400645cc
mov rcx, qword [rbx + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x140064c12
mov rcx, qword [rbx + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp + 0x178]
call qword [rax + 0x40]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
test rdi, rdi
je 0x140064566
lock inc dword [rdi + 8]
mov r15, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rbp + 0x48]
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rdi
mov r9, rax
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov r13, qword [rbp + 0x290]
mov rcx, r13
call fcn.140064c70
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 0x10
jb 0x1400645cc
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400645c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064c06
call fcn.14014f740
nop
test rdi, rdi
je 0x14006460a
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140064600
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140064600
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
cmp r15, 0x10
jb 0x140064400
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14006463d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064c0c
mov rcx, rsi
call fcn.14014f740
jmp 0x140064400
cmp rdx, 1
lea rax, [rbp + 0xd8]
jbe 0x14006465b
lea rax, [rdi + 0x18]
cmp byte [rax + 0x10], 0
je 0x14006466b
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140064674
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x140064458
cmp rdx, 1
lea rax, [rbp + 0xd8]
jbe 0x140064695
lea rax, [rdi + 0x18]
cmp byte [rax + 0x10], 0
je 0x1400646a5
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x1400646ae
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], shutdown
mov byte [rbp - 0x20], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x1400646eb
sub r8, rdx
lea rcx, [rbp - 0x20]
call fcn.14001e6d0
mov r15, qword [rbp + 0x98]
mov rdi, qword [rbp + 0x90]
or dword [rsp + 0x4c], 0xc
mov rbx, qword [r13]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.14005c1b0
mov rax, qword [rbp + 0x40]
cmp rax, qword [rbx + 8]
jne 0x140064797
cmp byte [r13 + 0xa8], 0
je 0x140064c43
mov rcx, qword [r12]
mov rax, qword [rcx + r14]
mov rdi, qword [rsp + 0x78]
mov qword [rcx + rdi*8], rax
mov ebx, dword [rsp + 0x48]
inc ebx
mov dword [rsp + 0x48], ebx
inc rdi
mov qword [rsp + 0x78], rdi
inc esi
mov dword [rsp + 0x30], esi
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140064786
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064780
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064c3d
call fcn.14014f740
nop
lea rcx, [rbp + 0x90]
call fcn.140051d30
jmp 0x14006446e
mov rbx, qword [rax + 0x38]
test rbx, rbx
je 0x1400647ba
lock inc dword [rbx + 8]
mov rbx, qword [rax + 0x38]
mov esi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x98]
mov rdi, qword [rbp + 0x90]
mov r14, qword [rax + 0x30]
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], rbx
sub r15, rdi
movabs rax, 0x2aaaaaaaaaaaaaab
imul r15
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 2
lea rax, [rbp + 0xd8]
jbe 0x1400647f5
lea rax, [rdi + 0x30]
cmp byte [rax + 0x10], 0
je 0x140064805
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14006480e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x14006490a
cmp rdx, 3
ja 0x14006482d
lea rdi, [rbp + 0xd8]
jmp 0x140064831
add rdi, 0x48
cmp byte [rdi + 0x10], 0
je 0x140064841
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14006484a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], shutdown
mov byte [rbp + 0xf0], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x140064885
sub r8, rdx
lea rcx, [rbp + 0xf0]
call fcn.14001e6d0
or dword [rsp + 0x4c], 0x30
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
test rbx, rbx
je 0x1400648a3
lock inc dword [rbx + 8]
mov esi, dword [rsp + 0x30]
mov r14, qword [rbp + 0x58]
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], rbx
lea r9, [rbp + 0xf0]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x20]
mov rcx, r13
call fcn.140064c70
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x140064957
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064903
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064c67
call fcn.14014f740
jmp 0x140064957
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
test rbx, rbx
je 0x14006491f
lock inc dword [rbx + 8]
mov r14, qword [rbp + 0x58]
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], rbx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8, qword [r12]
mov rax, qword [rbp + 0x298]
mov edx, dword [rax]
mov rcx, r13
call fcn.14005ae70
mov esi, dword [rsp + 0x30]
test rbx, rbx
je 0x14006498f
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006498b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006498b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov esi, dword [rsp + 0x30]
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140064458
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400649ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064bdb
call fcn.14014f740
jmp 0x140064458
mov byte [rbp + 0x2a8], 1
inc esi
mov dword [rsp + 0x30], esi
mov rdi, qword [r13]
mov rdi, qword [rdi + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140064b0c
nop word [rax + rax]
mov rax, qword [rbx + 0x30]
mov r14, qword [rax + 0x60]
lea r8, [rbx + 0x30]
lea rdx, [rbp + 0x158]
lea rcx, [r13 + 0x68]
call fcn.14004cd20
mov rax, qword [rbp + 0x158]
cmp qword [rax + 0x30], 0
jne 0x140064af5
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
test al, al
je 0x140064af5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140064a58
lock inc dword [rcx + 8]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x168]
lea rcx, [r13 + 0x68]
call fcn.14004cd20
mov rsi, qword [rbp + 0x168]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140064aa1
lock inc dword [rax + 8]
mov rax, qword [rbp - 0x68]
movaps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x50], xmm1
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x60], rcx
movdqa xmmword [rbp + 0x70], xmm0
test rax, rax
je 0x140064ac5
lock inc dword [rax + 8]
movdqa xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x70], xmm1
lea rdx, [rbp + 0x70]
lea rcx, [rsi + 0x20]
call fcn.14005bce0
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x50]
call fcn.1400218e0
nop
lea rcx, [rbp - 0x70]
call fcn.1400218e0
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140064a00
mov esi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x298]
cmp byte [rbp + 0x2a8], 0
je 0x140064bbf
cmp esi, dword [r15]
jge 0x140064b83
nop
movsxd rcx, esi
mov rax, qword [r12]
mov rdx, qword [rax + rcx*8]
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x148], shutdown
mov byte [rbp + 0x130], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140064b50
lea rcx, [rbp + 0x130]
call fcn.14001e6d0
lea rdx, [rbp + 0x130]
mov rcx, r13
call fcn.14005b630
test al, al
je 0x140064b80
inc esi
cmp esi, dword [r15]
jl 0x140064b20
cmp esi, dword [r15]
je 0x140064bbf
movsxd r9, dword [rsp + 0x48]
lea r8, [r9*8]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r12]
movsxd rax, esi
mov rcx, qword [rdx + rax*8]
mov qword [rdx + r8], rcx
inc r9d
inc esi
lea r8, [r8 + 8]
cmp esi, dword [r15]
jne 0x140064ba0
jmp 0x140064bc4
mov r9d, dword [rsp + 0x48]
mov dword [r15], r9d
add rsp, 0x348
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401705dc
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x198]
call fcn.140050790
lea rdx, [0x1402756e0]
lea rcx, [rbp + 0x198]
call fcn.14016cf20
nop
call fcn.1401705dc
nop
call fcn.1401705dc
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1d0]
call fcn.140050fb0
lea rdx, [0x140275750]
lea rcx, [rbp + 0x1d0]
call fcn.14016cf20
nop
call fcn.1401705dc
int3
call fcn.1401705dc
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x208]
call fcn.140050790
lea rdx, [0x1402756e0]
lea rcx, [rbp + 0x208]
call fcn.14016cf20
nop
call fcn.1401705dc
int3