Function at 0x42beb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44433e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xf4]
xor ebp, ebp
mov edi, 1
push ebp
mov dword [esp + 0xe0], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x8c], 0x28
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x98], di
mov word [esp + 0x9a], 0x18
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
lea ecx, [esp + 0x68]
push ebp
push ecx
lea edx, [esp + 0x94]
push edi
push edx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x14], eax
mov eax, esi
imul eax, ebx
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0x64]
lea ecx, [eax + eax*2]
push 8
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x42bfaa
mov esi, eax
mov dword [eax + 4], ebp
mov dword [eax], 0x446d0c
mov dword [esp + 0x1c], esi
jmp 0x42bfb0
mov dword [esp + 0x1c], ebp
mov esi, ebp
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0xdc], 2
je 0x42bfe1
mov ecx, eax
call sub.MFC42.DLL_CDC::CDC
mov edi, eax
jmp 0x42bfe3
xor edi, edi
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
mov byte [esp + 0xe0], 1
call sub.MFC42.DLL_CDC::Attach
cmp esi, ebp
jne 0x42bfff
xor eax, eax
jmp 0x42c002
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi + 4]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov esi, 1
mov ecx, edi
push esi
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [edi]
push 0xff
mov ecx, edi
call dword [edx + 0x38]
mov ecx, dword [esp + 0xf0]
lea eax, [ebx - 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], ecx
mov ecx, dword [eax - 8]
mov edx, dword [edi]
lea ebx, [esp + 0x78]
push ebp
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
mov al, byte [0x44fad8]
test al, al
jne 0x42c1c2
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ebp
push ecx
mov dword [esp + 0x74], 0x447768
mov dword [esp + 0x1c], ebp
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov ecx, dword [0x448ab4]
mov edx, dword [0x448aac]
mov eax, dword [0x448ab0]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x48], edx
mov edx, dword [0x448ab8]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x18]
push ecx
push str.image_bmp
mov byte [esp + 0xe4], 3
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], eax
call fcn.0042bdf0
mov dl, byte [esp + 0x37]
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
push ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xc4]
push eax
push ecx
mov byte [esp + 0xe4], 4
call fcn.0042bce0
add esp, 8
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0xdc], 5
mov ecx, dword [edx]
push ecx
push ebp
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push esi
lea ecx, [esp + 0xc8]
mov byte [esp + 0xe0], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0x34]
cmp eax, ebp
jne 0x42c16a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x44]
lea ecx, [esp + 0xb4]
push edx
push ecx
push eax
push ebx
call sub.gdiplus.dll_GdipSaveImageToFile
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x42c1a8
mov al, byte [ecx - 1]
test al, al
je 0x42c19c
cmp al, 0xff
je 0x42c19c
dec al
mov byte [ecx - 1], al
jmp 0x42c1a8
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0xe0], 1
call sub.gdiplus.dll_GdipDisposeImage
cmp byte [0x44fad8], 1
jne 0x42c494
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push ebp
push eax
mov dword [esp + 0x74], 0x447768
mov dword [esp + 0x1c], ebp
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov eax, dword [0x448ab4]
mov ecx, dword [0x448aac]
mov edx, dword [0x448ab0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x448ab8]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x24]
push eax
push str.image_jpeg
mov byte [esp + 0xe4], 6
mov dword [esp + 0x2c], 0x62
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], edx
call fcn.0042bdf0
add esp, 8
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
jne 0x42c2a5
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x42c284
mov edx, dword [ecx]
push 1
call dword [edx + 4]
cmp edi, ebp
jne 0x42c28c
xor eax, eax
jmp 0x42c28f
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp edi, ebp
je 0x42c2fb
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
jmp 0x42c2fb
lea ecx, [esp + 0x28]
push ecx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [esp + 0x28]
cmp eax, ebp
jne 0x42c333
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x42c2dc
mov eax, dword [ecx]
push 1
call dword [eax + 4]
cmp edi, ebp
jne 0x42c2e4
xor eax, eax
jmp 0x42c2e7
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp edi, ebp
je 0x42c2fb
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
push ebx
call sub.gdiplus.dll_GdipDisposeImage
lea ecx, [esp + 0xe4]
mov byte [esp + 0xdc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xec]
mov dword [esp + 0xdc], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x42c4f8
lea ecx, [esp + 0x44]
lea edx, [esp + 0xb4]
push ecx
push edx
push eax
push ebx
call sub.gdiplus.dll_GdipSaveImageToStream
cmp eax, ebp
je 0x42c34f
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x28]
push ebp
xor eax, eax
push ebp
mov edx, dword [ecx]
push ebp
push eax
push ecx
call dword [edx + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
lea ecx, [esp + 0x30]
mov ebp, eax
call sub.MFC42.DLL_CFile::CFile_1
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 7
call fcn.0043fabe
lea eax, [esp + 0xe4]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0xe0], 8
call fcn.0043fac4
mov ecx, dword [esp + 0x20]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Open
mov edx, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x38]
call dword [edx + 0x30]
push ebp
push ebx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x18]
call fcn.0043fabe
lea ecx, [esp + 0x40]
mov byte [esp + 0xdc], 9
call fcn.0043fabe
lea eax, [esp + 0xe4]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xe0], 0xa
call fcn.0043fac4
push ebp
lea ecx, [esp + 0x44]
push str._JPG
push ecx
call sub.MFC42.DLL_CString::Format
push ebx
push ebp
call fcn.00417890
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x40]
mov byte [esp + 0xdc], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0xdc], 6
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [esp + 0x10]
mov byte [esp + 0xdc], 1
push edx
call sub.gdiplus.dll_GdipDisposeImage
xor ebp, ebp
mov esi, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x42c4ad
mov edx, dword [ecx]
push esi
call dword [edx + 4]
cmp edi, ebp
jne 0x42c4b5
xor eax, eax
jmp 0x42c4b8
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp edi, ebp
je 0x42c4cb
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 4]
lea ecx, [esp + 0xe4]
mov byte [esp + 0xdc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xec]
mov dword [esp + 0xdc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret