Function at 0x552210
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x552219
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
call fcn.00409d50
mov eax, dword [ebp - 8]
call fcn.00409d50
xor eax, eax
push ebp
push 0x552687
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffe7961
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xfffe7961
cmp dword [ebp - 8], 0
je 0x552618
lea eax, [ebp - 0x10]
call fcn.00409cdc
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
mov ecx, 0x552698
call fcn.00409d20
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00409dec
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00409dec
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00409dec
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00409dec
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00409dec
sub edi, dword [ebp - 0x40]
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00409dec
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00409dec
sub edi, dword [ebp - 0x40]
xor eax, eax
push ebp
push 0x552611
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.005528c0
cmp dword [ebp - 0x30], 0xfffe7961
jne 0x552341
call fcn.00405ad8
jmp 0x552618
cmp dword [ebp + 0x10], 0
jne 0x55235b
xor eax, eax
mov dword [ebp - 0x20], eax
sar edi, 1
jns 0x552353
adc edi, 0
mov dword [ebp - 0x1c], edi
jmp 0x55242c
cmp dword [ebp + 0x10], 1
jne 0x55237d
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x55236b
adc eax, 0
mov dword [ebp - 0x20], eax
sar edi, 1
jns 0x552375
adc edi, 0
mov dword [ebp - 0x1c], edi
jmp 0x55242c
cmp dword [ebp + 0x10], 2
jne 0x552398
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
sar edi, 1
jns 0x552390
adc edi, 0
mov dword [ebp - 0x1c], edi
jmp 0x55242c
cmp dword [ebp + 0x10], 3
jne 0x5523ed
mov edx, dword [ebp - 0x24]
mov eax, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, eax
test edx, edx
jns 0x5523b2
add edx, 7
sar edx, 3
mov eax, dword [ebp - 0x24]
test eax, eax
jns 0x5523bf
add eax, 7
sar eax, 3
call fcn.0053ae60
mov dword [ebp - 0x20], eax
lea edx, [edi + edi*2]
test edx, edx
jns 0x5523d4
add edx, 3
sar edx, 2
mov eax, edi
test eax, eax
jns 0x5523e0
add eax, 3
sar eax, 2
call fcn.0053ae60
mov dword [ebp - 0x1c], eax
jmp 0x55242c
cmp dword [ebp + 0x10], 4
jne 0x55242c
mov edx, dword [ebp - 0x24]
mov eax, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, eax
test edx, edx
jns 0x552407
add edx, 7
sar edx, 3
mov eax, dword [ebp - 0x24]
test eax, eax
jns 0x552414
add eax, 7
sar eax, 3
call fcn.0053ae60
mov dword [ebp - 0x20], eax
test edi, edi
jns 0x552426
add edi, 3
sar edi, 2
mov dword [ebp - 0x1c], edi
add ebx, dword [ebp - 0x20]
add ebx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, esi
add ebx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp + 0xc], 3
jg 0x55245f
lea eax, [ebp - 0xc]
call fcn.00409cdc
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00409dec
jmp 0x552486
lea eax, [ebp - 0xc]
call fcn.00409cdc
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 4]
mov ecx, 0x5526a8
call fcn.00409d20
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00409dec
lea eax, [ebp - 0x58]
call fcn.0042231c
push eax
push 0
push 0x5526bc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00409dec
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
call fcn.004287d0
mov eax, dword [ebp - 0x48]
call fcn.00414210
mov edi, eax
lea eax, [ebp - 0x6c]
call fcn.0042231c
push eax
push 0
push 0x5526d8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00409dec
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
call fcn.004287d0
mov eax, dword [ebp - 0x5c]
call fcn.00414210
mov dword [ebp - 0x18], eax
cmp ebx, dword [ebp - 0x28]
jle 0x552549
mov ebx, 1
mov edx, 0xc8
mov eax, 0x64
call fcn.0053ae60
mov esi, eax
jmp 0x55253d
push 0
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
add edx, ebx
mov cl, 0xfc
call fcn.00427338
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0x5526d8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00409dec
add ebx, 0xa
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
add eax, esi
cmp ebx, eax
jle 0x55250a
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x2c]
jle 0x5525b2
mov ebx, 1
mov edx, 0xc8
mov eax, 0x64
call fcn.0053ae60
mov esi, eax
jmp 0x5525a6
push 0
lea eax, [ebp - 0x8c]
lea edx, [ebx + edi]
mov cl, 0xfc
call fcn.00427338
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push 0x5526bc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00409dec
add ebx, 0xa
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x2c]
add eax, esi
cmp ebx, eax
jle 0x552569
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jg 0x5525c2
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x2c]
jle 0x5525f5
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0xa
jle 0x5525db
mov dword [ebp - 0x20], 0xfffe7961
mov dword [ebp - 0x1c], 0xfffe7961
jmp 0x5525f5
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00552210
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552618
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55268e
lea eax, [ebp - 0x8c]
mov edx, dword [0x401288]
mov ecx, 3
call fcn.00407c8c
lea eax, [ebp - 0x5c]
call fcn.00406ecc
lea eax, [ebp - 0x58]
call fcn.0042231c
lea eax, [ebp - 0x48]
call fcn.00406ecc
lea eax, [ebp - 0x44]
call fcn.00409cdc
lea eax, [ebp - 0x38]
call fcn.00409cdc
lea eax, [ebp - 0x10]
call fcn.00409cdc
lea eax, [ebp - 0xc]
mov edx, dword [0x550a9c]
mov ecx, 2
call fcn.00407c8c
lea eax, [ebp - 4]
call fcn.00409cdc
ret