Function at 0x14005e4e0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp byte [0x1414d108c], 0
jne 0x14005e79b
lea rcx, [0x1414d108c]
call fcn.1400a5c00
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14005e54c
mov rcx, rax
call fcn.140040f80
or rbx, 1
mov qword [rsp + 0x68], rbx
cmp byte [0x1414d108c], 0
jne 0x14005e78a
mov byte [0x1414d108c], 1
mov dl, 1
lea rcx, [0x1413ce4c8]
call fcn.1400a55f0
mov rbp, rax
test rax, rax
je 0x14005e5d2
lea rdx, [0x1413ce4e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1414d0fe0], rax
lea rdx, [0x1413ce4f8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1414d0fe8], rax
lea rdx, [0x1413ce510]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1414d0ff0], rax
lea rdx, [0x1413ce528]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1414d0ff8], rax
cmp qword [0x1414d0ff0], 0
je 0x14005e737
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea rcx, [0x1414d1070]
call fcn.14005ade0
lea r8, [rsp + 0x60]
lea edx, [r15 + 8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14005e6c5
mov dword [rsp + 0x78], r15d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, dword [rsp + 0x78]
test edi, edi
je 0x14005e6ba
mov ecx, edi
call fcn.1400fb798
mov r14, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r14
lea edx, [r15 + 1]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14005e6b2
mov rsi, qword [r14]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov edi, eax
mov ecx, eax
call fcn.1400fb798
mov qword [0x1414d1010], rax
mov r8, rsi
mov rdx, rax
mov ecx, edi
call qword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x14005e6b2
mov rdx, qword [0x1414d1010]
lea rcx, [0x1414d1030]
call qword [0x1414d0ff0]
mov rcx, r14
call fcn.1400f9c94
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1413ce548]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005e737
mov dword [rsp + 0x78], r15d
mov word [rsp + 0x7c], 0x100
lea rcx, [0x1414d1018]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call rax
test eax, eax
je 0x14005e737
mov rdx, qword [0x1414d1018]
lea rcx, [0x1414d1050]
call qword [0x1414d0ff0]
mov dl, 1
lea rcx, [0x1413ce568]
call fcn.1400a55f0
test rax, rax
je 0x14005e761
lea rdx, [0x1413ce578]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1414d1000], rax
lea rcx, [0x1413ce598]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14005e78a
lea rdx, [0x1413ce5b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1414d1008], rax
test bl, 1
je 0x14005e79b
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140041490
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret