Function at 0x4957f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7dba23
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push edi
push ecx
lea edi, [ebp - 0x3c]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00424b70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCToolBarButton.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0040be70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040be70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00405a30
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00412ad0
mov ecx, dword [ebp - 0x10]
call fcn.004969b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00499f50
cmp dword [ebp + 0x10], 0
jne 0x4958b4
mov dword [ebp - 0x14], 0x850710
jmp 0x4958ba
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00411dd0
nop
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x20], 0
je 0x4959a9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
jne 0x4959a9
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x49594c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0xffffffff
je 0x495925
call fcn.0049a690
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x20], edx
push 1
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0049ad50
nop
jmp 0x49594a
call fcn.0049a690
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x28], eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0049a5d0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
jmp 0x4959a9
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 0xffffffff
je 0x495984
call fcn.0049a690
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x34], ecx
push 0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0049ad50
nop
jmp 0x4959a9
call fcn.0049a690
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x3c], edx
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0049a5d0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x3c
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0x14