Function at 0x4111f0
Capabilities:
Enumerate processes
Get session user name
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x860
mov eax, dword [0x47b018]
xor eax, esp
mov dword [esp + 0x85c], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x228
lea eax, [esp + 0x30]
push ebp
push eax
mov dword [esp + 0x34], ebp
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x411287
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x411287
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ecx]
mov edx, dword [esp + 0x30]
push edx
push ebp
push 0x411
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x411278
push str.MLEMonitor.exe
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4112a7
lea ecx, [esp + 0x28]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411250
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x86c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041d40a
add esp, 0x860
ret
lea edx, [esp + 0x14]
push edx
push 8
push ebx
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41128e
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [esp + 0x10]
push ecx
push ebp
push ebp
push 1
push eax
mov dword [esp + 0x24], ebp
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebp
jbe 0x41128e
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
je 0x41128e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
push esi
push 1
push ecx
call edi
push 0x204
lea edx, [esp + 0x25c]
push ebp
push edx
mov edi, eax
mov dword [esp + 0x260], ebp
call sub.MSVCR90.dll_memset
push 0x204
lea eax, [esp + 0x470]
push ebp
push eax
mov dword [esp + 0x474], ebp
call sub.MSVCR90.dll_memset
add esp, 0x18
cmp edi, ebp
je 0x41128e
mov edi, dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
lea eax, [esp + 0x28]
push eax
push ebp
push edi
push ebp
mov dword [esp + 0x3c], 8
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
mov ecx, dword [esp + 0x1c]
dec ecx
cmp ecx, 0x102
ja 0x4113af
mov edx, dword [esp + 0x18]
dec edx
cmp edx, 0x103
ja 0x4113af
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x464]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x264]
push ecx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x668]
push eax
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x41128e
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x668]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41128e
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x41128e