Function at 0x140011389
Capabilities:
Allocate or change rwx memory
Read file on windows

Disassembly:
jmp 0x140012aa0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x230
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x4c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x258]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x14002516e]
call fcn.1400113e8
nop
mov dword [rbp + 4], 0xffffffff
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x48], 0
mov rax, qword [0x14001f018]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x78], 1
mov dword [rbp + 0x80], 0
mov dword [rbp + 0x84], 0
lea rax, [rbp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov r9d, 4
mov r8d, 0x1000
mov edx, 0x80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140012b7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], eax
jmp 0x140012ce8
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x218]
mov qword [rax + 0x20], rcx
mov rax, qword [rbp + 0x28]
mov ecx, dword [rbp + 0x228]
mov dword [rax + 0x28], ecx
mov eax, 0xc02
mov rcx, qword [rbp + 0x28]
mov word [rcx], ax
mov rax, qword [rbp + 0x28]
mov dword [rax + 4], 0x80
mov rax, qword [rbp + 0x28]
mov byte [rax + 0x2c], 1
mov rax, qword [rbp + 0x28]
mov dword [rax + 8], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x210]
mov rdx, qword [rbp + 0x28]
mov qword [rcx + rax], rdx
lea rax, [rbp + 0x1d0]
lea rcx, [rbp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x1a0]
lea rcx, [rbp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x228]
lea r8, [rbp + 0x1d0]
lea rdx, [rbp + 0x1a0]
mov rcx, qword [0x14001f1f0]
call fcn.1400113c0
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140012c5a
jmp 0x140012ce8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14001f1f0]
call fcn.14001123f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140012c79
jmp 0x140012ce8
lea rdx, [rbp + 0xa8]
mov rcx, qword [0x14001f1f0]
call fcn.14001123a
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140012c97
jmp 0x140012ce8
cmp dword [rbp + 0xb0], 0
je 0x140012cab
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 4], eax
jmp 0x140012ce8
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x228]
mov rdx, qword [rbp + 0x220]
mov rcx, qword [0x14001f008]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140012ce1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], eax
jmp 0x140012ce8
mov dword [rbp + 4], 0
cmp qword [rbp + 0x28], 0
je 0x140012d05
mov r8d, 0x8000
mov edx, 0x80
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001c600]
call fcn.140011366
mov eax, edi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x1f0]
pop rdi
pop rsi
pop rbp
ret