Function at 0x1400118a7
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions

Disassembly:
jmp 0x14001fc90
push rbp
push rdi
sub rsp, 0x508
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xce
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140034040]
xor rax, rbp
mov qword [rbp + 0x4a8], rax
lea rcx, [0x140041136]
call fcn.140011ca3
lea rax, [0x14002e5c8]
mov qword [rbp + 8], rax
mov r8, qword [rbp + 8]
mov edx, 0x66
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001fd21
lea rdx, str.Failed_to_locate_embedded_resource
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001115e
lea rdx, [0x140011078]
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 0x14001ffbc
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001fd65
lea rdx, str.Failed_to_load_embedded_resource
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001115e
lea rdx, [0x140011078]
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 0x14001ffbc
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x68], rax
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x84], eax
cmp qword [rbp + 0x68], 0
je 0x14001fd95
cmp dword [rbp + 0x84], 0
jne 0x14001fdc2
lea rdx, str.Failed_to_access_embedded_resource_data
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001115e
lea rdx, [0x140011078]
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 0x14001ffbc
lea rax, str.temp.exe
mov qword [rbp + 0xa8], rax
mov edx, 0x108
lea rcx, [rbp + 0xd0]
call fcn.140011505
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0xd0]
call fcn.1400114e7
nop
mov eax, dword [rbp + 0x84]
mov r8d, eax
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0xd0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rbp + 0x438], rax
mov rax, qword [rbp + 0x438]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x438]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14001fe99
lea rdx, str.Failed_to_write_embedded_resource_to_file
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001115e
lea rdx, [0x140011078]
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 + 0x454], 1
lea rcx, [rbp + 0xd0]
call fcn.14001132a
mov eax, dword [rbp + 0x454]
jmp 0x14001ffbc
lea rcx, [rbp + 0xd0]
call fcn.140011690
mov dword [rbp + 0x200], 0x68
lea rax, [rbp + 0x208]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rbp + 0x288]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0xa8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14001ff56
lea rdx, str.Failed_to_execute_embedded_binary
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001115e
lea rdx, [0x140011078]
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 + 0x474], 1
lea rcx, [rbp + 0xd0]
call fcn.14001132a
mov eax, dword [rbp + 0x474]
jmp 0x14001ffbc
lea rdx, str.Successfully_executed_embedded_binary
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001115e
lea rdx, [0x140011078]
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 rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rbp + 0x494], 0
lea rcx, [rbp + 0xd0]
call fcn.14001132a
mov eax, dword [rbp + 0x494]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14002c9c0]
call fcn.140011a91
mov rax, rdi
mov rcx, qword [rbp + 0x4a8]
xor rcx, rbp
call fcn.140011613
lea rsp, [rbp + 0x4b8]
pop rdi
pop rbp
ret