Function at 0x41ed20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x406326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401760
push 3
lea eax, [ebp - 0x5c]
xor ebx, ebx
push 0x40d574
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x64], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov edx, dword [0x4a004c]
lea ecx, [ebp - 0x18]
add edx, 0x30
push ecx
jo 0x41f058
push edx
call fcn.0040c318
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call esi
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
add ecx, 4
push eax
jo 0x41f058
push ecx
call fcn.0040c318
call esi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
add eax, 0x30
push edx
jo 0x41f058
push eax
call fcn.0040c318
call esi
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add edx, 0x2a
push ecx
jo 0x41f058
push edx
call fcn.0040c2d8
call esi
mov edi, dword [ebp - 0x14]
imul edi, edi, 0x30
jo 0x41f058
add edi, 0x30a
jo 0x41f058
mov eax, dword [0x4a008c]
push edi
push 8
push eax
call fcn.0040c560
mov dword [ebp - 0x64], eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x41ee49
call fcn.0041e8e0
test ax, ax
je 0x41ee2a
push 0x64
call fcn.0040bcf8
call esi
jmp 0x41edfb
mov ecx, dword [0x4a008c]
push edi
push 8
push ecx
call fcn.0040c560
mov dword [ebp - 0x64], eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x41f02c
add eax, 4
push 0x6a
jo 0x41f058
mov edi, eax
mov eax, dword [0x4a004c]
mov ebx, edi
push eax
sub ebx, eax
push edi
jo 0x41f058
call fcn.0040c830
call esi
mov edx, dword [0x4a004c]
mov eax, dword [ebp - 0x50]
add edx, 0x58
push 0x10
jo 0x41f058
push edx
push eax
call fcn.0040c830
call esi
xor eax, eax
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x74]
jg 0x41eedd
cmp eax, 4
jb 0x41eeb8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x2c]
cmp eax, 4
jb 0x41eeb8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + eax*4]
sub edx, ebx
jo 0x41f058
mov dword [ecx + eax*4], edx
mov ecx, 1
add ecx, eax
jo 0x41f058
mov dword [ebp - 0x2c], ecx
mov eax, ecx
jmp 0x41ee97
mov eax, dword [ebp - 0x50]
mov ecx, edi
add ecx, 0x58
push 0x10
push eax
jo 0x41f058
push ecx
call fcn.0040c830
call esi
mov edx, dword [ebp - 0x18]
mov eax, edi
add eax, 0x6a
push 0x23c
jo 0x41f058
push edx
push eax
mov dword [ebp - 0x38], eax
call fcn.0040c830
call esi
mov eax, edi
lea ecx, [ebp - 0x38]
add eax, 0x30
jo 0x41f058
push eax
push ecx
call fcn.0040c318
call esi
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add eax, 0x23c
push 0x54
jo 0x41f058
push edx
push eax
mov dword [ebp - 0x40], eax
call fcn.0040c830
call esi
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
add eax, 4
jo 0x41f058
push eax
push ecx
call fcn.0040c318
call esi
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
add eax, 0x54
mov ecx, dword [ebp - 0x20]
jo 0x41f058
imul edx, edx, 0x30
jo 0x41f058
push edx
push ecx
push eax
mov dword [ebp - 0x30], eax
call fcn.0040c830
call esi
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
add edx, 0x30
jo 0x41f058
push edx
push eax
call fcn.0040c318
call esi
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov ecx, eax
mov dword [ebp - 0x78], 1
imul ecx, ecx, 0x30
jo 0x41f058
add ecx, edx
jo 0x41f058
sub eax, 1
mov dword [ebp - 0x24], ecx
jo 0x41f058
mov dword [ebp - 0x7c], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x7c]
jg 0x41f029
mov edx, ebx
mov eax, dword [ebp - 0x30]
imul edx, edx, 0x30
jo 0x41f058
add edx, eax
lea eax, [ebp - 0x24]
jo 0x41f058
add edx, 8
jo 0x41f058
push edx
push eax
call fcn.0040c318
call esi
mov ecx, ebx
mov edx, dword [ebp - 0x30]
imul ecx, ecx, 0x30
jo 0x41f058
add ecx, edx
lea edx, [ebp - 0x64]
jo 0x41f058
add ecx, 0xc
mov dword [ebp - 0x64], 0
jo 0x41f058
push ecx
push edx
call fcn.0040c318
call esi
mov eax, dword [ebp - 0x78]
add eax, ebx
jo 0x41f058
mov ebx, eax
jmp 0x41efd4
mov dword [ebp - 0x28], edi
push 0x41f044
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x5c]
push edx
push 0
mov dword [ebp - 0x64], ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x406326
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401770
mov ecx, dword [0x4a0048]
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
push ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
call fcn.0040c51c
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 0x58], eax
call esi
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x1c]
push edx
push eax
mov edi, eax
call fcn.0040c358
call esi
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 3
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x5c]
push edx
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push eax
push ecx
push 1
push 3
push 4
push edx
push ebx
mov dword [ebp - 0x58], 3
call fcn.0040c3b4
call esi
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
lea ecx, [ebp - 0x1c]
push edi
push ecx
mov dword [ebp - 0x1c], eax
call fcn.0040c358
call esi
push 0x41f143
jmp 0x41f139
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret