Function at 0x40d2d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5072ef
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x11cc
call fcn.00433230
mov eax, dword [0x52f8b0]
xor eax, esp
mov dword [esp + 0x11c8], eax
push ebx
push esi
push edi
mov eax, dword [0x52f8b0]
xor eax, esp
push eax
lea eax, [esp + 0x11e0]
mov dword fs:[0], eax
xor eax, eax
push eax
push 0x5269d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x194], 0
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00402530
sub esp, 0x18
mov dword [esp + 0x1200], 0
mov eax, esp
je 0x40d368
mov dword [eax], vtable.std::_Func_base_void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___double__struct_std::_Nil__struct_std::_Nil__struct_std::_Nil__struct_std::_Nil__struct_std::_Nil_.0
mov dword [eax], 0x5277d4
mov ecx, eax
jmp 0x40d36a
xor ecx, ecx
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x198]
mov byte [esp + 0x1204], 0
call fcn.0040cea0
mov byte [esp + 0x11e8], 3
cmp dword [esp + 0x3c], 8
jb 0x40d3a1
push dword [esp + 0x28]
call fcn.0041a777
add esp, 4
xor eax, eax
lea ecx, [esp + 0x158]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x178], eax
call fcn.0044aac0
push 0
push 0
lea ecx, [esp + 0x160]
mov byte [esp + 0x11f0], 4
call fcn.0044d4a0
test eax, eax
jne 0x40d44c
sub esp, 8
lea ecx, [esp + 0x6c]
push 0x33
push str.task_install.cpp
call fcn.0040a550
add eax, 0x48
push str.TaskInstall:__db.Init__
push eax
mov byte [esp + 0x11f0], 5
call fcn.0040c860
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0x11e8], 4
call fcn.0040a670
jmp 0x40d751
push 0
push 0
lea ecx, [esp + 0x154]
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
call fcn.0040efe0
mov dword [esp + 0x14c], eax
push 0
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x160]
mov byte [esp + 0x11f0], 6
call fcn.0044d070
test eax, eax
jne 0x40d4dd
sub esp, 8
lea ecx, [esp + 0x6c]
push 0x3a
push str.task_install.cpp
call fcn.0040a550
add eax, 0x48
push str.TaskInstall:__db.GetRecommendImageList__
push eax
mov byte [esp + 0x11f0], 7
call fcn.0040c860
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0x11e8], 6
call fcn.0040a670
jmp 0x40d700
push str.ImageMagick.dll
lea ecx, [esp + 0x50]
call fcn.004022e0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11ec], 8
call fcn.0040d1f0
mov byte [esp + 0x11e8], 0xa
cmp dword [esp + 0x60], 8
jb 0x40d51c
push dword [esp + 0x4c]
call fcn.0041a777
add esp, 4
mov ebx, dword [esp + 0x18]
push str.resizefile
xor eax, eax
push ebx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x14c]
mov dword [esp + 0x148], eax
mov esi, dword [edi]
cmp esi, edi
je 0x40d6f5
mov ebx, eax
lea ecx, [ecx]
push 0x1018
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.0041f0d0
add esp, 0xc
lea eax, [esp + 0x148]
push 0xa
push eax
mov dword [esp + 0x150], 0
call fcn.00440a40
lea eax, [esp + 0x9dc]
push eax
lea eax, [esp + 0x154]
push str.image_s
push eax
mov byte [esp + 0x11fc], 0xb
call fcn.00404830
add esp, 0x14
lea eax, [esp + 0x154]
push 0xa
push eax
mov dword [esp + 0x15c], 0
call fcn.00440a40
lea eax, [esp + 0x7dc]
push eax
lea eax, [esp + 0x160]
push str.image_s
push eax
mov byte [esp + 0x11fc], 0xc
call fcn.00404830
add esp, 0x14
lea ecx, [esp + 0x1c]
push dword [esp + 0x148]
call fcn.0040d090
mov dword [esp + 0x14], eax
mov byte [esp + 0x11e8], 0xd
push dword [esp + 0x154]
lea ecx, [esp + 0x44]
call fcn.0040d090
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x11e8], 0xe
push 0x64
push dword [ecx + 8]
push dword [eax + 8]
call ebx
mov eax, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x40], vtable.CodeConvertForCpp::UnicodeToUtf8.0
test eax, eax
je 0x40d65d
push eax
call fcn.0041c5aa
add esp, 4
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], vtable.fund::noncopyable.0
mov dword [esp + 0x1c], vtable.CodeConvertForCpp::UnicodeToUtf8.0
test eax, eax
je 0x40d686
push eax
call fcn.0041c5aa
add esp, 4
mov dword [esp + 0x24], 0
mov byte [esp + 0x11e8], 0xb
mov edx, dword [esp + 0x154]
add edx, 0xfffffff0
mov dword [esp + 0x1c], vtable.fund::noncopyable.0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d6b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x11e8], 0xa
mov edx, dword [esp + 0x148]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d6e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x40d560
mov edi, dword [esp + 0x14c]
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x40d707
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x14c]
mov ecx, dword [edi]
mov dword [edi], edi
mov eax, dword [esp + 0x14c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x150], 0
cmp ecx, eax
je 0x40d748
jmp 0x40d730
mov esi, dword [ecx]
push ecx
call fcn.0041a777
mov eax, dword [esp + 0x150]
add esp, 4
mov ecx, esi
cmp esi, eax
jne 0x40d730
push eax
call fcn.0041a777
add esp, 4
lea ecx, [esp + 0x158]
mov byte [esp + 0x11e8], 3
call fcn.0044b110
lea ecx, [esp + 0x17c]
mov dword [esp + 0x11e8], 0xffffffff
call fcn.0040cf80
mov ecx, dword [esp + 0x11e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c8]
xor ecx, esp
call fcn.0041a77c
mov esp, ebp
pop ebp
ret 4