Function at 0x408800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42495b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x90]
lea ecx, [esp + 0x140]
push eax
mov dword [esp + 0x1c], ebx
call fcn.00407150
mov eax, dword [esi + 0x98]
or ebp, 0xffffffff
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
lea ecx, [esp + 0x14c]
mov dword [esp + 0x290], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x400f
mov dword [esp + 0x44], ebx
call fcn.004072a0
test eax, eax
jne 0x408c0a
lea ecx, [esp + 0x140]
call fcn.00407540
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 3
mov ecx, eax
call dword [edx + 0x10]
cmp eax, ebx
jne 0x408c0a
mov edx, dword [esp + 0x10]
cmp edx, ebx
je 0x408c0a
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
stosb byte es:[edi], al
mov eax, dword [edx]
push ecx
push 1
mov ecx, edx
call dword [eax + 0x24]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x34]
push eax
push 0xa
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov ebp, 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x18], ebp
mov edx, dword [ecx]
push eax
push 4
call dword [edx + 0x28]
lea ecx, [esp + 0x3c]
lea edi, [esi + 0x3c]
push ecx
mov ecx, edi
call fcn.004235f0
mov edx, dword [edi]
cmp dword [edx - 8], ebx
je 0x408942
push str..ini
mov ecx, edi
call fcn.0042364a
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push edx
lea edx, [esp + 0x40]
mov dword [esp + 0x18], ebp
mov eax, dword [ecx]
push edx
push 0x52
call dword [eax + 0x28]
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x40]
push eax
call fcn.004235f0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push 0x53
call dword [edx + 0x28]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x44]
call fcn.004235f0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push 5
call dword [edx + 0x28]
test eax, eax
jne 0x4089df
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x48]
call fcn.004235f0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push 0x31
call dword [edx + 0x28]
test eax, eax
jne 0x408a16
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x54]
call fcn.004235f0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push 0x2d
call dword [edx + 0x28]
test eax, eax
jne 0x408a4d
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x58]
call fcn.004235f0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push 0x24
call dword [edx + 0x28]
lea ecx, [esp + 0x3c]
lea ebx, [esi + 0x4c]
push ecx
mov ecx, ebx
call fcn.004235f0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push 0x25
call dword [edx + 0x28]
lea edx, [esp + 0x3c]
lea ecx, [esi + 0x50]
push edx
call fcn.004235f0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
push edx
mov eax, dword [ecx]
push 0x76
call dword [eax + 0x24]
test eax, eax
jne 0x408b31
mov eax, dword [esp + 0x20]
test eax, eax
je 0x408b31
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push edx
lea edx, [esp + 0x40]
mov dword [esi + 0x60], 1
mov dword [esp + 0x18], ebp
mov eax, dword [ecx]
push edx
push 0x30
call dword [eax + 0x28]
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x64]
push eax
call fcn.004235f0
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x68]
push eax
push 0x62
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x6c]
push eax
push 0x63
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov edx, dword [ecx]
push 0x77
call dword [edx + 0x24]
test eax, eax
jne 0x408b5c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x408b5c
mov dword [esi + 0x74], 1
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
lea edi, [esi + 0x88]
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
push 0x79
call dword [edx + 0x18]
test eax, eax
jne 0x408bbf
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ecx]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::GetBufferSetLength
lea ecx, [esp + 0x3c]
push ecx
push 0x42d7b8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x8c]
push eax
push 0x61
mov dword [eax], 0
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [esi + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x408bfc
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
test eax, eax
je 0x408bfc
mov edx, dword [esi + 0x50]
mov eax, dword [edx - 8]
test eax, eax
je 0x408bfc
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
xor ebx, ebx
or ebp, 0xffffffff
lea ecx, [esp + 0x140]
call fcn.00407510
mov eax, dword [esi + 0x98]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0x4010
lea ecx, [esp + 0x14c]
call fcn.004072a0
test eax, eax
jne 0x408c92
lea ecx, [esp + 0x140]
call fcn.00407540
mov edi, eax
cmp edi, ebx
je 0x408c92
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x10
mov ecx, edi
mov dword [esp + 0x18], ebx
call dword [edx + 0x24]
test eax, eax
jne 0x408c6f
cmp dword [esp + 0x10], ebx
je 0x408c6f
mov dword [esi + 0x84], 1
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
push 9
mov ecx, edi
mov dword [esp + 0x18], ebx
call dword [edx + 0x24]
cmp eax, ebx
jne 0x408c92
cmp dword [esp + 0x10], ebx
je 0x408c92
mov dword [esi + 0x7c], 1
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x40]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x408cb9
cmp dword [esi + 0x8c], ebx
je 0x408cb9
mov dword [esi + 0x80], 1
lea ecx, [esp + 0x140]
mov dword [esp + 0x284], ebp
call fcn.00407230
mov ecx, dword [esp + 0x27c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x278
ret