Function at 0x10074e00
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1009c6c5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov esi, dword [ebx]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x30], 5
je 0x10074e4d
mov ecx, esi
call fcn.10075b80
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax]
lea ebp, [ebx + 0x58]
mov esi, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
nop
cmp esi, edi
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], ecx
je 0x10074e6f
cmp esi, ebp
je 0x10074e75
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
je 0x10074eb8
cmp esi, edi
jne 0x10074e89
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 4]
jne 0x10074e98
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.10016670
mov esi, dword [esp + 0x18]
jmp 0x10074e60
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
call fcn.1002bc00
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], edi
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov edx, dword [ebx + 0x68]
mov eax, dword [edx + 4]
lea esi, [ebx + 0x64]
push eax
mov ecx, esi
call fcn.10071e80
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov ecx, dword [ebx + 0x74]
mov edx, dword [ecx + 4]
lea edi, [ebx + 0x70]
push edx
mov ecx, edi
call fcn.10071e80
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
xor ecx, ecx
mov dword [edi + 8], ecx
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [ebx + 0x88], ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push edi
push ecx
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov byte [esp + 0x44], 4
call fcn.10072c00
mov eax, dword [edi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
xor eax, eax
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov byte [esp + 0x44], 3
call fcn.10072c00
mov eax, dword [esi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov eax, dword [ebp + 4]
mov ecx, dword [eax]
push eax
mov byte [esp + 0x34], 2
push ebp
push ecx
push ebp
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
call fcn.10074030
mov eax, dword [ebp + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebx + 0x3c]
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov byte [esp + 0x30], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebx + 0x20]
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebx + 4]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret