Function at 0x40af00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41e818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
push 0x429bf8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x80], ebx
call fcn.00416220
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], bl
call fcn.0041d0e6
push str._config_etc_sinfor_sc_gplat_CfgFile.sfr
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x50]
call fcn.00419230
mov ebp, 0x421618
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0xa
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 4
call sub.MFC42.DLL_CString::CString_3
push 0x427654
push str.gb2312
push str.CfgNameRoot
lea ecx, [esp + 0x58]
mov byte [esp + 0x88], 5
call fcn.0041c3a0
push str.CfgFileName
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 6
call fcn.0041c3d0
mov edi, eax
push str.SrcPath
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edi
call fcn.0041d0fe
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x2c]
push eax
call fcn.0041d0fe
sub esp, 8
lea ecx, [esp + 0x30]
mov dword [esp + 0x90], esp
mov esi, esp
push ecx
mov ecx, esi
mov dword [esp + 0x94], esi
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x34]
lea ecx, [esi + 4]
push edx
mov byte [esp + 0x88], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 6
call fcn.0040c1e0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x4c]
push eax
push edi
call fcn.0041c430
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], ebx
cmp dword [eax + 8], ebx
jle 0x40b19c
add eax, 0x10c
mov dword [esp + 0x88], eax
mov ebp, dword [esp + 0x34]
cmp ebp, ebx
je 0x40b0c6
lea esi, [ebp + 8]
xor edi, edi
mov ecx, esi
call fcn.0040d000
add esi, 8
mov ecx, edi
dec edi
test ecx, ecx
jne 0x40b0aa
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x40b0a5
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea edx, [esp + 0x28]
push str.Name
push edx
mov dword [esp + 0x4c], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x34]
push eax
push 0x427c04
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push edx
mov ecx, esi
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x34]
lea ecx, [esi + 4]
push eax
mov byte [esp + 0x88], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 6
call fcn.0040c300
push edi
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x38]
lea ecx, [esp + 0x54]
push eax
call fcn.0041aef0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x88]
inc eax
mov edx, dword [ecx + 8]
add esi, 0x104
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x88], esi
jl 0x40b09d
mov ebp, 0x421618
lea ecx, [esp + 0x4c]
call fcn.004194e0
test eax, eax
mov byte [esp + 0x7c], 5
lea ecx, [esp + 0x14]
je 0x40b243
call fcn.0041d0e6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 9
call fcn.0041d0e6
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 3
call fcn.0041d0e6
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x34]
mov byte [esp + 0x7c], 0xa
cmp esi, ebx
je 0x40b1f9
lea edx, [esi + 8]
push 1
push edx
call fcn.0040cdf0
mov esi, dword [esi]
cmp esi, ebx
jne 0x40b1e8
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 0x4214b8
mov byte [esp + 0x7c], bl
call fcn.004192c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0041d0e6
xor eax, eax
jmp 0x40b2da
call fcn.0041d0e6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 0xb
call fcn.0041d0e6
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 3
call fcn.0041d0e6
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x34]
mov byte [esp + 0x7c], 0xc
cmp ebp, ebx
je 0x40b292
lea esi, [ebp + 8]
xor edi, edi
mov ecx, esi
call fcn.0040d000
add esi, 8
mov eax, edi
dec edi
test eax, eax
jne 0x40b27a
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x40b275
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 0x4214b8
mov byte [esp + 0x7c], bl
call fcn.004192c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0041d0e6
mov eax, 1
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 8