Function at 0x1400e3b80
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 [0x14160f1c0]
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.140025820
mov esi, eax
mov rcx, qword [r14]
cmp dword [rcx + 0x4060], eax
jne 0x1400e3c25
mov r8, rdi
mov edx, ntohl
mov ecx, eax
call fcn.14003c8b0
mov rbx, qword [0x14160f1c0]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rcx + 0x60]
mov r8, qword [rdx + 8]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x1400e3c5d
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1400e3c5d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400e3c54
cmp byte [rax], dl
je 0x1400e3c5d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e3c40
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
xorps xmm7, xmm7
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x140175e50]
movss xmm2, dword [r8 + 0x14]
lea rdx, [rbp - 0x59]
mov rcx, r8
call fcn.14004d420
movss xmm2, dword [r14 + 0x104]
movaps xmm3, xmm2
addss xmm3, dword [rax + 4]
movss xmm1, dword [r14 + 0x100]
addss xmm3, dword [0x140175d44]
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.140034cf0
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 [0x140175e60]
lea rcx, [rsp + 0x54]
call fcn.140034b80
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.140051370
movzx r13d, al
cmp byte [rsp + 0x50], bl
jne 0x1400e3d3c
test r12b, r12b
jne 0x1400e3d3c
xor esi, esi
jmp 0x1400e3d3f
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 0x1400e3d55
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.140059140
nop
movsd xmm0, qword [0x1401743f0]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1401743f8]
mov dword [rbp - 0x51], eax
movzx eax, word [0x1401743fc]
mov word [rbp - 0x4d], ax
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1401743fd], 0
je 0x1400e3ef3
mov r8d, ebx
cmp r15d, 2
jl 0x1400e3eae
movdqa xmm4, xmmword [0x140176220]
movdqa xmm2, xmmword [0x140175f00]
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 [0x140175f80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
movd xmm0, dword [0x1401743f0]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x140175f20]
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 [0x140175f80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
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, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x1400e3ec0
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400e3f00
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058cc0
cmp qword [rax + 0x18], 0xf
jbe 0x1400e3f21
mov rax, qword [rax]
movss xmm0, dword [0x140175cb0]
movss dword [rsp + 0x28], xmm0
movss xmm8, dword [0x140175d08]
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, sil
mov rcx, rax
call fcn.1400db6e0
movaps xmm11, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d700
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 0x1400e3f71
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.140059140
nop
movsd xmm0, qword [0x1401743f0]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1401743f8]
mov dword [rbp - 0x51], eax
movzx eax, word [0x1401743fc]
mov word [rbp - 0x4d], ax
cmp byte [0x1401743fd], 0
je 0x1400e40fe
cmp r15d, 2
jl 0x1400e40c6
movdqa xmm4, xmmword [0x140176220]
movdqa xmm2, xmmword [0x140175f00]
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 [0x140175f80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
mov eax, dword [0x1401760b0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1401743f0]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x140175f20]
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 [0x140175f80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
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, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x1400e40d0
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e4110
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140058cc0
cmp qword [rax + 0x18], 0xf
jbe 0x1400e4131
mov rax, qword [rax]
movss xmm0, dword [0x140175cb0]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm7
movzx r8d, r12b
mov rcx, rax
call fcn.1400db6e0
movaps xmm10, xmm0
lea rcx, [rbp - 0x79]
call fcn.14003d700
mov r11, qword [0x14160f1c0]
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.140025dd0
mov r9d, eax
movups xmm0, xmmword [r11 + 0x39f4]
movups xmmword [rbp - 0x59], xmm0
mulss xmm6, dword [0x140175cd4]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm6
movss dword [rbp - 0x4d], xmm0
lea rcx, [rbp - 0x59]
call fcn.140025dd0
mov r8d, eax
movzx ecx, al
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm6, dword [0x140175c94]
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.140025dd0
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 0x1400e433e
nop
movzx ecx, byte [r8]
test cl, cl
je 0x1400e433e
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x1400e4335
cmp byte [rax], cl
je 0x1400e433e
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x1400e4320
lea rcx, [rbp - 0x59]
call fcn.140025dd0
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 0x1400e43e1
test r8, r8
jne 0x1400e437d
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x1400e4370
add r8, rdi
cmp rdi, r8
je 0x1400e43e1
test rcx, rcx
jne 0x1400e438f
mov rax, qword [r10 + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm7
jp 0x1400e439f
jne 0x1400e439f
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.14004d640
mov r11, qword [0x14160f1c0]
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 [0x140175cd4]
mulss xmm4, xmm10
addss xmm3, xmm2
mulss xmm3, dword [0x140175cd4]
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.140025dd0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x54]
lea rdx, [rbp - 0x59]
mov rcx, qword [r14 + 0x298]
call fcn.140048f00
movzx eax, r13b
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.1401468a0
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