Function at 0x4013c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x408030]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [esp + 0x24c], eax
xor eax, eax
push eax
mov dword [esp + 0x124], 0
mov ecx, 0x49
lea edi, [esp + 0x128]
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x1c], ebx
je 0x40146b
lea eax, [esp + 0x120]
push eax
push ebx
mov dword [esp + 0x128], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401464
lea esp, [esp]
lea ecx, [esp + 0x144]
push ecx
mov edi, str.explorer.exe
call fcn.004055d6
add esp, 4
mov esi, eax
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x401483
lea eax, [esp + 0x120]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401430
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x24c]
xor ecx, dword [ebp + 4]
call fcn.00401d13
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x128]
push ecx
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], eax
je 0x401678
lea edx, [esp + 0x14]
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea eax, [esp + 0x10]
push eax
push 1
push 2
push 0
push 0x2000f
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.EloCalIn.exe
push edx
call fcn.00401100
mov eax, dword [esp + 0x18]
add esp, 8
push eax
call ebx
push 0x1f4
call fcn.00401280
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push 1
push 2
push 0
push 0x2000f
push edx
call esi
mov eax, dword [esp + 0x10]
push str.EloDkMon.exe
push eax
call fcn.00401100
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call ebx
push 0x1f4
call fcn.00401280
mov eax, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x10]
push edx
push 1
push 2
push 0
push 0x2000f
push eax
call esi
mov ecx, dword [str.EloTTray.exe]
mov edx, dword [0x4061dc]
mov eax, dword [0x4061e0]
mov dword [esp + 0x20], ecx
mov cl, byte [0x4061e4]
lea edi, [esp + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], cl
dec edi
jmp 0x401580
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401580
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4061d4]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [edi], edx
call fcn.00401100
mov edx, dword [esp + 0x18]
add esp, 8
push edx
call ebx
push 0x1f4
call fcn.00401280
mov eax, dword [0x4082f0]
add esp, 4
xor esi, esi
test eax, eax
jle 0x401651
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 1
push 2
push 0
push 0x2000f
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov eax, dword [0x4061c8]
mov ecx, dword [0x4061cc]
mov edx, dword [str.EloRtBtn.exe]
mov dword [esp + 0x24], eax
inc esi
push esi
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
mov dl, byte [0x4061d0]
lea ecx, [esp + 0x28]
push str._s__R__s_d
push ecx
mov byte [esp + 0x3c], dl
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.00401100
mov ecx, dword [esp + 0x28]
add esp, 0x18
push ecx
mov edi, eax
call ebx
push 0x2710
push edi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp esi, dword [0x4082f0]
jl 0x4015c5
mov edx, dword [0x4082f4]
push edx
call ebx
mov dword [0x4082f4], 0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x18]
push ecx
call ebx
mov edx, dword [esp + 0x1c]
push edx
call ebx
mov ecx, dword [esp + 0x24c]
xor ecx, dword [ebp + 4]
mov eax, 1
call fcn.00401d13
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret