Function at 0x410ed0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x416d48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4211a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov esi, ecx
mov dword [esi + 0xa0], eax
add eax, 0xfffffffc
cmp eax, 4
ja case.0x410f13.5
jmp dword [eax*4 + 0x411174]
test ebp, ebp
je 0x411084
mov eax, dword [ebp + 4]
lea ecx, [ebp + 0x80]
push ecx
lea edi, [esp + 0x38]
mov dword [esi + 0xa4], eax
call fcn.0040ec70
add esp, 4
push eax
lea ecx, [esi + 0x9c]
mov dword [esp + 0x2c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov ecx, edi
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [ebp + 8]
lea edi, [esi + 0xa8]
push edx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp + 0x24]
lea ebx, [esi + 0xc4]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp + 0x40]
lea edx, [ebp + 0x44]
mov dword [esi + 0xe0], ecx
push edx
lea ecx, [esi + 0xe4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp + 0x60]
lea ecx, [esi + 0x100]
push eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esi + 0xbc], 0
je 0x410fd7
cmp dword [esi + 0xd8], 0
je 0x410fd7
cmp dword [esi + 0xf8], 0
je 0x410fd7
mov dword [esi + 0xa0], 4
jmp 0x410fe1
mov dword [esi + 0xa0], 5
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
push edi
lea edi, [esp + 0x34]
call fcn.0040ec70
add esp, 4
push eax
lea ecx, [esi + 0x11c]
mov dword [esp + 0x2c], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
or ebp, 0xffffffff
mov ecx, edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [esi + 0x100]
push eax
lea edi, [esp + 0x1c]
call fcn.0040ec70
add esp, 4
push eax
lea ecx, [esi + 0x124]
mov dword [esp + 0x2c], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov ecx, edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push ebx
lea edi, [esp + 0x20]
call fcn.0040ec70
add esp, 4
push eax
lea ecx, [esi + 0x128]
mov dword [esp + 0x2c], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov ecx, edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp case.0x410f13.5
mov dword [esi + 0xa0], 5
jmp case.0x410f13.5
mov dword [esi + 0x20c], ebp
jmp case.0x410f13.5
mov edi, dword [esi + 0x208]
test edi, edi
jne 0x4110c7
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.ManualUpdate:_UST_DOWNLOAD_DONE_n
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
call fcn.0040f8f0
add esp, 4
jmp 0x41115b
cmp byte [edi + 0x11], 0
je 0x4110de
mov ecx, dword [edi + 0x14]
push edi
mov byte [edi + 0x10], 0
call fcn.0040edf0
mov byte [edi + 0x11], 0
mov dword [esi + 0x20c], 0x64
call fcn.004101f0
push 0
mov ecx, esi
call fcn.00410b50
test al, al
jne 0x411106
mov dword [esi + 0xa0], 8
jmp 0x41114c
mov eax, esi
call fcn.004101a0
jmp case.0x410f13.5
mov edi, dword [esi + 0x208]
test edi, edi
jne 0x411135
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.ManualUpdate:_UST_DOWNLOAD_FAILED_n
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
call fcn.0040f8f0
add esp, 4
jmp 0x41115b
cmp byte [edi + 0x11], 0
je 0x41114c
mov ecx, dword [edi + 0x14]
push edi
mov byte [edi + 0x10], 0
call fcn.0040edf0
mov byte [edi + 0x11], 0
mov dword [esi + 0x20c], 0
call fcn.004101f0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8