Function at 0x140012880
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x14005e080]
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 0x1400128e9
mov rcx, qword [rsp + 0x260]
call fcn.140007f20
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x260]
jmp 0x140012caf
mov dword [rsp + 0x118], 0
lea rcx, [rsp + 0x38]
call fcn.140012cf0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x39]
call fcn.140012cd0
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.140004e30
lea rcx, [rsp + 0x3a]
call fcn.140002ca0
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.1400199c0
nop
lea rcx, [rsp + 0x3b]
call fcn.140012d30
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x3c]
call fcn.140012d10
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.140003660
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 0x140012a9c
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
call fcn.140007f20
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x120]
call fcn.140004130
mov rax, qword [rsp + 0x260]
jmp 0x140012caf
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x120]
call fcn.140003660
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov edx, 0xf8
lea rcx, [rsp + 0x140]
call fcn.140004e30
mov edx, 1
lea rcx, [rsp + 0x140]
call fcn.140019510
nop
lea rcx, [rsp + 0x3d]
call fcn.140012d70
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x3e]
call fcn.140012d50
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.14001a1f0
lea rcx, [rsp + 0x3f]
call fcn.140012db0
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x40]
call fcn.140012d90
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 0x140012be9
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x34], eax
jae 0x140012c6c
lea rax, [rsp + 0x150]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x41]
call fcn.140012df0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x42]
call fcn.140012dd0
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.14001a4a0
jmp 0x140012bdf
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x140]
call fcn.140022990
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x140]
call fcn.14001ac60
nop
lea rcx, [rsp + 0x120]
call fcn.140004130
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400259c0
add rsp, 0x258
ret