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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bed1d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f7108]
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.00471ec0
add esp, 8
test al, al
je 0x473819
push 0x4c597c
call fcn.00470e00
mov ecx, dword [esi + 4]
add esp, 4
mov dword [esi + 4], eax
test ecx, ecx
je 0x473643
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push esi
call fcn.00471ec0
add esp, 8
test al, al
jne 0x4738da
push 0x4dbd70
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 0x4db97c
push dword [esi + 4]
mov dword [esi + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4db990
push dword [esi + 4]
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeSecurityDescriptor
push dword [esi + 4]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSecurityDescriptorDacl
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 str.AllocateAndInitializeSid
push dword [esi + 4]
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4dba18
push dword [esi + 4]
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4dba20
push dword [esi + 4]
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetTokenInformation
push dword [esi + 4]
mov dword [esi + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeAcl
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 str.AddAccessAllowedAce
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 str.EqualSid
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 0x4738da
cmp dword [esi + 0x28], 0
je 0x4738da
cmp dword [esi + 0x2c], 0
je 0x4738da
cmp dword [esi + 0x30], 0
je 0x4738da
cmp dword [esi + 0x34], 0
je 0x4738da
cmp dword [esi + 0x38], 0
je 0x4738da
cmp dword [esi + 0x3c], 0
je 0x4738da
cmp dword [esi + 0x40], 0
je 0x4738da
cmp dword [esi + 0x44], 0
je 0x4738da
cmp dword [esi + 0x48], 0
je 0x4738da
cmp dword [esi + 0x4c], 0
je 0x4738da
cmp dword [esi + 0x50], 0
je 0x4738da
cmp dword [esi + 0x54], 0
je 0x4738da
cmp dword [esi + 0x58], 0
je 0x4738da
cmp dword [esi + 0x5c], 0
je 0x4738da
cmp dword [esi + 0x60], 0
je 0x4738da
cmp dword [esi + 0x64], 0
je 0x4738da
cmp dword [esi + 0x68], 0
je 0x4738da
cmp dword [esi + 0x6c], 0
je 0x4738da
cmp dword [esi + 0x70], 0
je 0x4738da
cmp dword [esi + 0x80], 0
je 0x4738da
cmp dword [esi + 0x74], 0
je 0x4738da
cmp dword [esi + 0x78], 0
je 0x4738da
cmp dword [esi + 0x7c], 0
je 0x4738da
cmp dword [esi + 0x84], 0
je 0x4738da
cmp dword [esi + 0x88], 0
je 0x4738da
mov bl, 1
jmp 0x4738dc
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