Function at 0x1400023a0
Capabilities:
Allocate or change rwx memory
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xf0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140029040]
xor rax, rsp
mov qword [rbp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp], rax
xorps xmm0, xmm0
mov r12, rax
movabs rdi, 0x8fbce9f72c62e799
movups xmmword [rbp + 8], xmm0
xor eax, eax
movabs rbx, 0x812e168e3e47c6d6
mov qword [rbp + 0x18], rax
movabs rax, 0xe3d8c79b400693f7
mov qword [rbp + 0x20], rax
movabs rax, 0x812e168e3e47c6ba
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x20], rax
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x48], rcx
lea rcx, [rbp + 0x40]
mov qword [rbp + 0x20], rdi
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x20], rbx
mov rax, qword [rbp + 0x20]
movdqa xmm0, xmmword [rbp + 0x40]
mov qword [rbp + 0x68], rax
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, 0x18
lea r8, [rbp + 8]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r14, qword [rbp + 8]
lea rcx, [rbp + 0x60]
movabs rax, 0xe0d8879e5b3eddfa
xor r9d, r9d
mov qword [rbp + 0x20], rax
mov edx, 0x80000000
mov rax, qword [rbp + 0x20]
mov r8d, 1
mov qword [rbp + 0x60], rax
movabs rax, 0xe45a65f74d1bb5a1
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x68], rax
movabs rax, 0xb5df67e7b66321d6
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x70], rax
movabs rax, 0x477a7fcc72a091f4
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x20], rdi
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x20], rbx
xor ebx, ebx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x48], rax
movabs rax, 0xd9bb1389ea5112bb
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x50], rax
movabs rax, 0x477a7fa01ec4bf98
mov qword [rsp + 0x30], rbx
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x58], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
mov dword [rsp + 0x28], ebx
vmovdqa ymmword [rbp + 0x60], ymm1
mov dword [rsp + 0x20], 3
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov r13, rax
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x1000002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov qword [rbp + 0x40], rax
xor r8d, r8d
mov edx, 4
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rsi, dword [r14 + 0x3c]
movzx edi, bx
add rsi, r14
mov r15, rax
cmp bx, word [rsi + 6]
jae 0x140002655
lea r8, str..text
xor r12d, r12d
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rsi + 0x14]
movzx eax, di
add rcx, rsi
lea rdx, [rax + rax*4]
mov rax, r12
lea rbx, [rcx + rdx*8]
nop word [rax + rax]
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x140002644
cmp rax, 6
jne 0x1400025e0
mov ecx, dword [rbx + 0x24]
lea r9, [rbp + 0x20]
mov edx, dword [rbx + 0x20]
add rcx, r14
mov r8d, 0x40
mov dword [rbp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r15]
lea rcx, [rax + r14]
call fcn.140019f40
mov ecx, dword [rbx + 0x24]
lea r9, [rbp + 0x20]
mov edx, dword [rbx + 0x20]
add rcx, r14
mov r8d, dword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, str..text
inc di
cmp di, word [rsi + 6]
jb 0x1400025c0
mov r12, qword [rbp]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400048f0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret