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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645abd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 8]
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00490000
add esp, 8
test al, al
je 0x4ac979
push str.advapi32.dll
call fcn.0048c250
mov ecx, dword [esi + 4]
add esp, 4
mov dword [esi + 4], eax
test ecx, ecx
je 0x4ac7a3
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push esi
call fcn.00490000
add esp, 8
test al, al
jne 0x4aca3a
push str.SetEntriesInAclW
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetFileSecurityW
push dword [esi + 4]
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetFileSecurityW
push dword [esi + 4]
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LookupAccountSidW
push dword [esi + 4]
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetExplicitEntriesFromAclW
push dword [esi + 4]
mov dword [esi + 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696f08
push dword [esi + 4]
mov dword [esi + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696f1c
push dword [esi + 4]
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696f30
push dword [esi + 4]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696f50
push dword [esi + 4]
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityDescriptorDacl
push dword [esi + 4]
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696f88
push dword [esi + 4]
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696fa4
push dword [esi + 4]
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThreadToken
push dword [esi + 4]
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696fbc
push dword [esi + 4]
mov dword [esi + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x696fd0
push dword [esi + 4]
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeSid
push dword [esi + 4]
mov dword [esi + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSidSubAuthority
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x697004
push dword [esi + 4]
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push dword [esi + 4]
mov dword [esi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSecurityInfo
push dword [esi + 4]
mov dword [esi + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x60], eax
push str.QueryServiceStatusEx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetAce
push dword [esi + 4]
mov dword [esi + 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DeleteAce
push dword [esi + 4]
mov dword [esi + 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x697064
push dword [esi + 4]
mov dword [esi + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetAclInformation
push dword [esi + 4]
mov dword [esi + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSecurityDescriptorControl
push dword [esi + 4]
mov dword [esi + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x84], eax
cmp dword [esi + 0x24], 0
je 0x4aca3a
cmp dword [esi + 0x28], 0
je 0x4aca3a
cmp dword [esi + 0x2c], 0
je 0x4aca3a
cmp dword [esi + 0x30], 0
je 0x4aca3a
cmp dword [esi + 0x34], 0
je 0x4aca3a
cmp dword [esi + 0x38], 0
je 0x4aca3a
cmp dword [esi + 0x3c], 0
je 0x4aca3a
cmp dword [esi + 0x40], 0
je 0x4aca3a
cmp dword [esi + 0x44], 0
je 0x4aca3a
cmp dword [esi + 0x48], 0
je 0x4aca3a
cmp dword [esi + 0x4c], 0
je 0x4aca3a
cmp dword [esi + 0x50], 0
je 0x4aca3a
cmp dword [esi + 0x54], 0
je 0x4aca3a
cmp dword [esi + 0x58], 0
je 0x4aca3a
cmp dword [esi + 0x5c], 0
je 0x4aca3a
cmp dword [esi + 0x60], 0
je 0x4aca3a
cmp dword [esi + 0x64], 0
je 0x4aca3a
cmp dword [esi + 0x68], 0
je 0x4aca3a
cmp dword [esi + 0x6c], 0
je 0x4aca3a
cmp dword [esi + 0x70], 0
je 0x4aca3a
cmp dword [esi + 0x80], 0
je 0x4aca3a
cmp dword [esi + 0x74], 0
je 0x4aca3a
cmp dword [esi + 0x78], 0
je 0x4aca3a
cmp dword [esi + 0x7c], 0
je 0x4aca3a
cmp dword [esi + 0x84], 0
je 0x4aca3a
cmp dword [esi + 0x88], 0
je 0x4aca3a
mov bl, 1
jmp 0x4aca3c
xor bl, bl
push edi
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