Function at 0x14002b890
Capabilities:
Get system information on windows
Patch process command line

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x38]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x38]
cmp ax, 9
je 0x14002b8fe
cmp ax, 0xc
je 0x14002b8fe
mov r12d, 0x10
mov r13d, 0x40
mov r14d, 0x18
mov r15d, 0x50
jmp 0x14002b916
mov r12d, 0x20
mov r13d, 0x70
mov r14d, 0x28
mov r15d, 0x80
mov edx, 1
mov rcx, r14
call fcn.1400c4f6c
mov rbp, rax
test rax, rax
je 0x14002bc06
mov edx, 1
mov rcx, r15
call fcn.1400c4f6c
mov rsi, rax
test rax, rax
je 0x14002bc06
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
cmp dword [rsp + 0x30], ebx
je 0x14002bafe
xor eax, eax
mov qword [rsp + 0xc0], rax
mov rax, qword [0x1401e10d8]
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
test rax, rax
jne 0x14002b9f3
lea rcx, str.NtDll
call fcn.14002ae20
mov rcx, rax
lea rdx, str.NtWow64QueryInformationProcess64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e10d8], rax
test rax, rax
jne 0x14002b9f3
call fcn.14004fba0
mov r9, rax
lea r8, str.NtDll
lea rdx, str.NtWow64QueryInformationProcess64
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f2f0
jmp 0x14002bc06
cmp qword [0x1401e1088], rbx
jne 0x14002ba52
lea rcx, str.NtDll
call fcn.14002ae20
mov rcx, rax
lea rdx, str.NtWow64ReadVirtualMemory64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e1088], rax
test rax, rax
jne 0x14002ba4b
call fcn.14004fba0
mov r9, rax
lea r8, str.NtDll
lea rdx, str.NtWow64ReadVirtualMemory64
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f2f0
jmp 0x14002bc06
mov rax, qword [0x1401e10d8]
mov r9d, 0x58
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rdi
call rax
test eax, eax
js 0x14002bc06
mov rdx, qword [rsp + 0x80]
mov r9, r14
mov r8, rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [0x1401e1088]
test eax, eax
js 0x14002bc06
mov rdx, qword [r12 + rbp]
xor r14d, r14d
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, rsi
mov rcx, rdi
call qword [0x1401e1088]
test eax, eax
js 0x14002bc06
movzx ecx, word [rsi + r13]
mov edx, 2
inc rcx
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x14002bc06
movzx r9d, word [rsi + r13]
mov r8, rax
mov rdx, qword [rsi + r13 + 8]
mov rcx, rdi
mov qword [rsp + 0x20], r14
call qword [0x1401e1088]
test eax, eax
jns 0x14002bc06
jmp 0x14002bbfb
mov rax, qword [0x1401e1068]
test rax, rax
jne 0x14002bb59
lea rcx, str.NtDll
call fcn.14002ae20
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e1068], rax
test rax, rax
jne 0x14002bb59
call fcn.14004fba0
mov r9, rax
lea r8, str.NtDll
lea rdx, str.NtQueryInformationProcess
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f2f0
jmp 0x14002bc06
mov r9d, 0x30
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rdi
call rax
test eax, eax
js 0x14002bc06
mov rdx, qword [rsp + 0x78]
mov r9, r14
mov r8, rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14002bc06
mov rdx, qword [r12 + rbp]
xor r14d, r14d
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14002bc06
mov ecx, 0x200
mov edx, 2
cmp word [rsi + r13], cx
cmovb cx, word [rsi + r13]
mov word [rsi + r13], cx
movzx ecx, cx
inc rcx
call fcn.1400c4f6c
movzx r9d, word [rsi + r13]
mov r8, rax
mov rdx, qword [rsi + r13 + 8]
mov rcx, rdi
mov rbx, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14002bc06
mov rcx, rbx
call fcn.1400e8c70
mov rbx, r14
mov rcx, rbp
call fcn.1400e8c70
mov rcx, rsi
call fcn.1400e8c70
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400b2a30
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret