Function at 0x609700
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7132b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x44
call fcn.00652710
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x3c], 0
je 0x609749
mov ecx, dword [esi + 0x288]
push ecx
push esi
mov ecx, eax
call fcn.00606e40
jmp 0x60974b
xor eax, eax
mov ecx, dword [esi + 0x2c8]
or ebx, 0xffffffff
test ecx, ecx
mov dword [esp + 0x3c], ebx
mov dword [esi + 0x2c8], eax
je 0x609769
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 0x588
mov ecx, esi
call fcn.006c27d4
mov edi, eax
lea eax, [esp + 0x14]
push eax
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.006c711d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
sub edx, eax
push 0
mov ecx, dword [esi + 0x2c8]
push edx
mov edx, dword [esp + 0x1c]
sub ebp, edx
push ebp
push eax
push edx
push edi
call fcn.006c29eb
mov eax, dword [esi + 0x288]
mov cl, byte [eax + 0x11]
lea eax, [esp + 0x14]
mov byte [esp + 0x10], cl
mov edx, dword [esp + 0x10]
and edx, 0xff
push edx
push 0x7e8afc
push eax
call fcn.005c2b70
add esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], 1
test eax, eax
jne 0x6097f6
mov eax, 0x71eb04
push eax
lea ecx, [esi + 0x154]
call fcn.006c2fab
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], ebx
call fcn.00407e50
mov ecx, dword [esi + 0x288]
lea edx, [esp + 0x14]
mov ax, word [ecx]
and eax, 0xffff
push eax
push 0x7e8afc
push edx
call fcn.005c2b70
add esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], 2
test eax, eax
jne 0x609846
mov eax, 0x71eb04
push eax
lea ecx, [esi + 0x1d0]
call fcn.006c2fab
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
test eax, eax
je 0x60987b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x609872
cmp al, 0xff
je 0x609872
dec al
mov byte [ecx], al
jmp 0x60987b
push ecx
call fcn.00652870
add esp, 4
mov eax, dword [esi + 0x288]
xor cl, cl
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov bl, byte [eax + 0x10]
mov eax, dword [esi + 0x134]
cmp cl, bl
mov byte [esp + 0x14], bl
sbb edx, edx
neg edx
push edx
push 0xf1
push eax
call ebp
test bl, bl
jne 0x6098b0
mov byte [esp + 0x10], 1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
and ecx, 0xff
push ecx
push 0x7e8afc
push edx
call fcn.005c2b70
add esp, 0xc
mov eax, dword [eax + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x3c], 3
jne 0x6098e3
mov eax, 0x71eb04
lea edi, [esi + 0xa0]
push eax
mov ecx, edi
call fcn.006c28f5
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
je 0x60991e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x609915
cmp al, 0xff
je 0x609915
dec al
mov byte [ecx], al
jmp 0x60991e
push ecx
call fcn.00652870
add esp, 4
push ebx
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.006c17d8
mov eax, dword [esi + 0x134]
push ebx
push ebx
push 0xf0
push eax
call ebp
push eax
mov ecx, edi
call fcn.006c2a7c
mov edi, dword [esi + 0x2b0]
xor ebx, ebx
cmp edi, 1
lea ecx, [esi + 0x24c]
setg bl
push ebx
call fcn.006c2a7c
push ebx
lea ecx, [esi + 0x64]
call fcn.006c2a7c
mov ebx, dword [esi + 0x28c]
dec edi
xor ecx, ecx
cmp ebx, edi
setl cl
push ecx
lea ecx, [esi + 0x210]
call fcn.006c2a7c
mov ecx, dword [esi + 0x28c]
xor edx, edx
cmp ecx, edi
lea ecx, [esi + 0x1d4]
setl dl
push edx
call fcn.006c2a7c
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret