Function at 0x10099f40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a8f87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
mov ebx, dword [esp + 0xe8]
mov eax, dword [ebx + 4]
push ebp
mov ebp, dword [ebx + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebx]
push edi
mov edi, dword [ebx + 8]
sub edi, ecx
xor ecx, ecx
sub ebp, eax
xor eax, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x1c], ecx
mov edx, edi
lea ecx, [esi + 0x7e]
mov dword [esp + 0x78], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], edx
mov edx, ebp
mov dword [esp + 0x18], eax
mov eax, edi
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0xb0], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea edx, [esp + 0x50]
push edx
push 0
push eax
mov dword [esp + 0x5c], 0
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xe8], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
fild dword [esi + 0x70]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x10]
fstp dword [esp + 0x10]
push eax
fld dword [esp + 0x14]
push 3
fdiv dword [0x100be5bc]
push 0
mov dword [esp + 0x1c], 0
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
push ecx
push edx
call sub.gdiplus.dll_GdipCreateFont
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
mov dword [esp + 0x74], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xf8]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x9c]
mov byte [esp + 0xec], 2
push eax
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.1008aca0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
add eax, 5
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
add esp, 0x10
inc eax
add ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x100]
test ecx, ecx
jne 0x1009a0cb
mov ecx, dword [esi + 0x14]
cmp ecx, 1
jne 0x1009a0d5
add dword [esp + 0x18], 8
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x20], edx
cdq
sub eax, edx
mov edx, dword [esp + 0xa4]
sar eax, 1
add edx, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xa4], edx
call fcn.1007b89e
mov eax, dword [esp + 0xf0]
test eax, eax
mov byte [esp + 0xe8], 3
je 0x1009a117
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call sub.MFC71U.DLL_CAsyncSocket::Attach
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x100ac350
mov edx, dword [esp + 0xf0]
mov eax, dword [edx + 4]
push ebp
push edi
push eax
mov byte [esp + 0xf4], 4
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC71U.DLL_CDC::Attach
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ecx
push edx
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov ebp, dword [esp + 0xfc]
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x1009a230
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1009a230
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x58]
mov dword [esp + 0x60], ecx
push eax
mov ecx, ebp
mov dword [esp + 0xb4], 0x30
mov dword [esp + 0x68], edx
call sub.MFC71U.DLL_CPreviewDC::ScaleWindowExt
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov ebp, dword [ebp + 0x20]
sub eax, edx
mov dword [esp + 0xb8], edx
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x38]
sub ecx, edi
push eax
xor edi, edi
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x60]
push 0x8d4
push ebp
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xc4], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1009a256
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call sub.MFC71U.DLL_CDC::FromHandle
test eax, eax
je 0x1009a245
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x7c]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x88]
call fcn.1007b89e
mov eax, dword [esp + 0x34]
push eax
mov byte [esp + 0xec], 5
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x8c]
call sub.MFC71U.DLL_CAsyncSocket::Attach
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x100ac350
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
sub edi, ebp
mov ebp, dword [esp + 0x20]
push edi
sub ebp, edx
push ebp
push ecx
mov byte [esp + 0xf4], 6
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x44]
call sub.MFC71U.DLL_CDC::Attach
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
push edx
push eax
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
push eax
push edi
push ebp
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x100]
push edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.10099e60
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push edx
push edi
mov edi, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x34]
push ebp
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1009a352
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x8c]
push eax
push ecx
call sub.MFC71U.DLL_COleControl::SelectFontObject
lea ecx, [esp + 0x88]
call sub.MFC71U.DLL_CRichEditView::DeleteContents
lea ecx, [esp + 0x40]
call sub.MFC71U.DLL_CListBox::DeleteItem
mov ecx, dword [esp + 0xf8]
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x1009a3dc
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0xc0]
push 0
push 0
push eax
mov dword [esp + 0x20], edx
xor edx, edx
mov dl, byte [esi + 0x51]
xor eax, eax
mov al, byte [esi + 0x50]
lea ecx, [esi + 0x64]
push ecx
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x120]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.1008a5b0
add esp, 0x30
mov eax, dword [esp + 0xfc]
test eax, eax
mov edx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push edx
jne 0x1009a413
mov ecx, dword [esp + 0x58]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x5c]
mov ebx, dword [ebx]
push ecx
push edx
push eax
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 4]
push ebx
push ecx
jmp 0x1009a42c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [edx + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1009a448
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1009a459
lea ecx, [esp + 0x28]
call sub.MFC71U.DLL_CListBox::DeleteItem
lea ecx, [esp + 0x30]
call sub.MFC71U.DLL_CRichEditView::DeleteContents
mov esi, 0x100ac278
lea ecx, [esp + 0x40]
mov byte [esp + 0xe8], 5
mov dword [esp + 0x40], esi
call sub.MFC71U.DLL_CListBox::DeleteItem
lea ecx, [esp + 0x88]
mov byte [esp + 0xe8], 4
call sub.MFC71U.DLL_CDBVariant::CDBVariant
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 3
mov dword [esp + 0x28], esi
call sub.MFC71U.DLL_CListBox::DeleteItem
lea ecx, [esp + 0x30]
mov byte [esp + 0xe8], 2
call sub.MFC71U.DLL_CDBVariant::CDBVariant
mov edx, dword [esp + 0x68]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x98]
push eax
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x50]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc
ret 0x14