Function at 0x504ac0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ac90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
push edi
push 0x12
push 0xd4
push 0xe8
push 0xc2
mov edi, ecx
push 0x11c
lea ecx, [ebp - 0x74]
call fcn.005ecea0
xor ebx, ebx
push 6
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x74], 0x62b74c
call fcn.004de600
push 0x30
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x50479e
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
push 0x800
push 0x666ef4
push 0x1f4
push ecx
push edx
push ebx
push ebx
mov ecx, eax
call fcn.0044e690
jmp 0x5047a0
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
push ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0053e500
push 0x74
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x504805
push 5
push 7
push ebx
push pe_nt_image_headers32
push 0x1f5
push ebx
push ebx
push ebx
push 4
push 0x64a178
push 0x676080
push 0x14
push 0x17
push 0xc6
push 0x42
push 0x11
mov ecx, eax
call fcn.00504d70
jmp 0x504807
xor eax, eax
push 0x74
mov byte [ebp - 4], bl
mov dword [ebp - 0x28], eax
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x504856
push 5
push 7
push ebx
push pe_nt_image_headers32
push 0x1f6
push ebx
push ebx
push ebx
push 4
push 0x64a178
push 0x676080
push 0x14
push 0x17
push 0xc6
push 0x73
push 0x11
mov ecx, eax
call fcn.00504d70
jmp 0x504858
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x70], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
push 0x4c
mov byte [ebp - 4], bl
mov dword [ecx + 0x70], edx
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x5048bd
push 8
push ebx
push 1
or esi, 0xffffffff
push esi
push 4
push 0x64a178
push 0x676080
push 0x12
push 0xc6
push 0x2b
push 0x11
mov ecx, eax
call fcn.005aa840
jmp 0x5048c2
xor eax, eax
or esi, 0xffffffff
push 0x4c
mov byte [ebp - 4], bl
mov dword [ebp - 0x20], eax
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x504903
push 8
push ebx
push 1
push esi
push 4
push 0x64a178
push 0x676080
push 0x12
push 0xc6
push 0x5c
push 0x11
mov ecx, eax
call fcn.005aa840
jmp 0x504905
xor eax, eax
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x84]
push ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
mov dword [ebp - 0x84], eax
call fcn.0053e500
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x8c]
push ecx
push edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x8c], eax
call fcn.0053e500
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x80]
push ecx
push edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x80], eax
call fcn.0053e500
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
push ecx
push edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x78], eax
call fcn.0053e500
push 0x64
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x5049aa
push 2
push 0x1c
push ebx
push 1
push ebx
push 0x664f34
push 0x1f9
push 0x20
push 0x40
push 0x8f
push 0x1a
mov ecx, eax
call fcn.00454210
jmp 0x5049ac
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0053e500
push 0x64
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x504a06
push 2
push 1
push ebx
push 1
push ebx
push 0x666ee8
push 0x1fa
push 0x20
push 0x40
push 0x8f
push 0x8e
mov ecx, eax
call fcn.00454210
jmp 0x504a08
xor eax, eax
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
push edx
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0053e500
push 0x4c
call fcn.00604401
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x504a5d
push 8
push 0x20
push 1
push 0x1fb
push 1
push 0x64a178
push ebx
push 0x12
push 0xd8
push 0xba
push 8
mov ecx, eax
call fcn.005aa840
jmp 0x504a5f
xor eax, eax
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push ecx
push edx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
call fcn.0053e500
lea ecx, [ebp - 0x74]
call fcn.005ece70
mov eax, dword [ebp - 0x28]
movsx ecx, word [eax + 0x10]
push ecx
lea ecx, [ebp - 0x74]
call fcn.005ecd90
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push 1
call dword [edx + 0x40]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
push 1
call dword [eax + 0x40]
mov ecx, dword [0x6892d8]
push ebx
push ebx
push ecx
push 0x1f9
lea ecx, [ebp - 0x74]
call fcn.005ec8f0
mov ecx, eax
call fcn.005ec140
mov edx, dword [0x6892e0]
push ebx
push ebx
push edx
push 0x1fa
lea ecx, [ebp - 0x74]
call fcn.005ec8f0
mov ecx, eax
call fcn.005ec140
mov eax, dword [0x68ba40]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x2cc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push eax
mov dword [ebp - 4], 9
call dword [edx + 0x30]
mov eax, dword [0x68ba40]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x738]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov eax, dword [0x689300]
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
push eax
call fcn.005ec140
mov ecx, dword [0x6892f0]
push ebx
push ebx
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.005ec140
push 0x1f9
lea ecx, [ebp - 0x74]
call fcn.005ec8f0
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x24]
push ebx
lea ecx, [ebp - 0x74]
call fcn.005ecd60
mov eax, dword [0x67d8ac]
cmp dword [eax + 0x38], 0x7801
jne 0x504b70
mov dword [ebp - 0x74], 0x62b74c
mov dword [ebp - 4], 0xa
jmp 0x504bc6
call fcn.00545f20
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x30]
cmp eax, ebx
jne 0x504b84
mov eax, 0x6264b0
push ebx
push eax
push 2
mov ecx, edi
call fcn.00502cf0
test al, al
jne 0x504bec
mov edx, dword [0x68ba40]
mov eax, dword [edx + 0x20]
mov eax, dword [eax + 0x72c]
push ebx
push esi
push ebx
push esi
push ebx
push esi
push ebx
push esi
push esi
push esi
mov edx, 1
mov ecx, eax
call fcn.004ea100
mov dword [ebp - 0x74], 0x62b74c
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
call fcn.005ece10
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], esi
call fcn.005ec380
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 1
lea ecx, [ebp - 0x14]
call fcn.00549920
mov ecx, dword [edi + 0x5c]
push 1
mov byte [ebp - 4], 0xc
call fcn.0057dfe0
mov ecx, dword [0x681d68]
mov edx, dword [edi + 0x5c]
mov eax, dword [ecx]
push 0x42
push 0x1388
push edx
call dword [eax + 0x68]
mov ecx, dword [edi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x504c85
mov ecx, dword [0x68ba40]
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x73c]
push ebx
push esi
push ebx
push esi
push ebx
push esi
push ebx
push esi
push esi
push esi
mov edx, 1
mov ecx, eax
call fcn.004ea100
call fcn.00545f20
push ebx
push ebx
push 2
mov ecx, edi
call fcn.00502cf0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00549960
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], esi
call fcn.00503990
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx]
push ebx
call dword [edx + 8]
push ebx
push eax
mov ecx, edi
call fcn.00502b60
test al, al
jne 0x504d46
mov eax, dword [0x681d68]
mov ecx, dword [0x68ba40]
mov esi, dword [eax + 0x40]
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x720]
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 1
mov ecx, eax
call fcn.004ea100
mov ecx, dword [0x681d68]
mov edx, dword [ecx]
lea eax, [ebp - 0x190]
push eax
push esi
call dword [edx + 0x8c]
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 1
lea ecx, [ebp - 0x190]
call fcn.004ea100
call fcn.00545f20
push ebx
push ebx
push 2
mov ecx, edi
call fcn.00502cf0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00549960
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00503990
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00549960
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], esi
call fcn.00503990
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret