Function at 0x53a910
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f18b0
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push edi
mov edi, dword [esp + 0x58]
cmp edi, 5
je 0x53ac65
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push 1
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x68], 1
call fcn.005c50ac
mov ebx, dword [esp + 0x4c]
mov ebp, 2
cmp edi, 0x64
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], ebp
jne 0x53a97f
test ebx, ebx
mov dword [esp + 0x68], ebp
je 0x53a978
mov dword [esp + 0x68], 4
xor edi, edi
jmp 0x53aa47
cmp edi, 0x65
jne 0x53a99f
test ebx, ebx
mov dword [esp + 0x68], 3
je 0x53a998
mov dword [esp + 0x68], 8
xor edi, edi
jmp 0x53aa47
cmp edi, 0x66
jne 0x53a9c9
mov eax, 1
test ebx, ebx
mov dword [esp + 0x68], eax
je 0x53a9b5
mov dword [esp + 0x68], ebp
xor edi, edi
mov dword [esp + 0x64], eax
test ebx, ebx
je 0x53aab3
mov dword [esp + 0x64], ebp
jmp 0x53aa47
cmp edi, 0x67
jne 0x53a9ee
test ebx, ebx
mov dword [esp + 0x68], ebp
je 0x53a9de
mov dword [esp + 0x68], 4
xor edi, edi
mov dword [esp + 0x64], ebp
test ebx, ebx
je 0x53aab3
jmp 0x53aa3f
cmp edi, 0x68
jne 0x53aa1b
test ebx, ebx
mov dword [esp + 0x68], ebp
je 0x53aa03
mov dword [esp + 0x68], 4
xor edi, edi
mov dword [esp + 0x64], 1
test ebx, ebx
je 0x53aab3
mov dword [esp + 0x64], ebp
jmp 0x53aa47
cmp edi, 0x69
je 0x53aa25
cmp edi, 0x6a
jne 0x53aa47
test ebx, ebx
mov dword [esp + 0x68], 1
je 0x53aa35
mov dword [esp + 0x68], ebp
xor edi, edi
mov dword [esp + 0x64], ebp
test ebx, ebx
je 0x53aab3
mov dword [esp + 0x64], 4
test ebx, ebx
je 0x53aab3
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
mov dword [esp + 0x54], 0xa
call fcn.004b8010
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.004b8010
mov ecx, dword [esp + 0x68]
mov eax, 1
cmp ecx, eax
jge 0x53aa7c
mov dword [esp + 0x68], eax
lea edx, [esp + 0x64]
mov ecx, ebx
push edx
call fcn.004b8010
mov ecx, dword [esp + 0x64]
mov eax, 1
cmp ecx, eax
jge 0x53aa99
mov dword [esp + 0x64], eax
cmp edi, eax
je 0x53aaab
cmp edi, ebp
je 0x53aaab
cmp edi, 3
je 0x53aaab
cmp edi, 4
jne 0x53aab3
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x24]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push ebp
push ecx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
call fcn.005c5b6e
lea edx, [esp + 0x24]
mov ecx, esi
push edx
mov dword [esp + 0x48], 0
call fcn.005c4fd0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [sym.imp.GDI32.dll_Ellipse]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call ebx
mov edx, dword [esp + 0x4c]
mov ecx, esi
push edx
call fcn.005c4fd0
cmp dword [esp + 0x10], 0x66
jl 0x53ac31
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], ecx
neg eax
push eax
lea ecx, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x64]
push ebp
push edx
push edi
lea ecx, [esp + 0x28]
call fcn.005c5b6e
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
mov byte [esp + 0x48], 1
call fcn.005c4fd0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x4c]
mov ecx, esi
push eax
call fcn.005c4fd0
cmp dword [esp + 0x10], 0x6a
jne 0x53ac16
mov ecx, dword [esp + 0x68]
push ebp
push ecx
push edi
lea ecx, [esp + 0x60]
call fcn.005c5b6e
lea edx, [esp + 0x54]
mov ecx, esi
push edx
mov byte [esp + 0x48], 2
call fcn.005c4fd0
mov edi, eax
mov eax, dword [esp + 0x50]
neg eax
push eax
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call ebx
push edi
mov ecx, esi
call fcn.005c4fd0
mov dword [esp + 0x54], vtable.CGdiObject.0
lea ecx, [esp + 0x54]
mov byte [esp + 0x44], 3
call fcn.005c5b58
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call fcn.005c5b58
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.005c4fd0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005c50ac
mov dword [esp + 0x24], vtable.CGdiObject.0
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 5
call fcn.005c5b58
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
add esp, 0x38
ret