Function at 0x14000e1b0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14017b278]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx], 0
jne 0x14000e484
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._advapi32.dll
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14009fb00
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x14000e24c
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140086e90
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
lea rdx, str.SetEntriesInAclW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetFileSecurityW
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetFileSecurityW
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.LookupAccountSidW
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetExplicitEntriesFromAclW
mov qword [rbx + 0xc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, [0x1401427e0]
mov qword [rbx + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, [0x1401427f8]
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.InitializeSecurityDescriptor
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetSecurityDescriptorDacl
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetSecurityDescriptorDacl
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, [0x140142870]
mov qword [rbx + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, [0x140142890]
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.OpenThreadToken
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, [0x1401428a8]
mov qword [rbx + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.InitializeAcl
mov qword [rbx + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.InitializeSid
mov qword [rbx + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetSidSubAuthority
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.AddAccessAllowedAce
mov qword [rbx + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetSecurityInfo
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetSecurityInfo
mov qword [rbx + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xa8], rax
lea rdx, str.QueryServiceStatusEx
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetAce
mov qword [rbx + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.DeleteAce
mov qword [rbx + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, [0x140142960]
mov qword [rbx + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetAclInformation
mov qword [rbx + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetSecurityDescriptorControl
mov qword [rbx + 0xe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xf0], rax
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp qword [rbx + 0x30], 0
je 0x14000e229
cmp qword [rbx + 0x38], 0
je 0x14000e229
cmp qword [rbx + 0x40], 0
je 0x14000e229
cmp qword [rbx + 0x48], 0
je 0x14000e229
cmp qword [rbx + 0x50], 0
je 0x14000e229
cmp qword [rbx + 0x58], 0
je 0x14000e229
cmp qword [rbx + 0x60], 0
je 0x14000e229
cmp qword [rbx + 0x68], 0
je 0x14000e229
cmp qword [rbx + 0x70], 0
je 0x14000e229
cmp qword [rbx + 0x78], 0
je 0x14000e229
cmp qword [rbx + 0x80], 0
je 0x14000e229
cmp qword [rbx + 0x88], 0
je 0x14000e229
cmp qword [rbx + 0x90], 0
je 0x14000e229
cmp qword [rbx + 0x98], 0
je 0x14000e229
cmp qword [rbx + 0xa0], 0
je 0x14000e229
cmp qword [rbx + 0xa8], 0
je 0x14000e229
cmp qword [rbx + 0xb0], 0
je 0x14000e229
cmp qword [rbx + 0xb8], 0
je 0x14000e229
cmp qword [rbx + 0xc0], 0
je 0x14000e229
cmp qword [rbx + 0xc8], 0
je 0x14000e229
cmp qword [rbx + 0xe8], 0
je 0x14000e229
cmp qword [rbx + 0xd0], 0
je 0x14000e229
cmp qword [rbx + 0xd8], 0
je 0x14000e229
cmp qword [rbx + 0xe0], 0
je 0x14000e229
cmp qword [rbx + 0xf0], 0
je 0x14000e229
cmp qword [rbx + 0xf8], 0
je 0x14000e229
mov eax, 1
jmp 0x14000e22b