Function at 0x1400013b0
Capabilities:
Extract resource via kernel32 functions
Read file on windows
Terminate process

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xba0
mov qword [rax - 0x9c8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0xb80], rax
mov r14, rdx
mov qword [rsp + 0x50], rdx
mov edi, ecx
mov dword [rsp + 0x48], ecx
xor r12d, r12d
mov eax, r12d
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x90], eax
cmp ecx, 2
jge 0x140001428
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004ef0
lea ecx, [r12 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x430], r12
mov qword [rsp + 0x438], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x440]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::constructor_unsigned_int__unsigned_int____ptr64]
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x448]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::constructor_unsigned_int__unsigned_int____ptr64]
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x450]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::constructor_unsigned_int__unsigned_int____ptr64]
mov qword [rsp + 0x458], r12
mov byte [rsp + 0x460], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x464]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::constructor_unsigned_int__unsigned_int____ptr64]
mov qword [rsp + 0x46c], r12
mov dword [rsp + 0x474], 0xffffff00
mov word [rsp + 0x478], 0xff
mov qword [rsp + 0x47c], 0x7fffffff
mov qword [rsp + 0x488], r12
mov qword [rsp + 0x490], r12
mov dword [rsp + 0x498], r12d
mov dword [rsp + 0x4b0], r12d
mov qword [rsp + 0x4b8], r12
mov qword [rsp + 0x4c0], r12
mov byte [rsp + 0x4c8], 0x50
mov r13d, 1
mov qword [rsp + 0x4cc], r13
mov dword [rsp + 0x4d4], r12d
mov qword [rsp + 0x4d8], r12
lea ecx, [r13 + 7]
call fcn.140008dc8
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rax], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xa8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.AIDE.dll_AIDECreateLibInstance]
test eax, eax
jne 0x1400032c0
mov rax, qword [rsp + 0xa8]
mov qword [rbx], rax
mov qword [rsp + 0x4d8], rbx
mov dword [rsp + 0x4a0], r13d
mov dword [rsp + 0x4a4], 2
mov qword [rsp + 0x4a8], 3
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x488], rax
mov eax, 4
mov dword [rsp + 0x480], eax
mov qword [rsp + 0x80], r12
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x8000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov qword [rsp + 0xa8], rbx
mov r15d, r13d
mov dword [rsp + 0x68], r15d
movsxd rsi, r15d
mov dword [rsp + 0x90], esi
cmp r15d, edi
jge 0x1400028d1
movsxd r12, r15d
mov rdi, qword [r14 + r12*8]
lea rdx, str._profile
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001799
lea r14d, [r15 + 1]
mov dword [rsp + 0x68], r14d
cmp r14d, dword [rsp + 0x48]
jge 0x14000338c
mov r13, rsi
mov r12, qword [rsp + 0x50]
mov rdi, qword [r12 + rsi*8 + 8]
lea rdx, [0x14000b730]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001684
lea eax, [r15 + 2]
cmp eax, dword [rsp + 0x48]
jge 0x1400032e4
xor ecx, ecx
lea rdx, str.sRGB
nop
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400032e4
mov eax, 5
cmp rcx, rax
jne 0x140001650
lea rdx, str.IEC61966_2.1
mov rcx, qword [r12 + rsi*8 + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400032e4
xor eax, eax
mov r15d, eax
mov r12d, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea edx, [r12 + 0x65]
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400016f1
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x1400016ec
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
test eax, eax
je 0x1400016ec
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
setne al
mov r14d, dword [rsp + 0x68]
test al, al
je 0x14000331c
mov esi, r15d
mov ecx, r15d
call fcn.140008e04
mov rdi, rax
mov r8d, esi
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
test rdi, rdi
je 0x140003354
test r15d, r15d
je 0x140003354
mov qword [rsp + 0x430], rdi
mov dword [rsp + 0x438], r15d
xor r12d, r12d
mov eax, r12d
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + r13*8 + 8]
lea r8d, [r12 + 5]
lea r9, str.sRGB
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r9 + rax - 1]
jne 0x140001778
cmp rax, r8
jne 0x140001760
cmp cl, byte [r9 + rax - 1]
mov r15d, r14d
cmovne r15d, r13d
inc r15d
mov r13d, 1
mov r14, qword [rsp + 0x50]
mov edi, dword [rsp + 0x48]
inc r15d
jmp 0x1400015cd
lea rdx, str.__profile_path
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001b24
inc r15d
cmp r15d, dword [rsp + 0x48]
jge 0x1400034c0
lea rax, [0x14000bc88]
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r12d, dword [rsp + 0x58]
or r12d, 1
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x90], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xf0], rax
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0xec], edx
lea rax, [rsp + 0x100]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x100], rax
mov byte [rsp + 0x17c], 0
mov byte [rsp + 0x171], 0
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor r12d, r12d
mov qword [rsp + 0x180], r12
mov rax, qword [0x1400119b0]
mov qword [rsp + 0x174], rax
mov qword [rsp + 0x168], r12
lea edx, [r12 + 0x21]
lea r8d, [r12 + 0x40]
mov rcx, qword [r14 + rsi*8 + 8]
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rdi, rax
test rax, rax
je 0x140001a01
mov byte [rsp + 0x17c], 1
mov byte [rsp + 0x171], r12b
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x90], r12
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], r9
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0x28], r8
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [rsp + 0x180], rdi
mov rax, qword [0x1400119b0]
mov qword [rsp + 0x174], rax
mov qword [rsp + 0x168], r12
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.1400050d0
mov rdi, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x1400019a1
mov qword [rsp + 0x168], r12
jmp 0x1400019b8
mov qword [rsp + 0x168], rdi
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rsp + 0x210]
test rcx, rcx
je 0x1400019dd
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400019dd
mov r8, qword [rax]
mov edx, r13d
mov rcx, rax
call qword [r8]
nop
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xf0]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140001a25
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xf0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rsp + 0x180], 0
je 0x140003487
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov esi, dword [rax + 8]
add esi, dword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
test esi, esi
je 0x1400033c5
mov edi, esi
mov ecx, esi
call fcn.140008e04
mov r14, rax
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rsp + 0xf0]
movsxd rax, dword [rcx + 4]
cmp dword [rsp + rax + 0x100], 0
jne 0x14000340a
lea rcx, [rsp + 0x100]
call fcn.140004dd0
test rax, rax
jne 0x140001aee
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xf0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
test r14, r14
je 0x14000344f
mov qword [rsp + 0x430], r14
mov dword [rsp + 0x438], esi
lea rcx, [rsp + 0xf0]
call fcn.140003be0
mov r14, qword [rsp + 0x50]
mov edi, dword [rsp + 0x48]
inc r15d
jmp 0x1400015cd
lea rdx, str.__profile_data_len
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001bed
inc r15d
lea rcx, [rsp + 0x3f0]
cmp r15d, dword [rsp + 0x48]
jge 0x140003568
xor r12d, r12d
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], 0xf
mov byte [rsp + 0x3f0], r12b
lea r8d, [rax + 0x11]
lea rdx, str.ProfileDataLength
call fcn.140004b80
lea rdx, [rsp + 0x3f0]
mov rcx, qword [r14 + rsi*8 + 8]
call fcn.140006d40
mov ebx, eax
test eax, eax
je 0x140003530
mov ecx, ebx
call fcn.140008e04
mov rdi, rax
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.1400068e0
test rdi, rdi
je 0x1400034f8
test ebx, ebx
je 0x1400034f8
mov qword [rsp + 0x430], rdi
mov dword [rsp + 0x438], ebx
mov rbx, qword [rsp + 0xa8]
mov edi, dword [rsp + 0x48]
inc r15d
jmp 0x1400015cd
xor edx, edx
mov ecx, edx
lea r8, str._size
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001c89
cmp rcx, 6
jne 0x140001c00
inc r15d
mov edi, dword [rsp + 0x48]
cmp r15d, edi
jge 0x1400035d2
mov rdx, qword [r14 + rsi*8 + 8]
lea rcx, [rsp + 0xc8]
call fcn.140006a50
nop
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
test eax, eax
je 0x140003599
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
je 0x140003599
mov dword [rsp + 0x440], eax
mov dword [rsp + 0x444], ecx
lea rcx, [rsp + 0x60]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
xor r12d, r12d
inc r15d
jmp 0x1400015cd
mov rcx, rdx
lea rdx, str._depth
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001d0f
cmp rcx, 7
jne 0x140001c93
inc r15d
mov edi, dword [rsp + 0x48]
lea rcx, [rsp + 0x3f0]
cmp r15d, edi
jge 0x14000360a
xor r12d, r12d
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], 0xf
mov byte [rsp + 0x3f0], r12b
lea r8d, [r12 + 8]
lea rdx, str.BitDepth
call fcn.140004b80
lea rdx, [rsp + 0x3f0]
mov rcx, qword [r14 + rsi*8 + 8]
call fcn.140006d40
mov dword [rsp + 0x43c], eax
inc r15d
jmp 0x1400015cd
lea rdx, str._color_matrix
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001d81
mov dword [rsp + 0xb70], r13d
mov dword [rsp + 0xb74], 2
mov qword [rsp + 0xb78], 3
xor r12d, r12d
mov eax, 4
mov dword [rsp + 0x480], eax
mov r8d, r12d
mov edx, r8d
mov ecx, dword [rsp + rdx*4 + 0xb70]
mov rax, qword [rsp + 0x488]
mov dword [rax + rdx*4], ecx
inc r8d
cmp r8d, dword [rsp + 0x480]
jb 0x140001d53
mov edi, dword [rsp + 0x48]
inc r15d
jmp 0x1400015cd
xor ecx, ecx
lea rdx, str._units
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001db2
cmp rcx, 7
jne 0x140001d90
xor r12d, r12d
mov edi, dword [rsp + 0x48]
inc r15d
jmp 0x1400015cd
lea rdx, str._density
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001da3
lea rdx, str._extract
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001e3c
inc r15d
mov edi, dword [rsp + 0x48]
cmp r15d, edi
jge 0x14000363a
mov rdx, qword [r14 + rsi*8 + 8]
lea rcx, [rsp + 0x230]
call fcn.140006f10
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x220], xmm0
movups xmmword [rsp + 0x464], xmm0
mov byte [rsp + 0x474], 1
lea rcx, [rsp + 0x220]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
lea rcx, [rsp + 0x230]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
xor r12d, r12d
inc r15d
jmp 0x1400015cd
xor ecx, ecx
lea rdx, str.rgba:_
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001e72
cmp rcx, 7
jne 0x140001e50
xor r12d, r12d
mov edi, dword [rsp + 0x48]
inc r15d
jmp 0x1400015cd
lea rdx, str._background
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001ed2
inc r15d
mov edi, dword [rsp + 0x48]
cmp r15d, edi
jge 0x140003672
mov rdx, qword [r14 + rsi*8 + 8]
lea rcx, [rsp + 0x78]
call fcn.1400076b0
mov eax, dword [rax]
mov dword [rsp + 0x475], eax
mov byte [rsp + 0x479], 1
shr eax, 0x18
xor r12d, r12d
mov ecx, r12d
cmp al, 0xff
setne cl
mov dword [rsp + 0x4cc], ecx
inc r15d
jmp 0x1400015cd
xor edx, edx
mov ecx, edx
lea r8, str._extent
nop dword [rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001fa4
cmp rcx, 8
jne 0x140001ee0
inc r15d
mov edi, dword [rsp + 0x48]
cmp r15d, edi
jge 0x1400036aa
mov rdx, qword [r14 + rsi*8 + 8]
lea rcx, [rsp + 0xd8]
call fcn.140006f10
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x240], xmm0
movaps xmmword [rsp + 0x450], xmm0
mov byte [rsp + 0x460], 1
movq rax, xmm0
mov dword [rsp + 0x448], eax
shr rax, 0x20
mov dword [rsp + 0x44c], eax
lea rcx, [rsp + 0x240]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
xor r12d, r12d
cmp byte [rsp + 0x479], r12b
jne 0x140001daa
mov dword [rsp + 0x70], 0xffffffff
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x475], eax
mov byte [rsp + 0x479], 1
mov dword [rsp + 0x4cc], r12d
inc r15d
jmp 0x1400015cd
mov rcx, rdx
lea r8, str.png:_
nop
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001fc9
cmp rcx, 6
jne 0x140001fb0
jmp 0x1400020f6
mov rcx, rdx
lea r8, str.png24:_
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001ff9
cmp rcx, 8
jne 0x140001fe0
jmp 0x1400020f6
mov rcx, rdx
lea r8, str.png8:_
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140002029
cmp rcx, 7
jne 0x140002010
jmp 0x1400020f6
mov rcx, rdx
lea rdx, str.png32:_
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000204b
cmp rcx, 8
jne 0x140002033
jmp 0x1400020f6
mov r8d, 4
lea rdx, str.jpg:
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400020f6
mov r9, qword [r14 + r12*8]
xor edx, edx
mov ecx, edx
lea r8, str.gif:_
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140002097
cmp rcx, 6
jne 0x140002080
jmp 0x1400020f6
mov rcx, rdx
lea r8, str.png48:_
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1400020b8
cmp rcx, 8
jne 0x1400020a1
jmp 0x1400020f6
mov rcx, rdx
lea rdx, str.png64:_
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400020d8
cmp rcx, 8
jne 0x1400020c2
jmp 0x1400020f6
mov r8d, 5
lea rdx, str.webp:
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000281b
mov rdx, qword [r14 + r12*8]
mov qword [rsp + 0x420], 0
mov qword [rsp + 0x428], 0xf
mov byte [rsp + 0x410], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140002121
lea rcx, [rsp + 0x410]
call fcn.140004b80
nop
mov rdi, qword [rsp + 0x420]
mov eax, 3
mov r14d, eax
cmp rdi, rax
cmovb r14, rdi
lea rcx, [rsp + 0x410]
mov rsi, qword [rsp + 0x410]
mov r15, qword [rsp + 0x428]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, r14
cmp r14, rax
cmova r8, rax
lea rdx, [0x14000ba20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002474
cmp r14, 3
jne 0x140002474
mov dword [rsp + 0x47c], r13d
mov qword [rsp + 0x400], 0
mov qword [rsp + 0x408], 0xf
mov byte [rsp + 0x3f0], al
cmp rdi, r14
jb 0x1400036e3
lea rax, [rdi - 3]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x410]
cmp r15, 0x10
cmovae rdx, rsi
add rdx, 3
lea rcx, [rsp + 0x3f0]
call fcn.140004b80
mov r15d, dword [rsp + 0x58]
or r15d, 2
mov dword [rsp + 0x58], r15d
lea rax, [rsp + 0x3f0]
mov rdi, qword [rsp + 0x3f0]
mov rsi, qword [rsp + 0x408]
cmp rsi, 0x10
cmovae rax, rdi
movsx ecx, byte [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
mov r14d, eax
cmp rsi, 0x10
jb 0x14000226f
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002267
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002267
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140008d94
test r14d, r14d
je 0x140002457
mov qword [rsp + 0x400], 0
mov qword [rsp + 0x408], 0xf
mov byte [rsp + 0x3f0], 0
mov rax, qword [rsp + 0x420]
cmp rax, 3
jb 0x1400036e8
add rax, 0xfffffffffffffffd
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x410]
cmp qword [rsp + 0x428], 0x10
cmovae rdx, qword [rsp + 0x410]
add rdx, 3
lea rcx, [rsp + 0x3f0]
call fcn.140004b80
or r15d, 4
mov dword [rsp + 0x58], r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rdi, [rsp + 0x3f0]
cmp qword [rsp + 0x408], 0x10
cmovae rdi, qword [rsp + 0x3f0]
xor r15d, r15d
mov dword [rax], r15d
lea r8d, [r15 + 0xa]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov esi, eax
cmp rdi, qword [rsp + 0x40]
jne 0x140002341
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [r14], 0x22
je 0x140002449
mov rdx, qword [rsp + 0x408]
cmp rdx, 0x10
jb 0x140002391
inc rdx
mov rcx, qword [rsp + 0x3f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000238c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000238c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008d94
cmp esi, 8
je 0x140002429
cmp esi, 0x18
je 0x140002400
cmp esi, 0x20
je 0x1400023df
cmp esi, 0x30
je 0x1400023d2
cmp esi, 0x40
jne 0x140002457
mov dword [rsp + 0x47c], 7
mov r15, qword [rsp + 0x428]
mov rsi, qword [rsp + 0x410]
jmp 0x1400027d0
mov dword [rsp + 0x47c], 6
jmp 0x14000240c
mov eax, 4
mov dword [rsp + 0x47c], eax
mov r15, qword [rsp + 0x428]
mov rsi, qword [rsp + 0x410]
jmp 0x1400027d0
mov eax, 3
mov dword [rsp + 0x47c], eax
mov dword [rsp + 0x4cc], r15d
mov r15, qword [rsp + 0x428]
mov rsi, qword [rsp + 0x410]
jmp 0x1400027d0
mov dword [rsp + 0x47c], 2
mov r15, qword [rsp + 0x428]
mov rsi, qword [rsp + 0x410]
jmp 0x1400027d0
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov dword [rsp + 0x47c], r13d
mov r15, qword [rsp + 0x428]
mov rsi, qword [rsp + 0x410]
jmp 0x1400027d0
mov eax, 4
mov r14d, eax
cmp rdi, rax
cmovb r14, rdi
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, r14
cmp r14, rax
cmova r8, rax
lea rdx, str.jpg:
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002678
cmp r14, 4
jne 0x140002678
mov dword [rsp + 0x47c], eax
cmp rdi, r14
jb 0x1400036ed
lea r14, [rdi - 4]
mov rdi, 0xffffffffffffffff
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, rdi
cmp rdi, 1
cmova r8, r13
add rcx, 4
lea rdx, [0x14000ba24]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002512
cmp rdi, 1
je 0x14000255a
mov rdi, 0xffffffffffffffff
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, rdi
cmp rdi, 0xe
mov eax, 0xe
cmova r8, rax
add rcx, 4
lea rdx, str.encode_default
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000256a
cmp rdi, 0xe
jne 0x14000256a
mov dword [rsp + 0x4d0], 0
jmp 0x1400027d0
mov rdi, 0xffffffffffffffff
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, rdi
cmp rdi, 0xb
mov eax, 0xb
cmova r8, rax
add rcx, 4
lea rdx, str.encode_fast
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400025bf
cmp rdi, 0xb
jne 0x1400025bf
mov dword [rsp + 0x4d0], r13d
jmp 0x1400027d0
mov rdi, 0xffffffffffffffff
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, rdi
cmp rdi, 0xe
mov eax, 0xe
cmova r8, rax
add rcx, 4
lea rdx, str.encode_optimal
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002617
cmp rdi, 0xe
jne 0x140002617
mov dword [rsp + 0x4d0], 2
jmp 0x1400027d0
mov rdi, 0xffffffffffffffff
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, rdi
cmp rdi, 0x12
mov eax, 0x12
cmova r8, rax
add rcx, 4
lea rdx, str.encode_precomputed
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400036f2
cmp rdi, 0x12
jne 0x1400036f2
mov eax, 3
mov dword [rsp + 0x4d0], eax
jmp 0x1400027d0
mov eax, 3
mov r14d, eax
cmp rdi, rax
cmovb r14, rdi
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, r14
cmp r14, rax
cmova r8, rax
lea rdx, [0x14000ba8c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400026c8
cmp r14, 3
jne 0x1400026c8
mov eax, 5
mov dword [rsp + 0x47c], eax
jmp 0x1400027d0
mov eax, 5
mov r14d, eax
cmp rdi, rax
cmovb r14, rdi
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, r14
cmp r14, rax
cmova r8, rax
lea rdx, str.webp:
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400037d1
cmp r14, 5
jne 0x1400037d1
mov dword [rsp + 0x47c], 8
cmp rdi, r14
jb 0x14000372a
lea r14, [rdi - 5]
mov rdi, 0xffffffffffffffff
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, rdi
cmp rdi, 0xd
mov eax, 0xd
cmova r8, rax
add rcx, 5
lea rdx, str.losslesstrue
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002779
cmp rdi, 0xd
jne 0x140002779
mov dword [rsp + 0x4d4], r13d
jmp 0x1400027d0
mov rdi, 0xffffffffffffffff
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x410]
cmp r15, 0x10
cmovae rcx, rsi
mov r8, rdi
cmp rdi, 0xe
mov eax, 0xe
cmova r8, rax
add rcx, 5
lea rdx, str.losslessfalse
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003799
cmp rdi, 0xe
jne 0x140003799
mov dword [rsp + 0x4d4], eax
cmp r15, 0x10
jb 0x14000280a
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140002802
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002802
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140008d94
mov r14, qword [rsp + 0x50]
mov esi, dword [rsp + 0x90]
mov r15d, dword [rsp + 0x68]
mov rdi, qword [r14 + r12*8]
lea rdx, str._flatten
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edx, dword [rsp + 0x4cc]
test eax, eax
mov r12d, 0
cmove edx, r12d
mov dword [rsp + 0x4cc], edx
lea rdx, str._quality
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edi, dword [rsp + 0x48]
test eax, eax
jne 0x140001daa
inc r15d
lea rcx, [rsp + 0x3f0]
cmp r15d, edi
jge 0x140003768
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], 0xf
mov byte [rsp + 0x3f0], r12b
lea r8d, [r12 + 7]
lea rdx, str.Quality
call fcn.140004b80
movsxd rcx, esi
lea rdx, [rsp + 0x3f0]
mov rcx, qword [r14 + rcx*8 + 8]
call fcn.140006d40
cmp eax, 0x64
ja 0x140003730
mov byte [rsp + 0x4c8], al
inc r15d
jmp 0x1400015cd
lea rcx, [rsp + 0x430]
call fcn.140008a10
lea rcx, [rsp + 0x430]
call fcn.140008a10
cmp qword [rsp + 0x4b8], 0
jne 0x1400029d4
lea rcx, [rsp + 0x430]
call fcn.140008a10
mov eax, dword [rsp + 0x480]
imul eax, dword [rsp + 0x43c]
mov dword [rsp + 0x494], eax
mov eax, dword [rsp + 0x448]
imul eax, dword [rsp + 0x480]
imul eax, dword [rsp + 0x43c]
shr eax, 3
mov dword [rsp + 0x490], eax
imul eax, dword [rsp + 0x44c]
mov ecx, eax
mov dword [rsp + 0x498], ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x4b8], rax
test rax, rax
je 0x14000380a
mov qword [rsp + 0x4c0], rax
lea rcx, [rsp + 0x430]
call fcn.140008a10
mov eax, dword [rsp + 0x480]
imul eax, dword [rsp + 0x43c]
mov dword [rsp + 0x494], eax
mov eax, dword [rsp + 0x448]
imul eax, dword [rsp + 0x480]
imul eax, dword [rsp + 0x43c]
shr eax, 3
mov dword [rsp + 0x490], eax
imul eax, dword [rsp + 0x44c]
mov r8d, eax
mov dword [rsp + 0x498], r8d
xor edx, edx
mov rcx, qword [rsp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x88], rax
mov esi, eax
imul esi, dword [rsp + 0x480]
imul esi, dword [rsp + 0x43c]
shr esi, 3
cmp byte [rsp + 0x460], 0
je 0x140002dd1
mov r12d, esi
mov ecx, esi
cmp byte [rsp + 0x474], 0
jne 0x140002b8a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140003843
xor eax, eax
mov edi, eax
xorps xmm6, xmm6
nop dword [rax + rax]
cmp edi, dword [rsp + 0x8c]
jae 0x140002d4d
mov r8d, esi
mov r9, rbx
mov edx, 1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, r12
jne 0x14000385f
movaps xmm1, xmmword [rsp + 0x450]
movups xmmword [rsp + 0xd8], xmm1
movaps xmmword [rsp + 0xb70], xmm1
mov ecx, dword [rsp + 0x43c]
shr ecx, 3
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdx, xmm0
shr rdx, 0x20
mov eax, edi
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movq rax, xmm1
shr rax, 0x20
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm2, xmm0
jae 0x140002b67
comiss xmm6, xmm2
ja 0x140002b67
movzx r14d, cl
mov ecx, edi
sub ecx, edx
mov r10d, dword [rsp + 0x450]
imul ecx, r10d
mov r8d, dword [rsp + 0x480]
imul ecx, r8d
imul ecx, r14d
test ecx, ecx
js 0x140002b67
mov r15d, dword [rsp + 0x458]
mov edx, r15d
imul edx, r8d
mov r11, r13
mov r9d, dword [rsp + 0x88]
imul r9d, r8d
imul r9d, r14d
neg edx
jns 0x140002b31
movsxd rax, edx
sub r11, rax
add r9, rax
xor eax, eax
mov edx, eax
add r10d, r15d
mov eax, r10d
imul eax, r8d
imul eax, r14d
cmp r9, rax
jbe 0x140002b4b
imul r10d, r8d
mov r9d, r10d
movsxd r8, edx
movsxd rcx, ecx
add r8, qword [rsp + 0x4c0]
add rcx, r8
mov r8, r9
mov rdx, r11
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0xb70]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
inc edi
jmp 0x140002a40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140003897
movups xmm0, xmmword [rsp + 0x464]
movups xmmword [rsp + 0xc8], xmm0
xor eax, eax
mov edi, eax
xorps xmm6, xmm6
nop dword [rax + rax]
cmp edi, dword [rsp + 0x8c]
jae 0x140002d3f
mov r8d, esi
mov r9, rbx
mov edx, 1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, r12
jne 0x1400038b4
mov edx, dword [rsp + 0xd4]
cmp edx, edi
jg 0x140002d38
mov ecx, dword [rsp + 0xcc]
add ecx, edx
cmp edi, ecx
jae 0x140002d38
movaps xmm1, xmmword [rsp + 0x450]
movups xmmword [rsp + 0xd8], xmm1
movaps xmmword [rsp + 0xb70], xmm1
mov r8d, dword [rsp + 0x43c]
shr r8d, 3
mov eax, dword [rsp + 0xd0]
lea eax, [rax*4]
movsxd r9, eax
add r9, r13
mov ecx, edi
sub ecx, edx
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdx, xmm0
shr rdx, 0x20
mov eax, ecx
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movq rax, xmm1
shr rax, 0x20
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm2, xmm0
jae 0x140002d1c
comiss xmm6, xmm2
ja 0x140002d1c
movzx r14d, r8b
sub ecx, edx
mov r15d, dword [rsp + 0x450]
imul ecx, r15d
mov r8d, dword [rsp + 0x480]
imul ecx, r8d
imul ecx, r14d
test ecx, ecx
js 0x140002d1c
mov r11d, dword [rsp + 0x458]
mov edx, r11d
imul edx, r8d
mov r10d, dword [rsp + 0xc8]
imul r10d, r8d
imul r10d, r14d
neg edx
jns 0x140002ce6
movsxd rax, edx
sub r9, rax
add r10, rax
xor eax, eax
mov edx, eax
add r11d, r15d
mov eax, r11d
imul eax, r8d
imul eax, r14d
cmp r10, rax
jbe 0x140002d00
imul r11d, r8d
mov r10d, r11d
movsxd r8, edx
movsxd rcx, ecx
add r8, qword [rsp + 0x4c0]
add rcx, r8
mov r8, r10
mov rdx, r9
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0xb70]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
inc edi
jmp 0x140002bc0
lea rcx, [rsp + 0xc8]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
xor r12d, r12d
test r13, r13
je 0x140002d66
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x80], r12
mov rsi, qword [rsp + 0x4d8]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov qword [rsp + 0xb8], r12
lea r14, vtable.AIDE::OutputStream.0
mov qword [rsp + 0xb0], r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEOutputStreamCallBacks::constructor_void____ptr64]
nop
lea r8, [0x140001250]
mov qword [rsp + 0x60], r8
lea r9, [rsp + 0xb8]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsi]
call qword [sym.imp.AIDE.dll_AIDELibCreateOutputStream]
test eax, eax
jne 0x1400038ed
jmp 0x140002f45
cmp byte [rsp + 0x474], 0
je 0x140002ec3
mov r14d, esi
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140003911
movups xmm0, xmmword [rsp + 0x464]
movups xmmword [rsp + 0x90], xmm0
mov edi, r12d
cmp edi, dword [rsp + 0x8c]
jae 0x140002eb6
mov r8d, esi
mov r9, rbx
mov edx, 1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, r14
jne 0x14000392e
mov r11d, dword [rsp + 0x9c]
cmp r11d, edi
jg 0x140002eaf
mov ecx, dword [rsp + 0x94]
add ecx, r11d
cmp edi, ecx
jae 0x140002eaf
mov r8d, dword [rsp + 0x90]
mov r9d, dword [rsp + 0x480]
imul r8d, r9d
mov ecx, dword [rsp + 0x43c]
imul r8d, ecx
shr r8, 3
mov eax, dword [rsp + 0x98]
imul eax, r9d
movsxd rdx, eax
add rdx, r13
mov eax, edi
sub eax, r11d
imul eax, dword [rsp + 0x90]
imul eax, r9d
imul ecx, eax
shr rcx, 3
add rcx, qword [rsp + 0x4c0]
call sub.VCRUNTIME140.dll_memcpy
inc edi
jmp 0x140002e11
lea rcx, [rsp + 0x90]
jmp 0x140002d47
lea rcx, [rsp + 0x430]
call fcn.140008a10
mov eax, dword [rsp + 0x480]
imul eax, dword [rsp + 0x43c]
mov dword [rsp + 0x494], eax
mov eax, dword [rsp + 0x448]
imul eax, dword [rsp + 0x480]
imul eax, dword [rsp + 0x43c]
shr eax, 3
mov dword [rsp + 0x490], eax
imul eax, dword [rsp + 0x44c]
mov edi, eax
mov dword [rsp + 0x498], edi
mov r8d, eax
mov r9, rbx
mov rdx, r13
mov rcx, qword [rsp + 0x4c0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
jne 0x140003967
mov r13, qword [rsp + 0x80]
jmp 0x140002d50
lea rcx, [rsp + 0x60]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEOutputStreamCallBacks::destructor_void____ptr64]
lea rsi, vtable.FLITEOutputStream.0
mov qword [rsp + 0xb0], rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x8000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0x47c]
test eax, eax
jne 0x140003041
mov qword [rsp + 0x78], r12
mov rax, qword [rsp + 0x4d8]
lea rdx, [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.AIDE.dll_AIDELibCreateJpegEncodeOptions]
test eax, eax
jne 0x1400039a0
mov edx, dword [rsp + 0x4d0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.AIDE.dll_AIDEJpegEncodeOptionsSetEncodeMethod]
test eax, eax
jne 0x1400039c4
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.AIDE.dll_AIDEJpegEncodeOptionsSetEncodeMode]
test eax, eax
jne 0x1400039e7
movzx edx, byte [rsp + 0x4c8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.AIDE.dll_AIDEJpegEncodeOptionsSetSave4WebQuality]
test eax, eax
jne 0x140003a0a
mov dl, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.AIDE.dll_AIDEJpegEncodeOptionsSetUseClipping]
test eax, eax
jne 0x140003a2d
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x430]
call fcn.140005820
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.AIDE.dll_AIDELibDestroyJpegEncodeOptions]
jmp 0x1400031b6
cmp eax, 5
je 0x1400030e4
test eax, eax
jle 0x1400030df
cmp eax, 8
jge 0x1400030df
mov qword [rsp + 0x50], r12
mov rax, qword [rsp + 0x4d8]
lea rdx, [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.AIDE.dll_AIDELibCreatePngEncodeOptions]
test eax, eax
jne 0x140003a51
cmp dword [rsp + 0x47c], 2
jne 0x1400030b4
cmp dword [rsp + 0x43c], 8
jne 0x140003a98
mov edx, 2
mov r8d, 0x100
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.AIDE.dll_AIDEPngEncodeOptionsSetForcedPaletteCreation]
test eax, eax
jne 0x140003a75
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x430]
call fcn.140005be0
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.AIDE.dll_AIDELibDestroyPngEncodeOptions]
jmp 0x1400031b6
cmp eax, 5
jne 0x140003132
mov qword [rsp + 0x50], r12
mov rax, qword [rsp + 0x4d8]
lea rdx, [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.AIDE.dll_AIDELibCreateGifEncodeOptions]
test eax, eax
jne 0x140003ad1
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x430]
call fcn.140005fb0
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.AIDE.dll_AIDELibDestroyGifEncodeOptions]
jmp 0x1400031b6
cmp eax, 8
jne 0x1400031b6
mov qword [rsp + 0x50], r12
mov rax, qword [rsp + 0x4d8]
lea rdx, [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.AIDE.dll_AIDELibCreateWebPEncodeOptions]
test eax, eax
jne 0x140003af4
movzx edx, byte [rsp + 0x4c8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.AIDE.dll_AIDEWebPEncodeOptionsSetImageQuality]
test eax, eax
jne 0x140003b18
mov edx, dword [rsp + 0x4d4]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.AIDE.dll_AIDEWebPEncodeOptionsSetCompressionType]
test eax, eax
jne 0x140003b3b
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x430]
call fcn.140006440
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.AIDE.dll_AIDELibDestroyWebPEncodeOptions]
nop
mov qword [rsp + 0xb0], rsi
mov ecx, dword [rsp + 0xc0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov qword [rsp + 0xb0], r14
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400031ee
call qword [sym.imp.AIDE.dll_AIDELibDestroyOutputStream]
mov qword [rsp + 0xb8], r12
lea rcx, [rsp + 0x88]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rcx, qword [rsp + 0x4b8]
test rcx, rcx
je 0x14000321a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x4d8]
test rbx, rbx
je 0x14000323d
mov rcx, qword [rbx]
call qword [sym.imp.AIDE.dll_AIDEDestroyLibInstance]
mov edx, 8
mov rcx, rbx
call fcn.140008d94
mov rcx, qword [rsp + 0x430]
test rcx, rcx
je 0x140003254
mov edx, 1
call fcn.140008d94
lea rcx, [rsp + 0x464]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
lea rcx, [rsp + 0x450]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
lea rcx, [rsp + 0x448]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
lea rcx, [rsp + 0x440]
call qword [sym.imp.AIDE.dll_public:_void___cdecl_AIDE::AIDEDimension::destructor_void____ptr64]
xor eax, eax
mov rcx, qword [rsp + 0xb80]
xor rcx, rsp
call fcn.140008d70
lea r11, [rsp + 0xba0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, eax
lea rcx, [rsp + 0x290]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x290]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_Arguments_for__profile
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0xb00]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0xb00]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Unable_to_read_color_profile
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x4e0]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x4e0]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Error_reading_ICC_Profile_data
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x518]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x518]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Insufficient_Arguments_for__profile
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x550]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x550]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0xf0]
call fcn.140003f10
lea rdx, str.Error_reading_color_profile
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x588]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x588]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rcx, [rsp + 0xf0]
call fcn.140003f10
lea rdx, str.Error_reading_color_profile
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x5c0]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x5c0]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Error_reading_ICC_Profile_data
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x5f8]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x5f8]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Unable_to_read_color_profile
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x630]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x630]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Insufficient_Arguments_for___profile_path
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x668]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x668]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Error_reading_ICC_Profile_data
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x6a0]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x6a0]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Unable_to_read_color_profile
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x6d8]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x6d8]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Insufficient_Arguments_for___profile_data_len
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x710]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x710]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_Size
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x748]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x748]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Insufficient_Arguments_for__size
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x780]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x780]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Insufficient_Arguments_for__depth
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x7b8]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x7b8]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Insufficient_Arguments_for__extract
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x9b0]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x9b0]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Insufficient_Arguments_for__background
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x828]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x828]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Insufficient_Arguments_for__extent
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x860]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x860]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140004e50
call fcn.140004e50
call fcn.140004e50
lea rdx, str.Bad_JPEG_Encoding_Method__
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x898]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x898]
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.140004e50
nop
lea rdx, str.Invalid_quality
lea rcx, [rsp + 0x410]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x8d0]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x8d0]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Insufficient_Arguments_for__quality
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x908]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x908]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Bad_WebP_Compression_Mathod__
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x940]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x940]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Bad_Format__
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x978]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x978]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Malloc_Failed
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x7f0]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x7f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unable_to_allocate_RowBuffer_for_processing
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rcx, rax
call fcn.140003e30
lea rdx, str.Error_reading_data_from_input_stream
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0x9e8]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0x9e8]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Unable_to_allocate_RowBuffer_for_processing
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rcx, rax
call fcn.140003e30
nop
lea rdx, str.Error_reading_data_from_input_stream
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0xa20]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0xa20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rsp + 0x2b0]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x2b0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Unable_to_allocate_RowBuffer_for_processing
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rcx, rax
call fcn.140003e30
nop
lea rdx, str.Error_reading_data_from_input_stream
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0xa58]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0xa58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_reading_data_from_input_stream
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0xa90]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0xa90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rsp + 0x2d0]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x2d0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rsp + 0x2f0]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x2f0]
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, eax
lea rcx, [rsp + 0x310]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x310]
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, eax
lea rcx, [rsp + 0x330]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x330]
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, eax
lea rcx, [rsp + 0x350]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x350]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rsp + 0x370]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x370]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rsp + 0x390]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x390]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Unsupported_BitDepth_16__and_image_format_PNG8__combination__
lea rcx, [rsp + 0x3f0]
call fcn.140003ed0
mov rdx, rax
lea rcx, [rsp + 0xac8]
call fcn.140008880
lea rdx, [0x14000e3f8]
lea rcx, [rsp + 0xac8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rsp + 0x3b0]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x3b0]
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, eax
lea rcx, [rsp + 0x3d0]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x3d0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rsp + 0x250]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x250]
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, eax
lea rcx, [rsp + 0x270]
call fcn.140001190
lea rdx, [0x14000e348]
lea rcx, [rsp + 0x270]
call sub.VCRUNTIME140.dll__CxxThrowException
int3