Function at 0x1400e3900
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp - 0x39], rax
movzx r12d, dl
mov rdi, rcx
mov rbx, qword [0x14164c110]
mov rax, qword [rbx + 0x4018]
mov byte [rax + 0xb8], 1
mov r14, qword [rbx + 0x4018]
movsxd r8, dword [r14 + 0xf0]
mov rax, qword [r14 + 0xf8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.140025880
mov esi, eax
mov rcx, qword [r14]
cmp dword [rcx + 0x4060], eax
jne 0x1400e39a5
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.14003c910
mov rbx, qword [0x14164c110]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rcx + 0x60]
mov r8, qword [rdx + 8]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x1400e39dd
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1400e39dd
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400e39d4
cmp byte [rax], dl
je 0x1400e39dd
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e39c0
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
xorps xmm7, xmm7
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x140175fc8]
movss xmm2, dword [r8 + 0x14]
lea rdx, [rbp - 0x59]
mov rcx, r8
call fcn.14004d4b0
movss xmm2, dword [r14 + 0x104]
movaps xmm3, xmm2
addss xmm3, dword [rax + 4]
movss xmm1, dword [r14 + 0x100]
addss xmm3, dword [0x140175ec4]
movaps xmm0, xmm1
addss xmm0, dword [rax]
addss xmm0, xmm7
movss dword [rbp - 0x49], xmm1
movss dword [rbp - 0x45], xmm2
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x3d], xmm3
xor r9d, r9d
xor r8d, r8d
mov edx, esi
lea rcx, [rbp - 0x49]
call fcn.140034d50
movss xmm1, dword [rbp - 0x3d]
subss xmm1, dword [rbp - 0x45]
movss xmm0, dword [rbp - 0x41]
subss xmm0, dword [rbp - 0x49]
movss dword [rsp + 0x54], xmm0
movss dword [rsp + 0x58], xmm1
movss xmm1, dword [0x140175fd8]
lea rcx, [rsp + 0x54]
call fcn.140034be0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x50]
mov edx, esi
lea rcx, [rbp - 0x49]
call fcn.140051400
movzx r13d, al
cmp byte [rsp + 0x50], bl
jne 0x1400e3abc
test r12b, r12b
jne 0x1400e3abc
xor esi, esi
jmp 0x1400e3abf
mov sil, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], bl
jne 0x1400e3ad5
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.1400591d0
nop
movsd xmm0, qword [0x1401744e0]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1401744e8]
mov dword [rbp - 0x51], eax
movzx eax, word [0x1401744ec]
mov word [rbp - 0x4d], ax
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1401744ed], 0
je 0x1400e3c73
mov r8d, ebx
cmp r15d, 2
jl 0x1400e3c2e
movdqa xmm4, xmmword [0x140176380]
movdqa xmm2, xmmword [0x140176070]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401760f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401761e0]
movd xmm0, dword [0x1401744e0]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x140176090]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401760f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401761e0]
movd xmm0, dword [rbp - 0x55]
xorps xmm2, xmm0
movd dword [rbp - 0x55], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x1400e3c40
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400e3c80
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058d50
cmp qword [rax + 0x18], 0xf
jbe 0x1400e3ca1
mov rax, qword [rax]
movss xmm0, dword [0x140175e34]
movss dword [rsp + 0x28], xmm0
movss xmm8, dword [0x140175e8c]
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, sil
mov rcx, rax
call fcn.1400db460
movaps xmm11, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d760
xorps xmm1, xmm1
movups xmmword [rbp - 0x79], xmm1
xorps xmm2, xmm2
movdqu xmmword [rbp - 0x69], xmm2
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x1400e3cf1
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.1400591d0
nop
movsd xmm0, qword [0x1401744e0]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1401744e8]
mov dword [rbp - 0x51], eax
movzx eax, word [0x1401744ec]
mov word [rbp - 0x4d], ax
cmp byte [0x1401744ed], 0
je 0x1400e3e7e
cmp r15d, 2
jl 0x1400e3e46
movdqa xmm4, xmmword [0x140176380]
movdqa xmm2, xmmword [0x140176070]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401760f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
mov eax, dword [0x1401761e0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1401744e0]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x140176090]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401760f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x55]
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x1400e3e50
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e3e90
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058d50
cmp qword [rax + 0x18], 0xf
jbe 0x1400e3eb1
mov rax, qword [rax]
movss xmm0, dword [0x140175e34]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, r12b
mov rcx, rax
call fcn.1400db460
movaps xmm10, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d760
mov r11, qword [0x14164c110]
movups xmm1, xmmword [r11 + 0x39e4]
movups xmmword [rbp - 0x59], xmm1
movss xmm6, dword [r11 + 0x38f0]
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm6
movss dword [rbp - 0x4d], xmm1
lea rcx, [rbp - 0x59]
call fcn.140025e30
mov r9d, eax
movups xmm0, xmmword [r11 + 0x39f4]
movups xmmword [rbp - 0x59], xmm0
mulss xmm6, dword [0x140175e58]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm6
movss dword [rbp - 0x4d], xmm0
lea rcx, [rbp - 0x59]
call fcn.140025e30
mov r8d, eax
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm6, dword [0x140175e18]
mulss xmm1, xmm6
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm2, xmm2
cvtsi2ss xmm2, rcx
mulss xmm2, xmm6
mov ecx, eax
shr ecx, 0x10
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mulss xmm3, xmm6
shr r8d, 0x18
mov eax, r8d
xorps xmm4, xmm4
cvtsi2ss xmm4, rax
mulss xmm4, xmm6
movzx eax, r9b
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm1
mulss xmm0, xmm11
addss xmm0, xmm1
movss dword [rbp - 0x59], xmm0
mov eax, r9d
shr eax, 8
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm2
mulss xmm0, xmm11
addss xmm0, xmm2
movss dword [rbp - 0x55], xmm0
mov eax, r9d
shr eax, 0x10
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm3
mulss xmm0, xmm11
addss xmm0, xmm3
movss dword [rbp - 0x51], xmm0
shr r9d, 0x18
mov eax, r9d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
subss xmm0, xmm4
mulss xmm0, xmm11
addss xmm0, xmm4
movss dword [rbp - 0x4d], xmm0
lea rcx, [rbp - 0x59]
call fcn.140025e30
movzx ecx, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm6
movss dword [rbp - 0x59], xmm0
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm6
movss dword [rbp - 0x55], xmm0
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm6
movss dword [rbp - 0x51], xmm0
shr eax, 0x18
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
movss dword [rbp - 0x4d], xmm0
mov r10, qword [r14 + 0x298]
mov r8, rdi
cmp rdi, 0xffffffffffffffff
jae 0x1400e40be
nop
movzx ecx, byte [r8]
test cl, cl
je 0x1400e40be
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x1400e40b5
cmp byte [rax], cl
je 0x1400e40be
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e40a0
lea rcx, [rbp - 0x59]
call fcn.140025e30
mov r9d, eax
mov rcx, qword [r11 + 0x38]
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rdx + 8]
movss xmm2, dword [rcx + 0x14]
test eax, 0xff000000
je 0x1400e4161
test r8, r8
jne 0x1400e40fd
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x1400e40f0
add r8, rdi
cmp rdi, r8
je 0x1400e4161
test rcx, rcx
jne 0x1400e410f
mov rax, qword [r10 + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm7
jp 0x1400e411f
jne 0x1400e411f
mov rax, qword [r10 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r10 + 0x88]
movups xmmword [rbp - 0x79], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x79]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x49]
mov rdx, r10
call fcn.14004d6d0
mov r11, qword [0x14164c110]
movups xmm1, xmmword [r11 + 0x39d4]
movups xmmword [rbp - 0x79], xmm1
movaps xmm0, xmm10
mulss xmm0, dword [r11 + 0x38f0]
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6d], xmm1
movss xmm2, dword [rbp - 0x41]
movaps xmm4, xmm2
movss xmm3, dword [rbp - 0x49]
subss xmm4, xmm3
mulss xmm4, dword [0x140175e58]
mulss xmm4, xmm10
addss xmm3, xmm2
mulss xmm3, dword [0x140175e58]
movaps xmm0, xmm3
addss xmm0, xmm4
movss dword [rsp + 0x54], xmm0
movss xmm1, dword [rbp - 0x3d]
subss xmm1, xmm8
movss dword [rsp + 0x58], xmm1
subss xmm3, xmm4
movss dword [rbp - 0x59], xmm3
movss dword [rbp - 0x55], xmm1
lea rcx, [rbp - 0x79]
call fcn.140025e30
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x54]
lea rdx, [rbp - 0x59]
mov rcx, qword [r14 + 0x298]
call fcn.140048f90
movzx eax, r13b
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.140146930
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm10, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret