Function at 0x46fde2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4032d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x64
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403250
mov eax, dword [0x472020]
mov eax, dword [eax]
push dword [0x472020]
call dword [eax + 0x30]
fnclex
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x46fe44
push 0x30
push 0x415eb8
push dword [0x472020]
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x30], eax
jmp 0x46fe48
and dword [ebp - 0x30], 0
push 0x4159d4
push 0
call sub.MSVBVM60.DLL___vbaCastObj
push eax
push 0x47201c
call sub.MSVBVM60.DLL___vbaObjSet
push 0x4722ec
push 0x4143d8
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [0x472014]
mov eax, dword [eax]
push dword [0x472014]
call dword [eax + 0x40]
fnclex
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x46fea3
push 0x40
push 0x415820
push dword [0x472014]
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x34], eax
jmp 0x46fea7
and dword [ebp - 0x34], 0
cmp dword [0x4721f0], 0
jne 0x46fec8
push 0x4721f0
push 0x409ddc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x38], 0x4721f0
jmp 0x46fecf
mov dword [ebp - 0x38], 0x4721f0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x46ff04
push 0x2c
push 0x414518
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x3c], eax
jmp 0x46ff08
and dword [ebp - 0x3c], 0
cmp dword [0x4721f4], 0
jne 0x46ff29
push 0x4721f4
push 0x409ddc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x40], 0x4721f4
jmp 0x46ff30
mov dword [ebp - 0x40], 0x4721f4
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x46ff65
push 0x2c
push 0x414518
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x44], eax
jmp 0x46ff69
and dword [ebp - 0x44], 0
cmp dword [0x4721f8], 0
jne 0x46ff8a
push 0x4721f8
push 0x409ddc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x48], 0x4721f8
jmp 0x46ff91
mov dword [ebp - 0x48], 0x4721f8
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x46ffc6
push 0x2c
push 0x414518
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x4c], eax
jmp 0x46ffca
and dword [ebp - 0x4c], 0
cmp dword [0x472208], 0
jne 0x46ffeb
push 0x472208
push 0x40f440
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x50], 0x472208
jmp 0x46fff2
mov dword [ebp - 0x50], 0x472208
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x754]
fnclex
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x470031
push 0x754
push 0x412694
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x54], eax
jmp 0x470035
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0x78]
fnclex
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x470068
push 0x78
push 0x412c48
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x58], eax
jmp 0x47006c
and dword [ebp - 0x58], 0
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaFreeObj
cmp dword [0x472208], 0
jne 0x470095
push 0x472208
push 0x40f440
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x5c], 0x472208
jmp 0x47009c
mov dword [ebp - 0x5c], 0x472208
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x748]
fnclex
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4700db
push 0x748
push 0x412694
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x60], eax
jmp 0x4700df
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0x78]
fnclex
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x470112
push 0x78
push 0x412c48
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x64], eax
jmp 0x470116
and dword [ebp - 0x64], 0
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaFreeObj
push 0x47202c
mov eax, dword [0x472010]
mov eax, dword [eax]
push dword [0x472010]
call dword [eax + 0x40]
fnclex
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x470158
push 0x40
push 0x4159c4
push dword [0x472010]
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x68], eax
jmp 0x47015c
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [0x472010]
mov eax, dword [eax]
push dword [0x472010]
call dword [eax + 0x98]
fnclex
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x47019d
push 0x98
push 0x4159c4
push dword [0x472010]
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x6c], eax
jmp 0x4701a1
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x14], 0
push dword [ebp - 0x2c]
push 0x47201c
call sub.MSVBVM60.DLL___vbaObjSet
call fcn.004702b4
call fcn.00468274
mov eax, dword [0x472014]
mov eax, dword [eax]
push dword [0x472014]
call dword [eax + 0x44]
fnclex
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4701f7
push 0x44
push 0x415820
push dword [0x472014]
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x70], eax
jmp 0x4701fb
and dword [ebp - 0x70], 0
mov eax, dword [0x472020]
mov eax, dword [eax]
push dword [0x472020]
call dword [eax + 0x34]
fnclex
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x470230
push 0x34
push 0x415eb8
push dword [0x472020]
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x74], eax
jmp 0x470234
and dword [ebp - 0x74], 0
push 0x470245
jmp 0x470244
ret