Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Enumerate process modules

Disassembly:
push rbp
lea rbp, [rsp - 0x1390]
mov eax, 0x1490
call fcn.140042a40
sub rsp, rax
mov rax, qword [0x140059008]
xor rax, rsp
mov qword [rbp + 0x1370], rax
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x1400010c7
lea rcx, str.EnumProcesses_error__n
call fcn.140001010
mov eax, 1
jmp 0x1400013ec
mov qword [rsp + 0x14a0], rbx
mov qword [rsp + 0x14a8], rsi
xor esi, esi
mov qword [rsp + 0x14b0], rdi
mov qword [rsp + 0x1488], r14
mov qword [rsp + 0x1480], r15
mov r15d, dword [rsp + 0x40]
shr r15d, 2
test r15d, r15d
je 0x1400013b6
lea r14, [rsp + 0x50]
nop dword [rax + rax]
mov edi, dword [r14]
test edi, edi
je 0x1400013a7
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x140056520]
lea rcx, [rbp + 0xf64]
xor edx, edx
mov dword [rbp + 0xf60], eax
mov r8d, 0x1f4
movaps xmmword [rbp + 0xf50], xmm0
call fcn.1400086e0
mov r8d, edi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001199
lea r9, [rsp + 0x3c]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140001199
mov rdx, qword [rsp + 0x30]
lea r8, [rbp + 0xf50]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
cmp word [rbp + 0xf50], 0x53
jne 0x140001399
cmp word [rbp + 0xf5c], 0x44
jne 0x140001399
cmp word [rbp + 0xf5e], 0x2e
jne 0x140001399
test rbx, rbx
je 0x1400011d1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400013a7
mov rcx, rax
mov qword [rsp + 0x14b8], r13
call qword [sym.imp.KERNEL32.dll_GetProcessId]
lea rcx, str.Shapr_found__n
call fcn.140001010
lea r9, [rsp + 0x3c]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400012fe
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x1400012fe
mov edx, eax
lea ecx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
je 0x1400012fe
mov r8d, dword [rsp + 0x3c]
lea r9, [rsp + 0x3c]
mov r14d, r8d
mov rdx, rax
mov rcx, rbx
shr r14d, 3
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400012f5
mov r13, qword [r15]
lea rcx, str._016llx_n
mov rdx, r13
call fcn.140001010
xor edi, edi
test r14d, r14d
je 0x1400012f5
mov rsi, r15
nop dword [rax]
mov rdx, qword [rsi]
lea r8, [rbp + 0x1160]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400012ea
lea rcx, [rbp + 0x1160]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400012c0
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x1156], 0x44
jne 0x1400012ea
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x115e], 0x6c
je 0x140001404
inc edi
add rsi, 8
cmp edi, r14d
jb 0x140001290
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, r13
lea rcx, str.Shapr3D.dll_base_addr_____016llx_n
call fcn.140001010
mov ecx, 6
call fcn.140001680
mov rdi, rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x38]
mov r9d, 0x40
mov r8d, 0x10000
mov qword [rsp + 0x20], rax
lea rdx, [r13 + 0x1f20000]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x30]
mov dword [rdi], 0x27ce9
lea rdx, [r13 + 0x1f227df]
mov qword [rsp + 0x20], rax
mov r9d, 6
mov word [rdi + 4], 0x9000
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001410
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed__error_code____0x_08x_n
call fcn.140001010
jmp 0x140001421
test rbx, rbx
je 0x1400013a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add r14, 4
cmp esi, r15d
jb 0x140001110
lea rcx, str.Shapr_NOT_found__Is_not_running__n
call fcn.140001010
mov r15, qword [rsp + 0x1480]
xor eax, eax
mov r14, qword [rsp + 0x1488]
mov rdi, qword [rsp + 0x14b0]
mov rsi, qword [rsp + 0x14a8]
mov rbx, qword [rsp + 0x14a0]
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.140001660
add rsp, 0x1490
pop rbp
ret
movsxd rax, edi
mov r13, qword [r15 + rax*8]
jmp 0x1400012fe
mov rdx, qword [rsp + 0x30]
lea rcx, str.WriteProcessMemory_success______08llx_bytes_written._n
call fcn.140001010
lea rax, [rsp + 0x30]
mov word [rdi], 0xcba
lea rdx, [r13 + 0x1f22a6a]
mov qword [rsp + 0x20], rax
mov r9d, 2
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001463
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed__error_code____0x_08x_n
call fcn.140001010
jmp 0x140001474
mov rdx, qword [rsp + 0x30]
lea rcx, str.WriteProcessMemory_success______08llx_bytes_written._n
call fcn.140001010
mov r9d, dword [rsp + 0x38]
lea rax, [rsp + 0x38]
mov r8d, 0x10000
mov qword [rsp + 0x20], rax
lea rdx, [r13 + 0x1f20000]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x38]
mov r9d, 0x40
mov r8d, 0x10000
mov qword [rsp + 0x20], rax
lea rdx, [r13 + 0x14e0000]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x30]
mov dword [rdi], 0xc0fec032
lea rdx, [r13 + 0x14e08c0]
mov qword [rsp + 0x20], rax
mov r9d, 5
mov byte [rdi + 4], 0xc3
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001506
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed__error_code____0x_08x_n
call fcn.140001010
jmp 0x140001517
mov rdx, qword [rsp + 0x30]
lea rcx, str.WriteProcessMemory_success______08llx_bytes_written._n
call fcn.140001010
mov r9d, dword [rsp + 0x38]
lea rax, [rsp + 0x38]
mov r8d, 0x10000
mov qword [rsp + 0x20], rax
lea rdx, [r13 + 0x14e0000]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x38]
mov r9d, 0x40
lea rsi, [r13 + 0x1f00000]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x30]
mov word [rdi], 0x3348
lea rdx, [r13 + 0x1f01990]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov byte [rdi + 2], 0xc0
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400015ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed__error_code____0x_08x_n
call fcn.140001010
jmp 0x1400015bc
mov rdx, qword [rsp + 0x30]
lea rcx, str.WriteProcessMemory_success______08llx_bytes_written._n
call fcn.140001010
lea rax, [rsp + 0x30]
mov dword [rdi], 0x90909090
lea rdx, [r13 + 0x1f019c7]
mov qword [rsp + 0x20], rax
mov r9d, 6
mov word [rdi + 4], 0x9090
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r13, qword [rsp + 0x14b8]
test eax, eax
jne 0x14000160d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed__error_code____0x_08x_n
call fcn.140001010
jmp 0x14000161e
mov rdx, qword [rsp + 0x30]
lea rcx, str.WriteProcessMemory_success______08llx_bytes_written._n
call fcn.140001010
mov r9d, dword [rsp + 0x38]
lea rax, [rsp + 0x38]
mov r8d, 0x10000
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x1400013c2