Function at 0x42a020
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435b54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
mov dword [ebp - 0x10], esp
je 0x42a6c5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42a068
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x44769c]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42a0c1
lea ecx, [ebp - 0x330]
push 0x208
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x330]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x330]
lea ecx, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x42a0ce
push 0x44769c
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x2c]
push str.UtilImage.DLL
lea edx, [ebp - 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x18]
mov dword [esi + 0x18], eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x42a159
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x446fe0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [ebp - 0xf0]
push 0x43bd40
push edx
mov dword [ebp - 0xf0], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateUtilImageFile
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x42a1ca
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x446fe0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x128]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [ebp - 0x128]
push 0x43bd40
push edx
mov dword [ebp - method.SystemError.virtual_0], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x2c]
push str..dll
lea ecx, [ebp - 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [ebp - 4], 4
push eax
call ebx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x42a282
mov dl, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42a253
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov eax, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [ebp - 0x9c]
push 0x43bd40
push edx
mov dword [ebp - 0x9c], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [0x447694]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42a2bc
push str..dll
lea ecx, [ebp - 0x18]
push 0x447694
push ecx
call sub.MFC42.DLL_operator
mov ecx, dword [esi + 0x20]
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 6
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x18]
push str.CreateUtilResize
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
jne 0x42a354
mov cl, byte [ebp - 0x11]
push eax
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42a325
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0xb8]
push 0x43bd40
push ecx
mov dword [ebp - 0xb8], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [esi + 0x18]
push str.CreateUtilRotate
push edx
call edi
test eax, eax
mov dword [esi + 0xc], eax
jne 0x42a3ed
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42a3be
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0xd4]
push 0x43bd40
push ecx
mov dword [ebp - 0xd4], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [esi + 0x18]
push str.CreateUtilContainer
push edx
call edi
test eax, eax
mov dword [esi + 4], eax
jne 0x42a486
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42a457
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x10c]
push 0x43bd40
push ecx
mov dword [ebp - method.SystemError.virtual_0], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [esi + 0x18]
push str.CreateUtilMacro
push edx
call edi
test eax, eax
mov dword [esi + 0x10], eax
jne 0x42a532
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42a4f0
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [ebp - 0x18]
mov bl, 0xa
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [ebp - 0x80]
push 0x43bd40
push edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x80], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x2c]
push str.PluginJpeg.DLL
lea ecx, [ebp - 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x18]
mov dword [esi + 0x1c], eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x42a5f8
mov dl, byte [ebp - 0x11]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42a5b6
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov eax, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov byte [ecx + ebx], 0
lea edx, [ebp - 0x18]
mov bl, 0xc
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x64]
push 0x43bd40
push ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x64], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
push str.LosslessRotate
push eax
call edi
test eax, eax
mov dword [esi + 0x14], eax
jne 0x42a6a0
mov dl, byte [ebp - 0x11]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [ebp - 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x42a65e
mov edi, dword [ebp - 0x24]
mov ecx, ebx
mov eax, ecx
mov esi, 0x446fe0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ebx
mov byte [ecx + ebx], 0
lea edx, [ebp - 0x18]
mov bl, 0xe
push edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x48]
push 0x43bd40
push ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x48], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret