Function at 0x140005c58
Capabilities:
Allocate or change rwx memory
Attach user process memory
Contain obfuscated stackstrings
Find process by pid

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x140011ca0]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r12d, r12d
mov r14d, r8d
mov rsi, rdx
mov r15d, ecx
mov edx, 0x1000
mov dword [rsp + 0x38], r12d
xor ecx, ecx
mov qword [rsp + 0x30], r12
mov r8d, 0x309
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], 0x1000
mov dword [rsp + 0x40], 0x53525150
mov dword [rsp + 0x44], 0x41575655
mov dword [rsp + 0x48], 0x41514150
mov dword [rbp - 0x7d], 0x41534152
mov dword [rbp - 0x79], 0x41554154
mov dword [rbp - 0x75], 0x48574156
mov dword [rbp - 0x71], 0x678999b8
mov dword [rbp - 0x6d], 0x12345
mov dword [rbp - 0x69], 0xec814800
mov dword [rbp - 0x65], 0xa0
mov dword [rbp - 0x61], 0x8148d0ff
mov dword [rbp - 0x5d], 0xa0c4
mov qword [rbp - 0x59], 0xa34800
mov dword [rbp - 0x51], 0x41000000
mov dword [rbp - 0x4d], 0x415e415f
mov dword [rbp - 0x49], 0x415c415d
mov dword [rbp - 0x45], 0x415a415b
mov dword [rbp - 0x41], 0x5f584159
mov dword [rbp - 0x3d], 0x5a5b5d5e
mov word [rbp - 0x39], 0x5859
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140005d57
mov r8d, r14d
mov rdx, rsi
mov rcx, rax
call fcn.140009600
mov rcx, r15
lea rdx, [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140005f41
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
or r15, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x40
mov rcx, r15
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rbp - 0x29]
lea rsi, [rax + 0x200]
lea rbx, [rax + 0x100]
call sub.ntoskrnl.exe_PsGetProcessWow64Process
mov r8, r14
mov rdx, rdi
test rax, rax
je 0x140005e88
mov rax, qword [rsp + 0x30]
mov rcx, rsi
mov byte [rax], 0xb8
mov rax, qword [rsp + 0x30]
mov byte [rax + 1], 0x78
mov rax, qword [rsp + 0x30]
mov byte [rax + 2], 0x56
mov rax, qword [rsp + 0x30]
mov byte [rax + 3], 0x34
mov rax, qword [rsp + 0x30]
mov byte [rax + 4], 0x12
mov rax, qword [rsp + 0x30]
mov byte [rax + 5], 0xff
mov rax, qword [rsp + 0x30]
mov byte [rax + 6], 0xd0
mov rax, qword [rsp + 0x30]
mov byte [rax + 7], 0xa3
mov rax, qword [rsp + 0x30]
mov byte [rax + 8], r12b
mov rax, qword [rsp + 0x30]
mov byte [rax + 9], r12b
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xa], r12b
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xb], r12b
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xc], 0xc3
call fcn.140009600
mov rax, qword [rsp + 0x30]
lea r8d, [r15 + 5]
mov r9b, 1
xor edx, edx
mov dword [rax + 1], esi
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], ebx
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140006084
movsxd rax, dword [rsp + 0x38]
test eax, eax
js 0x140005f41
mov ebx, dword [rbx]
jmp 0x140005f04
mov rcx, qword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rbp - 0x79]
movzx eax, word [rbp - 0x39]
movups xmmword [rcx], xmm0
movaps xmm0, xmmword [rbp - 0x69]
movups xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x59]
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x49]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov word [rcx + 0x50], ax
mov byte [rcx + 0x52], 0xc3
mov rcx, rsi
call fcn.140009600
mov rax, qword [rsp + 0x30]
xor edx, edx
mov r9b, 1
mov qword [rax + 0x19], rsi
lea r8d, [rdx + 4]
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x33], rbx
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140006084
movsxd rax, dword [rsp + 0x38]
test eax, eax
js 0x140005f41
mov rbx, qword [rbx]
mov r9d, 0x8000
lea r8, [rbp - 0x21]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov edx, 0x309
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140009400
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret