Function at 0x1006e0a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018a0cc
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x101ebb68]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, ecx
lea ecx, [esp + 0x2c]
call fcn.10033560
xor ebx, ebx
push eax
lea esi, [esp + 0x28]
mov dword [esp + 0x44], ebx
call fcn.1006e420
add esp, 4
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x30]
or edi, 0xffffffff
cmp eax, ebx
je 0x1006e123
mov esi, eax
add eax, 4
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1006e123
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
mov edx, edi
lock xadd dword [ecx], edx
jne 0x1006e123
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push str.IMAGE_IMPORT_IMPL
cmp dword [esp + 0x28], ebx
jne 0x1006e193
push str.Calling_ImageMgrI::ImageImport_is_not_set_Responder
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::warning_char_const___char_const__]
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x1006e31c
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1006e31c
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
lock xadd dword [ecx], edi
jne 0x1006e31c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.Image
call dword [sym.imp.MGCore.dll_public:_static_class_MGDecorateLog____cdecl_MGSingleton_class_MGDecorateLog__0_::getInstance_void_]
mov ecx, eax
call dword [sym.imp.MGCore.dll_public:_void___thiscall_MGDecorateLog::trace_char_const___char_const__]
push 0x20
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x40], 3
cmp esi, ebx
je 0x1006e1e2
lea eax, [esi + 0x14]
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov word [esi + 0xc], 0x100
mov dword [esi + 0x10], edi
push eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.1001cff0
jmp 0x1006e1e4
xor esi, esi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.1001bc40
mov byte [esp + 0x40], 4
mov edx, dword [esp + 0x1c]
mov byte [edx + 0xd], bl
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x10], 0xfffffffe
mov eax, dword [esp + 0x1c]
mov byte [eax + 0xc], 1
mov ecx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x18]
push edx
mov dword [ecx + 8], 0x64
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.1001cff0
mov byte [esp + 0x40], 5
mov edi, dword [esp + 0x1c]
add edi, 0x14
lea eax, [esp + 0x14]
call fcn.1000f990
mov byte [esp + 0x40], 4
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x1006e291
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1006e291
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1006e291
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0xc
mov ecx, esi
call edx
mov byte [esp + 0x40], 2
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x1006e2e3
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1006e2e3
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1006e2e3
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x40], 0xffffffff
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x1006e31c
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1006e31c
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1006e31c
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4