Function at 0x488e10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af371
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4df798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x28]
call fcn.00402460
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00401f90
lea ecx, [ebp - 0x28]
call fcn.00402330
sub eax, 0x5f
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
call fcn.00402350
mov ecx, dword [ebp - 0x70]
sub eax, dword [ecx + 0x450]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x28]
call fcn.00402330
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x14]
call fcn.00407c40
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00407bd0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407ba0
lea ecx, [ebp - 0x14]
call fcn.00435f8c
push 1
mov ecx, dword [ebp + 8]
call fcn.00435608
push 0xffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
call eax
push 0
mov ecx, 0x52e140
call fcn.004048e0
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
jmp 0x488f1e
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 8
jge 0x488f92
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x70]
cmp dword [edx + ecx*4 + 0x364], 0
jne 0x488f36
jmp 0x488f15
mov eax, dword [ebp - 0x44]
imul eax, eax, 0x5a
add eax, 2
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x44]
imul ecx, ecx, 0x5a
add ecx, 0x14
mov dword [ebp - 0x2c], ecx
push 1
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx + eax*4 + 0x430]
call fcn.00404630
push eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x70]
lea ecx, [eax + edx*4 + 0x430]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
jmp 0x488f15
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
jmp 0x488fab
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 3
jae 0x48929a
mov eax, dword [ebp - 0x48]
shl eax, 5
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + eax + 0x244], 0
jne 0x488ff0
mov edx, dword [ebp - 0x48]
shl edx, 5
mov eax, dword [ebp - 0x70]
cmp dword [eax + edx + 0x248], 0
jne 0x488ff0
mov ecx, dword [ebp - 0x48]
shl ecx, 5
mov edx, dword [ebp - 0x70]
cmp dword [edx + ecx + 0x24c], 0
jne 0x488ff0
jmp 0x488fa2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
jmp 0x489009
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 8
jge 0x48928c
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x70]
cmp dword [edx + ecx*4 + 0x364], 0
jne 0x489025
jmp 0x489000
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x50]
imul edx, edx, 0x5a
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x1e
lea ecx, [edx + eax + 0x17]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x70]
add edx, 0x45c
je 0x489124
mov eax, dword [ebp - 0x34]
add eax, 0xa
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x64]
call fcn.00407c40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx*4 + 0x4c80d8]
push edx
lea ecx, [ebp - 0x64]
call fcn.00407bd0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407ba0
lea ecx, [ebp - 0x64]
call fcn.00435f8c
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x28]
call fcn.00402330
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x5c]
call fcn.00401780
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
add ecx, 1
push ecx
push 0x2b
mov ecx, 0x53550c
call fcn.00481790
push eax
push str._s__d
lea edx, [ebp - 0x5c]
push edx
call fcn.004015f0
add esp, 0x10
push 0x25
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404630
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00401620
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00407bf0
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0xa0
mov edx, dword [ebp - 0x70]
lea ecx, [edx + ecx + 0x64]
mov eax, dword [ebp - 0x54]
imul eax, eax, 0x14
add ecx, eax
call fcn.004079e0
sub eax, 1
push eax
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0xa0
mov edx, dword [ebp - 0x70]
lea ecx, [edx + ecx + 0x64]
mov eax, dword [ebp - 0x54]
imul eax, eax, 0x14
add ecx, eax
call fcn.00406590
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x48927e
mov ecx, dword [ebp - 0x58]
cmp dword [ecx], 0xffffffff
je 0x48927e
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x70]
mov edx, dword [edx]
cmp edx, dword [ecx + eax*4 + 0x3b0]
jg 0x48927e
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x70]
mov eax, dword [eax]
cmp eax, dword [edx + ecx*4 + 0x390]
jl 0x48927e
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov dword [ebp - 0x6c], edx
push 0x4c8180
mov eax, dword [ebp - 0x48]
shl eax, 5
mov ecx, dword [ebp - 0x70]
lea edx, [ecx + eax + 0x304]
mov eax, dword [ebp - 0x54]
lea ecx, [edx + eax*4]
call fcn.00407b20
test eax, eax
jne 0x4891e0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x34]
add eax, 0xe
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0xf
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x28]
call fcn.00402330
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x68]
call fcn.00401780
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
shl eax, 5
mov ecx, dword [ebp - 0x70]
lea edx, [ecx + eax + 0x304]
mov eax, dword [ebp - 0x54]
mov ecx, dword [edx + eax*4]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
push str._d__s
lea eax, [ebp - 0x68]
push eax
call fcn.004015f0
add esp, 0x10
push 0xffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
call eax
push 0x25
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00404630
push eax
lea ecx, [ebp - 0x68]
call fcn.0040b6f0
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x68]
call edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00401620
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x489000
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x488fa2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407bf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4