Function at 0x140001000
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14d, 4
lea rcx, [rsp + 0x70]
mov edx, r14d
lea rax, [0x1400034c0]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001050
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x200
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140001680]
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]
mov ecx, 0x200
call fcn.1400016f8
mov ecx, 0x200
mov rbx, rax
call fcn.1400016f8
mov rdi, rax
mov dword [rsp + 0x48], 0xcea89996
mov dword [rsp + 0x4c], 0xf8c45b5f
mov dword [rsp + 0x50], 0xfd565438
mov dword [rsp + 0x54], 0x8ea65b25
mov dword [rsp + 0x58], 0x12870ac4
mov dword [rsp + 0x5c], 0xdc5c88f8
mov dword [rsp + 0x60], 0x2c39b782
mov dword [rsp + 0x64], 0xc081b39d
mov dword [rsp + 0x38], 0xb188eadd
mov dword [rsp + 0x3c], 0xb981caa4
mov dword [rsp + 0x40], 0x333035ae
mov dword [rsp + 0x44], 0xae6058d6
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rsi, rax
test rax, rax
jne 0x140001175
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_creating_EVP_CIPHER_CTX
call fcn.1400014b0
mov rcx, rax
lea rdx, [0x140001680]
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]
jmp 0x14000121a
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, 1
je 0x1400011a7
lea rdx, str.Error_initializing_decryption
jmp 0x1400011f5
lea r9, [rsp + 0x70]
mov dword [rsp + 0x20], 0x200
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, 1
je 0x1400011d3
lea rdx, str.Error_during_decryption
jmp 0x1400011f5
movsxd rdx, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
add rdx, rbx
mov rcx, rsi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, 1
je 0x140001211
lea rdx, str.Error_finalizing_decryption
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014b0
lea rdx, [0x140001680]
mov rcx, rax
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]
mov rcx, rsi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
lea rax, [rbx + 0x1ff]
lea rcx, [rdi + 0x1ff]
cmp rdi, rax
ja 0x140001255
cmp rcx, rbx
jb 0x140001255
mov rcx, rdi
sub rbx, rdi
mov edx, 0x200
nop dword [rax]
movzx eax, byte [rcx + rbx]
lea rcx, [rcx + 1]
xor al, 0xaa
mov byte [rcx - 1], al
sub rdx, 1
jne 0x140001240
jmp 0x1400012b1
movdqa xmm2, xmmword [0x1400036c0]
lea rax, [rdi + 0x10]
sub rbx, rdi
mov ecx, 8
nop dword [rax]
movdqu xmm0, xmmword [rbx + rax - 0x10]
movdqu xmm1, xmmword [rbx + rax]
lea rax, [rax + 0x40]
xorps xmm0, xmm2
xorps xmm1, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rbx + rax - 0x30]
movdqu xmmword [rax - 0x40], xmm1
xorps xmm0, xmm2
movdqu xmm1, xmmword [rbx + rax - 0x20]
movdqu xmmword [rax - 0x30], xmm0
xorps xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
sub rcx, 1
jne 0x140001270
mov r9d, r14d
mov edx, 0x200
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x140001302
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.VirtualAlloc_failed_
call fcn.1400014b0
mov rcx, rax
lea rdx, [0x140001680]
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]
mov rcx, rdi
call fcn.1400016f0
lea eax, [rbx - 1]
jmp 0x140001414
mov rcx, rdi
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub r14, 1
jne 0x140001305
lea r9, [rsp + 0x34]
mov edx, 0x200
lea r8d, [r14 + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400013b6
lea rdx, str.VirtualProtect_failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400014b0
mov rcx, rax
lea rdx, [0x140001680]
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]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
call fcn.1400016f0
mov eax, 0xffffffff
jmp 0x140001414
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x1400013e2
lea rdx, str.CreateThread_failed_
jmp 0x14000137a
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
call fcn.1400016f0
xor eax, eax
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400016d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret