Function at 0x1400e52c0
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 [0x14018d080]
xor rax, rsp
mov qword [rbp - 0x39], rax
movzx r12d, dl
mov rdi, rcx
mov rbx, qword [0x1416101c0]
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.140025710
mov esi, eax
mov rcx, qword [r14]
cmp dword [rcx + 0x4060], eax
jne 0x1400e5365
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.14003c7a0
mov rbx, qword [0x1416101c0]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rcx + 0x60]
mov r8, qword [rdx + 8]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x1400e539d
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1400e539d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400e5394
cmp byte [rax], dl
je 0x1400e539d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e5380
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
xorps xmm7, xmm7
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x140176e30]
movss xmm2, dword [r8 + 0x14]
lea rdx, [rbp - 0x59]
mov rcx, r8
call fcn.14004d310
movss xmm2, dword [r14 + 0x104]
movaps xmm3, xmm2
addss xmm3, dword [rax + 4]
movss xmm1, dword [r14 + 0x100]
addss xmm3, dword [0x140176d24]
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.140034be0
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 [0x140176e40]
lea rcx, [rsp + 0x54]
call fcn.140034a70
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.140051260
movzx r13d, al
cmp byte [rsp + 0x50], bl
jne 0x1400e547c
test r12b, r12b
jne 0x1400e547c
xor esi, esi
jmp 0x1400e547f
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 0x1400e5495
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.140059030
nop
movsd xmm0, qword [0x140175310]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140175318]
mov dword [rbp - 0x51], eax
movzx eax, word [0x14017531c]
mov word [rbp - 0x4d], ax
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x14017531d], 0
je 0x1400e561f
mov r8d, ebx
cmp r15d, 2
jl 0x1400e55e6
movdqa xmm4, xmmword [0x140177030]
movdqa xmm2, xmmword [0x140176ee0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140176f30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140177060]
movd xmm0, dword [0x140175310]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x140176f00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140176f30]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140177060]
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, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x1400e55f0
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e5630
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058bb0
cmp qword [rax + 0x18], 0xf
jbe 0x1400e5651
mov rax, qword [rax]
movss xmm0, dword [0x140176c90]
movss dword [rsp + 0x28], xmm0
movss xmm8, dword [0x140176ce8]
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, sil
mov rcx, rax
call fcn.1400dcff0
movaps xmm11, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d5f0
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 0x1400e56a1
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.140059030
nop
movsd xmm0, qword [0x140175310]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140175318]
mov dword [rbp - 0x51], eax
movzx eax, word [0x14017531c]
mov word [rbp - 0x4d], ax
cmp byte [0x14017531d], 0
je 0x1400e582b
cmp r15d, 2
jl 0x1400e57ee
movdqa xmm4, xmmword [0x140177030]
movdqa xmm2, xmmword [0x140176ee0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140176f30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
mov eax, dword [0x140177060]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140175310]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x140176f00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140176f30]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
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, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x34
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x1400e5800
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e5836
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058bb0
cmp qword [rax + 0x18], 0xf
jbe 0x1400e5857
mov rax, qword [rax]
movss xmm0, dword [0x140176c90]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, r12b
mov rcx, rax
call fcn.1400dcff0
movaps xmm10, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d5f0
mov r11, qword [0x1416101c0]
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.140025cc0
mov r9d, eax
movups xmm0, xmmword [r11 + 0x39f4]
movups xmmword [rbp - 0x59], xmm0
mulss xmm6, dword [0x140176cb4]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm6
movss dword [rbp - 0x4d], xmm0
lea rcx, [rbp - 0x59]
call fcn.140025cc0
mov r8d, eax
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm6, dword [0x140176c74]
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.140025cc0
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 0x1400e5a62
movzx ecx, byte [r8]
test cl, cl
je 0x1400e5a62
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x1400e5a59
cmp byte [rax], cl
je 0x1400e5a62
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e5a44
lea rcx, [rbp - 0x59]
call fcn.140025cc0
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 0x1400e5b03
test r8, r8
jne 0x1400e5a9f
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x1400e5a92
add r8, rdi
cmp rdi, r8
je 0x1400e5b03
test rcx, rcx
jne 0x1400e5ab1
mov rax, qword [r10 + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm7
jp 0x1400e5ac1
jne 0x1400e5ac1
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.14004d530
mov r11, qword [0x1416101c0]
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 [0x140176cb4]
mulss xmm4, xmm10
addss xmm3, xmm2
mulss xmm3, dword [0x140176cb4]
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.140025cc0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x54]
lea rdx, [rbp - 0x59]
mov rcx, qword [r14 + 0x298]
call fcn.140048df0
movzx eax, r13b
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.1401482c0
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