Function at 0x45e860
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4924f4
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 0x45ea1e
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 0x45ea33
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 0x45ec17
mov edx, dword [esp + 0x84]
xor ecx, ecx
lea esp, [esp]
cmp dword [eax + 0xc], edx
jb 0x45ea6c
mov ecx, eax
mov eax, dword [eax + 4]
jmp 0x45ea6f
mov eax, dword [eax + 8]
test eax, eax
jne 0x45ea60
test ecx, ecx
je 0x45ec17
cmp edx, dword [ecx + 0xc]
jb 0x45ec17
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 esi, dword [esp + 0x44]
test esi, esi
jne 0x45eaec
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 0x45ec23
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push edi
call dword [sym.imp.MSVCR120.dll_malloc]
push edi
push esi
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, ebx
imul eax, ebp
lea eax, [eax + eax*2]
push eax
call fcn.004870e4
mov ecx, dword [esp + 0x34]
add esp, 4
mov esi, eax
push ebx
push ebp
push edi
push dword [esp + 0x50]
push esi
call fcn.0045f2b0
push dword [esp + 0x44]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
lea ecx, [esp + 0x34]
push 0
push 0
push 0xd
push ebx
push ebp
push esi
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], 0xd
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QImageWriter::write_class_QImage_const__]
push esi
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 0x45ec23
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