Function at 0x487460
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57b958
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x568c]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00536dc5
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [esp + 0x18], ebx
jne 0x48752c
mov edx, dword [0x5f2df0]
mov eax, dword [esi + 0x2cb4]
add eax, dword [esi + 0x2cac]
mov ecx, dword [esi + 0x2c14]
mov edi, dword [0x5f2df4]
add ecx, edx
add eax, edx
mov edx, dword [esi + 0x2cb8]
add edx, dword [esi + 0x2cb0]
mov dword [esp + 0x20], ecx
add edx, dword [0x5f2e04]
cmp dword [esi + 0xb4], ebx
lea edx, [edx + edi + 1]
mov dword [esp + 0x24], edx
lea edx, [esi + 0x33e4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
mov dword [esi + 0x9174], ebx
je 0x48752c
mov edx, dword [0x5f2df0]
sub ecx, edx
sub eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], ebx
jne 0x487674
mov eax, dword [esi + 0x9128]
push ebx
push ebx
push 0x184
push eax
mov dword [esi + 0x9170], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x40]
call fcn.00538d38
lea esi, [esp + 0x40]
mov dword [esp + 0x60], ebx
call fcn.00460ed0
mov ebx, esi
mov edi, 0x5f23cc
call fcn.004aacf0
mov eax, dword [esp + 0x48]
xor esi, esi
test eax, eax
jle 0x4875d8
test esi, esi
jl 0x4875d3
cmp esi, eax
jge 0x4875d3
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + esi*4]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x9128]
push 0
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x48]
add esi, 1
cmp esi, eax
jl 0x48757b
test eax, eax
jle 0x4875d8
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x9128]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x5ad2c0
push 0
push 0x180
push ecx
call edi
jmp 0x4875e2
call fcn.00530cad
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x14]
mov eax, dword [0x5f2810]
cmp dword [eax - 0xc], 0
jl 0x48765b
push str.SEARCHBOX
push eax
call fcn.00552eeb
add esp, 8
test eax, eax
je 0x48765b
sub eax, dword [0x5f2810]
sar eax, 1
js 0x48765b
mov eax, dword [0x5f23c0]
xor esi, esi
test eax, eax
jle 0x48765b
test esi, esi
jl 0x4875d3
cmp esi, eax
jge 0x4875d3
mov edx, dword [0x5f23bc]
mov eax, dword [edx + esi*4]
push eax
mov eax, dword [ebx + 0x9128]
push 0
push 0x180
push eax
call edi
mov eax, dword [0x5f23c0]
add esi, 1
cmp esi, eax
jl 0x487614
test eax, eax
jle 0x48765b
mov ecx, dword [ebx + 0x9128]
push 0x5936a8
push 0
push 0x180
push ecx
call edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x60], 0xffffffff
call fcn.00538dd6
mov esi, dword [esp + 0x14]
xor ebx, ebx
jmp 0x48767a
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x9128]
push ebx
push ebx
push 0x1a1
push edx
call edi
push 0
push 0
mov ebx, eax
mov eax, dword [esi + 0x9128]
push 0x18b
push eax
call edi
mov ecx, dword [esi + 0x9128]
add eax, 1
imul eax, ebx
add eax, dword [esp + 0x24]
push 0
push 0
push 0x18b
push ecx
mov dword [esp + 0x3c], eax
call edi
test eax, eax
jne 0x4876cf
mov ecx, dword [esp + 0x24]
add ecx, 0x64
mov dword [esp + 0x2c], ecx
jmp 0x4876d3
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4876eb
cmp dword [ebp + 8], 0
mov eax, dword [esp + 0x3c]
je 0x4876f4
cdq
sub eax, edx
sar eax, 1
jmp 0x4876f4
cmp eax, 1
jne 0x4876fc
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jle 0x4876fc
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00536e01
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
add esi, 0x9108
push ecx
mov ecx, esi
call fcn.00537d48
push 0x53
push 0
push 0
push 0
push 0
push 0x5ef7c8
mov ecx, esi
call fcn.00537f91
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x487752
call fcn.00537de3
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8