Function at 0x140023fd0
Capabilities:
Encode data using xor
Execute command
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor edx, edx
lea rcx, [0x1400f2ed8]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x1400241db
lea rdx, [rsp + 0x30]
call fcn.1400243e0
mov edi, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
mov rcx, rax
cmp byte [rax + 3], bl
je 0x1400240d0
cmp edi, 2
jl 0x140024098
movdqa xmm3, xmmword [0x1400fa570]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400fa6c0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400fa6c0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400fa610]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fa6b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400fa6d0]
xorps xmm2, xmm0
movd dword [rax], xmm2
jmp 0x1400240d0
mov r9, rcx
mov r8d, ebx
nop
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400240a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140004ff0]
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 rcx, rax
lea rdx, str._n_n_FiveM_not_found__Start_FiveM_before_injecting_the_cheat_.
call fcn.14000d050
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x30]
call fcn.1400243e0
mov rcx, rax
cmp byte [rax + 3], bl
je 0x1400241cc
cmp edi, 2
jl 0x14002419b
movdqa xmm3, xmmword [0x1400fa570]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400fa6c0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400fa6c0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400fa610]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fa6b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400fa6d0]
xorps xmm2, xmm0
movd dword [rax], xmm2
jmp 0x1400241cc
mov r8, rcx
nop
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
inc ebx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 4
jl 0x1400241a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [str.S_A3]
xor ebx, ebx
cmp byte [0x1400f2f2b], bl
mov qword [rsp + 0x38], rsi
mov esi, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x30], eax
je 0x1400242c0
cmp esi, 2
jl 0x140024281
movdqa xmm3, xmmword [0x1400fa570]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400fa6c0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400fa6c0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400fa610]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fa6b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400fa6d0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x1400242c0
lea r9, [rsp + 0x30]
mov r8d, ebx
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140024290
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x1400f2f2b], bl
mov eax, dword [str.S_A3]
mov dword [rsp + 0x30], eax
je 0x14002439c
cmp esi, 2
jl 0x140024364
movdqa xmm3, xmmword [0x1400fa570]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400fa6c0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400fa6c0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400fa610]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fa6b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400fa6d0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x14002439c
lea r8, [rsp + 0x30]
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 4
jl 0x140024370
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rdi + 0x28]
lea rdx, [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rdi + 8]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov qword [rdi], rax
add rsp, 0x20
pop rdi
ret