Function at 0x1400e59a0
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 [0x14018e080]
xor rax, rsp
mov qword [rbp - 0x39], rax
movzx r12d, dl
mov rdi, rcx
mov rbx, qword [0x141686c50]
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.140025760
mov esi, eax
mov rcx, qword [r14]
cmp dword [rcx + 0x4060], eax
jne 0x1400e5a45
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.14003c7f0
mov rbx, qword [0x141686c50]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rcx + 0x60]
mov r8, qword [rdx + 8]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x1400e5a7d
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1400e5a7d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400e5a74
cmp byte [rax], dl
je 0x1400e5a7d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e5a60
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
xorps xmm7, xmm7
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x1401782d0]
movss xmm2, dword [r8 + 0x14]
lea rdx, [rbp - 0x59]
mov rcx, r8
call fcn.14004d360
movss xmm2, dword [r14 + 0x104]
movaps xmm3, xmm2
addss xmm3, dword [rax + 4]
movss xmm1, dword [r14 + 0x100]
addss xmm3, dword [0x1401781c4]
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.140034c30
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 [0x1401782e0]
lea rcx, [rsp + 0x54]
call fcn.140034ac0
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.1400512b0
movzx r13d, al
cmp byte [rsp + 0x50], bl
jne 0x1400e5b5c
test r12b, r12b
jne 0x1400e5b5c
xor esi, esi
jmp 0x1400e5b5f
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 0x1400e5b75
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.140059080
nop
movsd xmm0, qword [0x140176788]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140176790]
mov dword [rbp - 0x51], eax
movzx eax, word [0x140176794]
mov word [rbp - 0x4d], ax
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x140176795], 0
je 0x1400e5d00
mov r8d, ebx
cmp r15d, 2
jl 0x1400e5cc6
movdqa xmm4, xmmword [0x140178740]
movdqa xmm2, xmmword [0x140178380]
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 [0x1401783b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178570]
movd xmm0, dword [0x140176788]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x1401783a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178570]
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
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x1400e5cd0
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e5d10
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058c00
cmp qword [rax + 0x18], 0xf
jbe 0x1400e5d31
mov rax, qword [rax]
movss xmm0, dword [0x140178130]
movss dword [rsp + 0x28], xmm0
movss xmm8, dword [0x140178188]
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, sil
mov rcx, rax
call fcn.1400dd6b0
movaps xmm11, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d640
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 0x1400e5d81
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.140059080
nop
movsd xmm0, qword [0x140176788]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140176790]
mov dword [rbp - 0x51], eax
movzx eax, word [0x140176794]
mov word [rbp - 0x4d], ax
cmp byte [0x140176795], 0
je 0x1400e5f0c
cmp r15d, 2
jl 0x1400e5ece
movdqa xmm4, xmmword [0x140178740]
movdqa xmm2, xmmword [0x140178380]
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 [0x1401783b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
packuswb xmm2, xmm2
mov eax, dword [0x140178570]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140176788]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x1401783a0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140178520]
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 + rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x33
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x1400e5ee0
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e5f20
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058c00
cmp qword [rax + 0x18], 0xf
jbe 0x1400e5f41
mov rax, qword [rax]
movss xmm0, dword [0x140178130]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, r12b
mov rcx, rax
call fcn.1400dd6b0
movaps xmm10, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d640
mov r11, qword [0x141686c50]
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.140025d10
mov r9d, eax
movups xmm0, xmmword [r11 + 0x39f4]
movups xmmword [rbp - 0x59], xmm0
mulss xmm6, dword [0x140178154]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm6
movss dword [rbp - 0x4d], xmm0
lea rcx, [rbp - 0x59]
call fcn.140025d10
mov r8d, eax
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm6, dword [0x140178114]
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.140025d10
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 0x1400e614e
nop
movzx ecx, byte [r8]
test cl, cl
je 0x1400e614e
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x1400e6145
cmp byte [rax], cl
je 0x1400e614e
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e6130
lea rcx, [rbp - 0x59]
call fcn.140025d10
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 0x1400e61f1
test r8, r8
jne 0x1400e618d
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x1400e6180
add r8, rdi
cmp rdi, r8
je 0x1400e61f1
test rcx, rcx
jne 0x1400e619f
mov rax, qword [r10 + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm7
jp 0x1400e61af
jne 0x1400e61af
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.14004d580
mov r11, qword [0x141686c50]
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 [0x140178154]
mulss xmm4, xmm10
addss xmm3, xmm2
mulss xmm3, dword [0x140178154]
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.140025d10
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x54]
lea rdx, [rbp - 0x59]
mov rcx, qword [r14 + 0x298]
call fcn.140048e40
movzx eax, r13b
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.1401487e0
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