Function at 0x40cc80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x54283b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x599980]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x599980]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.IEFrame
call ebx
test eax, eax
je 0x40ccea
push 0
push 0xf060
push 0x112
push eax
call edi
inc esi
cmp esi, 0x64
jl 0x40ccc2
xor esi, esi
lea esp, [esp]
push 0
push str.MozillaUIWindowClass
call ebx
test eax, eax
je 0x40cd12
push 0
push 0xf060
push 0x112
push eax
call edi
inc esi
cmp esi, 0x64
jl 0x40ccf0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40ceaf
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40cd40
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x14]
call fcn.0040a380
mov dword [esp + 0x254], 0
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ebx, dword [esp + 0x20]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40cd83
push esi
lea ecx, [esp + 0x14]
call fcn.0040a180
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.00514828
add esp, 8
test esi, esi
jl 0x40ced8
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40ced8
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x10]
mov ecx, str.iexplore.exe
jmp 0x40cdc0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40cde6
test dx, dx
je 0x40cde2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40cde6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40cdc0
xor eax, eax
jmp 0x40cdeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40ce62
push ebx
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40ce0b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40ce62
xor esi, esi
lea ecx, [ecx]
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.IEFrame
call ebx
test eax, eax
je 0x40ce38
push 0
push 0xf060
push 0x112
push eax
call edi
inc esi
cmp esi, 0x64
jl 0x40ce10
xor esi, esi
lea ebx, [ebx]
push 0
push str.MozillaUIWindowClass
call ebx
test eax, eax
je 0x40ce62
push 0
push 0xf060
push 0x112
push eax
call edi
inc esi
cmp esi, 0x64
jl 0x40ce40
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40cd40
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00512dac
add esp, 0x248
ret
push 0x80070057
call fcn.0040a200
int3