Function at 0x10020db
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x100cd69
call fcn.01007e40
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 8
lea edi, [esi + 0x68]
xor ebx, ebx
cmp dword [edi], ebx
je 0x1002106
push edi
call fcn.01009832
mov dword [edi], ebx
lea edi, [esi + 0x20]
cmp dword [edi], ebx
je 0x1002115
push edi
call fcn.01009832
mov dword [edi], ebx
lea edi, [esi + 0x4c]
cmp dword [edi], ebx
je 0x1002124
push edi
call fcn.01009832
mov dword [edi], ebx
lea edi, [esi + 0x50]
cmp dword [edi], ebx
je 0x1002133
push edi
call fcn.01009832
mov dword [edi], ebx
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x1002144
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x54]
cmp eax, ebx
je 0x1002155
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [esi + 0x54], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x1002163
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1002173
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1002183
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 8], ebx
lea eax, [esi + 0xc]
push eax
call fcn.0100627d
cmp dword [esi + 0x78], 1
jne 0x100219a
push dword [esi + 0x74]
call fcn.010095d7
lea edi, [esi + 0x94]
mov eax, dword [edi]
cmp eax, ebx
je 0x10021b0
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [edi], ebx
lea edi, [esi + 0x9c]
mov eax, dword [edi]
cmp eax, ebx
je 0x10021cd
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [edi], ebx
mov ecx, dword [esi + 0x7c]
cmp ecx, ebx
jne 0x10021f1
lea edi, [esi + 0x88]
mov eax, dword [edi]
cmp eax, ebx
je 0x10021f1
push dword [esi + 0x8c]
mov ecx, esi
push eax
push ebx
call fcn.01002085
jmp 0x100220a
cmp ecx, 1
jne 0x100220c
lea edi, [esi + 0x88]
mov eax, dword [edi]
cmp eax, ebx
je 0x100220c
push eax
mov ecx, esi
call fcn.0100201d
mov dword [edi], ebx
mov eax, dword [esi + 0x80]
cmp eax, ebx
je 0x100221e
push eax
mov ecx, esi
call fcn.01002039
lea edi, [esi + 0x84]
mov eax, dword [edi]
cmp eax, ebx
je 0x1002257
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd4], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x74]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], 6
lea ecx, [esi + 0x70]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], 5
lea ecx, [esi + 0x64]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], 4
lea ecx, [esi + 0x60]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [esi + 0x58]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], 2
lea ecx, [esi + 0x30]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], 1
lea ecx, [esi + 0x2c]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov byte [ebp - 4], bl
lea ecx, [esi + 0x28]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x24]
call sub.framedyn.dll_public:_void___thiscall_CHString::destructor_void_
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret