Function at 0x14001f950
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbx
sub rsp, 0x5a0
mov rax, qword [0x1400ae0c0]
xor rax, rsp
mov qword [rsp + 0x580], rax
xor ebx, ebx
mov qword [rsp + 0x5b0], rdi
xor edx, edx
lea rcx, [rsp + 0xb0]
mov r8d, 0x4d0
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0xb0]
mov dword [rsp + 0xe0], 0x100010
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14001f9f3
cmp qword [rsp + 0xf8], rbx
jne 0x14001f9ee
cmp qword [rsp + 0x100], rbx
jne 0x14001f9ee
cmp qword [rsp + 0x108], rbx
jne 0x14001f9ee
cmp qword [rsp + 0x110], rbx
jne 0x14001f9ee
cmp qword [rsp + 0x118], rbx
jne 0x14001f9ee
cmp qword [rsp + 0x120], rbx
je 0x14001f9f3
mov edi, 1
test edi, edi
mov rdi, qword [rsp + 0x5b0]
je 0x14001fbdf
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x30]
call fcn.140015030
mov r9, rax
cmp byte [rax + 0x72], bl
je 0x14001fbad
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001fb7a
movdqa xmm0, xmmword [str.1111111111111111]
mov rcx, rax
movdqa xmm5, xmmword [0x1400a07f0]
movdqa xmm4, xmmword [0x1400a0840]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x590], xmm6
movdqa xmm6, xmmword [0x1400a0810]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400a0820]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a0820]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp ebx, 0x70
jl 0x14001fa70
movaps xmm6, xmmword [rsp + 0x590]
cmp ebx, 0x73
jge 0x14001fbad
movsxd r8, ebx
add r8, r9
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x73
jl 0x14001fb80
mov rdx, r9
mov rcx, r10
call fcn.140003fd0
lea rdx, [0x1400041a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.140089510
add rsp, 0x5a0
pop rbx
ret