Function at 0x45ec70
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x492596
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64468c]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x30], ebp
lea eax, [esp + 0x88]
mov dword [esp + 0x7c], 0
push eax
lea eax, [esp + 0x2c]
push str.file:
push eax
call fcn.00426170
add esp, 0xc
push 0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::constructor_class_QString_const___enum_QUrl::ParsingMode_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov eax, esp
lea ecx, [esp + 0x28]
mov dword [eax], 0x7f00000
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QUrl::path_class_QFlags_enum_QUrl::ComponentFormattingOption__]
push eax
lea ecx, [esp + 0x8c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov eax, esp
push 0xfffffffffffffffe
push 0
push ecx
mov dword [eax], 0
mov ecx, 0x2f
mov eax, esp
mov word [eax], cx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x9c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::section_class_QChar__int__int__class_QFlags_enum_QString::SectionFlag__]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x80], 4
call esi
mov ecx, eax
mov byte [esp + 0x7c], 5
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QDir::exists_void_const]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x20]
test al, al
mov byte [esp + 0x7c], 4
sete bl
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x45ee2e
push ecx
mov eax, esp
mov ebx, 0x2f
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [esp + 0x98]
mov eax, esp
mov word [eax], bx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::section_class_QChar__int__int__class_QFlags_enum_QString::SectionFlag__]
push ecx
mov eax, esp
mov byte [esp + 0x80], 6
push 0xfffffffffffffffe
push 1
push ecx
mov dword [eax], 0
lea ecx, [esp + 0x98]
mov eax, esp
mov word [eax], bx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::section_class_QChar__int__int__class_QFlags_enum_QString::SectionFlag__]
lea eax, [esp + 0x20]
mov byte [esp + 0x7c], 7
push eax
lea ecx, [esp + 0x30]
call esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 8
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QDir::mkpath_class_QString_const__const]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 7
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x45ee43
mov ecx, ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutex::lock_void_]
or dword [esp + 0x14], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutexLocker::relock_void_]
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45f0f0
mov edx, dword [esp + 0x84]
xor ecx, ecx
lea esp, [esp]
cmp dword [eax + 0xc], edx
jb 0x45ee7c
mov ecx, eax
mov eax, dword [eax + 4]
jmp 0x45ee7f
mov eax, dword [eax + 8]
test eax, eax
jne 0x45ee70
test ecx, ecx
je 0x45f0f0
cmp edx, dword [ecx + 0xc]
jb 0x45f0f0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [esp + 0x5c]
mov byte [esp + 0x70], 0
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebp + 4]
call fcn.0045f150
lea ecx, [esp + 0x6c]
mov byte [esp + 0x7c], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x45eefc
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutexLocker::unlock_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 9
xor bl, bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x45f0fc
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
push esi
mov dword [esp + 0x24], edi
call dword [sym.imp.MSVCR120.dll_malloc]
push esi
push ebx
push eax
mov dword [esp + 0x54], eax
call sub.MSVCR120.dll_memcpy
add esp, 0x10
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutexLocker::unlock_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QImageWriter::constructor_void_]
push 0xffffffffffffffff
push 0x49de60
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
lea eax, [esp + 0x84]
mov byte [esp + 0x7c], 0xc
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QImageWriter::setFormat_class_QByteArray_const__]
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 0x64
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QImageWriter::setQuality_int_]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QImageWriter::setFileName_class_QString_const__]
mov eax, ebp
imul eax, edi
lea eax, [eax + eax*2]
push eax
call fcn.004870e4
mov ecx, dword [esp + 0x34]
add esp, 4
mov ebx, eax
push ebp
push edi
push esi
push dword [esp + 0x50]
push ebx
call fcn.0045f2b0
push dword [esp + 0x44]
call dword [sym.imp.MSVCR120.dll_free]
mov eax, 0x51eb851f
add esp, 4
mul edi
mov ecx, 0x646110
shr edx, 3
push edx
call dword [sym.imp.FontPrint.dll_public:_bool___thiscall_Font::SetPixelsSize_int_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x58]
call edi
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push 7
lea ecx, [edx - 3]
mov byte [esp + 0x90], 0xd
push ecx
push ebp
push edx
push ebx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
mov esi, dword [sym.imp.FontPrint.dll_public:_bool___thiscall_Font::printByRight_char___unsigned_char___int__int__int__int__unsigned_char__unsigned_char__unsigned_char__int_]
mov ecx, 0x646110
push eax
call esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x58]
call edi
mov edi, dword [esp + 0x20]
mov ecx, eax
push 0
push 0xff
push 0xff
push 0xff
push 5
lea edx, [edi - 5]
mov byte [esp + 0x90], 0xe
push edx
push ebp
push edi
push ebx
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
push eax
mov ecx, 0x646110
call esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 0
push 0
push 0xd
push ebp
push edi
push ebx
lea ecx, [esp + 0x4c]
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QImage::constructor_unsigned_char___int__int__enum_QImage::Format__void____cdecl___void____void__]
lea eax, [esp + 0x34]
mov byte [esp + 0x7c], 0xf
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QImageWriter::write_class_QImage_const__]
push ebx
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
mov byte [esp + 0x7c], 0xb
lea ecx, [esp + 0x34]
mov bl, 1
call dword [sym.imp.Qt5Gui.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xa
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QImageWriter::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x45f0fc
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutexLocker::unlock_void_]
xor bl, bl
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMutexLocker::unlock_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::destructor_void_]
lea ecx, [esp + 0x88]
mov dword [esp + 0x7c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8