Function at 0x54a3c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x54a3c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e30
xor eax, eax
push ebp
push 0x54aa7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
call fcn.00404a18
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x3c8]
call fcn.0045c900
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.00409694
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x3c0]
call fcn.0045c900
push 6
push 0x96
push 0x3aa
push 0x136
mov eax, dword [ebx + 0x3ac]
push eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x543c2c]
call fcn.00556700
mov esi, eax
mov dword [ebx + 0x434], esi
mov eax, dword [ebx + 0x3b4]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebx + 0x434]
xor edx, edx
mov dword [eax + 0x228], edx
mov edx, 6
call fcn.0045c040
mov edx, 0x96
mov eax, dword [ebx + 0x434]
call fcn.0045c064
xor ecx, ecx
mov edx, 1
mov eax, dword [ebx + 0x434]
call fcn.00463f18
xor edx, edx
mov eax, dword [ebx + 0x434]
call fcn.0047647c
mov eax, dword [ebx + 0x434]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00475970
mov eax, dword [ebx + 0x434]
mov eax, dword [eax + 0x20c]
mov dl, 1
call fcn.00475970
mov eax, dword [ebx + 0x434]
mov eax, dword [eax + 0x20c]
mov dl, 1
call fcn.00475908
mov eax, dword [ebx + 0x434]
mov edx, dword [eax + 0x22c]
mov eax, dword [eax + 0x170]
call fcn.004293f4
mov eax, dword [ebx + 0x434]
call fcn.0045ce0c
jmp 0x54aa18
mov edx, 0x54aa94
mov eax, esi
call fcn.004b44ec
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004092f8
push dword [ebp - 0x38]
push 0x54aaa0
push 0
lea eax, [ebp - 0x40]
push eax
mov edx, 0x54aaac
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [0x56481c]
call fcn.004097d0
mov ecx, eax
add cx, 0xc350
mov eax, dword [0x5610d0]
mov eax, dword [eax]
pop edx
call fcn.00529be8
push dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404d00
mov edx, 0x54aab8
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004092f8
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0xc]
mov ecx, 0x54aac4
call fcn.00404c8c
mov eax, dword [0x560b8c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
setge byte [ebp - 0x29]
mov eax, dword [ebx + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0x150]
mov edi, eax
mov edx, 0x54aad0
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xd], al
mov edx, 0x54aadc
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xe], al
mov edx, 0x54aae8
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xf], al
mov edx, 0x54aaf4
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0x10], al
mov edx, 0x54ab04
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x54ab10
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x18], eax
mov edx, 0x54ab1c
mov eax, dword [ebx + 0x2fc]
call fcn.004b44ec
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x1c], eax
mov esi, edi
dec esi
mov eax, esi
mov ecx, 3
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
inc eax
mov edx, eax
shl eax, 4
sub eax, edx
add eax, 0x2d
push eax
imul eax, ecx, 0x113
pop edx
add edx, eax
mov dword [ebp - 0x24], edx
mov eax, esi
mov ecx, 3
cdq
idiv ecx
shl eax, 2
lea eax, [eax + eax*4]
add eax, 5
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0xe], 0
je 0x54a6db
cmp byte [ebp - 0xf], 0
je 0x54a6db
cmp byte [ebp - 0x10], 0
je 0x54a6db
mov dword [ebp - 0x30], 1
jmp 0x54a72a
cmp byte [ebp - 0xe], 0
jne 0x54a6f6
cmp byte [ebp - 0xf], 0
je 0x54a6f6
cmp byte [ebp - 0x10], 0
je 0x54a6f6
mov dword [ebp - 0x30], 2
jmp 0x54a72a
cmp byte [ebp - 0xe], 0
je 0x54a711
cmp byte [ebp - 0xf], 0
je 0x54a708
cmp byte [ebp - 0x10], 0
jne 0x54a711
mov dword [ebp - 0x30], 3
jmp 0x54a72a
cmp byte [ebp - 0xe], 0
jne 0x54a72a
cmp byte [ebp - 0xf], 0
je 0x54a723
cmp byte [ebp - 0x10], 0
jne 0x54a72a
mov dword [ebp - 0x30], 4
cmp byte [ebp - 0x29], 0
je 0x54a735
xor eax, eax
mov dword [ebp - 0x30], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x44d200]
call fcn.00451fb4
mov esi, eax
mov edx, dword [ebx + 0x434]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x54]
mov eax, edi
call fcn.00409694
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 0x54ab28
call fcn.00404c8c
mov edx, dword [ebp - 0x50]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, 0xeb
mov eax, esi
call fcn.0045c08c
mov edx, 0xc
mov eax, esi
call fcn.0045c0b0
mov edx, dword [ebp - 0x20]
inc edx
mov eax, esi
call fcn.0045c064
mov edx, dword [ebp - 0x24]
add edx, 0x14
mov eax, esi
call fcn.0045c040
mov eax, dword [esi + 0x68]
mov edx, 9
call fcn.00428ef4
mov eax, dword [esi + 0x68]
mov edx, 0x54ab3c
call fcn.00428e7c
mov eax, dword [esi + 0x68]
mov edx, 0xfaae6b
call fcn.00428c54
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0045c900
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov dl, 1
mov eax, esi
call fcn.0045242c
mov ecx, ebx
mov dl, 1
mov eax, dword [0x510658]
call fcn.00438220
mov esi, eax
mov edx, dword [ebx + 0x434]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x5c]
mov eax, edi
call fcn.00409694
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x54ab4c
call fcn.00404c8c
mov edx, dword [ebp - 0x58]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, 0xff
mov eax, esi
call fcn.0045c08c
mov edx, 0xe
mov eax, esi
call fcn.0045c0b0
mov dword [esi + 0xc], edi
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.0045c064
mov edx, dword [ebp - 0x24]
mov eax, esi
call fcn.0045c040
mov dl, 1
mov eax, esi
call fcn.00438734
mov dl, byte [ebp - 0x29]
mov eax, esi
call fcn.00510b20
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.00510b28
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00510bd8
mov eax, dword [ebp - 0x14]
mov edx, 0x54ab64
call fcn.00404d8c
jne 0x54a89d
mov edx, 0x54ab70
mov eax, esi
call fcn.00510b90
jmp 0x54a8a9
mov edx, 0x54ab80
mov eax, esi
call fcn.00510b90
cmp byte [ebp - 0xd], 0
je 0x54a8bd
mov edx, 0x54ab90
mov eax, esi
call fcn.00510b30
jmp 0x54a8c6
xor edx, edx
mov eax, esi
call fcn.00510b30
cmp byte [ebp - 0xe], 0
jne 0x54a8da
mov edx, 0x54aba4
mov eax, esi
call fcn.00510b78
jmp 0x54a8e3
xor edx, edx
mov eax, esi
call fcn.00510b78
cmp byte [ebp - 0xf], 0
jne 0x54a8f7
mov edx, 0x54abb8
mov eax, esi
call fcn.00510b60
jmp 0x54a900
xor edx, edx
mov eax, esi
call fcn.00510b60
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x18]
call fcn.00409694
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, 0x54abcc
call fcn.00404c8c
mov edx, dword [ebp - 0x60]
mov eax, esi
call fcn.00510b48
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
call fcn.00409694
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, 0x54abe0
call fcn.00404c8c
mov edx, dword [ebp - 0x68]
mov eax, esi
call fcn.00510ba8
cmp dword [ebp - 0x18], 0
je 0x54a994
push 0x54abf4
imul eax, dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fild dword [ebp - 0x18]
fdivp st(1)
call fcn.00402cb0
push edx
push eax
lea eax, [ebp - 0x74]
call fcn.00409780
push dword [ebp - 0x74]
push 0x54ac04
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00404d00
mov edx, dword [ebp - 0x70]
mov eax, esi
call fcn.00510bc0
jmp 0x54a9a0
mov edx, 0x54ac10
mov eax, esi
call fcn.00510bc0
push 0x54ac20
lea edx, [ebp - 0x80]
mov eax, dword [esi + 0x198]
call fcn.00409694
push dword [ebp - 0x80]
push 0x54ac30
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404d00
mov ecx, dword [ebp - 0x7c]
mov eax, dword [0x5610d0]
mov eax, dword [eax]
mov edx, dword [esi + 0x168]
call fcn.0052c1e0
mov dword [esi + 0x124], ebx
mov dword [esi + 0x120], fcn.0054b0d4
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x188], fcn.0054b5a8
mov dword [esi + 0x194], ebx
mov dword [esi + 0x190], 0x54bbc8
mov eax, dword [ebx + 0x2fc]
call fcn.004b5c2c
mov esi, dword [ebx + 0x2fc]
cmp byte [esi + 0xa1], 0
je 0x54a50a
mov eax, dword [ebx + 0x2fc]
call fcn.004b5914
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54aa82
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004049a4
lea eax, [ebp - 0x74]
mov edx, 0x11
call fcn.004049a4
lea eax, [ebp - 0x28]
call fcn.00404980
lea eax, [ebp - 0x14]
call fcn.00404980
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049a4
ret