Function at 0x1400158e0
Capabilities:
Check for foreground window switch
Create thread
Encode data using xor
Enumerate processes
Execute command
Set console window title
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x330
movaps xmmword [rax - 0x28], xmm6
xor ebx, ebx
mov dword [rbp + 0x250], ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rdx, eax
lea rax, str..exe
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rdx + r8], bl
jne 0x140015935
lea rcx, [rbp - 0x40]
call fcn.140018170
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], rdx
mov byte [rbp - 0x80], 0
mov dword [rbp + 0x250], 1
test eax, eax
jle 0x1400159e1
mov esi, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, eax
mov eax, 0x80808081
imul r9d
add edx, r9d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r9d, ecx
inc r9b
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
cmp rcx, rdx
jae 0x1400159ce
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x80]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400159d7
lea rcx, [rbp - 0x80]
call fcn.1400182c0
sub rsi, 1
jne 0x140015977
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x80]
cmp rdx, 0xf
cmova rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140015a33
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015a2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015a2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012b6f4
call fcn.1400155f0
call fcn.1400150d0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1401efe40]
call fcn.14006d8f0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x140159dec]
call fcn.140001c50
lea rcx, str._n
call fcn.140001c50
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.__________________Selecione_uma_opcao:_____________________n
call fcn.140001c50
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._n_n
call fcn.140001c50
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x140159c5c]
call fcn.140001c50
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x140159eb0]
call fcn.140001c50
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x140159eb4]
call fcn.140001c50
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._Inserir_Key:
call fcn.140001c50
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x140161880]
movdqu xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x60], 0
lea rdx, [rbp - 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140017c80
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140016f10
mov rdx, rax
lea rcx, [0x1401efe40]
call fcn.14006ee20
cmp byte [0x1401f0050], 0
jne 0x140015ca7
mov dword [rbp + 0x250], 0xc4dad6
mov byte [rbp + 0x254], 1
lea rcx, [rbp + 0x250]
call fcn.1400042c0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 4
call fcn.140015360
lea rcx, [0x140159dec]
call fcn.140001c50
lea rcx, str._n
call fcn.140001c50
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140015360
lea rcx, str.___________________________ERRO____________________________n
call fcn.140001c50
mov ecx, 4
call fcn.140015360
lea rcx, str._n_n
call fcn.140001c50
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140015360
lea rcx, [0x140159c5c]
call fcn.140001c50
mov ecx, 4
call fcn.140015360
lea rcx, [0x140159eb0]
call fcn.140001c50
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140015360
lea rcx, [0x140159eb4]
call fcn.140001c50
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140015360
lea rcx, [0x1401f0058]
call fcn.140016c20
mov rdx, rax
lea rcx, str._Status:__s
call fcn.140001c50
mov ecx, 0x9c4
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
lea rcx, [0x140159ec8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x50], 0x3aea3ae9
mov dword [rsp + 0x54], 0x3ae43a99
mov dword [rsp + 0x58], 0x3adb3ad1
mov dword [rsp + 0x5c], 0x3ad83ac9
mov dword [rsp + 0x60], 0x3adf3aca
mov dword [rsp + 0x64], 0x3aa53acd
mov dword [rsp + 0x68], 0x3aac3ab4
mov dword [rsp + 0x6c], 0x3aab3aaf
mov dword [rsp + 0x70], 0x3aad3aa6
mov dword [rsp + 0x74], 0x3aac3aa2
mov word [rsp + 0x78], bx
mov byte [rsp + 0x7a], 1
mov rcx, rbx
mov edx, 0x3ab5
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x50], ax
inc rcx
cmp rcx, 0x14
jb 0x140015d20
mov byte [rsp + 0x7a], 0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401efc70], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14001652d
lea rdx, [0x140004320]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rsi, rax
movups xmm0, xmmword [0x14015f870]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x14015f880]
movsd qword [rbp - 0x70], xmm0
movzx eax, byte [0x14015f888]
mov byte [rbp - 0x68], al
mov r8d, ebx
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x140015ef5
movdqa xmm5, xmmword [0x1401618b0]
movdqa xmm4, xmmword [0x140161a90]
movdqa xmm6, xmmword [0x1401618e0]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
nop dword [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, 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
andps xmm2, xmmword [0x140161920]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140161920]
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, 0x18
jl 0x140015df0
cmp r8d, 0x19
jge 0x140015f30
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop
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, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x140015f00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp - 0x80]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015f45
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140018170
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400191f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140015fbf
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015fba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015fba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012b6f4
lea rcx, [0x140159ec8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x40], 0xf7fbf7e3
mov dword [rsp + 0x44], 0xe8f5fbeb
mov dword [rsp + 0x48], 0x1009e9d
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x4b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x140015ff0
mov byte [rsp + 0x4b], 0
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1401efc58], rax
lea rdx, [0x140004320]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 r10, rax
movups xmm0, xmmword [0x14015f818]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x14015f828]
movups xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [str.___80ySZ]
movsd qword [rsp + 0x70], xmm0
movzx ecx, byte [0x14015f840]
mov byte [rsp + 0x78], cl
mov r8d, ebx
cmp r14d, 2
jl 0x1400161a5
movdqa xmm5, xmmword [0x1401618b0]
movdqa xmm4, xmmword [0x140161a90]
movdqa xmm6, xmmword [0x1401618e0]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop dword [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, 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
andps xmm2, xmmword [0x140161920]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140161920]
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, 0x28
jl 0x1400160a0
cmp r8d, 0x29
jge 0x1400161e0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, 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, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x29
jl 0x1400161b0
lea rdx, [rsp + 0x50]
mov rcx, r10
call fcn.140017640
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rbp - 0x20], 0x238
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14001623d
lea rdx, str.VALORANT_Win64_Shipping.exe
lea rcx, [rbp + 0xc]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rdi
test eax, eax
je 0x140016300
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140016213
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14000a8c0
call fcn.14000a430
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
lea rdx, str.VALORANT
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rdi, rax
je 0x140016298
nop dword [rax]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
lea rdx, str.VALORANT
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rdi, rax
jne 0x140016270
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x14000dec0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140013ee0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400164d0
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400164ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400164ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x18]
mov dword [0x1401efc78], eax
test eax, eax
je 0x140016246
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401f021c], eax
jle 0x140016378
lea rcx, [0x1401f021c]
call fcn.14012b7a4
cmp dword [0x1401f021c], 0xffffffff
jne 0x140016378
lea rcx, [0x1401597a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140159788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401f0408], rax
lea rcx, [0x1401f021c]
call fcn.14012b738
mov dword [rbp + 0x250], ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor r8d, r8d
lea edx, [r8 + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r9d, 0xff
mov r8, rdi
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rsi, rax
lea r9, [rbp + 0x250]
mov r8d, Ordinal_50
mov rdx, rax
lea ecx, [r8 + 0x12]
call qword [0x1401f0408]
mov edi, dword [rbp + 0x250]
add edi, 0x1f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9d, edi
mov r8, rsi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdi, rax
lea r9, [rbp + 0x250]
mov r8d, dword [rbp + 0x250]
mov rdx, rax
mov ecx, 0x42
call qword [0x1401f0408]
mov rcx, rbx
test rdi, rdi
je 0x140016462
mov eax, dword [rdi]
test eax, eax
je 0x140016462
lea rdx, [rdi + 0x18]
mov r9d, eax
nop dword [rax + rax]
mov rax, qword [rdx - 0x10]
mov r8, rax
and r8, 0xfffffffffffffffe
test al, 1
je 0x140016458
cmp qword [rdx - 8], 0x200000
jne 0x140016458
test rcx, rcx
jne 0x140016458
cmp dword [rdx], 0x546e6f43
cmove rcx, r8
add rdx, 0x18
sub r9, 1
jne 0x140016430
mov qword [0x1401efcd0], rcx
mov qword [0x1401efd68], rcx
mov qword [rbp + 0x258], rbx
mov dword [rsp + 0x40], 0x14bb50d0
mov eax, dword [0x1401efc78]
mov dword [rsp + 0x44], eax
lea rax, [rbp + 0x258]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x40]
mov edx, 0x265408
mov rcx, qword [0x1401efc70]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x140016246
call fcn.14012b6f4
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001650e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016509
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016509
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012b6f4
xor eax, eax
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [0x140159ec8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x1400042f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rdi, rax
lea rdx, [rbp - 0x80]
call fcn.140016730
mov r9, rax
cmp byte [rax + 0x16], 0
je 0x1400166ec
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400166b2
movdqa xmm5, xmmword [0x1401618b0]
movdqa xmm4, xmmword [0x140161a90]
movdqa xmm6, xmmword [0x1401618e0]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x40], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x40]
nop
movd xmm2, ebx
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, 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
andps xmm2, xmmword [0x140161920]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140161920]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x1400165b0
cmp eax, 0x17
jge 0x1400166ec
movsxd r8, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
sub al, cl
add al, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x1400166c0
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.140016ed0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140017880
nop
lea rcx, [rsp + 0x50]
call fcn.140016cc0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3