Function at 0x5078a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5356ba
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
push str..AddReq.cpp
mov ebp, ecx
mov ecx, dword [0x5b6bb0]
push 0x70
push str.bil::CAddReq::Add
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], edi
call fcn.00402490
mov ecx, edi
call fcn.004f6ba0
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.004e26f0
mov dword [esp + 0x80], 0
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x18]
lea esi, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.004778d0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi]
mov dword [esp + 0x30], ecx
test ebx, ebx
je 0x507945
cmp ebx, eax
je 0x50794b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x30]
jne 0x507aaa
mov ecx, edi
call fcn.004f6710
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x40]
call fcn.004e9ae0
mov byte [esp + 0x80], 1
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.005105b0
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
lea esi, [ebp + 0x38]
mov ebp, dword [esi]
mov dword [esp + 0x20], eax
mov ebx, dword [esi + 0x14]
mov eax, dword [esi]
test ebp, ebp
je 0x5079b5
cmp ebp, eax
je 0x5079bb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], ebx
je 0x507a4b
test ebp, ebp
jne 0x507a41
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x14]
jne 0x5079e0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
push 0
push 0x5b2f84
push 0x5b033c
push 0
push eax
call sub.MSVCR90.dll___RTDynamicCast
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x507a1b
mov ecx, edi
call fcn.004f6710
push edi
mov ecx, ebx
call fcn.005157c0
test al, al
jne 0x507b0e
test ebp, ebp
jne 0x507a46
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ebx, dword [esp + 0x20]
cmp ebx, dword [eax + 0x14]
jne 0x507a36
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
jmp 0x5079a8
mov eax, dword [ebp]
jmp 0x5079d1
mov eax, dword [ebp]
jmp 0x507a27
mov ecx, edi
call fcn.004f6710
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x80]
push edi
call edx
mov ebx, eax
test ebx, ebx
je 0x507b0e
mov ecx, edi
call fcn.004f6710
push edi
mov ecx, ebx
call fcn.005157c0
mov dword [esp + 0x24], ebx
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x24]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0043b3f0
push 1
mov ecx, esi
mov ebp, eax
call fcn.0043b4a0
mov dword [ebx + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
jmp 0x507b0e
test ebx, ebx
jne 0x507b75
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 0x18]
jne 0x507ac7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x28]
mov ecx, esi
call fcn.004f6710
mov ecx, edi
call fcn.004f6710
mov dword [esp + 0x18], esi
lea esi, [ebp + 0x74]
mov ebp, dword [esi + 0x14]
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
push ebp
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.0045dd70
push 1
mov ecx, esi
mov ebx, eax
call fcn.0045de20
mov dword [ebp + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov ecx, dword [esp + 0x28]
call fcn.004f6830
mov ecx, edi
call fcn.004f6830
mov ecx, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..AddReq.cpp
push 0xab
push str.bil::CAddReq::Add
call fcn.00402520
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0051973e
add esp, 0x70
ret 4
mov ebx, dword [ebx]
jmp 0x507ab8