Function at 0x6787c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x774590
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
lea eax, [esp + 0x24]
push eax
push 0x2000000
lea eax, [esp + 0x14]
mov byte [esp + 0x3b], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
push 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0
movdqu xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
call sub.ADVAPI32.dll_LsaOpenPolicy
test eax, eax
je 0x678864
push 0x14aa
call fcn.00606650
mov ecx, eax
call fcn.00606640
mov ecx, eax
call fcn.005fca70
jmp 0x678a0a
lea eax, [esp + 0x2c]
push eax
push 0xc
push dword [esp + 0x2c]
call sub.ADVAPI32.dll_LsaQueryInformationPolicy
test eax, eax
je 0x67887f
push 0x14ab
jmp 0x67884c
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x67897d
cmp dword [esi + 0x28], 0
jne 0x67897d
xor eax, eax
cmp ax, word [esi + 8]
jne 0x67897d
cmp ax, word [esi + 0x10]
jne 0x67897d
cmp dword [esi + 0x18], eax
jne 0x67897d
cmp ax, word [esi + 0x1c]
jne 0x67897d
cmp ax, word [esi + 0x1e]
jne 0x67897d
mov eax, dword [esi + 0x20]
cmp eax, dword [0x79b400]
jne 0x67897d
mov eax, dword [esi + 0x24]
cmp eax, dword [0x79b404]
jne 0x67897d
push 0x14ad
call fcn.00606650
mov ecx, eax
call fcn.00606640
mov ecx, eax
call fcn.005fca70
push dword [esi + 4]
mov ecx, edi
call fcn.004f5ac0
push 0x16
push str._WorkgroupOnlyNoDomain
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call fcn.00409620
mov dword [esp + 0x50], vtable.wbs::StringBase_char_.0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
mov dword [esp + 0x80], 0
push eax
lea ecx, [edi + 4]
call fcn.004094b0
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x50], vtable.wbs::StringBase_char_.0
jb 0x678a2c
push dword [esp + 0x54]
call fcn.006f75a9
add esp, 4
jmp 0x678a2c
lea eax, [esp + 0x28]
push eax
push dword [esi + 0x28]
call sub.ADVAPI32.dll_ConvertSidToStringSidA
test eax, eax
jne 0x678a21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.006065b0
add esp, 8
add eax, 4
mov dword [esp + 0x78], 1
cmp dword [eax + 0x14], 0x10
jb 0x6789b9
mov eax, dword [eax]
push eax
push 0x14ac
call fcn.00606650
mov ecx, eax
call fcn.00606640
mov ecx, eax
call fcn.005fcaa0
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x34], vtable.wbs::StringBase_char_.0
jb 0x6789f5
push dword [esp + 0x38]
call fcn.006f75a9
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
mov dword [eax + 0x10], 0
jb 0x678a1c
mov eax, dword [eax]
mov byte [eax], 0
jmp 0x678a31
push dword [esp + 0x28]
mov ecx, edi
call fcn.004f5a60
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x678a48
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x678a5e
push eax
call sub.ADVAPI32.dll_LsaFreeMemory
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x678a6c
push ecx
call sub.ADVAPI32.dll_LsaClose
mov al, byte [esp + 0x33]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x70
ret