Function at 0x4dff7c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x4e03cb
mov eax, dword [0x663818]
cmp byte [eax], 0
je 0x4dffb1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x58]
cmp eax, dword [ebp - 0xc]
jne 0x4e03cb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.0055f3a8
test al, al
je 0x4e0232
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.00560ec8
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov byte [eax + 0x1c], bl
test bl, bl
jne 0x4e0223
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x30]
cmp dword [ebx + 0x24], 0
jge 0x4e009e
mov eax, ebx
call fcn.00560eb4
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x28]
mov ecx, edx
shl edx, 6
add edx, ecx
cmp dword [eax + edx*4 + 0x3c], 0x64
jne 0x4e009e
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x27], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x48]
xor ecx, ecx
call fcn.005181d0
cmp byte [ebp - 0x28], 2
jne 0x4e01f3
cmp dword [ebp - 0x48], 0
je 0x4e01f3
push 0xcc0020
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x44]
add eax, dword [ebp - 0x3c]
push eax
mov eax, dword [edi + 0x40]
add eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x48]
call fcn.0042f804
call fcn.0042ad10
push eax
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4e01f3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x39], 0
jne 0x4e00b4
cmp byte [eax + 0x3a], 0
jne 0x4e00b4
xor edx, edx
jmp 0x4e00b6
mov dl, 1
mov byte [eax + 0x39], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.00561098
test al, al
je 0x4e0176
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x30], 0
je 0x4e0176
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x34]
mov edx, dword [ebx + 0x44]
inc edx
mov eax, dword [ebx + 0x40]
inc eax
call fcn.00406a98
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x60]
pop edx
call fcn.00406aa0
xor al, 1
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov byte [edx + 0x3a], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x3a], 0
jne 0x4e0169
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x34]
mov edx, dword [ebx + 0x44]
add edx, dword [ebx + 0x4c]
dec edx
mov eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x48]
dec eax
lea ecx, [ebp - 0x50]
call fcn.00406a98
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x60]
pop edx
call fcn.00406aa0
test al, al
je 0x4e0169
xor eax, eax
jmp 0x4e016b
mov al, 1
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov byte [edx + 0x3a], al
jmp 0x4e0180
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov byte [eax + 0x3a], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov al, byte [eax + 0x39]
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4e01a6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x38], 0
jne 0x4e01a6
mov eax, dword [ebp - 8]
call fcn.004e03d4
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [edi + 0x48]
xor edx, edx
xor eax, eax
call fcn.00406a7c
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
push eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x70]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00406a7c
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.00562620
lea ecx, [ebp - 0x50]
xor edx, edx
xor eax, eax
call fcn.00406a98
lea eax, [ebp - 0x50]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 4]
call fcn.00514f48
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.00514d2c
push esi
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
jmp 0x4e03cb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0056148c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.005603c0
mov ebx, eax
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x34]
mov eax, dword [esi + 0x4c]
push eax
lea eax, [ebp - 0x1d]
push eax
mov ecx, dword [esi + 0x48]
xor edx, edx
xor eax, eax
call fcn.00406a7c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x58]
cmp eax, dword [ebp - 0xc]
je 0x4e0288
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.0046bbe4
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4e03c4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0051ba5c
test ebx, ebx
jne 0x4e02c5
push ebp
lea eax, [ebp - 0x1d]
call fcn.004dff40
pop ecx
jmp 0x4e031a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x44], 0
jne 0x4e02eb
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x48]
call fcn.0052059c
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
lea edx, [ebp - 0x1d]
mov eax, dword [ebp - 4]
call fcn.00515f6c
push ebx
push ebx
lea eax, [ebp - 0x1d]
push eax
call sub.user32.dll_InflateRect
push ebp
lea eax, [ebp - 0x1d]
call fcn.004dff40
pop ecx
push esi
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
test ebx, ebx
jle 0x4e035b
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x34]
mov eax, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
call fcn.0042f804
call fcn.0042ad10
push eax
push 0
push 0
push ebx
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0051b994
lea ecx, [ebp - 0x50]
xor edx, edx
xor eax, eax
call fcn.00406a98
lea eax, [ebp - 0x50]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.00514f48
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x44], 0
je 0x4e0393
add eax, 0x44
call fcn.0040ef38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e03cb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x58]
cmp eax, dword [ebp - 0xc]
je 0x4e03c3
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.0046bbe4
push eax
call sub.user32.dll_ReleaseDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret