Function at 0x487e40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5264a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x64
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x44]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov cl, byte [esp + 0x44]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 2
call fcn.0048ca40
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0048ca40
push 5
push 0x54bd68
lea ecx, [esp + 0x18]
call fcn.004f58e0
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.0048c8b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.004f5980
push 3
lea ecx, [esp + 0x48]
call fcn.004f5b60
cmp al, 0x30
jne 0x487f72
mov edi, dword [esp + 0x48]
push 7
push 0x54bd60
mov ecx, edi
call fcn.004f5de0
push edi
mov ecx, esi
call fcn.004d3100
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0x3c], 1
mov edi, eax
je 0x487f37
push ebx
mov ecx, esi
call fcn.00420170
add esi, 4
cmp esi, edi
jne 0x487f24
mov esi, dword [esp + 0x28]
push esi
call fcn.00514140
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3c], bl
je 0x487f6f
push ebx
mov ecx, esi
call fcn.00420170
add esi, 4
cmp esi, edi
jne 0x487f5c
mov esi, dword [esp + 0x18]
push esi
jmp 0x487fec
push 3
lea ecx, [esp + 0x48]
call fcn.004f5b60
cmp al, 0x10
jne 0x488005
mov edi, dword [esp + 0x48]
push 7
push 0x54bd58
mov ecx, edi
call fcn.004f5de0
push edi
mov ecx, esi
call fcn.004d3100
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.0041ff50
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00514140
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push edx
push eax
mov dword [esp + 0x38], ebx
mov byte [esp + 0x44], bl
call fcn.0041ff50
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00514140
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x48812f
mov byte [esp + 0xc], bl
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp edx, ebx
jne 0x488019
xor eax, eax
jmp 0x488020
mov eax, edi
sub eax, edx
sar eax, 2
mov esi, dword [esp + 0xc]
mov ecx, esi
and ecx, 0xff
cmp ecx, eax
jae 0x488076
lea edx, [edx + ecx*4]
lea ecx, [esp + 0x44]
push edx
call fcn.004f5c20
test al, al
jne 0x488047
inc byte [esp + 0xc]
jmp 0x488009
mov eax, esi
lea ecx, [esp + 0x24]
and eax, 0xff
push eax
call fcn.0041fe70
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.004f5850
mov ecx, dword [esp + 0x4c]
call fcn.004f5b70
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp edx, ebx
jne 0x48807e
xor edi, edi
jmp 0x488083
sub edi, edx
sar edi, 2
and esi, 0xff
mov byte [esp + 0x3c], 1
cmp esi, edi
jb 0x488119
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.0041ff50
mov eax, dword [esp + 0x28]
push eax
call fcn.00514140
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.0041ff50
mov eax, dword [esp + 0x18]
push eax
call fcn.00514140
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], 0xffffffff
call fcn.004f5980
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 8
lea ecx, [esp + 0x24]
call fcn.004011a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call fcn.004011a0
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 8