Function at 0x10025e20
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x10087edb
mov eax, dword fs:[0]
push eax
mov eax, 0x26b4
call fcn.10082bf0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x26b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x26c8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26d8]
mov eax, dword [esp + 0x26dc]
mov dword [esp + 0x28], eax
mov dword [ebp], 0
call fcn.10025d00
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
je 0x10026485
push 9
xor eax, eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x34]
push str.Psapi.dll
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.10003000
mov dword [esp + 0x26d0], 0
mov eax, dword [0x100b084c]
test al, 1
jne 0x10025f09
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x26d0], 1
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x26d0], 0
lea eax, [esp + 0x30]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov edi, eax
mov dword [esp + 0x26d0], 0xffffffff
cmp dword [esp + 0x44], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x10025f3b
push dword [esp + 0x30]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
push 0xc
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], eax
push str.Advapi32.dll
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
call fcn.10003000
mov dword [esp + 0x26d0], 2
mov eax, dword [0x100b084c]
test al, 1
jne 0x10025fc3
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x26d0], 3
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x26d0], 2
lea eax, [esp + 0x48]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov ebx, eax
mov dword [esp + 0x26d0], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x10025fef
push dword [esp + 0x48]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
push 0xc
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], eax
push str.Wtsapi32.dll
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
call fcn.10003000
mov dword [esp + 0x26d0], 4
mov eax, dword [0x100b084c]
test al, 1
jne 0x1002607a
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x26d0], 5
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x26d0], 4
lea eax, [esp + 0x64]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov dword [esp + 0x18], eax
mov dword [esp + 0x26d0], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x100260ac
push dword [esp + 0x64]
call esi
mov eax, dword [esp + 0x1c]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test edi, edi
je 0x10026485
test ebx, ebx
je 0x10026485
test eax, eax
je 0x10026485
push str.EnumProcesses
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetModuleFileNameExA
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessImageFileNameA
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x2c], eax
call edi
push str.OpenProcessToken
push ebx
mov dword [esp + 0x24], eax
call edi
push str.GetTokenInformation
push ebx
mov dword [esp + 0x28], eax
call edi
mov dword [esp + 0x2c], eax
test esi, esi
je 0x10026485
cmp dword [esp + 0x24], 0
jne 0x1002613d
cmp dword [esp + 0x1c], 0
je 0x10026485
cmp dword [esp + 0x20], 0
je 0x10026485
test eax, eax
je 0x10026485
push 0x1ffc
lea eax, [esp + 0x9c]
mov dword [esp + 0x98], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x8c]
push eax
push 0x2000
lea eax, [esp + 0x9c]
push eax
call esi
test eax, eax
je 0x10026485
mov eax, dword [esp + 0x8c]
mov ecx, 0x800
shr eax, 2
cmp eax, ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x90], 0
cmovae eax, ecx
xor ebx, ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], ebx
test eax, eax
je 0x1002647b
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, edi
push 0x209
lea eax, [esp + 0x23b0]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x22a4]
push 0x105
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x25bc]
push 0x105
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x219c]
push 0x105
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x2094]
push 0x105
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push dword [esp + ebx*4 + 0x94]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x1002628a
push dword [esp + ebx*4 + 0x94]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1002643b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100262a6
push 0x208
lea ecx, [esp + 0x23b0]
push ecx
push esi
call eax
test eax, eax
jne 0x100262cc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10026423
push 0x208
lea ecx, [esp + 0x23b0]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x10026423
push 0x104
lea eax, [esp + 0x2098]
push eax
push 0x104
lea eax, [esp + 0x21a8]
push eax
push 0x104
lea eax, [esp + 0x25d0]
push eax
push 0x104
lea eax, [esp + 0x22c0]
push eax
lea eax, [esp + 0x23cc]
push eax
call dword [sym.imp.MSVCR120.dll__splitpath_s]
add esp, 0x24
lea eax, [esp + 0x219c]
push eax
push str.explorer
call dword [sym.imp.MSVCR120.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10026423
lea eax, [esp + 0x2094]
push eax
push str..exe
call dword [sym.imp.MSVCR120.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10026423
push ebp
push 0x2000e
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x10026423
mov eax, dword [ebp]
test eax, eax
je 0x10026434
lea ecx, [esp + 0x90]
push ecx
push 4
lea ecx, [esp + 0x8c]
push ecx
push 0xc
push eax
call dword [esp + 0x40]
test eax, eax
je 0x10026423
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x84], eax
je 0x1002646b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WTSQuerySessionInformationW
push dword [esp + 0x1c]
call edi
push str.WTSFreeMemory
push dword [esp + 0x1c]
mov ebx, eax
call edi
mov edi, eax
test ebx, ebx
je 0x10026419
test edi, edi
je 0x10026419
lea eax, [esp + 0x88]
mov dword [esp + 0x80], 0
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x8c], 0
push eax
push 8
push dword [esp + 0x90]
push 0
call ebx
test eax, eax
je 0x10026419
mov eax, dword [esp + 0x80]
test eax, eax
je 0x10026419
cmp dword [esp + 0x88], 4
jne 0x10026416
cmp dword [eax], 0
je 0x10026454
push eax
call edi
mov ebx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
test eax, eax
je 0x10026434
push eax
call edi
mov dword [ebp], 0
test esi, esi
je 0x1002643b
push esi
call edi
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x7c]
jb 0x100261e0
xor eax, eax
cmp dword [ebp], eax
setne al
jmp 0x10026487
push eax
call edi
push esi
mov dword [esp + 0x84], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002646e
push esi
call edi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x84]
mov dword [ecx], eax
xor eax, eax
cmp dword [ebp], eax
setne al
jmp 0x10026487
xor al, al
mov ecx, dword [esp + 0x26c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26b0]
xor ecx, esp
call fcn.10081b94
add esp, 0x26c0
ret 8