Function at 0x422d00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x404486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401e50
push 0xc
lea eax, [ebp - 0x50]
xor esi, esi
push 0x4092c8
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], esi
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov ebx, 8
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xd0], edx
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xd8], ebx
call edi
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xd8], ebx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xd0], ecx
lea ecx, [eax + 0x10]
call edi
mov edi, dword [ebp + 0x14]
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf8], 0x4008
mov dword [ebp - 0xe0], 0x408c3c
mov dword [ebp - 0xe8], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov ecx, dword [edi]
push ecx
push 0x407390
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
lea edx, [ebp - 0xf8]
inc eax
push edx
neg eax
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0xd8]
push eax
lea edx, [ebp - 0xa8]
mov edi, 0xb
push ecx
push edx
mov dword [ebp - 0xd8], edi
call dword [sym.imp.MSVBVM60.DLL_rtcImmediateIf]
mov eax, dword [ebp - 0x44]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xa8]
lea ecx, [eax + 0x20]
call ebx
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0x98]
push ecx
lea eax, [ebp - 0xd8]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ecx, dword [ebp - 0x44]
add esp, 0x10
lea edx, [ebp - 0xd8]
add ecx, 0x30
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd8], 2
call ebx
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x44]
add ecx, 0x40
mov dword [ebp - 0xd8], edi
mov ax, word [edx]
lea edx, [ebp - 0xd8]
mov word [ebp - 0xd0], ax
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0xd8]
call edi
call dword [sym.imp.MSVBVM60.DLL_rtcGetTimer]
fstp dword [ebp - 0xd0]
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xd8], 4
call ebx
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcIsMissing]
test ax, ax
mov dword [ebp - 0x11c], esi
je 0x422fb2
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], eax
lea edx, [ebp - 0x11c]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0xa8]
push edx
mov edx, dword [ebp + 0x18]
push eax
push ecx
lea eax, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x98]
push eax
lea edx, [ebp - 0xb8]
push ecx
push edx
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
mov dword [ebp - 0xe8], 0x600c
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x98], 2
call fcn.004212e0
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x34]
call ebx
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x98]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
jmp 0x423025
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], edx
mov edx, dword [ebp + 0x24]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
push eax
lea edx, [ebp - 0xe8]
push ecx
lea eax, [ebp - 0x98]
push edx
lea ecx, [ebp - 0xa8]
push eax
push ecx
mov dword [ebp - 0xe8], 0x600c
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x98], 2
call fcn.004212e0
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x34]
call ebx
lea ecx, [ebp - 0x98]
call edi
sub esp, 0x10
mov eax, 2
mov edx, esp
mov ecx, eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd0], eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd4]
push 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x34]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
add esp, 0x1c
lea ecx, [ebp - 0x98]
call edi
mov edx, dword [ebp - 0xd4]
sub esp, 0x10
mov ecx, esp
mov eax, 2
mov dword [ebp - 0xd8], eax
push 1
mov dword [ecx], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xf0], esi
mov dword [ecx + 4], edx
lea edx, [ebp - 0x98]
mov dword [ebp - 0xf8], 0x8002
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
add esp, 0x1c
push eax
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x124], eax
call edi
cmp word [ebp - 0x124], si
je 0x42341a
mov ecx, dword [ebp + 0x2c]
cmp word [ecx], si
jne 0x423403
mov edx, dword [ebp + 0x20]
mov eax, 1
mov ecx, 2
mov dword [ebp - 0xd0], eax
cmp word [edx], si
mov dword [ebp - 0xd8], ecx
je 0x42337b
push esi
sub esp, 0x10
mov edx, esp
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x34]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRef]
add esp, 0x1c
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaRefVarAry]
mov eax, dword [eax]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
push eax
push 1
lea ecx, [ebp - 0x38]
push 0xc
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x98]
call edi
sub esp, 0x10
mov ecx, 2
mov edx, esp
mov dword [ebp - 0xd8], ecx
mov eax, 1
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x34]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRef]
add esp, 0x1c
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaRefVarAry]
mov eax, dword [eax]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x1c], esi
call edi
mov eax, dword [ebp - 0x1c]
cmp ax, word [ebp - 0x12c]
jg 0x42332e
mov ecx, 2
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xd0], 1
cmp ecx, esi
je 0x42324d
cmp word [ecx], 1
jne 0x42324d
mov edx, dword [ecx + 0x14]
movsx edi, ax
mov eax, dword [ecx + 0x10]
sub edi, edx
cmp edi, eax
jb 0x423248
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl edi, 4
jmp 0x423255
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, eax
mov edx, dword [ebp - 0x114]
sub esp, 0x10
mov ecx, esp
mov eax, 0x4002
sub esp, 0x10
mov dword [ecx], eax
lea eax, [ebp - 0x1c]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xf8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xf4]
mov ecx, esp
push 2
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [ebp - 0xf0]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xec]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xd8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xd4]
mov ecx, esp
push 1
mov dword [ecx], edx
mov edx, dword [ebp - 0xd0]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ecx + 8], edx
lea edx, [ebp - 0x98]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRef]
add esp, 0x1c
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
mov ecx, dword [ebp - 0x38]
add esp, 0x2c
mov edx, eax
mov ecx, dword [ecx + 0xc]
add ecx, edi
call ebx
lea edx, [ebp - 0xa8]
lea eax, [ebp - 0x98]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0xc
add ax, word [ebp - 0x1c]
jo 0x4236fb
mov dword [ebp - 0x1c], eax
jmp 0x4231f8
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0xd0], ecx
lea eax, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x98]
push eax
push ecx
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0xd8], 0x600c
call fcn.00425040
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x74]
call ebx
wait
push 0x4236cc
jmp 0x423691
sub esp, 0x10
mov edx, esp
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x88]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x98]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRefLock]
add esp, 0x20
lea ecx, [ebp - 0x11c]
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x120], eax
push ecx
push eax
push edx
mov dword [ebp - 0x11c], 2
call fcn.00425040
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x74]
call ebx
lea ecx, [ebp - 0x98]
call edi
wait
push 0x4236cc
jmp 0x423691
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
wait
push 0x4236cc
jmp 0x423691
mov edx, dword [ebp - 0xd4]
sub esp, 0x10
mov ecx, esp
mov eax, 2
mov dword [ebp - 0xd8], eax
push 1
mov dword [ecx], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xf0], 1
mov dword [ecx + 4], edx
lea edx, [ebp - 0x98]
mov dword [ebp - 0xf8], 0x8002
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
add esp, 0x1c
push eax
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x124], eax
call edi
cmp word [ebp - 0x124], si
mov dword [ebp - 0xd0], esi
je 0x4234bc
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xd8], 2
call ebx
wait
push 0x4236cc
jmp 0x423691
mov edx, dword [ebp - 0xd4]
sub esp, 0x10
mov ecx, esp
mov eax, 2
mov dword [ebp - 0xd8], eax
push 1
mov dword [ecx], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0xf8], 0x8002
mov dword [ecx + 4], edx
lea edx, [ebp - 0x98]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
add esp, 0x1c
push eax
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
lea ecx, [ebp - 0x98]
mov ebx, eax
call edi
cmp bx, si
je 0x423645
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xd0], 0x408c44
mov dword [ebp - 0xd8], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov edx, dword [ebp + 0x28]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
test ax, ax
je 0x423645
sub esp, 0x10
mov ecx, 2
mov edx, esp
mov dword [ebp - 0xd8], ecx
mov eax, 1
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x88]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x98]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRefLock]
mov ecx, 0xa
add esp, 0x20
mov edx, 0x80020004
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xa0], edx
push ecx
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xa8]
push edx
push ecx
push 0x10
push eax
mov dword [ebp - 0x120], eax
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xb8]
push eax
lea edx, [ebp - 0xa8]
push ecx
lea eax, [ebp - 0x98]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
wait
push 0x4236cc
jmp 0x423691
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x34]
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea eax, [ebp - 0x38]
xor esi, esi
push eax
push esi
call ebx
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x50]
push edx
push esi
mov dword [ebp - 0x120], ecx
call ebx
lea ecx, [ebp - 0x64]
call edi
lea ecx, [ebp - 0x84]
call edi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop