Function at 0x55cb9c
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 0x55d31e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004c277c
call fcn.00454084
mov ecx, eax
mov dl, 1
mov eax, dword [0x509c38]
call fcn.0051441c
mov dword [ebx + 0x3dc], eax
mov eax, dword [ebx + 0x47c]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
je 0x55cc5e
mov eax, dword [ebx + 0x47c]
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
je 0x55cc5e
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 [0x5031c4]
call fcn.00514168
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.00500838
lea ecx, [ebp - 0x50]
mov edx, esi
mov eax, dword [ebx + 0x3dc]
call fcn.00516058
mov eax, esi
call fcn.00404e54
jmp 0x55cc96
or edx, 0xffffffff
mov eax, dword [ebx + 0x498]
call fcn.0055c7b0
mov edx, eax
mov eax, dword [ebx + 0x3e0]
call fcn.005125b4
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.00515424
cmp word [ebx + 0x4a2], 0
je 0x55ccd0
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.004c277c
mov edx, eax
mov ecx, dword [ebx + 0x3dc]
mov eax, dword [ebx + 0x4a4]
call dword [ebx + 0x4a0]
cmp byte [ebx + 0x390], 0
je 0x55cd35
cmp byte [ebx + 0x388], 0
jbe 0x55cd35
movzx edx, byte [ebx + 0x388]
mov eax, dword [ebx + 0x38c]
call fcn.0055c7b0
mov edx, eax
mov eax, dword [ebx + 0x3e0]
call fcn.005125b4
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.00500838
lea ecx, [ebp - 0x50]
mov edx, dword [ebx + 0x3e0]
mov eax, dword [ebx + 0x3dc]
call fcn.0051540c
or edx, 0xffffffff
mov eax, dword [ebx + 0x46c]
call fcn.0055c7b0
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.00500854
inc dword [ebp - 0x34]
mov edx, 0x96
mov eax, 0xff
call fcn.0055c7b0
push eax
xor edx, edx
mov eax, 0xff
call fcn.0055c7b0
push eax
push 1
lea ecx, [ebp - 0x40]
mov dl, 1
mov eax, dword [0x505d40]
call fcn.00512c38
mov dword [ebp - 0x10], eax
test byte [ebx + 0x298], 1
je 0x55ce41
cmp byte [ebx + 0x4a9], 0
je 0x55cdce
cmp byte [ebx + 0x3ec], 1
jne 0x55cdce
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x20]
call fcn.00500854
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.0051540c
mov edx, esi
mov eax, dword [ebx + 0x3e4]
call fcn.005120f4
push 0x40000000
mov eax, dword [ebx + 0x3e4]
call fcn.00511cec
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.00514b54
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.00514b54
xor edx, edx
mov eax, 0xffffff
call fcn.0055c7b0
push eax
mov edx, 0x96
mov eax, 0xffffff
call fcn.0055c7b0
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.00512d9c
test byte [ebx + 0x298], 4
je 0x55cf51
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.00500854
cmp byte [ebx + 0x4a8], 0
je 0x55cee0
push 0x3f800000
mov eax, dword [ebx + 0x3e4]
call fcn.00511cec
mov edx, 0x64
mov eax, dword [ebx + 0x470]
call fcn.0055c7b0
mov edx, eax
mov eax, dword [ebx + 0x3e4]
call fcn.005120f4
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.00514b54
push 0xfffffffffffffffc
push 0xfffffffffffffff8
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_InflateRect
cmp byte [ebx + 0x408], 1
jne 0x55cf07
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.0051540c
mov edx, esi
mov eax, dword [ebx + 0x3e4]
call fcn.005120f4
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x20]
call fcn.00500854
lea ecx, [ebp - 0x50]
mov edx, dword [ebx + 0x3e4]
mov eax, dword [ebx + 0x3dc]
call fcn.00514ea4
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.00514b54
test byte [ebx + 0x298], 2
je 0x55d029
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
cmp byte [ebx + 0x4a8], 0
je 0x55cfbe
push 0x3f800000
mov eax, dword [ebx + 0x3e4]
call fcn.00511cec
mov edx, 0x64
mov eax, dword [ebx + 0x470]
call fcn.0055c7b0
mov edx, eax
mov eax, dword [ebx + 0x3e4]
call fcn.005120f4
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.00514b54
push 0x40000000
mov eax, dword [ebx + 0x3e4]
call fcn.00511cec
cmp byte [ebx + 0x424], 1
jne 0x55cff3
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x20]
call fcn.00500854
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.0051540c
mov edx, esi
mov eax, dword [ebx + 0x3e4]
call fcn.005120f4
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.00514b54
mov eax, dword [ebx + 0x4ac]
call fcn.004083ec
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x55d087
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x55d087
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 0x55d083
mov eax, dword [ebx + 0x4ac]
lea eax, [eax + edi*4 + 4]
lea edx, [ebp - 0x50]
call fcn.00500854
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3dc]
call fcn.0051540c
jmp 0x55d087
inc esi
dec eax
jne 0x55d048
mov eax, dword [ebp - 0x10]
call fcn.00404e54
cmp word [ebx + 0x48a], 0
je 0x55d0c9
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.004c277c
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 0x55d0dd
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
sub esi, eax
cmp byte [ebx + 0x390], 0
je 0x55d28f
mov dword [ebp - 8], 0x41200000
cmp byte [ebx + 0x474], 0
je 0x55d1c8
mov eax, dword [ebx + 0x2ac]
call fcn.0045b750
test eax, eax
jne 0x55d131
mov eax, dword [0x57a790]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
call fcn.0045b750
mov ecx, eax
mov dl, 1
mov eax, dword [0x5031c4]
call fcn.005141c4
mov edi, eax
jmp 0x55d14c
mov eax, dword [ebx + 0x2ac]
call fcn.0045b750
mov ecx, eax
mov dl, 1
mov eax, dword [0x5031c4]
call fcn.005141c4
mov edi, eax
mov eax, dword [ebx + 0x394]
sub eax, 0x10
sar eax, 1
jns 0x55d15c
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.00432fa4
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.00500854
lea ecx, [ebp - 0x50]
mov edx, edi
mov eax, dword [ebx + 0x3dc]
call fcn.00516058
mov eax, edi
call fcn.00404e54
fld dword [ebp - 8]
fadd dword [0x55d32c]
fadd dword [0x55d330]
fstp dword [ebp - 8]
wait
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.0049b1a4
cmp dword [ebp - 0x54], 0
je 0x55d28f
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.00500818
mov eax, dword [ebx + 0x478]
call fcn.00452364
push eax
mov eax, ebx
call fcn.004c277c
call fcn.00454084
mov ecx, eax
mov dl, 1
mov eax, dword [0x501f04]
call fcn.00517334
mov esi, eax
mov eax, dword [ebx + 0x478]
mov eax, dword [eax + 0x18]
or edx, 0xffffffff
call fcn.0055c7b0
mov edx, eax
mov eax, dword [ebx + 0x3e0]
call fcn.005125b4
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.0049b1a4
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.005157d0
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.004c277c
call fcn.00454084
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.004c277c
call fcn.00454084
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 0x55d325
lea eax, [ebp - 0x60]
call fcn.00406ae8
lea eax, [ebp - 0x5c]
call fcn.00406790
lea eax, [ebp - 0x54]
call fcn.00406ae8
ret