Function at 0x4a3aa8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x4a3f52
mov eax, dword [0x52829c]
cmp byte [eax], 0
je 0x4a3add
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp - 0xc]
jne 0x4a3f52
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.004e9444
test al, al
je 0x4a3dc5
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]
xor edx, edx
call fcn.004e958c
test al, al
jne 0x4a3db6
mov bl, 1
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x30]
cmp dword [edi + 0x3c], 0
jge 0x4a3c95
mov eax, edi
call fcn.004eb688
mov eax, dword [eax + 0x78bc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x98]
mov ecx, edx
shl edx, 5
sub edx, ecx
cmp dword [eax + edx*8 + 0x14], 0x64
jne 0x4a3c95
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.004e954c
test al, al
jne 0x4a3c95
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x23], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x54]
xor ecx, ecx
call fcn.004cec14
cmp byte [ebp - 0x24], 2
jne 0x4a3c46
cmp dword [ebp - 0x54], 0
je 0x4a3c46
push 0xcc0020
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00427250
call fcn.00422dc0
push eax
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.004eaa28
push 0xcc0020
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00427250
call fcn.00422dc0
push eax
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov eax, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
call fcn.00427250
call fcn.00422dc0
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4a3d87
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004d24a0
push ebp
push 0
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x34]
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x48]
xor ecx, ecx
call fcn.005117cc
lea eax, [ebp - 0x64]
call fcn.004a3a6c
pop ecx
push esi
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
jmp 0x4a3d87
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x94], 0
jne 0x4a3cae
cmp byte [eax + 0x23], 0
jne 0x4a3cae
xor ebx, ebx
jmp 0x4a3cb0
mov bl, 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
mov edi, eax
test edi, edi
je 0x4a3f52
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.004ebe00
test al, al
je 0x4a3d1d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
cmp dword [eax + 0x30], 0
je 0x4a3d1d
lea eax, [ebp - 0x1c]
mov dl, 1
call fcn.00511908
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x34]
cmp eax, dword [edx + 0x48]
jne 0x4a3d10
lea eax, [ebp - 0x1c]
mov dl, 1
call fcn.0051191c
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x34]
cmp eax, dword [edx + 0x4c]
jne 0x4a3d10
xor eax, eax
jmp 0x4a3d12
mov al, 1
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov byte [edx + 0x23], al
jmp 0x4a3d27
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov byte [eax + 0x23], 0
test bl, bl
je 0x4a3d46
mov eax, dword [ebp - 8]
call fcn.004a3f5c
test al, al
jne 0x4a3d46
push esi
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
jmp 0x4a3f52
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.00511814
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
push eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.005117cc
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.004ee068
lea ecx, [ebp - 0x7c]
xor edx, edx
xor eax, eax
call fcn.005118a4
lea eax, [ebp - 0x7c]
push eax
push 0
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004e1f00
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.004e1ce0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
jmp 0x4a3f52
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov byte [eax + 0x21], 0
call fcn.004eaad4
mov edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x34]
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
xor ecx, ecx
call fcn.005117cc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp - 0xc]
je 0x4a3e11
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.0044c05c
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a3f4b
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
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004d24a0
test edi, edi
jne 0x4a3e4c
push ebp
lea eax, [ebp - 0x1c]
call fcn.004a3a6c
pop ecx
jmp 0x4a3ea1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x50], 0
jne 0x4a3e72
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x34]
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
call fcn.004d71c8
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x30]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
push eax
push 0
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00488a24
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_InflateRect
push ebp
lea eax, [ebp - 0x1c]
call fcn.004a3a6c
pop ecx
push esi
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
test edi, edi
jle 0x4a3ee2
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
call fcn.00427250
call fcn.00422dc0
push eax
push 0
push 0
push edi
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004d23d8
lea ecx, [ebp - 0x7c]
xor edx, edx
xor eax, eax
call fcn.005118a4
lea eax, [ebp - 0x7c]
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.004e1f00
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x50], 0
je 0x4a3f1a
add eax, 0x50
call fcn.0040dcf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3f52
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp - 0xc]
je 0x4a3f4a
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.0044c05c
push eax
call sub.user32.dll_ReleaseDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret