Function at 0x41c3f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e485b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], ecx
xor edi, edi
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], edi
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
mov dword [esp + 0x1c], edi
and eax, ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::AllocSysString
lea edx, [esp + 0x10]
mov dword [esp + 0x2c], 0x4ecbf8
push edx
push eax
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
cmp eax, edi
mov dword [esp + 0x34], edi
je 0x41c48a
push esi
call sub.gdiplus.dll_GdipDisposeImage
push ebx
jmp 0x41c5db
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push esi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x41c4a1
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
push ecx
push esi
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x41c4b8
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp edx, eax
jle 0x41c4e0
fild dword [esp + 0x18]
fmul dword [0x4ed704]
fidiv dword [esp + 0x14]
call sub.MSVCRT.dll__ftol
mov ebx, eax
mov ebp, 0x96
jmp 0x41c4fa
fild dword [esp + 0x14]
fmul dword [0x4ecc14]
fidiv dword [esp + 0x18]
call sub.MSVCRT.dll__ftol
mov ebp, eax
mov ebx, 0x64
mov eax, 0x96
mov ecx, dword [esp + 0x10]
sub eax, ebp
push 0
cdq
sub eax, edx
push 0
mov esi, eax
mov eax, 0x64
sub eax, ebx
mov dword [esp + 0x20], 0
cdq
sub eax, edx
mov edi, eax
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push ecx
sar esi, 1
sar edi, 1
call sub.gdiplus.dll_GdipGetImageThumbnail
test eax, eax
je 0x41c53b
mov dword [esp + 0x34], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x58], 4
je 0x41c568
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.00416680
mov edx, eax
mov dword [esp + 0x14], edx
jmp 0x41c574
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
test edx, edx
mov byte [esp + 0x58], 3
jne 0x41c598
mov edx, dword [esp + 0x18]
push edx
call sub.gdiplus.dll_GdipDisposeImage
mov eax, dword [esp + 0x10]
push eax
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x41c5db
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + 4]
push ebx
push ebp
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd0]
add eax, edi
add ecx, esi
mov esi, dword [esp + 0x24]
push eax
push ecx
push edx
push esi
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
je 0x41c5c6
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x10]
push ecx
call sub.gdiplus.dll_GdipDisposeImage
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0
call fcn.0047d74a
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4