Function at 0x41c750
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401a86
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], 0x401998
push 3
lea eax, [ebp - 0x5c]
xor ebx, ebx
push 0x40aea0
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 [0x423074]
lea ecx, [ebp - 0x18]
add edx, 0x30
push ecx
jo 0x41ca88
push edx
call fcn.00408a14
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 0x41ca88
push ecx
call fcn.00408a14
call esi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
add eax, 0x30
push edx
jo 0x41ca88
push eax
call fcn.00408a14
call esi
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add edx, 0x2a
push ecx
jo 0x41ca88
push edx
call fcn.004089d4
call esi
mov edi, dword [ebp - 0x14]
imul edi, edi, 0x30
jo 0x41ca88
add edi, 0x30a
jo 0x41ca88
mov eax, dword [0x4230b4]
push edi
push 8
push eax
call fcn.00408c58
mov dword [ebp - 0x64], eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
jne 0x41c879
call fcn.0041c310
test ax, ax
je 0x41c85a
push 0x64
call fcn.004083f4
call esi
jmp 0x41c82b
mov ecx, dword [0x4230b4]
push edi
push 8
push ecx
call fcn.00408c58
mov dword [ebp - 0x64], eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x41ca5c
add eax, 4
push 0x6a
jo 0x41ca88
mov edi, eax
mov eax, dword [0x423074]
mov ebx, edi
push eax
sub ebx, eax
push edi
jo 0x41ca88
call fcn.00408f20
call esi
mov edx, dword [0x423074]
mov eax, dword [ebp - 0x50]
add edx, 0x58
push 0x10
jo 0x41ca88
push edx
push eax
call fcn.00408f20
call esi
xor eax, eax
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x74]
jg 0x41c90d
cmp eax, 4
jb 0x41c8e8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x2c]
cmp eax, 4
jb 0x41c8e8
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 0x41ca88
mov dword [ecx + eax*4], edx
mov ecx, 1
add ecx, eax
jo 0x41ca88
mov dword [ebp - 0x2c], ecx
mov eax, ecx
jmp 0x41c8c7
mov eax, dword [ebp - 0x50]
mov ecx, edi
add ecx, 0x58
push 0x10
push eax
jo 0x41ca88
push ecx
call fcn.00408f20
call esi
mov edx, dword [ebp - 0x18]
mov eax, edi
add eax, 0x6a
push 0x23c
jo 0x41ca88
push edx
push eax
mov dword [ebp - 0x38], eax
call fcn.00408f20
call esi
mov eax, edi
lea ecx, [ebp - 0x38]
add eax, 0x30
jo 0x41ca88
push eax
push ecx
call fcn.00408a14
call esi
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add eax, 0x23c
push 0x54
jo 0x41ca88
push edx
push eax
mov dword [ebp - 0x40], eax
call fcn.00408f20
call esi
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
add eax, 4
jo 0x41ca88
push eax
push ecx
call fcn.00408a14
call esi
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
add eax, 0x54
mov ecx, dword [ebp - 0x20]
jo 0x41ca88
imul edx, edx, 0x30
jo 0x41ca88
push edx
push ecx
push eax
mov dword [ebp - 0x30], eax
call fcn.00408f20
call esi
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
add edx, 0x30
jo 0x41ca88
push edx
push eax
call fcn.00408a14
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 0x41ca88
add ecx, edx
jo 0x41ca88
sub eax, 1
mov dword [ebp - 0x24], ecx
jo 0x41ca88
mov dword [ebp - 0x7c], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x7c]
jg 0x41ca59
mov edx, ebx
mov eax, dword [ebp - 0x30]
imul edx, edx, 0x30
jo 0x41ca88
add edx, eax
lea eax, [ebp - 0x24]
jo 0x41ca88
add edx, 8
jo 0x41ca88
push edx
push eax
call fcn.00408a14
call esi
mov ecx, ebx
mov edx, dword [ebp - 0x30]
imul ecx, ecx, 0x30
jo 0x41ca88
add ecx, edx
lea edx, [ebp - 0x64]
jo 0x41ca88
add ecx, 0xc
mov dword [ebp - 0x64], 0
jo 0x41ca88
push ecx
push edx
call fcn.00408a14
call esi
mov eax, dword [ebp - 0x78]
add eax, ebx
jo 0x41ca88
mov ebx, eax
jmp 0x41ca04
mov dword [ebp - 0x28], edi
push 0x41ca74
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 0x401a86
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], 0x4019a8
mov ecx, dword [0x423070]
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.00408c14
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.00408a54
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.00408ab0
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.00408a54
call esi
push 0x41cb73
jmp 0x41cb69
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret