Function at 0x55c1fc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x54], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55c95f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004c27a0
call fcn.004540a8
mov ecx, eax
mov dl, 1
mov eax, dword [0x509bf4]
call fcn.005143d8
mov dword [ebx + 0x3dc], eax
mov eax, dword [ebx + 0x47c]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
je 0x55c2be
mov eax, dword [ebx + 0x47c]
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
je 0x55c2be
mov eax, dword [ebx + 0x47c]
mov edx, dword [eax]
call dword [edx + 0x28]
push eax
mov eax, dword [ebx + 0x47c]
mov edx, dword [eax]
call dword [edx + 0x70]
mov ecx, eax
mov dl, 1
mov eax, dword [0x503180]
call fcn.00514124
mov esi, eax
mov eax, dword [ebx + 0x4c]
sub eax, 4
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebx + 0x48]
sub ecx, 4
mov edx, 2
mov eax, 2
call fcn.005007f4
lea ecx, [ebp - 0x50]
mov edx, esi
mov eax, dword [ebx + 0x3dc]
call fcn.00516014
mov eax, esi
call fcn.00404e54
jmp 0x55c2f6
or edx, 0xffffffff
mov eax, dword [ebx + 0x498]
call fcn.0055be14
mov edx, eax
mov eax, dword [ebx + 0x3e0]
call fcn.00512570
push 0
mov eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebx + 0x4c]
push eax
xor ecx, ecx
mov edx, dword [ebx + 0x3e0]
mov eax, dword [ebx + 0x3dc]
call fcn.005153e0
cmp word [ebx + 0x4a2], 0
je 0x55c330
mov eax, dword [ebx + 0x3e0]
push eax
mov eax, dword [ebx + 0x3e4]
push eax
mov eax, dword [ebx + 0x3e8]
push eax
mov eax, ebx
call fcn.004c27a0
mov edx, eax
mov ecx, dword [ebx + 0x3dc]
mov eax, dword [ebx + 0x4a4]
call dword [ebx + 0x4a0]
cmp byte [ebx + 0x390], 0
je 0x55c395
cmp byte [ebx + 0x388], 0
jbe 0x55c395
movzx edx, byte [ebx + 0x388]
mov eax, dword [ebx + 0x38c]
call fcn.0055be14
mov edx, eax
mov eax, dword [ebx + 0x3e0]
call fcn.00512570
mov eax, dword [ebx + 0x394]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebx + 0x48]
sub ecx, 2
mov edx, 1
mov eax, 1
call fcn.005007f4
lea ecx, [ebp - 0x50]
mov edx, dword [ebx + 0x3e0]
mov eax, dword [ebx + 0x3dc]
call fcn.005153c8
or edx, 0xffffffff
mov eax, dword [ebx + 0x46c]
call fcn.0055be14
mov esi, eax
push esi
lea esi, [ebx + 0x3f0]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x20]
call fcn.00500810
inc dword [ebp - 0x34]
mov edx, 0x96
mov eax, 0xff
call fcn.0055be14
push eax
xor edx, edx
mov eax, 0xff
call fcn.0055be14
push eax
push 1
lea ecx, [ebp - 0x40]
mov dl, 1
mov eax, dword [0x505cfc]
call fcn.00512bf4
mov dword [ebp - 0x10], eax
cmp byte [ebx + 0x4a8], 0
je 0x55c421
cmp byte [ebx + 0x3ec], 1
jne 0x55c421
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x20]
call fcn.00500810
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.005153c8
mov edx, esi
mov eax, dword [ebx + 0x3e4]
call fcn.005120b0
push 0x40000000
mov eax, dword [ebx + 0x3e4]
call fcn.00511ca8
mov edx, dword [ebp - 0x1c]
add edx, 4
push edx
mov eax, dword [ebp - 0x20]
add eax, 0xe
mov ecx, eax
add ecx, 8
push ecx
add edx, 8
push edx
mov ecx, eax
mov eax, dword [ebx + 0x3dc]
mov edx, dword [ebx + 0x3e4]
call fcn.00514b10
mov edx, dword [ebp - 0x1c]
add edx, 4
mov ecx, edx
add ecx, 8
push ecx
mov eax, dword [ebp - 0x20]
add eax, 0xe
mov ecx, eax
add ecx, 8
push ecx
push edx
mov ecx, eax
mov eax, dword [ebx + 0x3dc]
mov edx, dword [ebx + 0x3e4]
call fcn.00514b10
xor edx, edx
mov eax, 0xffffff
call fcn.0055be14
push eax
mov edx, 0x96
mov eax, 0xffffff
call fcn.0055be14
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.00512d58
test byte [ebx + 0x298], 4
je 0x55c59b
push esi
lea esi, [ebx + 0x40c]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x20]
call fcn.00500810
push 0x3f800000
mov eax, dword [ebx + 0x3e4]
call fcn.00511ca8
mov edx, 0x64
mov eax, dword [ebx + 0x470]
call fcn.0055be14
mov edx, eax
mov eax, dword [ebx + 0x3e4]
call fcn.005120b0
push 2
mov eax, dword [ebp - 0x18]
push eax
push 0x12
mov ecx, eax
mov edx, dword [ebx + 0x3e4]
mov eax, dword [ebx + 0x3dc]
call fcn.00514b10
push 0xfffffffffffffffc
push 0xfffffffffffffff8
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_InflateRect
cmp byte [ebx + 0x408], 1
jne 0x55c551
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.005153c8
mov edx, esi
mov eax, dword [ebx + 0x3e4]
call fcn.005120b0
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x20]
call fcn.00500810
lea ecx, [ebp - 0x50]
mov edx, dword [ebx + 0x3e4]
mov eax, dword [ebx + 0x3dc]
call fcn.00514e60
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov edx, dword [ebp - 0x18]
push edx
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x3e4]
mov eax, dword [ebx + 0x3dc]
call fcn.00514b10
test byte [ebx + 0x298], 2
je 0x55c66a
push esi
lea esi, [ebx + 0x428]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0x3f800000
mov eax, dword [ebx + 0x3e4]
call fcn.00511ca8
mov edx, 0x64
mov eax, dword [ebx + 0x470]
call fcn.0055be14
mov edx, eax
mov eax, dword [ebx + 0x3e4]
call fcn.005120b0
push 2
mov eax, dword [ebp - 0x18]
push eax
push 0x12
mov ecx, eax
mov edx, dword [ebx + 0x3e4]
mov eax, dword [ebx + 0x3dc]
call fcn.00514b10
push 0x40000000
mov eax, dword [ebx + 0x3e4]
call fcn.00511ca8
cmp byte [ebx + 0x424], 1
jne 0x55c634
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x20]
call fcn.00500810
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.005153c8
mov edx, esi
mov eax, dword [ebx + 0x3e4]
call fcn.005120b0
mov edx, dword [ebp - 0x1c]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x20]
add eax, 8
mov ecx, eax
add ecx, 8
inc ecx
push ecx
push edx
mov ecx, eax
dec ecx
mov eax, dword [ebx + 0x3dc]
mov edx, dword [ebx + 0x3e4]
call fcn.00514b10
mov eax, dword [ebx + 0x4ac]
call fcn.004083ec
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x55c6c8
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x55c6c8
inc eax
xor esi, esi
mov edi, esi
add edi, edi
add edi, edi
add edi, edi
sub edi, esi
mov edx, dword [ebx + 0x4ac]
cmp byte [edx + edi*4], 1
jne 0x55c6c4
mov eax, dword [ebx + 0x4ac]
lea eax, [eax + edi*4 + 4]
lea edx, [ebp - 0x50]
call fcn.00500810
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.005153c8
jmp 0x55c6c8
inc esi
dec eax
jne 0x55c689
mov eax, dword [ebp - 0x10]
call fcn.00404e54
cmp word [ebx + 0x48a], 0
je 0x55c70a
mov eax, dword [ebx + 0x3e0]
push eax
mov eax, dword [ebx + 0x3e4]
push eax
mov eax, dword [ebx + 0x3e8]
push eax
mov eax, ebx
call fcn.004c27a0
mov edx, eax
mov ecx, dword [ebx + 0x3dc]
mov eax, dword [ebx + 0x48c]
call dword [ebx + 0x488]
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0xc], 0
jle 0x55c71e
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
sub esi, eax
cmp byte [ebx + 0x390], 0
je 0x55c8d0
mov dword [ebp - 8], 0x41200000
cmp byte [ebx + 0x474], 0
je 0x55c809
mov eax, dword [ebx + 0x2ac]
call fcn.0045b774
test eax, eax
jne 0x55c772
mov eax, dword [0x57a790]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
call fcn.0045b774
mov ecx, eax
mov dl, 1
mov eax, dword [0x503180]
call fcn.00514180
mov edi, eax
jmp 0x55c78d
mov eax, dword [ebx + 0x2ac]
call fcn.0045b774
mov ecx, eax
mov dl, 1
mov eax, dword [0x503180]
call fcn.00514180
mov edi, eax
mov eax, dword [ebx + 0x394]
sub eax, 0x10
sar eax, 1
jns 0x55c79d
adc eax, 0
add eax, 2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x1c
mov edx, dword [ebp - 4]
mov eax, 0xc
call fcn.00432fc8
push esi
push edi
lea esi, [ebp - 0x50]
lea edi, [ebx + 0x444]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea edx, [ebp - 0x50]
lea eax, [ebx + 0x444]
call fcn.00500810
lea ecx, [ebp - 0x50]
mov edx, edi
mov eax, dword [ebx + 0x3dc]
call fcn.00516014
mov eax, edi
call fcn.00404e54
fld dword [ebp - 8]
fadd dword [0x55c970]
fadd dword [0x55c974]
fstp dword [ebp - 8]
wait
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.0049b1c8
cmp dword [ebp - 0x54], 0
je 0x55c8d0
push dword [ebp - 8]
push 0x40000000
mov dword [ebp - 0x58], esi
fild dword [ebp - 0x58]
fsub dword [ebp - 8]
add esp, 0xfffffffc
fstp dword [esp]
wait
fild dword [ebx + 0x394]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [ebp - 0x30]
call fcn.005007d4
mov eax, dword [ebx + 0x478]
call fcn.00452388
push eax
mov eax, ebx
call fcn.004c27a0
call fcn.004540a8
mov ecx, eax
mov dl, 1
mov eax, dword [0x501ec0]
call fcn.005172f0
mov esi, eax
mov eax, dword [ebx + 0x478]
mov eax, dword [eax + 0x18]
or edx, 0xffffffff
call fcn.0055be14
mov edx, eax
mov eax, dword [ebx + 0x3e0]
call fcn.00512570
push esi
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x3e8]
push eax
mov eax, dword [ebx + 0x3e0]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
call fcn.0049b1c8
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
call fcn.00406d74
mov edx, dword [ebp - 0x5c]
or ecx, 0xffffffff
mov eax, dword [ebx + 0x3dc]
call fcn.0051578c
mov eax, esi
call fcn.00404e54
mov eax, dword [ebx + 0x3dc]
call fcn.00404e54
mov eax, dword [ebx + 0x464]
push eax
call sub.gdi32.dll_CreateSolidBrush
mov esi, eax
push 1
push 1
push esi
mov eax, dword [ebx + 0x39c]
push eax
mov eax, ebx
call fcn.004c27a0
call fcn.004540a8
push eax
call sub.gdi32.dll_FrameRgn
mov eax, dword [ebx + 0x468]
push eax
call sub.gdi32.dll_CreateSolidBrush
mov esi, eax
push 1
push 1
push esi
mov eax, dword [ebx + 0x3a0]
push eax
mov eax, ebx
call fcn.004c27a0
call fcn.004540a8
push eax
call sub.gdi32.dll_FrameRgn
push esi
call sub.gdi32.dll_DeleteObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c966
lea eax, [ebp - 0x60]
call fcn.00406ae8
lea eax, [ebp - 0x5c]
call fcn.00406790
lea eax, [ebp - 0x54]
call fcn.00406ae8
ret