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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e87d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x492110]
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.00463ef0
add esp, 8
test al, al
je 0x465a69
push 0x486418
call fcn.004248d0
mov ecx, dword [esi + 4]
add esp, 4
mov dword [esi + 4], eax
test ecx, ecx
je 0x465893
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push esi
call fcn.00463ef0
add esp, 8
test al, al
jne 0x465b2a
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 0x47049c
push dword [esi + 4]
mov dword [esi + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4704b0
push dword [esi + 4]
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4704c4
push dword [esi + 4]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4704e4
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 0x47051c
push dword [esi + 4]
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x470538
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 0x470550
push dword [esi + 4]
mov dword [esi + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x470564
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 0x470598
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 0x4705cc
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 0x465b2a
cmp dword [esi + 0x28], 0
je 0x465b2a
cmp dword [esi + 0x2c], 0
je 0x465b2a
cmp dword [esi + 0x30], 0
je 0x465b2a
cmp dword [esi + 0x34], 0
je 0x465b2a
cmp dword [esi + 0x38], 0
je 0x465b2a
cmp dword [esi + 0x3c], 0
je 0x465b2a
cmp dword [esi + 0x40], 0
je 0x465b2a
cmp dword [esi + 0x44], 0
je 0x465b2a
cmp dword [esi + 0x48], 0
je 0x465b2a
cmp dword [esi + 0x4c], 0
je 0x465b2a
cmp dword [esi + 0x50], 0
je 0x465b2a
cmp dword [esi + 0x54], 0
je 0x465b2a
cmp dword [esi + 0x58], 0
je 0x465b2a
cmp dword [esi + 0x5c], 0
je 0x465b2a
cmp dword [esi + 0x60], 0
je 0x465b2a
cmp dword [esi + 0x64], 0
je 0x465b2a
cmp dword [esi + 0x68], 0
je 0x465b2a
cmp dword [esi + 0x6c], 0
je 0x465b2a
cmp dword [esi + 0x70], 0
je 0x465b2a
cmp dword [esi + 0x80], 0
je 0x465b2a
cmp dword [esi + 0x74], 0
je 0x465b2a
cmp dword [esi + 0x78], 0
je 0x465b2a
cmp dword [esi + 0x7c], 0
je 0x465b2a
cmp dword [esi + 0x84], 0
je 0x465b2a
cmp dword [esi + 0x88], 0
je 0x465b2a
mov bl, 1
jmp 0x465b2c
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