Function at 0x140002730
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, 0x110
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 0xf
jbe 0x140002781
mov rbx, qword [rbx]
mov r8d, 0x20
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.14000e6e0
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 0x14000283e
movzx r14d, byte [rsp + 0x48]
jmp 0x140002860
test rbx, rbx
je 0x140002856
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 0x140002856
movzx esi, al
jmp 0x140002859
mov rbx, r13
mov r14b, 1
nop dword [rax]
test r15b, r15b
jne 0x14000287e
test rdi, rdi
je 0x140002878
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 0x14000287b
mov rdi, r13
mov r15b, 1
test rbx, rbx
jne 0x14000292e
test rdi, rdi
jne 0x140002937
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, [0x1400166d8]
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 0x1400029d3
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140002bcc
cmp rdi, 0x1000
jb 0x1400029a6
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140002bc6
call fcn.140012e2c
mov rcx, rax
test rax, rax
je 0x140002a90
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400029ae
test rdi, rdi
jne 0x140002890
test r14b, r14b
jne 0x140002957
test rbx, rbx
je 0x140002954
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 0x140002954
movzx esi, al
jmp 0x140002957
mov rbx, r13
mov byte [rsp + 0x30], sil
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 8]
je 0x14000296f
mov byte [rax], sil
inc qword [rbp - 0x10]
jmp 0x140002981
lea r8, [rsp + 0x30]
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x18]
call fcn.140011db0
test rbx, rbx
je 0x140002856
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 0x140002856
mov byte [rsp + 0x48], 0
jmp 0x14000283e
mov rcx, rdi
call fcn.140012e2c
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 0x140002bbd
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 0x140002aa8
mov rdx, qword [rbp + 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012d40
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140002af1
mov rdx, qword [rbp - 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ae0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ae0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012d40
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 0x140002b5f
mov rax, qword [rbp + 0x48]
lea rcx, [rbp + 0xa0]
cmp qword [rax], rcx
jne 0x140002b5f
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 0x140002b71
lea rcx, [rbp + 0x30]
call fcn.14000f6f0
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.140012d20
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.140010850
int3