Function at 0x5135a80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x522a86b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 0x42c], ecx
mov ecx, 0x31
mov esi, ebx
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, 0x53f4cc8
call fcn.05065960
mov edi, eax
add edi, 0x430
mov ecx, 0x31
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x98]
cmp eax, dword [ebx + 0x80]
je 0x5135b96
push str._ERROR:
push 0xff
push 0xab4
push str..FunctionPlatformInit.cpp
lea ecx, [esp + 0x20]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0xf8], 0
mov edi, dword [ebp + 8]
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x98]
mov eax, dword [eax + 8]
push ecx
push edx
push edi
push str.__d__META_ConnectWithTargetEx_r__:_Invalid_argument__req__usb_enable_0x_2x____req__boot_meta_arg.m_usb_enable_0x_2x_.
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.051ae2c0
mov eax, 0xa
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
jne 0x5135c56
push 0x98
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebx + 0x94]
mov edx, dword [ebx + 0x34]
add esp, 0xc
cmp dword [ebx + 0xa0], 0
lea esi, [ebx + 4]
mov ecx, 0xc
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x38]
mov ecx, 0x17
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
mov dword [esp + 0x24], ecx
lea ecx, [ebx + 0xbc]
push ecx
push 0
push 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0x64], edx
setne al
cmp dword [ebx + 0xa4], 0
lea edx, [ebx + 0xa8]
push edx
movzx ecx, al
push ecx
mov ecx, dword [ebp + 0x14]
setne dl
cmp dword [ebx + 0x9c], 0
movzx eax, dl
mov edx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
lea eax, [esp + 0x44]
push eax
setne dl
movzx eax, dl
push ecx
push eax
push 0x52916c4
call fcn.05135010
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x64
lea ecx, [esp + 0x28]
push 0
push ecx
call sub.MSVCR90.dll_memset
mov eax, dword [ebx + 0x94]
mov edx, dword [ebx]
add esp, 0xc
cmp dword [ebx + 0xa4], 0
lea esi, [ebx + 0x38]
mov ecx, 0x17
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xbc]
push ecx
push 0
push 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x90], eax
setne al
movzx ecx, al
mov eax, dword [ebp + 0x10]
lea edx, [ebx + 0xa8]
push edx
mov edx, dword [ebp + 0x14]
push 1
push ecx
add edx, 4
cmp dword [ebx + 0x9c], 0
push edx
mov edx, dword [ebp + 8]
push eax
lea ecx, [esp + 0x44]
push ecx
setne al
movzx ecx, al
push edx
push ecx
push 0x52916c4
call fcn.05133d90
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10