Function at 0x40d000
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x467440
push 0x43a740
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x46e560]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x514], 0
wait
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x518], edi
xor esi, esi
mov dword [ebp - 0x524], esi
mov dword [ebp - 0x508], 0x128
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x520], eax
cmp eax, 0xffffffff
jne 0x40d097
push 0x30
push 0x4607e8
push 0x4622b4
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40d4ff
lea ecx, [ebp - 0x508]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x40d0b0
test eax, eax
je 0x40d46c
mov eax, dword [ebp - 0x500]
mov dword [ebp + esi*4 - 0x3c8], eax
mov ecx, 0x461b8c
lea eax, [ebp - 0x4e4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d0f0
test dl, dl
je 0x40d0ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d0f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d0d0
xor eax, eax
jmp 0x40d0f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40d44d
mov dword [0x4741e0], eax
push dword [ebp - 0x500]
push 0x40e000
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x4741e0], 0
je 0x40d44d
cmp dword [0x474ab4], 0
je 0x40d132
cmp dword [0x474ab0], 0
jne 0x40d150
mov ecx, dword [ebp + esi*4 - 0x3c8]
call fcn.00409150
mov eax, dword [ebp - 0x51c]
push dword [eax + 0x20]
call dword [0x474604]
add esp, 4
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3d4], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x3c], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
push dword [ebp + esi*4 - 0x3c8]
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x514], edi
test edi, edi
jne 0x40d223
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 0xa8], 0
push 0x63
push edi
lea eax, [ebp - 0xa7]
push eax
call fcn.0043a490
add esp, 0xc
push esi
push 0x4622c8
push 0x64
lea eax, [ebp - 0xa8]
push eax
call fcn.004398bd
add esp, 0x10
push 0x34
push 0x4615e0
lea eax, [ebp - 0xa8]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40d4ff
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [ebp - 0x524]
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x50c]
push eax
push dword [0x474ab0]
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x50c]
push eax
mov eax, dword [ebp - 0x50c]
add eax, 0x70
push eax
push edi
call ebx
mov eax, dword [ebp - 0x50c]
test eax, eax
je 0x40d3ef
mov dword [ebp - 0x3d8], 0
lea ecx, [ebp - 0x3cc]
push ecx
push 4
lea ecx, [ebp - 0x3d8]
push ecx
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x50c]
push eax
mov eax, dword [0x474aac]
add eax, dword [ebp - 0x50c]
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x50c]
push eax
mov eax, dword [ebp - 0x50c]
add eax, 4
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x3dc]
push eax
mov eax, dword [ebp - 0x50c]
add eax, 0x4c
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x3d0]
push eax
mov eax, dword [ebp - 0x50c]
cmp byte [ebp - 0x3d8], 0
jne 0x40d323
add eax, 0x24c4
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x3d4]
push eax
mov eax, dword [ebp - 0x50c]
add eax, 0x2544
jmp 0x40d347
add eax, 0x24a0
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x3d4]
push eax
mov eax, dword [ebp - 0x50c]
add eax, 0x2520
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 0x10
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x50c]
add eax, 0x34
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x510]
push eax
push dword [0x474aa8]
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x510]
push eax
mov ecx, dword [ebp - 0x510]
mov eax, dword [0x474a3c]
add eax, ecx
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x510]
push eax
mov eax, dword [ebp - 0x510]
add eax, 4
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 4
lea eax, [ebp - 0x510]
push eax
mov eax, dword [ebp - 0x510]
add eax, 4
push eax
push edi
call ebx
lea eax, [ebp - 0x3cc]
push eax
push 0x10
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x510]
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x514], 0
movss xmm0, dword [ebp - 0x3d0]
divss xmm0, dword [ebp - 0x3d4]
mulss xmm0, dword [0x463410]
cvttss2si eax, xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3dc]
lea eax, [ebp - 0x3c]
push eax
mov edi, dword [ebp - 0x518]
push edi
push ecx
push dword [ebp + esi*4 - 0x3c8]
push ecx
mov ecx, dword [ebp - 0x51c]
call fcn.0040ca90
inc edi
mov dword [ebp - 0x518], edi
lea eax, [ebp - 0x508]
push eax
push dword [ebp - 0x520]
call dword [sym.imp.KERNEL32.dll_Process32Next]
inc esi
mov dword [ebp - 0x524], esi
jmp 0x40d0b0
push dword [ebp - 0x520]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x474bd4]
mov esi, eax
sub esi, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x528], esi
test esi, esi
jle 0x40d4b1
sub eax, esi
push 0
push eax
push 0x1008
mov eax, dword [ebp - 0x51c]
push dword [eax + 0x1324]
call edi
dec esi
mov eax, dword [0x474bd4]
jmp 0x40d487
cmp eax, dword [ebp - 0x518]
cmovne eax, dword [ebp - 0x518]
mov dword [0x474bd4], eax
wait
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x40d509
wait
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004387e7
mov esp, ebp
pop ebp
ret