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

Disassembly:
push rbx
sub rsp, 0x5a0
mov rax, qword [0x1400aa0c0]
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 0x140022983
cmp qword [rsp + 0xf8], rbx
jne 0x14002297e
cmp qword [rsp + 0x100], rbx
jne 0x14002297e
cmp qword [rsp + 0x108], rbx
jne 0x14002297e
cmp qword [rsp + 0x110], rbx
jne 0x14002297e
cmp qword [rsp + 0x118], rbx
jne 0x14002297e
cmp qword [rsp + 0x120], rbx
je 0x140022983
mov edi, 1
test edi, edi
mov rdi, qword [rsp + 0x5b0]
je 0x140022b81
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.140017ae0
mov r9, rax
cmp byte [rax + 0x72], bl
je 0x140022b4f
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140022b12
movdqa xmm0, xmmword [str.5555555555555555_t]
mov rcx, rax
movdqa xmm5, xmmword [0x14009c2c0]
movdqa xmm4, xmmword [0x14009c310]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x590], xmm6
movdqa xmm6, xmmword [0x14009c2e0]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x14009c2f0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x14009c2f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp ebx, 0x70
jl 0x140022a00
movaps xmm6, xmmword [rsp + 0x590]
cmp ebx, 0x73
jge 0x140022b4f
movsxd r8, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
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
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x73
jl 0x140022b20
mov rdx, r9
mov rcx, r10
call fcn.140013620
lea rdx, [0x1400137f0]
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.140085210
add rsp, 0x5a0
pop rbx
ret