Function at 0x1004be80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ed84
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1029e9c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov edx, 1
mov dword [ebp - 4], ebx
mov ecx, edx
mov dword [ebp - 0x34], eax
lock xadd dword [eax], ecx
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov ecx, edx
mov dword [ebp - 0x4c], eax
lock xadd dword [eax], ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_void_]
mov ecx, dword [esi + 0x44]
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1004c182
add ecx, 8
call sym.libnomacs.dll_public:_bool___thiscall_nmc::DkImageContainer::exists_void_
test al, al
je 0x1004c182
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call sym.libnomacs.dll_public:_class_QFileInfo___thiscall_nmc::DkImageLoader::file_void_
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call dword [sym.imp.QtCore4.dll_public:_class_QFileInfo____thiscall_QFileInfo::operator_class_QFileInfo__]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::fileName_void_]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.QtCore4.dll_public:_class_QDir___thiscall_QFileInfo::absoluteDir_void_]
mov esi, eax
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 6
call sym.libnomacs.dll_public:_class_QDir___thiscall_nmc::DkImageLoader::getSaveDir_void_
push esi
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::operator_class_QDir_const__const]
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [ebp - 0x28]
test al, al
mov byte [ebp - 4], 6
sete bl
call esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call esi
test bl, bl
je 0x1004bfe0
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push eax
call sym.libnomacs.dll_public:_class_QDir___thiscall_nmc::DkImageLoader::getSaveDir_void_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
push ecx
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QDir_const___class_QString_const__]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call dword [sym.imp.QtCore4.dll_public:_class_QFileInfo____thiscall_QFileInfo::operator_class_QFileInfo__]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call esi
mov eax, dword [sym.libnomacs.dll_struct_nmc::DkSettings::App__nmc::DkSettings::app]
mov ecx, 1
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x2c], eax
lock xadd dword [eax], ecx
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x10], 1
jne 0x1004c008
push dword [eax + 4]
lea ecx, [ebp - 0x2c]
call fcn.1000d640
mov ebx, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::suffix_void_]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call ebx
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push 0x10194264
push eax
call fcn.100090b0
push 0x1018f360
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
call fcn.10009010
add esp, 0x18
push 0
push 0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::setPatternSyntax_enum_QRegExp::PatternSyntax_]
mov eax, dword [ebp - 0x2c]
xor esi, esi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, edx
test ecx, ecx
jle 0x1004c0df
mov edi, dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QRegExp::exactMatch_class_QString_const__const]
nop
lea ecx, [edx + esi]
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x30]
push eax
call edi
test al, al
mov eax, dword [ebp - 0x2c]
jne 0x1004c0c5
mov ecx, dword [eax + 0xc]
inc esi
mov edx, dword [eax + 8]
sub ecx, edx
cmp esi, ecx
jl 0x1004c0a0
jmp 0x1004c0df
mov ecx, dword [eax + 8]
add ecx, esi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x34]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
cmp esi, 0xffffffff
jne 0x1004c128
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x38]
call ebx
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x12
push 0x1018e60c
push eax
call fcn.100090b0
add esp, 0xc
push 1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::remove_class_QString_const___enum_Qt::CaseSensitivity_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
mov eax, dword [ebp - 0x2c]
or ecx, 0xffffffff
mov byte [ebp - 4], 3
lock xadd dword [eax], ecx
jne 0x1004c179
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x1004c16f
mov edi, edi
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x1004c160
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
mov ebx, dword [ebp - 0x24]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov ecx, 1
mov dword [ebp - 0x40], eax
lock xadd dword [eax], ecx
cmp byte [ebp + 0x14], 0
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::absoluteFilePath_void_]
mov byte [ebp - 4], 0x14
je 0x1004c36c
mov eax, dword [ebp - 0x34]
cmp dword [eax + 8], 0
je 0x1004c387
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x1004c36f
add ecx, 8
call sym.libnomacs.dll_public:_bool___thiscall_nmc::DkImageContainer::isEdited_void_const
test al, al
je 0x1004c36c
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x48]
push eax
call sym.libnomacs.dll_public:_class_QFileInfo___thiscall_nmc::DkImageLoader::file_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, eax
call esi
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x14
call edi
push 0x28
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x1004c2cd
mov byte [ebp - 0x44], 0x20
lea ecx, [ebp - 0x2a]
push dword [ebp - 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [ebp - 0x28]
push str.Do_you_want_to_overwrite:_n_1_
push eax
call sym.libnomacs.dll_public:_static_class_QString___cdecl_nmc::DkImageLoader::tr_char_const___char_const__
add esp, 0xc
lea ecx, [ebp - 0x2a]
mov byte [ebp - 4], 0x18
push ecx
push 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], 1
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
mov edi, eax
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0x19
push str.Overwrite_File
push eax
mov dword [ebp - 0x24], 3
call sym.libnomacs.dll_public:_static_class_QString___cdecl_nmc::DkImageLoader::tr_char_const___char_const__
mov esi, eax
add esp, 8
mov dword [ebp - 4], 0x1a
mov ecx, esp
mov ebx, 7
mov dword [ebp - 0x24], ebx
mov dword [ecx], 3
call dword [sym.imp.QtGui4.dll_public:_static_class_QWidget____cdecl_QApplication::activeWindow_void_]
push eax
push ecx
mov ecx, dword [ebp - 0x48]
mov eax, esp
push edi
push esi
push 4
mov dword [eax], 0x14000
call fcn.10064bc0
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
mov esi, eax
jmp 0x1004c2cf
xor esi, esi
mov dword [ebp - 4], 0x1c
test bl, 4
je 0x1004c2ea
and ebx, 0xfffffffb
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0x1b
test bl, 2
je 0x1004c305
and ebx, 0xfffffffd
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 4], 0x14
test bl, 1
je 0x1004c320
and ebx, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0xffffffffffffffff
push str.overwriteDialog
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::setObjectName_class_QString_const__]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
call fcn.10065170
test eax, eax
je 0x1004c366
cmp eax, 0x10000
jne 0x1004c52b
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::absoluteFilePath_void_]
mov eax, dword [ebp - 0x34]
cmp dword [eax + 8], 0
je 0x1004c387
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call esi
mov byte [ebp - 4], 0x1f
or ebx, 8
jmp 0x1004c3ce
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.QtCore4.dll_public:_class_QDir___thiscall_QFileInfo::absoluteDir_void_]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0x20
push ecx
or ebx, 0x10
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QDir_const___class_QString_const__]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x21
push ecx
or ebx, 0x20
mov ecx, eax
mov dword [ebp - 0x24], ebx
call esi
mov dword [ebp - 4], 0x22
or ebx, 0x40
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov dword [ebp - 4], 0x24
test bl, 0x40
je 0x1004c3f6
and ebx, 0xffffffbf
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 4], 0x25
test bl, 0x20
je 0x1004c40a
and ebx, 0xffffffdf
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], ebx
call edi
mov byte [ebp - 4], 0x26
test bl, 0x10
je 0x1004c422
and ebx, 0xffffffef
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
mov byte [ebp - 4], 0x27
test bl, 8
je 0x1004c434
lea ecx, [ebp - 0x3c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0xffffffffffffffff
push 0x10194980
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x24], 0x20
lea ecx, [ebp - 0x2a]
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x28
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, dword [sym.libnomacs.dll_struct_nmc::DkSettings::App__nmc::DkSettings::app]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ecx + 0x4c]
call fcn.1001b0c0
mov esi, eax
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x29
push str.Save_File__1
push eax
call sym.libnomacs.dll_public:_static_class_QString___cdecl_nmc::DkImageLoader::tr_char_const___char_const__
add esp, 0xc
lea ecx, [ebp - 0x2a]
mov byte [ebp - 4], 0x2a
push ecx
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x2b
mov dword [ecx], 0
lea ecx, [ebp - 0x34]
push ecx
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.QtGui4.dll_public:_static_class_QWidget____cdecl_QApplication::activeWindow_void_]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.QtGui4.dll_public:_static_class_QString___cdecl_QFileDialog::getSaveFileName_class_QWidget___class_QString_const___class_QString_const___class_QString_const___class_QString___class_QFlags_enum_QFileDialog::Option__]
add esp, 0x1c
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2c
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x2b
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x2a
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x29
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x28
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x27
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
je 0x1004c9cb
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x2d
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::suffix_void_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2f
call edi
mov eax, dword [ebp - 0x58]
cmp dword [eax + 8], 0
je 0x1004c65d
push 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x29]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QString_const___enum_Qt::CaseSensitivity_]
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
test ecx, ecx
jne 0x1004c65d
mov eax, dword [sym.libnomacs.dll_struct_nmc::DkSettings::App__nmc::DkSettings::app]
mov ecx, 1
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x24], eax
lock xadd dword [eax], ecx
inc ecx
mov eax, dword [ebp - 0x24]
test byte [eax + 0x10], 1
jne 0x1004c5b9
push dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.1000d640
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
xor esi, esi
sub ecx, dword [eax + 8]
mov byte [ebp - 4], 0x30
test ecx, ecx
jle 0x1004c61e
lea esp, [esp]
push 1
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x29]
push ecx
mov ecx, dword [eax + 8]
lea eax, [eax + 0x14]
add ecx, esi
lea ecx, [eax + ecx*4]
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QString_const___enum_Qt::CaseSensitivity_]
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
mov eax, dword [ebp - 0x24]
test ecx, ecx
jne 0x1004c606
mov ecx, dword [eax + 0xc]
inc esi
sub ecx, dword [eax + 8]
cmp esi, ecx
jl 0x1004c5d0
jmp 0x1004c61e
mov ecx, dword [eax + 8]
add ecx, esi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x34]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x2f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1004c65d
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x1004c653
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x1004c644
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__]
push 0xffffffffffffffff
push str._jpgjpegj2kjp2jpfjpx_
mov byte [ebp - 4], 0x31
xor edi, edi
mov dword [ebp - 0x24], 0xffffffff
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x28], eax
push edi
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x32
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
push eax
lea eax, [ebp - 0x29]
mov byte [ebp - 4], 0x33
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QRegExp_const__]
xor esi, esi
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x14]
cmp byte [eax], 0
cmovne esi, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x31
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
test esi, esi
je 0x1004c882
push 0x64
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x34
test esi, esi
je 0x1004c70d
push ecx
mov ecx, esp
mov dword [ecx], edi
call dword [sym.imp.QtGui4.dll_public:_static_class_QWidget____cdecl_QApplication::activeWindow_void_]
push eax
mov ecx, esi
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkCompressDialog::constructor_class_QWidget___class_QFlags_enum_Qt::WindowType__
mov edi, eax
jmp 0x1004c70f
xor edi, edi
push 0xffffffffffffffff
push str._j2kjp2jpfjpx_
mov byte [ebp - 4], 0x31
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x28], eax
push 0
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x35
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
push eax
lea eax, [ebp - 0x29]
mov byte [ebp - 4], 0x36
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QRegExp_const__]
xor esi, esi
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x14]
cmp byte [eax], 0
cmovne esi, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x31
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, edi
test esi, esi
je 0x1004c779
push 1
jmp 0x1004c77b
push 0
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkCompressDialog::setDialogMode_int_
mov esi, dword [sym.imp.QtGui4.dll_public:_bool___thiscall_QImage::hasAlphaChannel_void_const]
lea ecx, [ebp + 8]
call esi
movzx eax, al
mov ecx, edi
push eax
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkCompressDialog::imageHasAlpha_bool_
lea eax, [ebp + 8]
mov ecx, edi
push eax
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkCompressDialog::setImage_class_QImage__
mov ecx, edi
call ebx
test eax, eax
je 0x1004c9af
mov ecx, edi
call sym.libnomacs.dll_public:_int___thiscall_nmc::DkCompressDialog::getCompression_void_
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], eax
call esi
test al, al
je 0x1004c882
mov esi, dword [sym.imp.QtGui4.dll_public:_class_QSize___thiscall_QImage::size_void_]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call esi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push 4
mov ecx, dword [eax]
dec ecx
mov dword [ebp - 0x74], ecx
lea ecx, [ebp + 8]
mov eax, dword [eax + 4]
dec eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x68]
push eax
call esi
push eax
lea ecx, [ebp - 0x88]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_class_QSize_const___enum_QImage::Format_]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x37
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPainter::constructor_class_QPaintDevice__]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x38
push eax
mov ecx, edi
call sym.libnomacs.dll_public:_class_QColor___thiscall_nmc::DkCompressDialog::getBackgroundColor_void_
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPainter::fillRect_class_QRect_const___class_QColor_const__]
push ecx
mov eax, esp
lea ecx, [ebp - 0x30]
mov dword [eax], 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPainter::drawImage_class_QRect_const___class_QImage_const___class_QRect_const___class_QFlags_enum_Qt::ImageConversionFlag__]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x37
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPainter::destructor_void_]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x31
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
push 0xffffffffffffffff
push str.webp
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x29]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QString_const___enum_Qt::CaseSensitivity_]
xor esi, esi
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x28]
cmp byte [eax], 0
cmovne esi, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test esi, esi
je 0x1004c927
test edi, edi
jne 0x1004c8fd
push 0x64
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x3a
test esi, esi
je 0x1004c8f7
push ecx
mov ecx, esp
mov dword [ecx], edi
call dword [sym.imp.QtGui4.dll_public:_static_class_QWidget____cdecl_QApplication::activeWindow_void_]
push eax
mov ecx, esi
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkCompressDialog::constructor_class_QWidget___class_QFlags_enum_Qt::WindowType__
mov edi, eax
jmp 0x1004c8f9
xor edi, edi
mov byte [ebp - 4], 0x31
push 2
mov ecx, edi
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkCompressDialog::setDialogMode_int_
lea eax, [ebp + 8]
mov ecx, edi
push eax
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkCompressDialog::setImage_class_QImage__
mov ecx, edi
call ebx
test eax, eax
je 0x1004c9af
mov ecx, edi
call sym.libnomacs.dll_public:_int___thiscall_nmc::DkCompressDialog::getCompression_void_
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push 0x10194dcc
xor ebx, ebx
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x29]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QString_const___enum_Qt::CaseSensitivity_]
xor esi, esi
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x28]
cmp byte [eax], bl
cmovne esi, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test esi, esi
je 0x1004ca32
push 0x20
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x3c
test esi, esi
je 0x1004c99d
push ecx
mov ecx, esp
mov dword [ecx], ebx
call dword [sym.imp.QtGui4.dll_public:_static_class_QWidget____cdecl_QApplication::activeWindow_void_]
push eax
mov ecx, esi
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkTifDialog::constructor_class_QWidget___class_QFlags_enum_Qt::WindowType__
mov ebx, eax
jmp 0x1004c99f
xor ebx, ebx
mov ecx, ebx
mov byte [ebp - 4], 0x31
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
test eax, eax
jne 0x1004ca29
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x2f
call edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016159e
mov esp, ebp
pop ebp
ret 0x10
mov ecx, ebx
call sym.libnomacs.dll_public:_int___thiscall_nmc::DkTifDialog::getCompression_void_const
jmp 0x1004ca35
mov eax, dword [ebp - 0x24]
push 1
push eax
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
sub esp, 0xc
mov byte [ebp - 4], 0x3d
lea eax, [ebp + 8]
mov dword [ebp - 0x64], esp
mov ecx, esp
push eax
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_class_QImage_const__]
push ecx
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x3e
mov ecx, esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QFileInfo_const__]
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x31
call sym.libnomacs.dll_public:_void___thiscall_nmc::DkImageLoader::saveFile_class_QFileInfo__class_QImage__class_QString__int__bool_
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::deleteLater_void_]
test ebx, ebx
je 0x1004ca89
mov ecx, ebx
call esi
test edi, edi
je 0x1004ca91
mov ecx, edi
call esi
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x2f
call esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call esi
jmp 0x1004c9e1