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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1402d3840]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1402a6470]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], ax
mov r8d, dword [rdx]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, 0x20
mov r13d, reloc.WS2_32.dll_recv
cmp word [rbp - 8], 9
cmove r13d, ecx
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov r14d, 0x40
cmove r14d, ecx
mov dword [rsp + 0x30], r14d
lea eax, [r13 + 8]
mov r12d, eax
mov ecx, eax
call fcn.1401cfb70
mov rdi, rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.140209400
lea eax, [r14 + 0x10]
mov r15d, eax
mov qword [rsp + 0x58], r15
mov ecx, eax
call fcn.1401cfb70
mov r14, rax
mov r8d, r15d
xor edx, edx
mov rcx, rax
call fcn.140209400
xorps xmm0, xmm0
lea rcx, str.ntdll.dll
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
cmp dword [rbp - 0x30], 0
je 0x140007784
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWow64QueryInformationProcess64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 0x58]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x140007659
xor r9d, r9d
xor r8d, r8d
lea rdx, str.NtQueryInformationProcess_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
jmp 0x1400078d5
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWow64ReadVirtualMemory64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov r9, r12
mov r8, rdi
mov rdx, qword [rbp - 0x80]
mov rcx, rsi
call r15
test eax, eax
je 0x1400076ce
lea rdx, str.PEB_NtWow64ReadVirtualMemory64_failed
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
jmp 0x1400078d5
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0x58]
mov r8, r14
mov rdx, qword [r13 + rdi]
mov rcx, rsi
call r15
test eax, eax
je 0x140007726
lea rdx, str.processParameters_NtWow64ReadVirtualMemory64_failed
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
jmp 0x1400078d5
mov edi, dword [rsp + 0x30]
add rdi, r14
movzx ecx, word [rdi + 2]
call fcn.1401cfb70
mov r14, rax
movzx r9d, word [rdi + 2]
mov qword [rsp + 0x20], r12
mov r8, rax
mov rdx, qword [rdi + 8]
mov rcx, rsi
call r15
test eax, eax
je 0x14000775d
lea rdx, str.pCommandLine_NtWow64ReadVirtualMemory64_failed
jmp 0x1400076f4
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp word [r14 + r8*2], r12w
jne 0x140007775
jmp 0x14000787a
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x30]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x1400077c1
lea rdx, str.NtQueryInformationProcess_failed
jmp 0x14000769b
xor eax, eax
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8, rdi
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1400077ec
lea rdx, str.PEB_ReadProcessMemory_failed
jmp 0x14000769b
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, r14
mov rdx, qword [r13 + rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140007818
lea rdx, str.processParameters_ReadProcessMemory_failed
jmp 0x1400076f4
mov edi, dword [rsp + 0x30]
add rdi, r14
movzx ecx, word [rdi + 2]
call fcn.1401cfb70
mov r14, rax
movzx r9d, word [rdi + 2]
mov qword [rsp + 0x20], r12
mov r8, rax
mov rdx, qword [rdi + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140007855
lea rdx, str.pCommandLine_ReadProcessMemory_failed
jmp 0x1400076f4
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [r14 + r8*2], r12w
jne 0x140007870
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.14000a680
movups xmm6, xmmword [rsp + 0x38]
movups xmm7, xmmword [rsp + 0x48]
movdqa xmm0, xmmword [0x1402a6470]
movups xmmword [rbp - 0x28], xmm6
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
lea rcx, [rsp + 0x38]
call fcn.140008630
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
movdqa xmm0, xmmword [0x1402a6470]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
lea rcx, [rbp - 0x28]
call fcn.140008630
mov rax, rbx
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1401c72b0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret