Function at 0x1400012e0
Capabilities:
Allocate or change rwx memory
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x3f], rax
call fcn.140001230
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001840
nop
call fcn.140001230
mov ebx, eax
test eax, eax
je 0x140001320
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
xor r14d, r14d
movabs r15, 0x140080a41
mov rdi, qword [rbp + 0x17]
nop
mov qword [rbp + 0x17], r14
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x17]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
cmovne rdi, qword [rbp + 0x17]
test rdi, rdi
je 0x140001350
mov ecx, 0xc80
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x17], 0xf8e9
mov word [rbp + 0x1b], 0x9000
mov ecx, 6
call fcn.140001dd0
mov rdi, rax
mov r8d, 6
lea rdx, [rbp + 0x17]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov dword [rbp + 0x1f], r14d
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3a]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r14
mov r9d, 6
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x1f]
mov r8d, 6
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test rdi, rdi
je 0x140001420
mov edx, 6
mov rcx, rdi
call fcn.140001e0c
mov rdx, r15
lea rcx, str.patched_address:__p_n_n
call fcn.140001010
lea r9, [rbp + 0x3c]
test ebx, ebx
jns 0x140001470
neg ebx
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140001440
dec r9
mov byte [r9], 0x2d
jmp 0x140001496
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140001470
mov qword [rbp - 9], r14
mov r8, r14
mov qword [rbp + 7], r14
mov ecx, 0xf
mov qword [rbp + 0xf], rcx
mov byte [rbp - 9], r8b
lea rax, [rbp + 0x3c]
cmp r9, rax
je 0x1400014d2
lea r8, [rbp + 0x3c]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 9]
call fcn.1400016e0
mov rcx, qword [rbp + 0xf]
mov r8, qword [rbp + 7]
mov rax, rcx
sub rax, r8
mov esi, 5
cmp rax, rsi
jb 0x140001561
lea rax, [r8 + 5]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 9]
lea rax, [0x14000343d]
lea r15, str.pid:
cmp rax, rbx
jbe 0x140001525
lea rax, [rbx + r8]
cmp r15, rax
ja 0x140001525
cmp rbx, r15
ja 0x14000151d
mov rdi, r14
jmp 0x140001528
mov rdi, rbx
sub rdi, r15
jmp 0x140001528
mov rdi, rsi
lea rcx, [rbx + 5]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub rsi, rdi
lea rdx, [r15 + 5]
add rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 9]
jmp 0x140001572
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rbp - 9]
call fcn.140001c30
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a70
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400015f9
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001e0c
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140001647
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001642
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001e0c
lea rcx, str._npause__nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140001db0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret