Function at 0x1400b5280
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 - 0x100d0]
mov eax, 0x101d0
call fcn.140128580
sub rsp, rax
movaps xmmword [rsp + 0x101c0], xmm6
movaps xmmword [rsp + 0x101b0], xmm7
movaps xmmword [rsp + 0x101a0], xmm8
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rbp + 0x10090], rax
movsxd r12, ecx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], r13b
cmp edx, 1
jne 0x1400b5947
movups xmm0, xmmword [0x140190320]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x140190330]
mov word [rsp + 0x50], ax
lea esi, [rdx + 3]
lea r14d, [r13 + 0x1f]
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x140190331], r13b
je 0x1400b54c0
mov r8d, r13d
cmp r15d, 2
jl 0x1400b5483
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x140190980]
movd xmm6, esi
movdqa xmm7, xmmword [0x140190750]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140190900]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
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 [0x1401908d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x1401908d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400b5380
cmp r8d, 0x12
jge 0x1400b54c0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1400b5490
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400b54e1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140016190
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400b3780
mov rdi, rax
lea rax, [rbp + 0x10]
cmp rax, rdi
je 0x1400b557f
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400b5551
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b554c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, r14
jbe 0x1400b554c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127cb0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rbp - 0x80]
call fcn.14000d000
mov eax, dword [str.ayz7]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140190338]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400b55d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016190
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
cmp r8, qword [rsp + 0x50]
jne 0x1400b5620
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b5c5e
lea rcx, [rsp + 0x40]
call fcn.14000d000
movups xmm0, xmmword [0x140190340]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x140190350]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x140190360]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x140190370]
movups xmmword [rbp - 0x10], xmm1
mov eax, dword [0x140190380]
mov dword [rbp], eax
mov r8d, r13d
cmp r15d, 2
jl 0x1400b57b3
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x140190980]
movd xmm6, esi
movdqa xmm7, xmmword [0x140190750]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140190900]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp - 0x3c]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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 [0x1401908d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x1401908d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x1400b56b0
cmp r8d, 0x44
jge 0x1400b57f0
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x44
jl 0x1400b57c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400b5806
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140016190
nop
movzx eax, word [0x14019039c]
mov word [rsp + 0x30], ax
cmp byte [0x14019039d], 0
je 0x1400b583d
mov byte [rsp + 0x30], Ordinal_41
xor byte [rsp + 0x31], 0x34
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400b5853
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016190
nop
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400774c0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400162d0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400b58f9
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b58f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b58f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127cb0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x140190690]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call fcn.14000d000
nop
lea rcx, [rbp - 0x80]
call fcn.14000d000
nop
lea rcx, [rsp + 0x40]
call fcn.14000d000
nop
lea rcx, [rbp - 0x60]
jmp 0x1400b5c7d
movups xmm0, xmmword [str.GWeZVAH]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x140190398]
mov word [rsp + 0x50], ax
cmp byte [0x140190399], 0
je 0x1400b5b00
mov r8d, r13d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400b5ac3
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x140190980]
mov esi, 4
movd xmm6, esi
movdqa xmm7, xmmword [0x140190750]
mov r14d, Ordinal_33
movd xmm8, r14d
movdqa xmm0, xmmword [0x140190900]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
nop
movd xmm2, r8d
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 [0x1401908d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x1401908d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400b59c0
cmp r8d, 0x12
jge 0x1400b5b00
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1400b5ad0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400b5b21
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140016190
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400b3780
mov rdi, rax
lea rax, [rbp + 0x10]
cmp rax, rdi
je 0x1400b5bc0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400b5b92
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b5b8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b5b8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127cb0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rbp - 0x80]
call fcn.14000d000
mov eax, dword [str.ayz7]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140190338]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400b5c10
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016190
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
cmp r8, qword [rsp + 0x50]
jne 0x1400b5c78
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400b5c78
lea rcx, [rsp + 0x40]
call fcn.14000d000
mov rax, qword [0x1401cba88]
mov dword [rax + 0x40], r13d
jmp 0x1400b5dde
lea rcx, [rsp + 0x40]
call fcn.14000d000
mov rax, qword [0x1401cb748]
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
xor r8d, r8d
xor r9d, r9d
xor edx, edx
call rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b5dd4
mov r10, qword [0x1401cb760]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
mov r8d, 0xffff
lea rdx, [rbp + 0x90]
mov rcx, rdi
call r10
test eax, eax
je 0x1400b5dd4
mov rax, qword [0x1401c6918]
movss xmm1, dword [rax + 0x258]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
jp 0x1400b5d88
jne 0x1400b5d88
mov rbx, r12
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 0x1400b5d1f
imul rax, rax, 0x64
jmp 0x1400b5d3a
cqo
idiv rsi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
add rax, rcx
mov qword [rsp + 0x30], rax
test r12d, r12d
je 0x1400b5d7c
js 0x1400b5d7c
imul rdx, rbx, 0xf4240
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rdx
cmp rax, rcx
jge 0x1400b5d77
lea rcx, [rax + rdx]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call fcn.14000d1a0
jmp 0x1400b5dd4
mov qword [rsp + 0x30], r8
lea rcx, [rsp + 0x30]
call fcn.14000d1a0
jmp 0x1400b5dd4
cmp r12d, 0xa
jge 0x1400b5d99
cvttsd2si rax, qword [0x140190490]
jmp 0x1400b5dba
mov eax, 0xcccccccd
mul r12d
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 0x1400b5dd4
mov ebx, eax
nop dword [rax]
mov edx, 0xa
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_Beep]
sub rbx, 1
jne 0x1400b5dc0
mov rcx, rdi
call qword [0x1401cb730]
nop
lea rcx, [rbp + 0x10]
call fcn.14000d000
mov rcx, qword [rbp + 0x10090]
xor rcx, rsp
call fcn.140127920
lea r11, [rsp + 0x101d0]
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