Function at 0x1400e9520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10110]
mov eax, 0x10210
call fcn.14015ca80
sub rsp, rax
movaps xmmword [rsp + 0x10200], xmm6
movaps xmmword [rsp + 0x101f0], xmm7
movaps xmmword [rsp + 0x101e0], xmm8
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rbp + 0x100d0], rax
mov r12d, edx
movsxd r13, ecx
xor r10d, r10d
mov dword [rbp + 0x50], r10d
lea r14d, [r10 + 4]
lea r15d, [r10 + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp edx, 1
jne 0x1400e9762
movsd xmm0, qword [0x1401c46a0]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1401c46a8]
mov dword [rsp + 0x38], eax
cmp byte [0x1401c46ab], r10b
je 0x1400e9710
mov r8d, r10d
cmp esi, 2
jl 0x1400e96ce
movdqa xmm4, xmmword [0x1401c4e00]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x1401c4b30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bd0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4d90]
movd xmm0, dword [0x1401c46a0]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bd0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4d90]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1400e96e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x68], r10
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r10b
jne 0x1400e9731
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140010900
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.140010060
nop
mov edi, 1
jmp 0x1400e992b
movsd xmm0, qword [0x1401c46b8]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1401c46c0]
mov dword [rsp + 0x38], eax
cmp byte [0x1401c46c3], r10b
je 0x1400e98e0
mov r8d, r10d
cmp esi, 2
jl 0x1400e989b
movdqa xmm4, xmmword [0x1401c4e00]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x1401c4b30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bd0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
mov eax, dword [0x1401c4d90]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1401c46b8]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1401c4b40]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401c4bd0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1400e98b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r10
mov qword [rbp - 0x78], r10
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], r10b
jne 0x1400e9900
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140010900
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140010060
mov edi, 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xor ecx, ecx
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
test dil, 2
je 0x1400e996c
and edi, 0xfffffffd
lea rcx, [rbp + 0x10]
call fcn.140010730
nop
test dil, 1
je 0x1400e997b
lea rcx, [rbp + 0x30]
call fcn.140010730
mov eax, dword [0x1401c4698]
mov dword [rbp + 0x50], eax
movzx eax, byte [0x1401c469c]
mov byte [rbp + 0x50], Ordinal_79
xor byte [rbp + 0x51], 0x34
xor byte [rbp + 0x52], 0x35
xor byte [rbp + 0x53], 0x36
xor al, 0x37
mov byte [rbp + 0x54], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0x50]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e99c0
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140010900
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rcx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x68]
cmp r8, qword [rsp + 0x40]
jne 0x1400e9a28
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400e9a28
lea rcx, [rsp + 0x30]
call fcn.140010730
mov rax, qword [0x1401e5a68]
mov dword [rax + 0x60], 0
jmp 0x1400e9ece
lea rcx, [rsp + 0x30]
call fcn.140010730
cmp r12d, 1
jne 0x1400e9d5e
movups xmm0, xmmword [0x1401c46c8]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [0x1401c46d8]
movups xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [0x1401c46e8]
movups xmmword [rbp + 0xa0], xmm0
movsd xmm0, qword [0x1401c46f8]
movsd qword [rbp + 0xb0], xmm0
cmp esi, 2
jl 0x1400e9bbd
movdqa xmm5, xmmword [0x1401c4b30]
xor edx, edx
movdqa xmm4, xmmword [0x1401c4e00]
movd xmm6, r14d
movdqa xmm7, xmmword [0x1401c4bd0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x1401c4d90]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp + 0x84]
mov r8d, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x38
jl 0x1400e9ac0
jmp 0x1400e9c00
lea r9, [rbp + 0x80]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x38
jl 0x1400e9bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp + 0x80]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9c20
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x30]
call fcn.140010900
nop
movzx eax, word [0x1401c46ac]
mov word [rbp + 0x50], ax
cmp byte [0x1401c46ad], 0
je 0x1400e9c57
mov byte [rbp + 0x50], Ordinal_41
xor byte [rbp + 0x51], 0x34
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp + 0x50]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400e9c70
mov r8, rbx
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140010900
nop
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rdx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140010790
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140010b90
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400e9d16
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e9d11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e9d11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015c094
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x68], xmm1
movdqa xmm0, xmmword [0x1401c4af0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rcx, [rbp - 0x70]
call fcn.140010730
nop
lea rcx, [rbp - 0x10]
call fcn.140010730
nop
lea rcx, [rbp - 0x50]
call fcn.140010730
nop
lea rcx, [rbp - 0x30]
call fcn.140010730
mov rax, qword [0x1401ea0f8]
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rcx, qword [rbp + 0x58]
xor r8d, r8d
xor r9d, r9d
xor edx, edx
call rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400e9eb6
mov r10, qword [0x1401ea108]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
mov r8d, 0xffff
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call r10
test eax, eax
je 0x1400e9ec4
mov rax, qword [0x1401ec7f0]
movss xmm1, dword [rax + 0x1c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
jp 0x1400e9e64
jne 0x1400e9e64
mov rbx, r13
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rsi, 0x989680
jne 0x1400e9dfb
imul rax, rax, 0x64
jmp 0x1400e9e16
cqo
idiv rsi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
add rax, rcx
mov qword [rsp + 0x30], rax
test r13d, r13d
je 0x1400e9e58
js 0x1400e9e58
imul rdx, rbx, 0xf4240
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rdx
cmp rax, rcx
jge 0x1400e9e53
lea rcx, [rdx + rax]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call fcn.140010f20
jmp 0x1400e9ec4
mov qword [rsp + 0x30], r8
lea rcx, [rsp + 0x30]
call fcn.140010f20
jmp 0x1400e9ec4
cmp r13d, 0xa
jge 0x1400e9e75
cvttsd2si rax, qword [0x1401c4810]
jmp 0x1400e9e96
mov eax, 0xcccccccd
mul r13d
shr edx, 3
movd xmm0, edx
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_round
cvttsd2si rax, xmm0
test eax, eax
je 0x1400e9ec4
mov ebx, eax
nop dword [rax + rax]
mov edx, 0xa
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_Beep]
sub rbx, 1
jne 0x1400e9ea0
jmp 0x1400e9ec4
mov rax, qword [0x1401e5a68]
mov dword [rax + 0x60], 0
mov rcx, rdi
call qword [0x1401ea0e8]
nop
lea rcx, [rbp + 0x58]
call fcn.140010730
mov rcx, qword [rbp + 0x100d0]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x10210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret