Function at 0x140024e70
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 [0x140106438]
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 0x140024ed6
cmp ax, 0xc
je 0x140024ed6
lea r12d, [rbx + 0x10]
lea r14d, [rbx + 0x18]
lea r13d, [rbx + 0x40]
lea r15d, [rbx + 0x50]
jmp 0x140024eec
mov r12d, 0x20
mov r14d, 0x28
lea r13d, [r12 + 0x50]
lea r15d, [r12 + 0x60]
mov edx, 1
mov rcx, r14
call fcn.1400966e0
mov rbp, rax
test rax, rax
je 0x1400251da
mov edx, 1
mov rcx, r15
call fcn.1400966e0
mov rsi, rax
test rax, rax
je 0x1400251da
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 0x1400250d3
xor eax, eax
mov qword [rsp + 0xc0], rax
mov rax, qword [0x140153648]
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
test rax, rax
jne 0x140024fc9
lea rcx, str.NtDll
call fcn.140009360
mov rcx, rax
lea rdx, str.NtWow64QueryInformationProcess64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140153648], rax
test rax, rax
jne 0x140024fc9
call fcn.140041e50
mov r9, rax
lea r8, str.NtDll
lea rdx, str.NtWow64QueryInformationProcess64
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x1400251da
cmp qword [0x1401535f8], rbx
jne 0x140025028
lea rcx, str.NtDll
call fcn.140009360
mov rcx, rax
lea rdx, str.NtWow64ReadVirtualMemory64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401535f8], rax
test rax, rax
jne 0x140025021
call fcn.140041e50
mov r9, rax
lea r8, str.NtDll
lea rdx, str.NtWow64ReadVirtualMemory64
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x1400251da
mov rax, qword [0x140153648]
mov r9d, 0x58
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rdi
call rax
test eax, eax
js 0x1400251da
mov rdx, qword [rsp + 0x80]
mov r9, r14
mov r8, rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [0x1401535f8]
test eax, eax
js 0x1400251da
mov rdx, qword [r12 + rbp]
xor r14d, r14d
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, rsi
mov rcx, rdi
call qword [0x1401535f8]
test eax, eax
js 0x1400251da
movzx ecx, word [rsi + r13]
lea edx, [r14 + 2]
inc rcx
call fcn.1400966e0
mov rbx, rax
test rax, rax
je 0x1400251da
movzx r9d, word [rsi + r13]
mov r8, rax
mov rdx, qword [rsi + r13 + 8]
mov rcx, rdi
mov qword [rsp + 0x20], r14
call qword [0x1401535f8]
test eax, eax
jns 0x1400251da
jmp 0x1400251cf
mov rax, qword [0x1401535d8]
test rax, rax
jne 0x14002512e
lea rcx, str.NtDll
call fcn.140009360
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401535d8], rax
test rax, rax
jne 0x14002512e
call fcn.140041e50
mov r9, rax
lea r8, str.NtDll
lea rdx, str.NtQueryInformationProcess
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x1400251da
mov r9d, 0x30
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rdi
call rax
test eax, eax
js 0x1400251da
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 0x1400251da
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 0x1400251da
mov ecx, 0x200
lea edx, [r14 + 2]
cmp word [rsi + r13], cx
cmovb cx, word [rsi + r13]
mov word [rsi + r13], cx
movzx ecx, cx
inc rcx
call fcn.1400966e0
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 0x1400251da
mov rcx, rbx
call fcn.14009b5a0
mov rbx, r14
mov rcx, rbp
call fcn.14009b5a0
mov rcx, rsi
call fcn.14009b5a0
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140092060
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