Function at 0x1007ac20
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e388
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100b802c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 8]
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
push edi
push 0
mov dword [ebp - 4], 0
call fcn.1002d900
add esp, 8
test al, al
je 0x1007ae0a
push str.advapi32.dll
call fcn.10072cc0
mov ecx, dword [edi + 4]
add esp, 4
mov dword [edi + 4], eax
test ecx, ecx
je 0x1007ac93
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
push 0
call fcn.1002d900
add esp, 8
test al, al
jne 0x1007aecb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetEntriesInAclW
push dword [edi + 4]
call esi
push str.GetFileSecurityW
mov dword [edi + 0x24], eax
push dword [edi + 4]
call esi
push str.SetFileSecurityW
mov dword [edi + 0x28], eax
push dword [edi + 4]
call esi
push str.LookupAccountSidW
mov dword [edi + 0x44], eax
push dword [edi + 4]
call esi
push str.GetExplicitEntriesFromAclW
mov dword [edi + 0x70], eax
push dword [edi + 4]
call esi
push 0x100914f8
mov dword [edi + 0x88], eax
push dword [edi + 4]
call esi
push 0x1009150c
mov dword [edi + 0x2c], eax
push dword [edi + 4]
call esi
push str.InitializeSecurityDescriptor
mov dword [edi + 0x30], eax
push dword [edi + 4]
call esi
push str.SetSecurityDescriptorDacl
mov dword [edi + 0x34], eax
push dword [edi + 4]
call esi
push str.GetSecurityDescriptorDacl
mov dword [edi + 0x38], eax
push dword [edi + 4]
call esi
push str.AllocateAndInitializeSid
mov dword [edi + 0x3c], eax
push dword [edi + 4]
call esi
push 0x10091594
mov dword [edi + 0x40], eax
push dword [edi + 4]
call esi
push str.OpenThreadToken
mov dword [edi + 0x48], eax
push dword [edi + 4]
call esi
push str.GetTokenInformation
mov dword [edi + 0x68], eax
push dword [edi + 4]
call esi
push str.InitializeAcl
mov dword [edi + 0x6c], eax
push dword [edi + 4]
call esi
push str.InitializeSid
mov dword [edi + 0x4c], eax
push dword [edi + 4]
call esi
push str.GetSidSubAuthority
mov dword [edi + 0x50], eax
push dword [edi + 4]
call esi
push str.AddAccessAllowedAce
mov dword [edi + 0x54], eax
push dword [edi + 4]
call esi
push str.GetSecurityInfo
mov dword [edi + 0x58], eax
push dword [edi + 4]
call esi
push str.SetSecurityInfo
mov dword [edi + 0x5c], eax
push dword [edi + 4]
call esi
mov dword [edi + 0x60], eax
push str.QueryServiceStatusEx
push dword [edi + 4]
call esi
push str.GetAce
mov dword [edi + 0x64], eax
push dword [edi + 4]
call esi
push str.DeleteAce
mov dword [edi + 0x74], eax
push dword [edi + 4]
call esi
push str.EqualSid
mov dword [edi + 0x78], eax
push dword [edi + 4]
call esi
push str.GetAclInformation
mov dword [edi + 0x7c], eax
push dword [edi + 4]
call esi
push str.SetSecurityDescriptorControl
mov dword [edi + 0x80], eax
push dword [edi + 4]
call esi
mov dword [edi + 0x84], eax
lea esi, [edi + 8]
cmp dword [edi + 0x24], 0
je 0x1007aecb
cmp dword [edi + 0x28], 0
je 0x1007aecb
cmp dword [edi + 0x2c], 0
je 0x1007aecb
cmp dword [edi + 0x30], 0
je 0x1007aecb
cmp dword [edi + 0x34], 0
je 0x1007aecb
cmp dword [edi + 0x38], 0
je 0x1007aecb
cmp dword [edi + 0x3c], 0
je 0x1007aecb
cmp dword [edi + 0x40], 0
je 0x1007aecb
cmp dword [edi + 0x44], 0
je 0x1007aecb
cmp dword [edi + 0x48], 0
je 0x1007aecb
cmp dword [edi + 0x4c], 0
je 0x1007aecb
cmp dword [edi + 0x50], 0
je 0x1007aecb
cmp dword [edi + 0x54], 0
je 0x1007aecb
cmp dword [edi + 0x58], 0
je 0x1007aecb
cmp dword [edi + 0x5c], 0
je 0x1007aecb
cmp dword [edi + 0x60], 0
je 0x1007aecb
cmp dword [edi + 0x64], 0
je 0x1007aecb
cmp dword [edi + 0x68], 0
je 0x1007aecb
cmp dword [edi + 0x6c], 0
je 0x1007aecb
cmp dword [edi + 0x70], 0
je 0x1007aecb
cmp dword [edi + 0x80], 0
je 0x1007aecb
cmp dword [edi + 0x74], 0
je 0x1007aecb
cmp dword [edi + 0x78], 0
je 0x1007aecb
cmp dword [edi + 0x7c], 0
je 0x1007aecb
cmp dword [edi + 0x84], 0
je 0x1007aecb
cmp dword [edi + 0x88], 0
je 0x1007aecb
mov bl, 1
jmp 0x1007aecd
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret