Function at 0x41c630
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x456460
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x47f060]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov eax, dword [0x47f060]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41c9a2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0xa0], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push 0x30
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [esp + 0x24], eax
test edi, edi
je 0x41c6f7
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], esi
mov dword [edi], vtable.idiDataRubbish_File.0
jmp 0x41c6fd
xor edi, edi
mov dword [esp + 0x24], edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], edx
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10]
call eax
mov dword [edi + 0x28], eax
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
cmp esi, edi
je 0x41c8b1
mov eax, dword [esp + 0x24]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esi]
push 0x40
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41c76f
mov dword [eax + 8], 0
mov dword [eax], vtable.idiItemDataRubbish_File.0
xor ecx, ecx
mov dword [eax + 0x34], 7
mov dword [eax + 0x30], 0
mov word [eax + 0x20], cx
jmp 0x41c775
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x34]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, eax
add ecx, 0x20
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ecx
cmp ecx, edx
je 0x41c81c
cmp dword [ecx + 0x14], 8
jb 0x41c7bc
push dword [ecx]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
add esp, 4
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
cmp dword [edx + 0x14], 8
jae 0x41c7f3
mov eax, dword [edx + 0x10]
inc eax
je 0x41c7fd
add eax, eax
push eax
push edx
push ecx
call dword [sym.imp.MSVCR110.dll_memmove]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x41c7fd
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp dword [esp + 0x48], 8
jb 0x41c830
push dword [esp + 0x34]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 4]
lea eax, [esp + 0x28]
cmp eax, edx
mov eax, dword [esp + 0x1c]
jae 0x41c886
lea edx, [esp + 0x28]
cmp dword [ecx], edx
mov edx, dword [ecx + 4]
ja 0x41c886
lea eax, [esp + 0x28]
sub eax, dword [ecx]
sar eax, 2
mov dword [esp + 0x18], eax
cmp edx, dword [ecx + 8]
jne 0x41c872
push ecx
call fcn.0041d010
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
lea eax, [eax + edx*4]
mov edx, dword [ecx + 4]
test edx, edx
je 0x41c8a2
mov eax, dword [eax]
jmp 0x41c8a0
cmp edx, dword [ecx + 8]
jne 0x41c899
push ecx
call fcn.0041d010
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
test edx, edx
je 0x41c8a2
mov dword [edx], eax
add dword [ecx + 4], 4
add esi, 4
cmp esi, edi
jne 0x41c733
mov eax, dword [esp + 0x30]
add eax, 0xfffffffc
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], 0x64
movq xmm0, qword [esp + 0x64]
mov dword [esp + 0x70], eax
movq qword [esp + 0x38], xmm0
movq xmm0, qword [esp + 0x6c]
push 0
movq qword [esp + 0x44], xmm0
mov eax, dword [esp + 0x48]
push 1
sub esp, 0x20
mov dword [esp + 0x9c], eax
mov esi, esp
lea eax, [esp + 0x8c]
mov dword [esp + 0x5c], 0x41d309
movdqa xmm0, xmmword [esp + 0x5c]
mov dword [esp + 0x58], esp
push eax
mov dword [esi], 0
movdqa xmmword [esp + 0x90], xmm0
call fcn.00419520
add esp, 4
test al, al
jne 0x41c96c
lea ecx, [esi + 8]
test ecx, ecx
je 0x41c960
movdqa xmm0, xmmword [esp + 0x8c]
mov eax, dword [esp + 0x9c]
movq qword [ecx], xmm0
movsd xmm0, qword [esp + 0x94]
movq qword [ecx + 8], xmm0
mov dword [ecx + 0x10], eax
mov eax, 0x463558
or eax, 1
mov dword [esi], eax
jmp 0x41c972
mov dword [esi], 0
mov byte [esp + 0xc8], 1
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::COUIManager____cdecl_OUI::COUIManager::GetUIManager_void_]
mov ecx, eax
mov byte [esp + 0xc8], 0
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COUIManager::AddUIHandler_class_boost::function_void____cdecl___void____bool__void__]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41c9a2
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00452076
mov esp, ebp
pop ebp
ret 8