Function at 0x40d010
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c17b
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x94], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [eax + 0x80]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], eax
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], vtable.CFont.0
add eax, 0x160
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0xc0], eax
call dword [sym.imp.StenoStreamsLib.dll_public:_int___thiscall_CSteno::GetStrokeCount_void_]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xcc], eax
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov esi, dword [esi]
xorps xmm0, xmm0
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 5
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x20], xmm0
call edi
mov ecx, dword [ebp - 0xac]
push eax
call dword [esi + 0x34]
mov eax, dword [ebp - 0xac]
push 8
mov esi, dword [eax]
call edi
mov edi, dword [ebp - 0xac]
mov ecx, edi
push eax
call dword [esi + 0x38]
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0x8c]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x8c]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_DPtoLP]
push str.Courier_New
push 0x30
push 0
mov eax, dword [ebp - 0x88]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push dword [esi + 0xf8]
mov dword [ebp - 0xa0], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [ebp - 0xc8]
call sub.mfc140.dll_Ordinal_2520
mov eax, dword [edi]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x30]
call eax
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x7c]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [ebp - 0xc0]
call dword [sym.imp.StenoStreamsLib.dll_public:_int___thiscall_CSteno::GetStrokeCount_void_]
mov ecx, dword [esi + 0x9c]
cmp ecx, eax
jge 0x40d215
test ecx, ecx
js 0x40d215
push ecx
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xb4]
push eax
call fcn.00409ec0
push str._I:_M:_S__p
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call dword [sym.imp.SvatLib.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CTime32::Format_char_const__]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call dword [sym.imp.SvatLib.dll_public:_void___thiscall_CTime32::destructor_void_]
mov esi, dword [edi]
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_5861]
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push dword [ebp - 0xa0]
mov ecx, edi
push 0x32
call dword [esi + 0x64]
mov esi, dword [ebp - 0x94]
mov eax, dword [esi + 0xfc]
mov ecx, 0xffffffce
add eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x7c]
sub ecx, eax
mov dword [ebp - 0xa8], eax
cdq
and edx, 3
mov dword [ebp - 0x9c], ecx
add eax, edx
sar eax, 2
mov dword [ebp - 0xb8], eax
lea esi, [eax + ecx]
mov ecx, edi
push esi
push 0
lea eax, [ebp - 0xe8]
push eax
call sub.mfc140.dll_Ordinal_8770
push esi
push dword [ebp - 0x84]
mov ecx, edi
call sub.mfc140.dll_Ordinal_8326
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
cdq
idiv dword [ebp - 0xa8]
mov esi, dword [ebp - 0x94]
cdq
xor eax, edx
mov dword [ebp - 0xb4], 1
sub eax, edx
mov ecx, dword [esi + 0x88]
sub eax, 4
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], ecx
lea edx, [eax + eax]
mov eax, dword [ebp - 0x80]
add eax, edx
mov dword [ebp - 0xdc], edx
mov edx, dword [ebp - 0x9c]
cmp edx, eax
jle 0x40d5cc
mov eax, edx
sub eax, dword [ebp - 0xa8]
add eax, 0x32
mov dword [ebp - 0xbc], eax
cmp ecx, dword [ebp - 0xcc]
jge 0x40d5cc
mov esi, dword [ebp - 0xb0]
lea eax, [ebp - 0x2c]
push ecx
push eax
mov ecx, esi
call fcn.00409f20
mov ecx, edi
test dword [eax], 0x1000000
mov eax, dword [edi]
mov eax, dword [eax + 0x38]
je 0x40d306
push 0xff0000
jmp 0x40d308
push 0
call eax
push dword [esi + 0x184]
mov dword [ebp - 0xa0], eax
mov ecx, esi
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0xa4]
lea eax, [ebp - 0x38]
push eax
call fcn.00409f20
mov ecx, eax
call dword [sym.imp.SvatLib.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CStroke::GetStrSpaced_int_]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov esi, dword [edi]
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_5861]
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push dword [ebp - 0x9c]
mov ecx, edi
push 5
call dword [esi + 0x64]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0xa0]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [esi + 0x90]
jl 0x40d594
cmp ecx, dword [esi + 0x94]
jg 0x40d594
cmp dword [ebp - 0xb4], 0
je 0x40d4ee
lea ecx, [ebp - 0x114]
call dword [sym.imp.StenoStreamsLib.dll_public:_void___thiscall_CSteno::constructor_void_]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc140.dll_Ordinal_316]
imul eax, dword [ebp - 0x64], 0x1d
mov esi, dword [esi + 0x90]
mov byte [ebp - 4], 7
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x94]
cmp esi, dword [eax + 0x94]
jg 0x40d44e
mov edi, eax
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00409f20
sub esp, 0xc
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x114]
call dword [sym.imp.StenoStreamsLib.dll_public:_void___thiscall_CSteno::Append_class_CStroke_]
inc esi
cmp esi, dword [edi + 0x94]
jle 0x40d410
mov edi, dword [ebp - 0xac]
sub esp, 0x14
lea eax, [ebp - 0x114]
mov ecx, esp
push eax
call dword [sym.imp.StenoStreamsLib.dll_public:_void___thiscall_CSteno::constructor_class_CSteno_const__]
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xd4]
push eax
call fcn.0040bed0
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov esi, dword [edi]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc140.dll_Ordinal_5861]
push eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push dword [ebp - 0x9c]
mov ecx, edi
push dword [ebp - 0xa0]
call dword [esi + 0x64]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
call dword [sym.imp.StenoStreamsLib.dll_public:_void___thiscall_CSteno::destructor_void_]
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x9c]
add eax, 0x32
mov dword [ebp - 0xf8], 5
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x84]
add eax, 0xfffffffb
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xec], eax
movups xmm0, xmmword [ebp - 0xf8]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.mfc140.dll_Ordinal_4870
cmp eax, esi
jne 0x40d54c
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvertRect]
jmp 0x40d58e
push dword [ebp - 0x1c]
lea eax, [ebp - 0x11c]
mov ecx, edi
push dword [ebp - 0x20]
push eax
call sub.mfc140.dll_Ordinal_8770
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x18]
call sub.mfc140.dll_Ordinal_8326
push dword [ebp - 0x14]
lea eax, [ebp - 0x100]
mov ecx, edi
push dword [ebp - 0x20]
push eax
call sub.mfc140.dll_Ordinal_8770
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
call sub.mfc140.dll_Ordinal_8326
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, dword [ebp - 0xa8]
sub edx, eax
sub dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0xdc]
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa4], ecx
cmp edx, eax
jg 0x40d2d2
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xa8]
sub ecx, dword [esi + 0x88]
push eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x100]
push 0
mov dword [esi + 0xf0], ecx
mov ecx, edi
push eax
call sub.mfc140.dll_Ordinal_8770
push dword [ebp - 0x98]
mov ecx, edi
push dword [ebp - 0x84]
call sub.mfc140.dll_Ordinal_8326
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc0]
sub dword [ebp - 0x98], eax
call dword [sym.imp.StenoStreamsLib.dll_public:_int___thiscall_CSteno::GetStrokeCount_void_]
test eax, eax
jne 0x40d640
push str.Stroke_0_of_0
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
jmp 0x40d65e
push eax
mov eax, dword [esi + 0x90]
inc eax
push eax
lea eax, [ebp - 0x90]
push str.Stroke__d_of__d
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0x10
mov esi, dword [edi]
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_5861]
push eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push dword [ebp - 0x98]
mov ecx, edi
push 0x64
call dword [esi + 0x64]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0xe0]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0xc0]
call dword [sym.imp.StenoStreamsLib.dll_public:_int___thiscall_CSteno::GetStrokeCount_void_]
mov esi, dword [ebp - 0x94]
mov ecx, esi
push 1
sub eax, dword [esi + 0xf0]
push eax
push 0
push 1
call sub.mfc140.dll_Ordinal_13856
push 1
push dword [esi + 0x88]
mov ecx, esi
push 1
call sub.mfc140.dll_Ordinal_13855
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc8], vtable.CFont.0
call fcn.00404440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 4