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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
movaps xmmword [rsp + 0x400], xmm6
xor ebx, ebx
mov dword [rbp + 0x348], 1
lea rdx, [rbp + 0x348]
call fcn.140019100
mov dword [rbp + 0x350], 2
lea rdx, [rbp + 0x350]
call fcn.140019100
call fcn.140019290
lea ecx, [rbx + 8]
call fcn.14012cf58
lea rcx, [0x140014df0]
mov qword [rax], rcx
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14001c370]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x28], rax
test rax, rax
je 0x140016f26
lea ecx, [rbx + 8]
call fcn.14012cf58
lea rcx, [0x140014b20]
mov qword [rax], rcx
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14001c370]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x140016f17
lea ecx, [rbx + 8]
call fcn.14012cf58
lea rcx, [0x140015e80]
mov qword [rax], rcx
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14001c370]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 8], rax
test rax, rax
je 0x140016f08
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rdi, rax
lea edx, [rbx - 0x14]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bts rax, 0x13
mov r8, rax
lea edx, [rbx - 0x14]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea r9d, [rbx + 2]
mov r8b, 0xe1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
mov dword [rbp + 0x358], ebx
mov dword [rbp + 0x35c], 0x13004f
mov dword [rbp + 0x340], 0x140050
lea r8, [rbp + 0x358]
lea edx, [rbx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov edx, dword [rbp + 0x340]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea edi, [rbx + 0xb]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.140015b80
call fcn.140013b90
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1401ef440]
call fcn.14006f030
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x14015c0a8]
call fcn.140001c80
lea rcx, str._n
call fcn.140001c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.__________________Selecione_uma_opcao:_____________________n
call fcn.140001c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._n_n
call fcn.140001c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x14015bb2c]
call fcn.140001c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x14015c170]
call fcn.140001c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x14015c174]
call fcn.140001c80
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._Inserir_Key:
call fcn.140001c80
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], bl
lea rdx, [rbp + 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140019410
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xa0]
call fcn.140017dd0
mov rdx, rax
lea rcx, [0x1401ef440]
call fcn.140070560
cmp byte [0x1401ef650], bl
jne 0x1400163aa
mov dword [rbp + 0x340], 0x908e82
mov byte [rbp + 0x344], 1
lea rcx, [rbp + 0x340]
call fcn.140003c40
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea ecx, [rbx + 4]
call fcn.140013e20
lea rcx, [0x14015c0a8]
call fcn.140001c80
lea rcx, str._n
call fcn.140001c80
lea ecx, [rbx + 0xf]
call fcn.140013e20
lea rcx, str.___________________________ERRO____________________________n
call fcn.140001c80
lea ecx, [rbx + 4]
call fcn.140013e20
lea rcx, str._n_n
call fcn.140001c80
lea ecx, [rbx + 0xf]
call fcn.140013e20
lea rcx, [0x14015bb2c]
call fcn.140001c80
lea ecx, [rbx + 4]
call fcn.140013e20
lea rcx, [0x14015c170]
call fcn.140001c80
lea ecx, [rbx + 0xf]
call fcn.140013e20
lea rcx, [0x14015c174]
call fcn.140001c80
lea ecx, [rbx + 0xf]
call fcn.140013e20
lea rcx, [0x1401ef658]
call fcn.140017c00
mov rdx, rax
lea rcx, str._Status:__s
call fcn.140001c80
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x14015c188]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x4c], 0xc4bec4bd
mov dword [rsp + 0x50], 0xc4b8c4cd
mov dword [rsp + 0x54], 0xc494c481
mov dword [rsp + 0x58], 0xc49ac48e
mov dword [rsp + 0x5c], 0xc498c48b
mov dword [rsp + 0x60], 0xc482c484
mov dword [rsp + 0x64], 0xc494c486
mov dword [rsp + 0x68], 0xc482c48b
mov dword [rsp + 0x6c], 0xc484c498
mov dword [rsp + 0x70], 0xc486c496
mov dword [rsp + 0x74], 0xc499c49d
mov dword [rsp + 0x78], 0xc49bc498
mov dword [rsp + 0x7c], 0xc49fc492
mov dword [rbp - 0x80], 0xc49f
mov byte [rbp - 0x7c], 1
mov rcx, rbx
mov edx, 0x3b1f
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x4c], ax
inc rcx
cmp rcx, 0x1b
jb 0x140016432
mov byte [rbp - 0x7c], 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 + 0x4c]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401ef1c8], rax
test rax, rax
je 0x140016d0d
cmp rax, 0xffffffffffffffff
je 0x140016d0d
lea rdx, [0x140003ca0]
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
movups xmm0, xmmword [0x140161ad0]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x140161ae0]
movsd qword [rbp - 0x10], xmm0
movzx eax, byte [0x140161ae8]
mov byte [rbp - 8], al
mov r8d, ebx
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x140016615
movdqa xmm5, xmmword [0x140163c00]
movdqa xmm4, xmmword [0x140163e30]
movdqa xmm6, xmmword [0x140163c30]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x20]
mov edx, dword [rbp - 0x70]
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, 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 [0x140163c70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], 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 [0x140163c70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140016510
cmp r8d, 0x19
jge 0x140016650
movsxd rax, r8d
lea r9, [rbp - 0x20]
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, 0x19
jl 0x140016620
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140016670
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.140019c30
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rdi
call fcn.14001ae60
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400166e1
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400166dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400166dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012ce30
lea rcx, [0x14015c188]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x40], 0xabafa3b7
mov dword [rsp + 0x44], 0xbca9a7b7
mov dword [rsp + 0x48], 0x100cac9
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x1f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x140016710
mov byte [rsp + 0x4b], 0
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1401ef1b0], rax
lea rdx, [0x140003ca0]
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 [0x140161d28]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [0x140161d38]
movups xmmword [rbp + 0x68], xmm1
movsd xmm0, qword [str._9::2w_X]
movsd qword [rbp + 0x78], xmm0
movzx ecx, byte [0x140161d50]
mov byte [rbp + 0x80], cl
mov r8d, ebx
cmp esi, 2
jl 0x1400168c5
movdqa xmm5, xmmword [0x140163c00]
movdqa xmm4, xmmword [0x140163e30]
movdqa xmm6, xmmword [0x140163c30]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp + 0x58]
mov edx, dword [rbp - 0x70]
nop dword [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, 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 [0x140163c70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], 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 [0x140163c70]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x1400167c0
cmp r8d, 0x29
jge 0x140016900
movsxd rax, r8d
lea r9, [rbp + 0x58]
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, 0x29
jl 0x1400168d0
lea rdx, [rbp + 0x58]
mov rcx, r10
call fcn.1400189e0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rbp + 0xc0], 0x238
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140016970
nop dword [rax + rax]
lea rdx, str.VALORANT_Win64_Shipping.exe
lea rcx, [rbp + 0xec]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rdi
test eax, eax
je 0x140016a12
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140016940
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14000a530
call fcn.14000a0a0
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 0x1400169c8
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 0x1400169a0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x14000dbd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1400129a0
lea r14, [0x1401ef388]
mov qword [rbp - 0x70], r14
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140016bd0
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0xc8]
mov dword [0x1401ef1d0], eax
test eax, eax
je 0x140016979
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401ef844], eax
jle 0x140016a8d
lea rcx, [0x1401ef844]
call fcn.14012cee0
cmp dword [0x1401ef844], 0xffffffff
jne 0x140016a8d
lea rcx, [0x14015b878]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x14015b858]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401f0dc0], rax
lea rcx, [0x1401ef844]
call fcn.14012ce74
mov dword [rbp + 0x340], 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 + 0x340]
mov r8d, Ordinal_50
mov rdx, rax
lea ecx, [r8 + 0x12]
call qword [0x1401f0dc0]
mov edi, dword [rbp + 0x340]
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 + 0x340]
mov r8d, dword [rbp + 0x340]
mov rdx, rax
mov ecx, 0x42
call qword [0x1401f0dc0]
mov rcx, rbx
test rdi, rdi
je 0x140016b72
mov eax, dword [rdi]
test eax, eax
je 0x140016b72
lea rdx, [rdi + 8]
mov r9d, eax
nop dword [rax]
mov rax, qword [rdx]
mov r8, rax
and r8, 0xfffffffffffffffe
test al, 1
je 0x140016b68
cmp qword [rdx + 8], 0x200000
jne 0x140016b68
test rcx, rcx
jne 0x140016b68
cmp dword [rdx + 0x10], 0x546e6f43
cmove rcx, r8
add rdx, 0x18
sub r9, 1
jne 0x140016b40
mov qword [0x1401ef230], rcx
mov qword [0x1401ef2c8], rcx
mov qword [rbp], rbx
mov dword [rbp - 0x40], 0x89067
mov eax, dword [0x1401ef1d0]
mov dword [rbp - 0x3c], eax
lea rax, [rbp]
mov qword [rbp - 0x38], 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, [rbp - 0x40]
mov edx, 0x22225c
mov rcx, qword [0x1401ef1c8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x140016979
mov eax, dword [0x1401ef3d4]
cmp eax, 0x7fffffff
jne 0x140016bf1
dec eax
mov dword [0x1401ef3d4], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r8, qword [0x1401ef360]
mov rdx, qword [0x1401ef358]
cmp rdx, r8
je 0x140016c20
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdx]
mov eax, ebx
xchg byte [rcx], al
add rdx, 0x10
cmp rdx, r8
jne 0x140016c10
mov rdi, qword [0x1401ef340]
mov rsi, qword [0x1401ef348]
cmp rdi, rsi
je 0x140016c6d
mov rbx, qword [rdi]
cmp dword [rbx + 8], 0
je 0x140016c64
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x140016cbc
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x40], xmm0
xor edx, edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140016cb0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rdi, 0x10
cmp rdi, rsi
jne 0x140016c33
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140016cce
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016cc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016cc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.14012ce30
nop
cmp dword [rbp + 0x10], 0
je 0x140016cdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x20], 0
je 0x140016ce8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x30], 0
je 0x140016cf5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
movaps xmm6, xmmword [rsp + 0x400]
add rsp, 0x410
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x14015c188]
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, [0x140003c70]
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 - 0x40]
call fcn.140016f40
mov r9, rax
cmp byte [rax + 0x16], 0
je 0x140016ecc
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140016e92
movdqa xmm5, xmmword [0x140163c00]
movdqa xmm4, xmmword [0x140163e30]
movdqa xmm6, xmmword [0x140163c30]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, rax
mov edx, dword [rbp - 0x70]
nop dword [rax]
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 [0x140163c70]
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 [0x140163c70]
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 0x140016d90
cmp eax, 0x17
jge 0x140016ecc
movsxd r8, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x140016ea0
mov rdx, r9
lea rcx, [rbp + 0xa0]
call fcn.140017d90
nop
mov rdx, rax
mov rcx, rdi
call fcn.140018c20
nop
lea rcx, [rbp + 0xa0]
call fcn.140017ca0
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]
nop
mov dword [rbp + 0x10], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x20], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x30], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3