Function at 0x40c2d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bb2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d437c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], vtable.CookiesManager.0
call fcn.004141e0
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebx
call fcn.00413b70
mov ecx, dword [esp + 0x4c]
push 0x4be549
mov esi, 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_char_const__]
mov eax, esi
sub eax, 1
je 0x40c45e
sub eax, 1
je 0x40c3d6
sub eax, 1
jne 0x40c4ed
call fcn.0040d3e0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, str.dev_id__
mov edx, str.name
mov byte [esp + 0x48], 3
call fcn.0040f250
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esp, 4
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x20]
je 0x40c3c4
push ebx
push str.dev_id_
lea ecx, [esi + 0x28]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x40c3ae
cmp esi, dword [esp + 0x20]
jne 0x40c3aa
call edi
mov esi, dword [esi]
jmp 0x40c388
cmp esi, dword [esp + 0x20]
jne 0x40c3b6
call edi
mov ecx, dword [esp + 0x4c]
add esi, 0x28
push esi
call dword [0x4bd1cc]
lea edi, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.0040d810
jmp 0x40c4e0
call fcn.0040d3c0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, str.dev_id__
mov edx, str.name
mov byte [esp + 0x48], 2
call fcn.0040fae0
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esp, 4
mov dword [esp + 0x18], eax
nop
cmp esi, dword [esp + 0x20]
je 0x40c44c
push ebx
push str.dev_id_
lea ecx, [esi + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x40c436
cmp esi, dword [esp + 0x20]
jne 0x40c432
call edi
mov esi, dword [esi]
jmp 0x40c410
cmp esi, dword [esp + 0x20]
jne 0x40c43e
call edi
mov ecx, dword [esp + 0x4c]
add esi, 0x64
push esi
call dword [0x4bd1cc]
lea edi, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.0040d6a0
jmp 0x40c4e0
call fcn.0040d3a0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, str._dev_id__
mov edx, str.name
mov byte [esp + 0x48], 1
call fcn.00410800
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esp, 4
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x20]
je 0x40c4d3
push ebx
push str.dev_id_
lea ecx, [esi + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x40c4bd
cmp esi, dword [esp + 0x20]
jne 0x40c4b9
call edi
mov esi, dword [esi]
jmp 0x40c497
cmp esi, dword [esp + 0x20]
jne 0x40c4c5
call edi
mov ecx, dword [esp + 0x4c]
add esi, 0x64
push esi
call dword [0x4bd1cc]
lea edi, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.0040d6a0
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp]
cmp eax, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x40c511
lea ebx, [ebx]
mov esi, dword [eax]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x40c500
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4