Function at 0x140002240
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r12, r8
mov rbx, rdx
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 0xf
jbe 0x140002291
mov rbx, qword [rbx]
mov r8d, 0x20
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.14000e900
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov word [rsp + 0x58], 1
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x68]
mov qword [rsp + 0x40], rax
test rax, rax
sete byte [rsp + 0x48]
mov byte [rsp + 0x49], r13b
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r13
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
movzx esi, byte [rsp + 0x49]
mov rbx, qword [rsp + 0x40]
movzx r15d, byte [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
test rax, rax
jne 0x14000234e
movzx r14d, byte [rsp + 0x48]
jmp 0x140002370
test rbx, rbx
je 0x140002366
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140002366
movzx esi, al
jmp 0x140002369
mov rbx, r13
mov r14b, 1
nop dword [rax]
test r15b, r15b
jne 0x14000238e
test rdi, rdi
je 0x140002388
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x14000238b
mov rdi, r13
mov r15b, 1
test rbx, rbx
jne 0x14000243e
test rdi, rdi
jne 0x140002447
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov rsi, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_128_cbc]
mov rdx, rax
mov qword [rsp + 0x20], r13
lea r9, [0x140016620]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
mov rdx, qword [rbp - 0x10]
mov rcx, rdx
mov r9, qword [rbp - 0x18]
sub rcx, r9
xorps xmm0, xmm0
movsxd rdi, ecx
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r13
test ecx, ecx
je 0x1400024e3
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1400026dc
cmp rdi, 0x1000
jb 0x1400024b6
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400026d6
call fcn.1400127fc
mov rcx, rax
test rax, rax
je 0x1400025a0
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400024be
test rdi, rdi
jne 0x1400023a0
test r14b, r14b
jne 0x140002467
test rbx, rbx
je 0x140002464
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140002464
movzx esi, al
jmp 0x140002467
mov rbx, r13
mov byte [rsp + 0x30], sil
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 8]
je 0x14000247f
mov byte [rax], sil
inc qword [rbp - 0x10]
jmp 0x140002491
lea r8, [rsp + 0x30]
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x18]
call fcn.1400117c0
test rbx, rbx
je 0x140002366
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x140002366
mov byte [rsp + 0x48], 0
jmp 0x14000234e
mov rcx, rdi
call fcn.1400127fc
mov qword [rbp + 8], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x18], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x10], rbx
mov rdx, qword [rbp - 0x10]
mov r9, qword [rbp - 0x18]
mov dword [rbp - 0x20], r13d
sub rdx, r9
mov dword [rsp + 0x20], edx
lea r8, [rbp - 0x20]
mov rdx, qword [rbp + 8]
mov rcx, rsi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
mov dword [rbp], r13d
movsxd rdx, dword [rbp - 0x20]
add rdx, qword [rbp + 8]
lea r8, [rbp]
mov rcx, rsi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
mov rcx, rsi
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
cmp dword [rbp], 0
jle 0x1400026cd
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x50], 0x81030000
lea rax, [rbp + 8]
mov qword [rsp + 0x58], rax
mov r8d, 1
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.opencv_imgcodecs4.dll_class_cv::Mat___cdecl_cv::imdecode_class_cv::_InputArray_const____ptr64__int_]
nop
mov rdx, rax
mov rcx, r12
call qword [sym.imp.opencv_core4.dll_public:_class_cv::Mat____ptr64___cdecl_cv::Mat::operator_class_cv::Mat____ptr64____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.opencv_core4.dll_public:_void___cdecl_cv::Mat::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400025b8
mov rdx, qword [rbp + 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012710
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140002601
mov rdx, qword [rbp - 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012710
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r13
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0xb0], 0
je 0x14000266f
mov rax, qword [rbp + 0x48]
lea rcx, [rbp + 0xa0]
cmp qword [rax], rcx
jne 0x14000266f
mov rdx, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xb8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x80]
mov dword [rax], edx
cmp byte [rbp + 0xac], 0
je 0x140002681
lea rcx, [rbp + 0x30]
call fcn.14000f1d0
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400126f0
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1400011c0
int3
call fcn.1400103a0
int3