Function at 0x6db1b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401b10
mov ecx, dword [0x75a0ec]
xor edi, edi
mov eax, ecx
mov dword [ebp - 0x14], edi
and eax, 0x8000003f
mov dword [ebp - 0x34], edi
jns 0x6db1f5
dec eax
or eax, 0xffffffc0
inc eax
mov ebx, 0x40
mov dword [ebp - 0x2c], eax
sub ebx, eax
mov eax, dword [ebp + 8]
jo 0x6db479
mov edx, dword [eax]
add edx, ecx
jo 0x6db479
mov dword [0x75a0ec], edx
mov ecx, dword [eax]
cmp ecx, ebx
jl 0x6db3b2
mov ecx, ebx
sub ecx, 1
jo 0x6db479
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x44], eax
cmp di, word [ebp - 0x44]
jg 0x6db2af
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x6db265
cmp word [eax], 1
jne 0x6db265
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movsx esi, di
sub esi, edx
cmp esi, ecx
jb 0x6db260
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x64], esi
jmp 0x6db26e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x2c]
movsx esi, di
add esi, ecx
jo 0x6db479
cmp esi, 0x40
jb 0x6db287
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 0xc]
mov dl, byte [eax + ecx]
mov eax, dword [0x75a11c]
mov byte [eax + esi], dl
mov eax, 1
add ax, di
jo 0x6db479
mov edi, eax
jmp 0x6db236
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x75a110
push ecx
call fcn.006db640
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, ecx
and eax, 0x8000003f
jns 0x6db2d2
dec eax
or eax, 0xffffffc0
inc eax
movsx edx, di
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
sub ecx, edx
jo 0x6db479
sub ecx, eax
jo 0x6db479
call esi
mov ecx, ebx
mov dword [ebp - 0x4c], eax
call esi
mov esi, eax
mov dword [ebp - 0x20], esi
cmp si, word [ebp - 0x4c]
jg 0x6db3a9
xor edi, edi
mov eax, 0x3f
cmp di, ax
jg 0x6db381
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x6db343
cmp word [eax], 1
jne 0x6db343
mov edx, dword [eax + 0x14]
mov cx, di
add cx, si
jo 0x6db479
movsx esi, cx
mov ecx, dword [eax + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x6db33f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, esi
jmp 0x6db34b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, eax
movsx esi, di
cmp esi, 0x40
jb 0x6db359
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x75a11c]
mov dl, byte [ecx + ebx]
mov byte [eax + esi], dl
mov esi, dword [ebp - 0x20]
mov eax, 1
add ax, di
jo 0x6db479
mov edi, eax
jmp 0x6db305
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x75a110
push ecx
call fcn.006db640
mov eax, 0x40
add ax, si
jo 0x6db479
mov dword [ebp - 0x20], eax
mov esi, eax
jmp 0x6db2f9
mov dword [ebp - 0x2c], 0
jmp 0x6db3b7
mov dword [ebp - 0x20], edi
mov esi, edi
mov eax, dword [ebp + 8]
movsx edx, si
mov ecx, dword [eax]
sub ecx, edx
jo 0x6db479
sub ecx, 1
jo 0x6db479
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x5c], eax
xor edi, edi
cmp di, word [ebp - 0x5c]
jg 0x6db451
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x6db40f
cmp word [eax], 1
jne 0x6db40f
mov dx, di
mov ecx, dword [eax + 0x10]
add dx, si
jo 0x6db479
movsx esi, dx
sub esi, dword [eax + 0x14]
cmp esi, ecx
jb 0x6db40b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, esi
jmp 0x6db417
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, eax
mov ecx, dword [ebp - 0x2c]
movsx esi, di
add esi, ecx
jo 0x6db479
cmp esi, 0x40
jb 0x6db42c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x75a11c]
mov al, byte [edx + ebx]
mov byte [ecx + esi], al
mov esi, dword [ebp - 0x20]
mov eax, 1
add ax, di
jo 0x6db479
mov edi, eax
jmp 0x6db3db
push 0x6db463
jmp 0x6db462
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop