Function at 0x140012440
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x140058080]
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 0x1400124a9
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 0x14001286f
mov dword [rsp + 0x118], 0
lea rcx, [rsp + 0x38]
call fcn.1400128b0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x39]
call fcn.140012890
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.140017da0
nop
lea rcx, [rsp + 0x3b]
call fcn.1400128f0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x3c]
call fcn.1400128d0
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 0x14001265c
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 0x14001286f
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.140017940
nop
lea rcx, [rsp + 0x3d]
call fcn.140012930
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x3e]
call fcn.140012910
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.140018400
lea rcx, [rsp + 0x3f]
call fcn.140012970
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0x40]
call fcn.140012950
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 0x1400127a9
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x34], eax
jae 0x14001282c
lea rax, [rsp + 0x150]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x41]
call fcn.1400129b0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x42]
call fcn.140012990
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.1400186b0
jmp 0x14001279f
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x140]
call fcn.14001ee10
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x140]
call fcn.140018d30
nop
lea rcx, [rsp + 0x120]
call fcn.140004110
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140021500
add rsp, 0x258
ret