Function at 0x140115620
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 [0x1401f6080]
xor rax, rsp
mov qword [rbp - 0x39], rax
movzx r12d, dl
mov rdi, rcx
mov rbx, qword [0x141672ce0]
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.1400476e0
mov esi, eax
mov rcx, qword [r14]
cmp dword [rcx + 0x4060], eax
jne 0x1401156c5
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.14005e380
mov rbx, qword [0x141672ce0]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rcx + 0x60]
mov r8, qword [rdx + 8]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x1401156fd
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1401156fd
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1401156f4
cmp byte [rax], dl
je 0x1401156fd
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1401156e0
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
xorps xmm7, xmm7
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x1401d7d28]
movss xmm2, dword [r8 + 0x14]
lea rdx, [rbp - 0x59]
mov rcx, r8
call fcn.14006e310
movss xmm2, dword [r14 + 0x104]
movaps xmm3, xmm2
addss xmm3, dword [rax + 4]
movss xmm1, dword [r14 + 0x100]
addss xmm3, dword [0x1401d7c0c]
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.140056a20
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 [0x1401d7d40]
lea rcx, [rsp + 0x54]
call fcn.1400568b0
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.140072050
movzx r13d, al
cmp byte [rsp + 0x50], bl
jne 0x1401157dc
test r12b, r12b
jne 0x1401157dc
xor esi, esi
jmp 0x1401157df
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 0x1401157f5
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.1400256b0
nop
movsd xmm0, qword [0x1401d6710]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1401d6718]
mov dword [rbp - 0x51], eax
movzx eax, word [0x1401d671c]
mov word [rbp - 0x4d], ax
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1401d671d], 0
je 0x140115970
mov r8d, ebx
cmp r15d, 2
jl 0x140115930
movdqa xmm4, xmmword [0x1401d82f0]
movdqa xmm2, xmmword [0x1401d7e10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e40]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fd0]
movd xmm0, dword [0x1401d6710]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm2, xmmword [0x1401d7e30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e40]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fd0]
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 word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140115940
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140115980
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140025310
cmp qword [rax + 0x18], 0xf
jbe 0x1401159a1
mov rax, qword [rax]
movss xmm0, dword [0x1401d7b78]
movss dword [rsp + 0x28], xmm0
movss xmm8, dword [0x1401d7bd0]
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, sil
mov rcx, rax
call fcn.14010f450
movaps xmm11, xmm0
lea rcx, [rbp - 0x79]
call fcn.1400252b0
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 0x1401159f1
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.1400256b0
nop
movsd xmm0, qword [0x1401d6710]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1401d6718]
mov dword [rbp - 0x51], eax
movzx eax, word [0x1401d671c]
mov word [rbp - 0x4d], ax
cmp byte [0x1401d671d], 0
je 0x140115b6c
cmp r15d, 2
jl 0x140115b28
movdqa xmm5, xmmword [0x1401d82f0]
movdqa xmm3, xmmword [0x1401d7e10]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e40]
psubd xmm3, xmm0
andps xmm3, xmmword [0x1401d7f20]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1401d7fd0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1401d6710]
xorps xmm3, xmm0
movd dword [rbp - 0x59], xmm3
movdqa xmm2, xmmword [0x1401d7e30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e40]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
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
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x140115b40
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140115b80
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140025310
cmp qword [rax + 0x18], 0xf
jbe 0x140115ba1
mov rax, qword [rax]
movss xmm0, dword [0x1401d7b78]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, r12b
mov rcx, rax
call fcn.14010f450
movaps xmm10, xmm0
lea rcx, [rbp - 0x79]
call fcn.1400252b0
mov r10, qword [0x141672ce0]
movups xmm1, xmmword [r10 + 0x39e4]
movups xmmword [rbp - 0x59], xmm1
movss xmm6, dword [r10 + 0x38f0]
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm6
movss dword [rbp - 0x4d], xmm1
lea rcx, [rbp - 0x59]
call fcn.140047c90
mov r9d, eax
movups xmm0, xmmword [r10 + 0x39f4]
movups xmmword [rbp - 0x59], xmm0
mulss xmm6, dword [0x1401d7b9c]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm6
movss dword [rbp - 0x4d], xmm0
lea rcx, [rbp - 0x59]
call fcn.140047c90
mov r8d, eax
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm6, dword [0x1401d7b5c]
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.140047c90
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 r11, qword [r14 + 0x298]
mov r8, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140115dae
nop
movzx ecx, byte [r8]
test cl, cl
je 0x140115dae
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x140115da5
cmp byte [rax], cl
je 0x140115dae
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x140115d90
lea rcx, [rbp - 0x59]
call fcn.140047c90
mov r9d, eax
mov rcx, qword [r10 + 0x38]
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rdx + 8]
movss xmm2, dword [rcx + 0x14]
test eax, 0xff000000
je 0x140115e51
test r8, r8
jne 0x140115ded
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x140115de0
add r8, rdi
cmp rdi, r8
je 0x140115e51
test rcx, rcx
jne 0x140115dff
mov rax, qword [r11 + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm7
jp 0x140115e0f
jne 0x140115e0f
mov rax, qword [r11 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r11 + 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, r11
call fcn.14006e530
mov r10, qword [0x141672ce0]
movups xmm1, xmmword [r10 + 0x39d4]
movups xmmword [rbp - 0x79], xmm1
movaps xmm0, xmm10
mulss xmm0, dword [r10 + 0x38f0]
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6d], xmm1
movss xmm1, dword [rbp - 0x49]
movaps xmm3, xmm1
movss xmm2, dword [rbp - 0x41]
addss xmm3, xmm2
mulss xmm3, dword [0x1401d7b9c]
subss xmm2, xmm1
mulss xmm2, dword [0x1401d7b9c]
mulss xmm2, xmm10
movaps xmm0, xmm2
addss xmm0, xmm3
movss dword [rsp + 0x54], xmm0
movss xmm1, dword [rbp - 0x3d]
subss xmm1, xmm8
movss dword [rsp + 0x58], xmm1
subss xmm3, xmm2
movss dword [rbp - 0x59], xmm3
movss dword [rbp - 0x55], xmm1
lea rcx, [rbp - 0x79]
call fcn.140047c90
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x54]
lea rdx, [rbp - 0x59]
mov rcx, qword [r14 + 0x298]
call fcn.14006a2d0
movzx eax, r13b
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.140175100
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