Function at 0x140011520
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x140057080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x110]
mov edx, 8
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140011589
mov rcx, qword [rsp + 0x260]
call fcn.140007f00
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x260]
jmp 0x14001194f
mov dword [rsp + 0x118], 0
lea rcx, [rsp + 0x38]
call fcn.140011990
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x39]
call fcn.140011970
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x60]
mov edx, 0x18
lea rcx, [rsp + 0x120]
call fcn.140004e10
lea rcx, [rsp + 0x3a]
call fcn.140002c80
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x118]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x120]
call fcn.140016e80
nop
lea rcx, [rsp + 0x3b]
call fcn.1400119d0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x3c]
call fcn.1400119b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x120]
call fcn.140003640
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x80]
mov edx, 1
mov rcx, qword [rsp + 0xa8]
call qword [rsp + 0xb0]
test eax, eax
jne 0x14001173c
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
call fcn.140007f00
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x120]
call fcn.140004110
mov rax, qword [rsp + 0x260]
jmp 0x14001194f
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x120]
call fcn.140003640
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov edx, 0xf8
lea rcx, [rsp + 0x140]
call fcn.140004e10
mov edx, 1
lea rcx, [rsp + 0x140]
call fcn.140016a20
nop
lea rcx, [rsp + 0x3d]
call fcn.140011a10
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x3e]
call fcn.1400119f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0xd8], rax
mov eax, 1
imul rax, rax, 5
mov rcx, qword [rsp + 0xd0]
movzx eax, byte [rcx + rax]
mov edx, eax
mov rcx, qword [rsp + 0xd8]
call fcn.1400174e0
lea rcx, [rsp + 0x3f]
call fcn.140011a50
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x40]
call fcn.140011a30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0xf0]
movzx eax, byte [rax]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x34], 0
jmp 0x140011889
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x34], eax
jae 0x14001190c
lea rax, [rsp + 0x150]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x41]
call fcn.140011a90
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x42]
call fcn.140011a70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x108], rax
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x108]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x58]
call fcn.140017790
jmp 0x14001187f
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x140]
call fcn.14001dfe0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x140]
call fcn.140017e10
nop
lea rcx, [rsp + 0x120]
call fcn.140004110
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400206d0
add rsp, 0x258
ret