Function at 0x140115f40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rbp - 0x48], rax
mov r12d, r8d
movzx r15d, dl
mov rdi, rcx
mov rbx, qword [0x141672ce0]
mov rax, qword [rbx + 0x4018]
mov byte [rax + 0xb8], 1
mov rsi, qword [rbx + 0x4018]
movsxd r8, dword [rsi + 0xf0]
mov rax, qword [rsi + 0xf8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.1400476e0
mov r14d, eax
mov rcx, qword [rsi]
cmp dword [rcx + 0x4060], eax
jne 0x140115fef
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.14005e380
mov rbx, qword [0x141672ce0]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140116015
movzx edx, byte [rcx]
test dl, dl
je 0x140116015
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x14011600c
cmp byte [rax], dl
je 0x140116015
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140115ff8
movss xmm11, dword [0x1401d7d40]
xorps xmm10, xmm10
cmp rdi, rcx
jne 0x14011602c
xorps xmm3, xmm3
jmp 0x140116077
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm11
movss xmm3, dword [0x1401d7d28]
movss xmm2, dword [rbx + 0x3d50]
lea rdx, [rsp + 0x78]
mov rcx, qword [rbx + 0x3d48]
call fcn.14006e310
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [0x1401d7bc8]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss xmm1, dword [rsi + 0x104]
movaps xmm2, xmm1
addss xmm2, dword [0x1401d7c6c]
movss xmm0, dword [rsi + 0x100]
addss xmm3, dword [0x1401d7c5c]
addss xmm3, xmm0
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
unpcklps xmm3, xmm2
movsd qword [rbp - 0x70], xmm3
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp - 0x78]
call fcn.140056a20
movss xmm1, dword [rbp - 0x6c]
subss xmm1, dword [rbp - 0x74]
movss xmm0, dword [rbp - 0x70]
subss xmm0, dword [rbp - 0x78]
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
movaps xmm1, xmm11
lea rcx, [rsp + 0x78]
call fcn.1400568b0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov edx, r14d
lea rcx, [rbp - 0x78]
call fcn.140072050
movzx r14d, al
cmp byte [rsp + 0x50], bl
jne 0x140116120
test r15b, r15b
jne 0x140116120
xor r15d, r15d
jmp 0x140116123
mov r15b, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], bl
jne 0x140116140
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.1400256b0
nop
movsd xmm0, qword [0x1401d6710]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x1401d6718]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1401d671c]
mov word [rbp - 0x7c], ax
cmp byte [0x1401d671d], 0
je 0x1401162bc
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140116277
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 [rsp + 0x78], 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 [rsp + 0x7c]
xorps xmm2, xmm0
movd dword [rsp + 0x7c], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rsp + 0x78]
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 0x140116290
lea rax, [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1401162d0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.140025310
cmp qword [rax + 0x18], 0xf
jbe 0x1401162f2
mov rax, qword [rax]
movss xmm0, dword [0x1401d7b78]
movss dword [rsp + 0x28], xmm0
movss xmm1, dword [0x1401d7bd0]
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm10
movzx r8d, r15b
mov rcx, rax
call fcn.14010f450
movaps xmm7, xmm0
lea rcx, [rbp - 0x68]
call fcn.1400252b0
mov r10, qword [0x141672ce0]
movups xmm1, xmmword [r10 + 0x3a14]
movups xmmword [rsp + 0x60], xmm1
movss xmm6, dword [r10 + 0x38f0]
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm6
movss dword [rsp + 0x6c], xmm1
lea rcx, [rsp + 0x60]
call fcn.140047c90
mov r9d, eax
movups xmm1, xmmword [r10 + 0x3a14]
movups xmmword [rsp + 0x60], xmm1
movaps xmm0, xmm6
movss xmm9, dword [0x1401d7b9c]
mulss xmm0, xmm9
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x6c], xmm1
lea rcx, [rsp + 0x60]
call fcn.140047c90
mov r8d, eax
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm8, dword [0x1401d7b5c]
mulss xmm1, xmm8
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm2, xmm2
cvtsi2ss xmm2, rcx
mulss xmm2, xmm8
mov ecx, eax
shr ecx, 0x10
movzx eax, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mulss xmm3, xmm8
shr r8d, 0x18
mov eax, r8d
xorps xmm4, xmm4
cvtsi2ss xmm4, rax
mulss xmm4, xmm8
movzx eax, r9b
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm1
movss dword [rsp + 0x78], xmm0
mov eax, r9d
shr eax, 8
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, xmm2
movss dword [rsp + 0x7c], xmm0
mov eax, r9d
shr eax, 0x10
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm3
mulss xmm0, xmm7
addss xmm0, xmm3
movss dword [rbp - 0x80], xmm0
shr r9d, 0x18
mov eax, r9d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm4
mulss xmm0, xmm7
addss xmm0, xmm4
movss dword [rbp - 0x7c], xmm0
lea rcx, [rsp + 0x78]
call fcn.140047c90
movzx ecx, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm8
movss dword [rbp - 0x68], xmm0
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm8
movss dword [rbp - 0x64], xmm0
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm8
movss dword [rbp - 0x60], xmm0
shr eax, 0x18
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
movss dword [rbp - 0x5c], xmm0
movups xmm1, xmmword [r10 + 0x39e4]
movups xmmword [rsp + 0x60], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm6
movss dword [rsp + 0x6c], xmm1
lea rcx, [rsp + 0x60]
call fcn.140047c90
mov r8d, eax
movups xmm0, xmmword [r10 + 0x39f4]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm6
movss dword [rsp + 0x6c], xmm0
lea rcx, [rsp + 0x60]
call fcn.140047c90
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mulss xmm1, xmm8
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm2, xmm2
cvtsi2ss xmm2, rcx
mulss xmm2, xmm8
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xorps xmm3, xmm3
cvtsi2ss xmm3, rcx
mulss xmm3, xmm8
shr eax, 0x18
xorps xmm4, xmm4
cvtsi2ss xmm4, rax
mulss xmm4, xmm8
movzx eax, r8b
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm1
movss dword [rsp + 0x78], xmm0
mov eax, r8d
shr eax, 8
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, xmm2
movss dword [rsp + 0x7c], xmm0
mov eax, r8d
shr eax, 0x10
movzx eax, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm3
mulss xmm0, xmm7
addss xmm0, xmm3
movss dword [rbp - 0x80], xmm0
shr r8d, 0x18
mov eax, r8d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
subss xmm0, xmm4
mulss xmm0, xmm7
addss xmm0, xmm4
movss dword [rbp - 0x7c], xmm0
lea rcx, [rsp + 0x78]
call fcn.140047c90
movzx ecx, al
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm8
movss dword [rsp + 0x78], xmm0
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm8
movss dword [rsp + 0x7c], xmm0
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm8
movss dword [rbp - 0x80], xmm0
shr eax, 0x18
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
movss dword [rbp - 0x7c], xmm0
mov rax, qword [r10 + 0x4018]
mov byte [rax + 0xb8], 1
movups xmm1, xmmword [r10 + 0x39d4]
movups xmmword [rsp + 0x60], xmm1
movss xmm0, dword [r10 + 0x38f0]
mulss xmm0, dword [0x1401d7b80]
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x6c], xmm1
lea rcx, [rsp + 0x60]
call fcn.140047c90
movzx ecx, al
xorps xmm3, xmm3
cvtsi2ss xmm3, rcx
mulss xmm3, xmm8
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mulss xmm0, xmm8
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mulss xmm1, xmm8
shr eax, 0x18
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
mulss xmm2, xmm8
shufps xmm3, xmm3, 0xe1
movss xmm3, xmm0
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rsp + 0x60], xmm3
movdqa xmmword [rsp + 0x60], xmm3
mov rax, qword [r10 + 0x4018]
mov rcx, qword [rax + 0x298]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r12d
movss xmm0, dword [0x1401d7c00]
movss dword [rsp + 0x28], xmm0
movss xmm1, dword [0x1401d7cbc]
movss dword [rsp + 0x20], xmm1
lea r9, [rsp + 0x60]
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
call fcn.14010eba0
lea rcx, [rbp - 0x68]
call fcn.140047c90
mov r9d, eax
mov dword [rsp + 0x28], r12d
mov rax, qword [0x141672ce0]
movss xmm0, dword [rax + 0x391c]
movss dword [rsp + 0x20], xmm0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x78]
mov rcx, qword [rsi + 0x298]
call fcn.14006a540
mov r15, qword [rsi + 0x298]
mov rbx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x1401167ed
nop
movzx ecx, byte [rbx]
test cl, cl
je 0x1401167ed
lea rax, [rbx + 1]
cmp cl, 0x23
jne 0x1401167e4
cmp byte [rax], cl
je 0x1401167ed
mov rbx, rax
cmp rax, 0xffffffffffffffff
jb 0x1401167d0
lea rcx, [rsp + 0x78]
call fcn.140047c90
mov esi, eax
mov r9, qword [0x141672ce0]
mov rdx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140116831
nop dword [rax]
movzx r8d, byte [rdx]
test r8b, r8b
je 0x140116831
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x140116828
cmp byte [rcx], r8b
je 0x140116831
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x140116810
movss xmm2, dword [r9 + 0x3d50]
cmp rdi, rdx
jne 0x140116845
movaps xmm1, xmm10
jmp 0x14011688e
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm11
movss xmm3, dword [0x1401d7d28]
lea rdx, [rsp + 0x78]
mov rcx, qword [r9 + 0x3d48]
call fcn.14006e310
movss xmm2, dword [rsp + 0x7c]
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [0x1401d7bc8]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [rbp - 0x78]
addss xmm0, dword [rbp - 0x70]
mulss xmm0, xmm9
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rbp - 0x74]
addss xmm1, dword [rbp - 0x6c]
mulss xmm1, xmm9
mulss xmm2, xmm9
subss xmm1, xmm2
movss dword [rsp + 0x7c], xmm1
test esi, 0xff000000
je 0x14011693c
test rbx, rbx
jne 0x1401168ec
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1401168e0
add rbx, rdi
cmp rdi, rbx
je 0x14011693c
mov rax, qword [r15 + 0x38]
movups xmm0, xmmword [r15 + 0x88]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x78]
movss xmm2, dword [rax + 0x10]
mov rdx, r15
mov rcx, qword [rax + 8]
call fcn.14006e530
movzx eax, r14b
mov rcx, qword [rbp - 0x48]
xor rcx, rsp
call fcn.140175100
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret