Function at 0x1400b6bf0
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.140129f00
sub rsp, rax
movaps xmmword [rsp + 0x101c0], xmm6
movaps xmmword [rsp + 0x101b0], xmm7
movaps xmmword [rsp + 0x101a0], xmm8
mov rax, qword [0x1401b06f8]
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 0x1400b72b7
movups xmm0, xmmword [str.DRb_ULSE]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x1401924f8]
mov word [rsp + 0x50], ax
lea esi, [rdx + 3]
lea r14d, [r13 + 0x1f]
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1401924f9], r13b
je 0x1400b6e30
mov r8d, r13d
cmp r15d, 2
jl 0x1400b6df3
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192ab0]
movd xmm6, esi
movdqa xmm7, xmmword [0x140192880]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140192a20]
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 [0x140192a00]
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 [0x140192a00]
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 0x1400b6cf0
cmp r8d, 0x12
jge 0x1400b6e30
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1400b6e00
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 0x1400b6e51
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140016340
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400b50f0
mov rdi, rax
lea rax, [rbp + 0x10]
cmp rax, rdi
je 0x1400b6eef
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400b6ec1
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b6ebc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, r14
jbe 0x1400b6ebc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140129630
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.14000d220
mov eax, dword [0x1401924dc]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401924e0]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x31
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
xor al, 0x34
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 0x1400b6f40
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016340
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 0x1400b6f90
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b75ce
lea rcx, [rsp + 0x40]
call fcn.14000d220
movups xmm0, xmmword [0x140192480]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x140192490]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1401924a0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1401924b0]
movups xmmword [rbp - 0x10], xmm1
mov eax, dword [0x1401924c0]
mov dword [rbp], eax
mov r8d, r13d
cmp r15d, 2
jl 0x1400b7123
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192ab0]
movd xmm6, esi
movdqa xmm7, xmmword [0x140192880]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140192a20]
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 [0x140192a00]
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 [0x140192a00]
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 0x1400b7020
cmp r8d, 0x44
jge 0x1400b7160
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x44
jl 0x1400b7130
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 0x1400b7176
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140016340
nop
movzx eax, word [0x1401924fc]
mov word [rsp + 0x30], ax
cmp byte [0x1401924fd], 0
je 0x1400b71ad
mov byte [rsp + 0x30], Ordinal_41
xor byte [rsp + 0x31], 0x31
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 0x1400b71c3
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016340
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.140078570
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.140016480
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400b7269
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7264
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b7264
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140129630
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1401927f0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call fcn.14000d220
nop
lea rcx, [rbp - 0x80]
call fcn.14000d220
nop
lea rcx, [rsp + 0x40]
call fcn.14000d220
nop
lea rcx, [rbp - 0x60]
jmp 0x1400b75ed
movups xmm0, xmmword [0x1401924c8]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x1401924d8]
mov word [rsp + 0x50], ax
cmp byte [0x1401924d9], 0
je 0x1400b7470
mov r8d, r13d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400b7433
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192ab0]
mov esi, 4
movd xmm6, esi
movdqa xmm7, xmmword [0x140192880]
mov r14d, Ordinal_33
movd xmm8, r14d
movdqa xmm0, xmmword [0x140192a20]
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 [0x140192a00]
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 [0x140192a00]
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 0x1400b7330
cmp r8d, 0x12
jge 0x1400b7470
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1400b7440
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 0x1400b7491
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140016340
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400b50f0
mov rdi, rax
lea rax, [rbp + 0x10]
cmp rax, rdi
je 0x1400b7530
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400b7502
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b74fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b74fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140129630
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.14000d220
mov eax, dword [0x1401924dc]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401924e0]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x31
xor byte [rsp + 0x32], 0x32
xor byte [rsp + 0x33], 0x33
xor al, 0x34
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 0x1400b7580
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016340
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 0x1400b75e8
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400b75e8
lea rcx, [rsp + 0x40]
call fcn.14000d220
mov rax, qword [0x1401cda88]
mov dword [rax + 0x40], r13d
jmp 0x1400b774e
lea rcx, [rsp + 0x40]
call fcn.14000d220
mov rax, qword [0x1401cd758]
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 0x1400b7744
mov r10, qword [0x1401cd770]
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 0x1400b7744
mov rax, qword [0x1401c8928]
movss xmm1, dword [rax + 0x280]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
jp 0x1400b76f8
jne 0x1400b76f8
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 0x1400b768f
imul rax, rax, 0x64
jmp 0x1400b76aa
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 0x1400b76ec
js 0x1400b76ec
imul rdx, rbx, 0xf4240
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rdx
cmp rax, rcx
jge 0x1400b76e7
lea rcx, [rax + rdx]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call fcn.14000d3c0
jmp 0x1400b7744
mov qword [rsp + 0x30], r8
lea rcx, [rsp + 0x30]
call fcn.14000d3c0
jmp 0x1400b7744
cmp r12d, 0xa
jge 0x1400b7709
cvttsd2si rax, qword [0x1401925f0]
jmp 0x1400b772a
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 0x1400b7744
mov ebx, eax
nop dword [rax]
mov edx, 0xa
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_Beep]
sub rbx, 1
jne 0x1400b7730
mov rcx, rdi
call qword [0x1401cd740]
nop
lea rcx, [rbp + 0x10]
call fcn.14000d220
mov rcx, qword [rbp + 0x10090]
xor rcx, rsp
call fcn.1401292a0
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