Function at 0x407cb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b9fd
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x43b7a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp + 0x24]
test dword [ebx + 0x14], 0x4000
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
je 0x407ea2
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.00401c60
mov ecx, dword [ebp - 0x34]
add esp, 4
mov ebx, eax
test ecx, ecx
je 0x407d35
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x407d35
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 1
mov word [ebp - 0x50], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, ebx
mov dword [ebp - 4], 1
call dword [eax + 0x18]
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x50]
push eax
mov byte [ebp - 4], 2
call fcn.00406bc0
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x407db9
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407daf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f79
push edx
push ecx
call fcn.0040bb03
add esp, 8
push 0
lea ecx, [ebp - 0x50]
call fcn.00408cf0
mov eax, dword [ebx]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x50]
push eax
mov byte [ebp - 4], 3
call fcn.00406bc0
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x407e21
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407e17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f7e
push edx
push ecx
call fcn.0040bb03
add esp, 8
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push 1
cmovae eax, dword [ebp - 0x50]
push eax
push 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004014e0
add esp, 0x14
sub eax, 0
je 0x407e5b
sub eax, 1
je 0x407e56
mov byte [esi], 0
mov dword [edi], 2
jmp 0x407e5e
mov byte [esi], 1
jmp 0x407e5e
mov byte [esi], 0
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x407f36
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407e93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f83
push edx
push ecx
call fcn.0040bb03
add esp, 8
jmp 0x407f36
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 4
push eax
push dword [ebx + 0x14]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x54]
call fcn.004057a0
mov ecx, dword [ebp - 0x34]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
test ecx, ecx
je 0x407eeb
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x407eeb
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x30], 0
jne 0x407ef6
mov byte [esi], 0
jmp 0x407f30
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00409b7d
mov ecx, eax
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x54], eax
je 0x407f2d
cmp dword [ebp - 0x34], 0
jne 0x407f2d
test ecx, ecx
setne al
mov byte [esi], al
test ecx, ecx
je 0x407f36
cmp ecx, 1
je 0x407f36
jmp 0x407f30
mov byte [esi], 1
mov dword [edi], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00401170
add esp, 8
test al, al
je 0x407f4d
or dword [edi], 1
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bb16
mov esp, ebp
pop ebp
ret 0x20
call fcn.0040fb3f
call fcn.0040fb3f
call fcn.0040fb3f
int3