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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6938
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x527064]
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.004847d0
add esp, 8
test al, al
je 0x4d70ea
push str.advapi32.dll
call fcn.0048fca0
mov ecx, dword [edi + 4]
add esp, 4
mov dword [edi + 4], eax
test ecx, ecx
je 0x4d6f73
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
push 0
call fcn.004847d0
add esp, 8
test al, al
jne 0x4d71ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4f7f28
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 0x4f7f94
mov dword [edi + 0x88], eax
push dword [edi + 4]
call esi
push 0x4f7fa8
mov dword [edi + 0x2c], eax
push dword [edi + 4]
call esi
push 0x4f7fbc
mov dword [edi + 0x30], eax
push dword [edi + 4]
call esi
push 0x4f7fdc
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 0x4f8014
mov dword [edi + 0x3c], eax
push dword [edi + 4]
call esi
push 0x4f8030
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 0x4f8048
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 0x4f80f0
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 0x4d71ab
cmp dword [edi + 0x28], 0
je 0x4d71ab
cmp dword [edi + 0x2c], 0
je 0x4d71ab
cmp dword [edi + 0x30], 0
je 0x4d71ab
cmp dword [edi + 0x34], 0
je 0x4d71ab
cmp dword [edi + 0x38], 0
je 0x4d71ab
cmp dword [edi + 0x3c], 0
je 0x4d71ab
cmp dword [edi + 0x40], 0
je 0x4d71ab
cmp dword [edi + 0x44], 0
je 0x4d71ab
cmp dword [edi + 0x48], 0
je 0x4d71ab
cmp dword [edi + 0x4c], 0
je 0x4d71ab
cmp dword [edi + 0x50], 0
je 0x4d71ab
cmp dword [edi + 0x54], 0
je 0x4d71ab
cmp dword [edi + 0x58], 0
je 0x4d71ab
cmp dword [edi + 0x5c], 0
je 0x4d71ab
cmp dword [edi + 0x60], 0
je 0x4d71ab
cmp dword [edi + 0x64], 0
je 0x4d71ab
cmp dword [edi + 0x68], 0
je 0x4d71ab
cmp dword [edi + 0x6c], 0
je 0x4d71ab
cmp dword [edi + 0x70], 0
je 0x4d71ab
cmp dword [edi + 0x80], 0
je 0x4d71ab
cmp dword [edi + 0x74], 0
je 0x4d71ab
cmp dword [edi + 0x78], 0
je 0x4d71ab
cmp dword [edi + 0x7c], 0
je 0x4d71ab
cmp dword [edi + 0x84], 0
je 0x4d71ab
cmp dword [edi + 0x88], 0
je 0x4d71ab
mov bl, 1
jmp 0x4d71ad
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