Function at 0x14004c200
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 0x14004cbd1
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 [0x1401df0dc]
jne 0x14004c2aa
movzx eax, byte [rcx + 1]
cmp al, byte [0x1401df0dd]
jne 0x14004c2aa
movzx eax, byte [rcx + 2]
cmp al, byte [0x1401df0de]
je 0x14004cbc4
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 0x14004c310
lea rdx, [rax + rcx]
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], r9d
lea r9, [0x1402c68d0]
lea r8, [rbp + 0x80]
call fcn.14003c8e0
mov rdi, qword [rbp + 0x90]
mov r15, qword [rbp + 0x98]
cmp rdi, r15
jne 0x14004c3d1
mov rax, qword [r12]
mov rdx, qword [r14 + rax]
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], recv
mov byte [rbp + 0x110], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14004c380
lea rcx, [rbp + 0x110]
call fcn.140016660
lea rdx, [rbp + 0x110]
mov rcx, r13
call fcn.140048cc0
test al, al
jne 0x14004c648
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 0x14004c648
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 0x14004c403
lea rax, [rdi + 0x60]
cmp byte [rax + 0x10], 0
je 0x14004c413
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14004c41c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x14004c83a
cmp rdx, 4
ja 0x14004c43b
lea rdi, [rbp + 0xd8]
jmp 0x14004c43f
add rdi, 0x60
cmp byte [rdi + 0x10], 0
je 0x14004c44f
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14004c458
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], recv
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x14004c487
sub r8, rdx
lea rcx, [rbp - 0x40]
call fcn.140016660
or dword [rsp + 0x4c], 3
xor r12d, r12d
mov qword [rsp + 0x70], r12
cmp qword [rbp - 0x30], r12
je 0x14004c606
nop
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rax, qword [rbp - 0x40]
mov r15d, recv
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 0x14004c500
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 0x14004c54a
mov rax, r14
jmp 0x14004c551
mov rax, qword [rax + rcx]
mov rax, qword [rax]
cmp rbx, rax
je 0x14004c5c5
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x50]
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx + 0x18]
cmp r12, 0x10
jb 0x14004c570
mov rcx, qword [rcx]
cmp rdi, r10
jne 0x14004c587
mov r8, rdi
call fcn.140187a30
test eax, eax
je 0x14004c595
mov r10d, 1
mov rbx, qword [rbx]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rsp + 0x38]
jmp 0x14004c540
lea rdx, [rbx + 0x10]
cmp r12, 0x10
jb 0x14004c5a2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
mov r8d, 1
cmp r8, rdi
jne 0x14004c5bb
call fcn.140187a30
test eax, eax
je 0x14004c5c8
mov r9, qword [rbp - 0x80]
mov rbx, qword [r9 + 8]
jmp 0x14004c5cc
mov rbx, r14
mov r9, qword [rbp - 0x80]
cmp rbx, qword [r9 + 8]
jne 0x14004c676
mov r13, qword [rbp + 0x290]
cmp byte [r13 + 0xa8], 0
je 0x14004cdd1
mov r12, qword [rsp + 0x70]
inc r12
mov qword [rsp + 0x70], r12
cmp r12, qword [rbp - 0x30]
jne 0x14004c4a0
mov esi, dword [rsp + 0x30]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14004c641
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c63c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ce27
call fcn.140169b20
mov r12, qword [rbp + 0x2a0]
inc esi
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0x90]
call fcn.140040dc0
mov ebx, dword [rsp + 0x48]
mov r15, qword [rbp + 0x298]
cmp esi, dword [r15]
je 0x14004cbd1
xor r9d, r9d
jmp 0x14004c270
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14004c691
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 0x14004c713
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
test rdi, rdi
je 0x14004c6c2
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.140048690
mov r15, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
jmp 0x14004c7bc
mov rcx, qword [rbx + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x14004ce02
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 0x14004c756
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.14004e760
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 0x10
jb 0x14004c7bc
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c7b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdf6
call fcn.140169b20
nop
test rdi, rdi
je 0x14004c7fa
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14004c7f0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14004c7f0
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 0x14004c5f0
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c82d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdfc
mov rcx, rsi
call fcn.140169b20
jmp 0x14004c5f0
cmp rdx, 1
lea rax, [rbp + 0xd8]
jbe 0x14004c84b
lea rax, [rdi + 0x18]
cmp byte [rax + 0x10], 0
je 0x14004c85b
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14004c864
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x14004c648
cmp rdx, 1
lea rax, [rbp + 0xd8]
jbe 0x14004c885
lea rax, [rdi + 0x18]
cmp byte [rax + 0x10], 0
je 0x14004c895
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14004c89e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], recv
mov byte [rbp - 0x20], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x14004c8db
sub r8, rdx
lea rcx, [rbp - 0x20]
call fcn.140016660
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.140049660
mov rax, qword [rbp + 0x40]
cmp rax, qword [rbx + 8]
jne 0x14004c987
cmp byte [r13 + 0xa8], 0
je 0x14004ce33
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 0x14004c976
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c970
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ce2d
call fcn.140169b20
nop
lea rcx, [rbp + 0x90]
call fcn.140040dc0
jmp 0x14004c65e
mov rbx, qword [rax + 0x38]
test rbx, rbx
je 0x14004c9aa
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 0x14004c9e5
lea rax, [rdi + 0x30]
cmp byte [rax + 0x10], 0
je 0x14004c9f5
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14004c9fe
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x14004cafa
cmp rdx, 3
ja 0x14004ca1d
lea rdi, [rbp + 0xd8]
jmp 0x14004ca21
add rdi, 0x48
cmp byte [rdi + 0x10], 0
je 0x14004ca31
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14004ca3a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], recv
mov byte [rbp + 0xf0], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x14004ca75
sub r8, rdx
lea rcx, [rbp + 0xf0]
call fcn.140016660
or dword [rsp + 0x4c], 0x30
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
test rbx, rbx
je 0x14004ca93
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.14004e760
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14004cb47
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004caf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ce57
call fcn.140169b20
jmp 0x14004cb47
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
test rbx, rbx
je 0x14004cb0f
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.140048690
mov esi, dword [rsp + 0x30]
test rbx, rbx
je 0x14004cb7f
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004cb7b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004cb7b
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 0x14004c648
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cbba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdcb
call fcn.140169b20
jmp 0x14004c648
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 0x14004ccfc
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.14003d4e0
mov rax, qword [rbp + 0x158]
cmp qword [rax + 0x30], 0
jne 0x14004cce5
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
test al, al
je 0x14004cce5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14004cc48
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.14003d4e0
mov rsi, qword [rbp + 0x168]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x14004cc91
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 0x14004ccb5
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.140049190
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp - 0x50]
call fcn.140014880
nop
lea rcx, [rbp - 0x70]
call fcn.140014880
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14004cbf0
mov esi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x298]
cmp byte [rbp + 0x2a8], 0
je 0x14004cdaf
cmp esi, dword [r15]
jge 0x14004cd73
nop
movsxd rcx, esi
mov rax, qword [r12]
mov rdx, qword [rax + rcx*8]
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x148], recv
mov byte [rbp + 0x130], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14004cd40
lea rcx, [rbp + 0x130]
call fcn.140016660
lea rdx, [rbp + 0x130]
mov rcx, r13
call fcn.140048cc0
test al, al
je 0x14004cd70
inc esi
cmp esi, dword [r15]
jl 0x14004cd10
cmp esi, dword [r15]
je 0x14004cdaf
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 0x14004cd90
jmp 0x14004cdb4
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.14018aa4c
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x198]
call fcn.14003fd00
lea rdx, [0x1402ab120]
lea rcx, [rbp + 0x198]
call fcn.140187364
nop
call fcn.14018aa4c
nop
call fcn.14018aa4c
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1d0]
call fcn.140040110
lea rdx, [0x1402ab190]
lea rcx, [rbp + 0x1d0]
call fcn.140187364
nop
call fcn.14018aa4c
int3
call fcn.14018aa4c
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x208]
call fcn.14003fd00
lea rdx, [0x1402ab120]
lea rcx, [rbp + 0x208]
call fcn.140187364
nop
call fcn.14018aa4c
int3