Function at 0x100a2450
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x1550
call fcn.100a5360
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x154c], eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push str.Kernel32.dll
mov dword [ebx], 0
call ebp
mov edi, eax
test edi, edi
je 0x100a281e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WTSGetActiveConsoleSessionId
push edi
call esi
test eax, eax
je 0x100a281b
call eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x18], 0xffffffff
je 0x100a2801
push str.psapi.dll
call ebp
mov edi, eax
push str.advapi32.dll
mov dword [esp + 0x10], edi
call ebp
test edi, edi
mov ebp, eax
je 0x100a27ee
test ebp, ebp
je 0x100a27eb
push str.EnumProcesses
push edi
call esi
mov edi, eax
mov eax, dword [esp + 0xc]
push str.GetModuleFileNameExA
push eax
call esi
push 0x100bb9c0
push ebp
mov dword [esp + 0x18], eax
call esi
push 0x100bb9d4
push ebp
mov dword [esp + 0x1c], eax
call esi
xor esi, esi
cmp edi, esi
mov dword [esp + 0x24], eax
je 0x100a27d6
cmp dword [esp + 0x10], esi
je 0x100a27d6
cmp dword [esp + 0x14], esi
je 0x100a27d6
cmp eax, esi
je 0x100a27d6
push 0xffc
lea ecx, [esp + 0x38]
push esi
push ecx
mov dword [esp + 0x3c], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x1000
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x100a257c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
push ebp
call esi
jmp 0x100a2801
mov esi, dword [esp + 0x1c]
push 0x104
xor edi, edi
lea edx, [esp + 0x113d]
push edi
shr esi, 2
push edx
mov dword [esp + 0x34], esi
mov byte [esp + 0x1144], 0
call sub.MSVCR80.dll_memset
push 0x104
lea eax, [esp + 0x1461]
push edi
push eax
mov byte [esp + 0x1468], 0
call sub.MSVCR80.dll_memset
push 0x104
lea ecx, [esp + 0x1365]
push edi
push ecx
mov byte [esp + 0x136c], 0
call sub.MSVCR80.dll_memset
push 0x104
lea edx, [esp + 0x1059]
push edi
push edx
mov byte [esp + 0x1060], 0
call sub.MSVCR80.dll_memset
push 0x104
lea eax, [esp + 0x1275]
push edi
push eax
mov byte [esp + 0x127c], 0
call sub.MSVCR80.dll_memset
add esp, 0x3c
test esi, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
jbe 0x100a27a7
jmp 0x100a2630
push 0x105
lea ecx, [esp + 0x113c]
push 0
push ecx
call sub.MSVCR80.dll_memset
push 0x105
lea edx, [esp + 0x1460]
push 0
push edx
call sub.MSVCR80.dll_memset
push 0x105
lea eax, [esp + 0x1364]
push 0
push eax
call sub.MSVCR80.dll_memset
push 0x105
lea ecx, [esp + 0x1058]
push 0
push ecx
call sub.MSVCR80.dll_memset
push 0x105
lea edx, [esp + 0x1274]
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + edi*4 + 0x6c]
add esp, 0x3c
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100a2791
push 0x105
lea ecx, [esp + 0x113c]
push ecx
push 0
push esi
call dword [esp + 0x20]
test eax, eax
je 0x100a2777
push 0x104
lea edx, [esp + 0x1244]
push edx
push 0x104
lea eax, [esp + 0x103c]
push eax
push 0x104
lea ecx, [esp + 0x135c]
push ecx
push 0x104
lea edx, [esp + 0x146c]
push edx
lea eax, [esp + 0x1158]
push eax
call dword [sym.imp.MSVCR80.dll__splitpath_s]
lea ecx, [esp + 0x1054]
push ecx
push str.explorer
call dword [sym.imp.MSVCR80.dll__stricmp]
add esp, 0x2c
test eax, eax
jne 0x100a2777
lea edx, [esp + 0x1240]
push edx
push str..exe
call dword [sym.imp.MSVCR80.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100a2777
push ebx
push 0x2000e
push esi
call dword [esp + 0x20]
test eax, eax
je 0x100a2777
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push 0xc
push edx
call dword [esp + 0x38]
test eax, eax
je 0x100a2777
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], eax
je 0x100a27a0
mov eax, dword [ebx]
test eax, eax
je 0x100a2784
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
cmp edi, dword [esp + 0x28]
jb 0x100a2630
jmp 0x100a27a7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
call esi
push ebp
call esi
xor eax, eax
cmp dword [ebx], eax
pop esi
pop edi
setne al
pop ebp
mov ecx, dword [esp + 0x154c]
xor ecx, esp
call fcn.100a4489
add esp, 0x1550
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
push ebp
call esi
jmp 0x100a2801
push edi
jmp 0x100a27f3
test ebp, ebp
je 0x100a27f9
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x154c]
xor ecx, esp
call fcn.100a4489
add esp, 0x1550
ret
push edi
jmp 0x100a27fb
mov ecx, dword [esp + 0x1554]
pop edi
pop ebp
xor ecx, esp
xor al, al
call fcn.100a4489
add esp, 0x1550
ret