Function at 0x7c82a3e9
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7c8856cc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
test eax, eax
jl 0x7c846e59
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_RtlLengthSid]
mov esi, eax
add esi, 0x10
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ecx, [esi + 0x14]
push ecx
push 8
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
cmp edi, ebx
je 0x7c82a573
push 2
lea eax, [edi + 0x14]
push esi
push eax
call dword [sym.imp.ntdll.dll_RtlCreateAcl]
test eax, eax
jl 0x7c82a55f
push dword [ebp - 0x10]
lea eax, [edi + 0x14]
push 0x13ffff
push 2
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
test eax, eax
jl 0x7c82a55f
xor esi, esi
inc esi
push esi
push edi
call dword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
test eax, eax
jl 0x7c82a55f
push ebx
lea eax, [edi + 0x14]
push eax
push esi
push edi
call dword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
test eax, eax
jl 0x7c82a55f
push str.ShimCacheMutex
push ebx
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
call sym.KERNEL32.dll_CreateMutexW
cmp eax, ebx
mov dword [0x7c8857e0], eax
je 0x7c82a55f
push 0x64
push eax
call sym.KERNEL32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x7c846e60
push str.ShimSharedMemory
mov dword [ebp - 0x18], esi
mov esi, 0xd090
push esi
push ebx
push 4
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
call sym.KERNEL32.dll_CreateFileMappingW
cmp eax, ebx
mov dword [0x7c8857dc], eax
je 0x7c82a55f
call fcn.7c8307de
push ebx
push ebx
push ebx
push 2
push dword [0x7c8857dc]
call sym.KERNEL32.dll_MapViewOfFile
cmp eax, ebx
mov dword [0x7c8857d8], eax
je 0x7c82a55f
push 0x60
push ebx
push eax
call fcn.7c82a391
push esi
push dword [0x7c8857d8]
call fcn.7c82a5af
call fcn.7c819bf3
mov dword [ebp - 0x14], 1
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 0x10], ebx
je 0x7c82a581
push dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_RtlFreeSid]
cmp dword [ebp - 0x14], ebx
je 0x7c846e67
cmp dword [ebp - 0x18], ebx
je 0x7c82a59a
push dword [0x7c8857e0]
call sym.KERNEL32.dll_ReleaseMutex
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.7c8097aa
leave
ret
cwde
invalid
jl 0x7c846eb1
cmp eax, 0xb89f9fa7
mov eax, 0xe6be3c98
inc ebp
cwde
cmp al, 0xbe
out 0x45, al
mul byte [edx + 0x746486d6]
shl byte [ecx], 0xb1
add byte [eax], bh
retf
mov bh, 0x2f
adc eax, 0x4f3b43d8
and al, 2
jae 0x7c846e62
sub eax, 0x781f1e15
mov eax, dword [0x8f87fa01]
adc eax, 0x18f1e033
outsb dx, byte ds:[esi]
invalid