Function at 0x140005c30
Capabilities:
Patch process command line

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
mov rax, qword [0x1400f0028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor r15d, r15d
mov qword [r11 - 0x78], r15
movdqa xmm0, xmmword [0x1400da330]
movdqu xmmword [r11 - 0x68], xmm0
mov word [r11 - 0x78], r15w
mov r8d, dword [rdx]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0x30]
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, r14
call rax
test eax, eax
je 0x140005d17
xor r9d, r9d
xor r8d, r8d
lea rdx, str.NtQueryInformationProcess_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140005eb7
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], rax
mov qword [rsp + 0x20], r15
lea r9d, [rax + 0x28]
mov r8, rsi
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140005d89
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PEB_ReadProcessMemory_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140005eb7
mov ecx, 0x80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
mov qword [rsp + 0x20], r15
mov r9d, 0x80
mov r8, rax
mov rdx, qword [rsi + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140005e0e
xor r9d, r9d
xor r8d, r8d
lea rdx, str.processParameters_ReadProcessMemory_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140005eb7
mov rsi, qword [rdi + 0x78]
movzx edi, word [rdi + 0x72]
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
mov qword [rsp + 0x20], r15
mov r9d, edi
mov r8, rax
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140005e6f
xor r9d, r9d
xor r8d, r8d
lea rdx, str.pCommandLine_ReadProcessMemory_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x140005eb7
mov qword [rsp + 0x38], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbp + r8*2], 0
jne 0x140005e84
mov rdx, rbp
lea rcx, [rsp + 0x38]
call fcn.140008ac0
movups xmm6, xmmword [rsp + 0x38]
movups xmm7, xmmword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a4570
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret