Function at 0x10032c20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a1e34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4cc
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x34]
call fcn.1002e620
xor ebp, ebp
mov dword [esp + 0x4e4], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x90]
mov byte [esp + 0x4e4], 1
call fcn.10017fb0
xor eax, eax
mov word [esp + 0x198], bp
mov ecx, 0x4a
lea edi, [esp + 0x19a]
rep stosd dword es:[edi], eax
mov word [esp + 0x2c8], bp
mov ecx, 0x82
lea edi, [esp + 0x2ca]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x30], ebp
mov ecx, dword [eax + 0x544]
mov edx, dword [ecx]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2cc]
push eax
push 0xc
mov dword [esp + 0x20], ebp
call dword [edx + 0x40]
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x30]
add eax, 0x560
cmp ecx, ebp
mov dword [esp + 0x2c], eax
jle 0x10032cf9
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x2c8]
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x18], ebp
lea ecx, [ecx]
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 0x6a8]
test eax, eax
je 0x10032e1e
mov ecx, dword [esi + 0x6ac]
sub ecx, eax
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jae 0x10032e1e
mov esi, dword [esi + 0x6a8]
add esi, ebp
mov ecx, 0x42
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x90]
push 0x94
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x1a0]
add eax, 0x3e8
push edx
mov dword [esp + 0x40], eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
mov eax, dword [esp + 0x20]
add esp, 0xc
xor esi, esi
cmp eax, dword [esp + 0x90]
jne 0x10032da2
lea ecx, [esp + 0x198]
push 0x100b1a9c
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
mov esi, 8
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x34], 0x32
jae 0x10032dc5
lea eax, [esp + 0x198]
push 0x100b1a90
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
or esi, 1
mov eax, dword [esp + 0x90]
push esi
lea ecx, [esp + 0x19c]
add eax, 0x3e8
push ecx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], eax
call fcn.1002d760
lea edx, [esp + 0x10]
push edx
lea ecx, [ebx + 8]
mov esi, eax
call fcn.1002e360
mov edi, eax
mov ecx, 0x12
lea eax, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x20]
call fcn.10031b00
add dword [esp + 0x18], 1
add ebp, 0x108
jmp 0x10032d00
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 0x6a8]
add eax, 0x6a4
test edx, edx
je 0x10032ea6
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x3e0f83e1
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x10], ecx
je 0x10032ea6
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x34], 0x64
jb 0x10032ea6
xor eax, eax
cmp dword [esp + 0x14], eax
mov ecx, 0x3e8
mov dword [esp + 0x34], ecx
jne 0x10032e6c
mov eax, 9
push eax
push 0x100b1a80
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0x54]
call fcn.1002d760
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 8]
call fcn.1002e360
mov edi, eax
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
call fcn.10031b00
push 0x10
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x4e4], 2
je 0x10032ecb
mov ecx, eax
call fcn.1002e090
mov esi, eax
jmp 0x10032ecd
xor esi, esi
lea edx, [esp + 0x1c]
push edx
add ebx, 8
push ebx
mov ecx, esi
mov byte [esp + 0x4ec], 1
mov ebp, esi
call fcn.1002e450
test eax, eax
jne 0x10032f08
mov ecx, esi
call fcn.1002e0a0
test esi, esi
je 0x10032f06
mov ecx, esi
call fcn.1002e300
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
xor ebp, ebp
mov esi, dword [esp + 0x20]
test esi, esi
mov byte [esp + 0x4e4], 0
je 0x10032f3c
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x10032f33
lea ecx, [esi + 4]
call fcn.1002e600
add esi, 0x14
cmp esi, edi
jne 0x10032f20
mov esi, dword [esp + 0x20]
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov esi, dword [esp + 0x3c]
xor eax, eax
cmp esi, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x4e4], 0xffffffff
je 0x10032f80
mov edi, dword [esp + 0x40]
cmp esi, edi
je 0x10032f77
mov ecx, esi
call fcn.1002e610
add esi, 0x14
cmp esi, edi
jne 0x10032f65
mov esi, dword [esp + 0x3c]
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov ecx, dword [esp + 0x4dc]
pop edi
mov eax, ebp
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret