Function at 0x1400113ca
Capabilities:
Patch process command line

Disassembly:
jmp 0x140011a60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x738
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x132
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x758]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x6f8], rax
lea rcx, [0x14002416d]
call fcn.140011393
mov dword [rbp + 0x3e0], 0x88
lea rax, [rbp + 0x3e4]
mov rdi, rax
xor eax, eax
mov ecx, 0x84
rep stosb byte [rdi], al
xor eax, eax
mov word [rbp + 0x484], ax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x4a8], rax
lea rax, [rbp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 8]
xor edx, edx
mov rcx, qword [rbp + 0x720]
call qword [rbp + 0x4a8]
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x2c8
lea r8, [rbp + 0xa0]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140011b5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_get_remote_PEB___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x88
lea r8, [rbp + 0x3e0]
mov rdx, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140011baa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_get_remote_parameters___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
lea rcx, str.C:WindowsSystem32_
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov word [rbp + 0x484], ax
movzx eax, word [rbp + 0x418]
movzx ecx, word [rbp + 0x484]
cmp eax, ecx
jge 0x140011bf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_CurrentDirectory_in_remote_PEB___new_value_too_long___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x2a
lea r8, str.C:WindowsSystem32_
mov rdx, qword [rbp + 0x420]
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011c3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_CurrentDirectory_in_remote_PEB___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
mov rax, qword [rbp + 0xc0]
add rax, 0x38
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, [rbp + 0x484]
mov rdx, rax
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011c90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_CurrentDirectory_size_in_remote_PEB___d___n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
lea rcx, str.C:windows_system32_notepad.exe
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov word [rbp + 0x484], ax
movzx eax, word [rbp + 0x440]
movzx ecx, word [rbp + 0x484]
cmp eax, ecx
jge 0x140011cd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_ImagePathName_in_remote_PEB___new_value_too_long___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, str.C:windows_system32_notepad.exe
mov rdx, qword [rbp + 0x448]
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011d23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_ImagePathName_in_remote_PEB___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
mov rax, qword [rbp + 0xc0]
add rax, 0x60
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, [rbp + 0x484]
mov rdx, rax
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011d76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_ImagePathName_size_in_remote_PEB___d___n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
lea rcx, str.notepad.exe
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov word [rbp + 0x484], ax
movzx eax, word [rbp + 0x450]
movzx ecx, word [rbp + 0x484]
cmp eax, ecx
jge 0x140011dbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_CMDline_in_remote_PEB___new_value_too_long___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x18
lea r8, str.notepad.exe
mov rdx, qword [rbp + 0x458]
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011e06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_CMDline_in_remote_PEB___d__n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
mov rax, qword [rbp + 0xc0]
add rax, 0x70
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, [rbp + 0x484]
mov rdx, rax
mov rcx, qword [rbp + 0x720]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011e56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error:_Could_not_update_CMDline_size_in_remote_PEB___d___n
call fcn.1400111a4
mov eax, 1
jmp 0x140011e58
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ae00]
call fcn.14001132a
mov rax, rdi
mov rcx, qword [rbp + 0x6f8]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x708]
pop rdi
pop rbp
ret