Function at 0x140041630
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 0x140042001
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 [0x1400b8790]
jne 0x1400416da
movzx eax, byte [rcx + 1]
cmp al, byte [0x1400b8791]
jne 0x1400416da
movzx eax, byte [rcx + 2]
cmp al, byte [0x1400b8792]
je 0x140041ff4
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 0x140041740
lea rdx, [rax + rcx]
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], r9d
lea r9, [0x14010ad48]
lea r8, [rbp + 0x80]
call fcn.14002f2d0
mov rdi, qword [rbp + 0x90]
mov r15, qword [rbp + 0x98]
cmp rdi, r15
jne 0x140041801
mov rax, qword [r12]
mov rdx, qword [r14 + rax]
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], send
mov byte [rbp + 0x110], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400417b0
lea rcx, [rbp + 0x110]
call fcn.14000aa20
lea rdx, [rbp + 0x110]
mov rcx, r13
call fcn.14003c1c0
test al, al
jne 0x140041a78
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 0x140041a78
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 0x140041833
lea rax, [rdi + 0x60]
cmp byte [rax + 0x10], 0
je 0x140041843
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x14004184c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x140041c6a
cmp rdx, 4
ja 0x14004186b
lea rdi, [rbp + 0xd8]
jmp 0x14004186f
add rdi, 0x60
cmp byte [rdi + 0x10], 0
je 0x14004187f
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140041888
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x1400418b7
sub r8, rdx
lea rcx, [rbp - 0x40]
call fcn.14000aa20
or dword [rsp + 0x4c], 3
xor r12d, r12d
mov qword [rsp + 0x70], r12
cmp qword [rbp - 0x30], r12
je 0x140041a36
nop
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rax, qword [rbp - 0x40]
mov r15d, send
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 0x140041930
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 0x14004197a
mov rax, r14
jmp 0x140041981
mov rax, qword [rax + rcx]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400419f5
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x50]
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx + 0x18]
cmp r12, 0x10
jb 0x1400419a0
mov rcx, qword [rcx]
cmp rdi, r10
jne 0x1400419b7
mov r8, rdi
call fcn.140083310
test eax, eax
je 0x1400419c5
mov r10d, 1
mov rbx, qword [rbx]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rsp + 0x38]
jmp 0x140041970
lea rdx, [rbx + 0x10]
cmp r12, 0x10
jb 0x1400419d2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
mov r8d, 1
cmp r8, rdi
jne 0x1400419eb
call fcn.140083310
test eax, eax
je 0x1400419f8
mov r9, qword [rbp - 0x80]
mov rbx, qword [r9 + 8]
jmp 0x1400419fc
mov rbx, r14
mov r9, qword [rbp - 0x80]
cmp rbx, qword [r9 + 8]
jne 0x140041aa6
mov r13, qword [rbp + 0x290]
cmp byte [r13 + 0xa8], 0
je 0x140042201
mov r12, qword [rsp + 0x70]
inc r12
mov qword [rsp + 0x70], r12
cmp r12, qword [rbp - 0x30]
jne 0x1400418d0
mov esi, dword [rsp + 0x30]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140041a71
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042257
call fcn.140065008
mov r12, qword [rbp + 0x2a0]
inc esi
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0x90]
call fcn.140014620
mov ebx, dword [rsp + 0x48]
mov r15, qword [rbp + 0x298]
cmp esi, dword [r15]
je 0x140042001
xor r9d, r9d
jmp 0x1400416a0
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x140041ac1
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 0x140041b43
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
test rdi, rdi
je 0x140041af2
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.14003b830
mov r15, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
jmp 0x140041bec
mov rcx, qword [rbx + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x140042232
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 0x140041b86
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.140042290
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 0x10
jb 0x140041bec
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041be6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042226
call fcn.140065008
nop
test rdi, rdi
je 0x140041c2a
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140041c20
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140041c20
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + ioctlsocket]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
cmp r15, 0x10
jb 0x140041a20
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140041c5d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004222c
mov rcx, rsi
call fcn.140065008
jmp 0x140041a20
cmp rdx, 1
lea rax, [rbp + 0xd8]
jbe 0x140041c7b
lea rax, [rdi + 0x18]
cmp byte [rax + 0x10], 0
je 0x140041c8b
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140041c94
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x140041a78
cmp rdx, 1
lea rax, [rbp + 0xd8]
jbe 0x140041cb5
lea rax, [rdi + 0x18]
cmp byte [rax + 0x10], 0
je 0x140041cc5
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140041cce
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], send
mov byte [rbp - 0x20], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x140041d0b
sub r8, rdx
lea rcx, [rbp - 0x20]
call fcn.14000aa20
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.14003ca20
mov rax, qword [rbp + 0x40]
cmp rax, qword [rbx + 8]
jne 0x140041db7
cmp byte [r13 + 0xa8], 0
je 0x140042263
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 0x140041da6
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041da0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004225d
call fcn.140065008
nop
lea rcx, [rbp + 0x90]
call fcn.140014620
jmp 0x140041a8e
mov rbx, qword [rax + 0x38]
test rbx, rbx
je 0x140041dda
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 0x140041e15
lea rax, [rdi + 0x30]
cmp byte [rax + 0x10], 0
je 0x140041e25
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140041e2e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x38]
je 0x140041f2a
cmp rdx, 3
ja 0x140041e4d
lea rdi, [rbp + 0xd8]
jmp 0x140041e51
add rdi, 0x48
cmp byte [rdi + 0x10], 0
je 0x140041e61
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140041e6a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], send
mov byte [rbp + 0xf0], 0
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
je 0x140041ea5
sub r8, rdx
lea rcx, [rbp + 0xf0]
call fcn.14000aa20
or dword [rsp + 0x4c], 0x30
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
test rbx, rbx
je 0x140041ec3
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.140042290
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x140041f77
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041f23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042287
call fcn.140065008
jmp 0x140041f77
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
test rbx, rbx
je 0x140041f3f
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.14003b830
mov esi, dword [rsp + 0x30]
test rbx, rbx
je 0x140041faf
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140041fab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140041fab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
mov esi, dword [rsp + 0x30]
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140041a78
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041fea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421fb
call fcn.140065008
jmp 0x140041a78
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 0x14004212c
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.14002fe10
mov rax, qword [rbp + 0x158]
cmp qword [rax + 0x30], 0
jne 0x140042115
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
test al, al
je 0x140042115
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140042078
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.14002fe10
mov rsi, qword [rbp + 0x168]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1400420c1
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 0x1400420e5
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.14003c550
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp - 0x50]
call fcn.140014380
nop
lea rcx, [rbp - 0x70]
call fcn.140014380
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140042020
mov esi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x298]
cmp byte [rbp + 0x2a8], 0
je 0x1400421df
cmp esi, dword [r15]
jge 0x1400421a3
nop
movsxd rcx, esi
mov rax, qword [r12]
mov rdx, qword [rax + rcx*8]
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x148], send
mov byte [rbp + 0x130], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140042170
lea rcx, [rbp + 0x130]
call fcn.14000aa20
lea rdx, [rbp + 0x130]
mov rcx, r13
call fcn.14003c1c0
test al, al
je 0x1400421a0
inc esi
cmp esi, dword [r15]
jl 0x140042140
cmp esi, dword [r15]
je 0x1400421df
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 0x1400421c0
jmp 0x1400421e4
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.140085ebc
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x198]
call fcn.140033a20
lea rdx, [0x140101598]
lea rcx, [rbp + 0x198]
call fcn.1400827e4
nop
call fcn.140085ebc
nop
call fcn.140085ebc
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1d0]
call fcn.140033e30
lea rdx, [0x140101608]
lea rcx, [rbp + 0x1d0]
call fcn.1400827e4
nop
call fcn.140085ebc
int3
call fcn.140085ebc
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x208]
call fcn.140033a20
lea rdx, [0x140101598]
lea rcx, [rbp + 0x208]
call fcn.1400827e4
nop
call fcn.140085ebc
int3