Function at 0x550af8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x55103c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x220]
mov edx, dword [ebx + 0x210]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0xc], edx
mov esi, dword [eax + 0x38]
mov edi, dword [eax + 0x3c]
xor eax, eax
mov al, byte [ebx + 0x21c]
cmp eax, 9
ja case.default.0x550b43
jmp dword [eax*4 + 0x550b4a]
mov dword [ebp - 4], 0x1f4
jmp 0x550e71
mov dword [ebp - 4], 0xc8
jmp 0x550e71
mov dword [ebp - 4], 0x96
jmp 0x550e71
mov dword [ebp - 4], 0x64
jmp 0x550e71
mov dword [ebp - 4], 0x4b
jmp 0x550e71
mov dword [ebp - 4], 0x32
jmp 0x550e71
mov dword [ebp - 4], 0x19
jmp 0x550e71
mov dword [ebp - 4], 0xa
jmp 0x550e71
mov eax, dword [ebx + 0x1f4]
xor edx, edx
call fcn.00452c48
mov eax, dword [ebx + 0x1f0]
xor edx, edx
call fcn.00452c48
mov dword [ebp - 4], 1
mov dword [ebp - 8], 8
mov dword [ebp - 0xc], 8
push 2
call sub.user32.dll_GetSystemMetrics
mov esi, dword [ebx + 0x38]
sub esi, 0x14
sub esi, eax
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428fb0
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x550caf
push 6
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
imul esi
push eax
push 4
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 4]
mov edx, dword [0x450adc]
call fcn.004033f0
call fcn.004557a0
pop edx
imul edx, eax
push edx
push 0x58
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
push eax
imul eax, esi, 0x64
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebx + 0x24c], eax
jmp 0x550cf9
mov eax, esi
imul dword [0x9b09dc]
cdq
idiv dword [0x9b09e0]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 4]
mov edx, dword [0x450adc]
call fcn.004033f0
call fcn.004557a0
pop edx
imul edx, eax
mov eax, edx
cdq
idiv dword [0x9b09d4]
push eax
imul eax, esi, 0x64
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebx + 0x24c], eax
lea edx, [edi + 0x10]
mov eax, dword [ebx + 0x1f4]
call fcn.00452d98
mov eax, dword [ebx + 0x1f0]
xor edx, edx
call fcn.00452d98
jmp 0x550e71
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x1f4]
xor edx, edx
call fcn.00452d98
mov eax, dword [ebx + 0x1f0]
xor edx, edx
call fcn.00452d98
mov eax, dword [ebx + 0x1f4]
xor edx, edx
call fcn.00452c48
mov eax, dword [ebx + 0x1f0]
xor edx, edx
call fcn.00452c48
mov eax, ebx
call fcn.0043a9bc
mov edi, eax
sub edi, 0x10
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428fb0
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x550dae
push 4
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
imul edi
push eax
push 6
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov esi, eax
jmp 0x550dbf
mov eax, edi
imul dword [0x9b09e0]
cdq
idiv dword [0x9b09dc]
mov esi, eax
mov eax, ebx
call fcn.0043a978
sub eax, 0x10
cmp esi, eax
jle 0x550e38
mov eax, ebx
call fcn.0043a978
mov esi, eax
sub esi, 0x10
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428fb0
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x550e27
push 6
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
imul esi
push eax
push 4
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
jmp 0x550e38
mov eax, esi
imul dword [0x9b09dc]
cdq
idiv dword [0x9b09e0]
mov edi, eax
mov eax, ebx
call fcn.0043a978
sub eax, esi
sar eax, 1
jns 0x550e48
adc eax, 0
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0043a9bc
sub eax, edi
sar eax, 1
jns 0x550e5b
adc eax, 0
mov dword [ebp - 0xc], eax
mov dword [ebx + 0x24c], 0x64
jmp 0x550e71
mov dword [ebp - 4], 1
mov al, byte [ebx + 0x21c]
sub al, 8
jae 0x550feb
mov eax, dword [ebx + 0x1f4]
xor edx, edx
call fcn.00452c48
mov eax, dword [ebx + 0x1f0]
xor edx, edx
call fcn.00452c48
mov dword [ebp - 8], 8
mov dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428fb0
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x550f3c
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
imul esi, dword [ebp - 4]
mov eax, dword [ebx + 4]
mov edx, dword [0x450adc]
call fcn.004033f0
call fcn.004557a0
imul esi, eax
push 0x58
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
xchg esi, eax
cdq
idiv esi
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
push 6
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
imul esi
push eax
push 4
mov eax, dword [ebp - 0x10]
call fcn.005516c0
call fcn.00428ce8
push eax
call sub.gdi32.dll_GetDeviceCaps
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
jmp 0x550f84
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
imul esi, dword [ebp - 4]
mov eax, dword [ebx + 4]
mov edx, dword [0x450adc]
call fcn.004033f0
call fcn.004557a0
imul esi, eax
mov eax, esi
cdq
idiv dword [0x9b09d4]
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
mov eax, esi
imul dword [0x9b09dc]
cdq
idiv dword [0x9b09e0]
mov edi, eax
lea edx, [edi + 0x10]
mov eax, dword [ebx + 0x1f4]
call fcn.00452d98
lea edx, [esi + 0x10]
mov eax, dword [ebx + 0x1f0]
call fcn.00452d98
mov eax, ebx
call fcn.0043a978
lea edx, [esi + 0x10]
cmp eax, edx
jle 0x550fc1
mov eax, ebx
call fcn.0043a978
sub eax, esi
sar eax, 1
jns 0x550fbe
adc eax, 0
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0043a9bc
lea edx, [edi + 0x10]
cmp eax, edx
jle 0x550fe2
mov eax, ebx
call fcn.0043a9bc
sub eax, edi
sar eax, 1
jns 0x550fdf
adc eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x24c], eax
mov eax, dword [ebx + 0x220]
mov edx, dword [eax]
call dword [edx + 0x74]
push esi
push edi
mov eax, dword [ebx + 0x220]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x7c]
mov esi, dword [ebx + 0x220]
mov eax, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x3c]
push eax
mov ecx, dword [esi + 0x34]
add ecx, 4
mov edx, dword [esi + 0x30]
add edx, 4
mov eax, dword [ebx + 0x224]
mov ebx, dword [eax]
call dword [ebx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551043
ret