Function at 0x2d9e3b6ce0
Capabilities:
Patch process command line

Disassembly:
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rcx
mov r8d, edx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r15d, r15d
lea rcx, [0x2d9e409610]
mov rdi, rax
mov dword [rsp + 0x30], r15d
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x2d9e409600]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x2d9e3b6d5b
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rax
lea rcx, [0x2d9e409610]
mov dword [rsp + 0x34], r15d
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x2d9e409600]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x2d9e3b6d8c
lea rdx, [rsp + 0x34]
mov rcx, r14
call rax
cmp dword [rsp + 0x30], 1
jne 0x2d9e3b6daa
cmp dword [rsp + 0x34], r15d
jne 0x2d9e3b6daa
mov rdx, r14
mov rcx, rbx
call fcn.2d9e3b69c0
jmp 0x2d9e3b6fbb
lea rcx, [0x2d9e407900]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x2d9e3b6dd2
lea rcx, [0x2d9e407900]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x2d9e3b6f99
lea rdx, [0x2d9e407930]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x2d9e3b6f99
mov r9d, 0x30
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, r14
call rax
test eax, eax
js 0x2d9e3b6f99
mov rdx, qword [rsp + 0x40]
lea r8, [rbp - 0x10]
mov r9d, 0x2c8
mov qword [rsp + 0x20], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x2d9e3b6f99
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov r9d, 0x80
mov qword [rsp + 0x20], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x2d9e3b6f99
movzx ecx, word [rbp - 0x20]
mov eax, 2
inc rcx
mov qword [rsp + 0x430], rsi
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.2d9e3da838
movzx r8d, word [rbp - 0x20]
xor edx, edx
mov rcx, rax
mov rsi, rax
lea r8, [r8*2 + 2]
call fcn.2d9e3e3840
movzx r9d, word [rbp - 0x20]
mov r8, rsi
mov rdx, qword [rbp - 0x18]
mov rcx, r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rbp + 0x2d8], 7
mov qword [rbp + 0x2d0], r15
mov word [rbp + 0x2c0], r15w
cmp word [rsi], r15w
jne 0x2d9e3b6ee0
mov rdi, r15
jmp 0x2d9e3b6eea
inc rdi
cmp word [rsi + rdi*2], r15w
jne 0x2d9e3b6ee0
mov r8, rdi
lea rcx, [rbp + 0x2c0]
mov rdx, rsi
call fcn.2d9e3b3b50
mov rcx, rsi
call fcn.2d9e3da7f4
mov rsi, qword [rsp + 0x430]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
mov rcx, qword [rbp + 0x2d8]
cmp rcx, 8
jae 0x2d9e3b6f51
mov r8, qword [rbp + 0x2d0]
add r8, 1
je 0x2d9e3b6f62
add r8, r8
lea rdx, [rbp + 0x2c0]
mov rcx, rbx
call fcn.2d9e3e2bb0
mov rcx, qword [rbp + 0x2d8]
jmp 0x2d9e3b6f62
mov rax, qword [rbp + 0x2c0]
mov qword [rbx], rax
mov qword [rbp + 0x2c0], r15
mov rax, qword [rbp + 0x2d0]
mov qword [rbx + 0x18], rcx
lea rcx, [rbp + 0x2c0]
mov qword [rbx + 0x10], rax
mov qword [rbp + 0x2d8], 7
mov qword [rbp + 0x2d0], r15
mov word [rbp + 0x2c0], r15w
call fcn.2d9e3b39e0
jmp 0x2d9e3b6fbb
mov qword [rbx + 0x18], 7
lea rdx, [0x2d9e406058]
mov qword [rbx + 0x10], r15
xor r8d, r8d
mov rcx, rbx
mov word [rbx], r15w
call fcn.2d9e3b3b50
mov rax, rbx
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.2d9e3da7d0
add rsp, 0x3f0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret