Function at 0x678150
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x87ab90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x78]
push esi
push ebx
lea ecx, [esp + 0x34]
call fcn.00403c30
push 0
push 0xcdc136e8
mov ecx, ebx
mov dword [esp + 0x7c], 0
call fcn.00454810
test eax, eax
jne 0x67819c
push 4
call fcn.006269b0
add esp, 4
mov esi, dword [esp + 0x80]
mov ecx, esi
mov edx, 1
shl edx, cl
test dword [eax], edx
mov dword [esp + 0x80], edx
je 0x6781db
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045a430
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
push esi
push ebx
call fcn.00677fe0
add esp, 8
test al, al
je 0x678206
mov ecx, dword [0x8f87a8]
test ecx, ecx
mov eax, 0x8f87a0
je 0x678206
cmp dword [eax], esi
je 0x67822a
mov ecx, dword [eax + 0x24]
add eax, 0x1c
test ecx, ecx
jne 0x6781f8
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045a430
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov esi, dword [eax + 0x14]
push edi
mov edi, dword [eax + 8]
test edi, edi
je 0x678501
test esi, esi
je 0x678501
push ebp
mov ecx, ebx
call fcn.00668310
mov ebp, dword [eax]
test byte [esp + 0x48], 1
je 0x678260
push 0xcdc136e8
lea ecx, [esp + 0x3c]
call fcn.004596e0
lea ecx, [esp + 0x28]
call fcn.00452b30
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 1
call fcn.00454760
test al, al
lea ecx, [esp + 0x28]
jne 0x6782b8
mov byte [esp + 0x7c], 0
call fcn.00452bd0
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0045a430
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
call fcn.00458660
cmp eax, 0x2b936eb7
jne 0x678470
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x6782e8
push eax
lea ecx, [esp + 0x2c]
call fcn.00454c30
test eax, eax
jne 0x6782e8
push 0xc
call fcn.006269b0
add esp, 4
push eax
lea ecx, [esp + 0x20]
call fcn.00452950
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 2
call fcn.006682f0
push 0
push 0
push eax
lea ecx, [esp + 0x6c]
call fcn.00456cb0
push esi
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x24]
mov bl, 3
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x88], bl
call fcn.00677b20
mov eax, dword [esp + 0x50]
xor esi, esi
cmp eax, esi
je 0x678441
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 5
call fcn.0045bf10
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.006679b0
test al, al
je 0x678403
test byte [esp + 0x48], 1
jne 0x678398
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x24]
push esi
push esi
push eax
push 0x4a97ec8f
lea ecx, [esp + 0x48]
call fcn.00455c40
push eax
lea ecx, [esp + 0x40]
call fcn.0066fbb0
jmp 0x6783a2
push edi
lea ecx, [esp + 0x3c]
call fcn.004596e0
push 1
lea edx, [esp + 0x14]
push edx
push edi
lea ecx, [esp + 0x44]
call fcn.006763c0
test al, al
jne 0x678403
cmp dword [esp + 0x18], esi
mov byte [esp + 0x7c], 4
je 0x6783cb
lea ecx, [esp + 0x10]
call fcn.0045a8a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], bl
call fcn.0045a430
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 2
call fcn.0045a430
cmp dword [esp + 0x24], esi
mov byte [esp + 0x7c], 1
je 0x678470
lea ecx, [esp + 0x1c]
call fcn.0045a8a0
lea ecx, [esp + 0x28]
jmp 0x678288
or ebp, dword [esp + 0x88]
push 1
lea eax, [esp + 0x8c]
push eax
push 0xcdc136e8
lea ecx, [esp + 0x44]
mov dword [esp + 0x94], ebp
call fcn.006760e0
test al, al
jne 0x678479
cmp dword [esp + 0x18], esi
mov byte [esp + 0x7c], 4
je 0x678441
lea ecx, [esp + 0x10]
call fcn.0045a8a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], bl
call fcn.0045a430
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 2
call fcn.0045a430
cmp dword [esp + 0x24], esi
mov byte [esp + 0x7c], 1
je 0x678470
lea ecx, [esp + 0x1c]
call fcn.0045a8a0
lea ecx, [esp + 0x28]
jmp 0x678288
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x88]
call fcn.0045be30
cmp dword [esp + 0x18], esi
mov byte [esp + 0x7c], 4
je 0x67849e
lea ecx, [esp + 0x10]
call fcn.0045a8a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], bl
call fcn.0045a430
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 2
call fcn.0045a430
cmp dword [esp + 0x24], esi
mov byte [esp + 0x7c], 1
je 0x6784cd
lea ecx, [esp + 0x1c]
call fcn.0045a8a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0
call fcn.00452bd0
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0045a430
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0xffffffff
call fcn.0045a430
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret