Function at 0x440471
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x260
mov eax, 0x4a1191
call fcn.0045cd4f
mov dword [ebp - 0x264], edx
mov edi, ecx
mov dword [ebp - 0x248], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
and dword [ebp - 0x250], 0
and dword [ebp - 0x24c], 0
mov dword [ebp - 0x268], eax
call fcn.0044117c
mov dword [ebp - 0x250], eax
and dword [ebp - 4], 0
call esi
mov ecx, eax
call fcn.0041572a
xor esi, esi
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x244], esi
push 0
push 2
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x240], eax
cmp eax, 0xffffffff
je 0x4405ae
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x440584
mov ecx, edi
xor esi, esi
call fcn.004115e4
test eax, eax
jle 0x440567
xor edi, edi
mov ecx, dword [ebp - 0x248]
call fcn.00407cd3
mov ecx, dword [eax]
add ecx, edi
call fcn.00408b05
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x44054e
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x268], eax
jne 0x4405f8
mov ecx, dword [ebp - 0x248]
inc esi
add edi, 0x18
call fcn.004115e4
cmp esi, eax
jl 0x440516
mov edi, dword [ebp - 0x248]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x440507
mov esi, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
call fcn.00443166
test bl, bl
je 0x4405ae
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov dword [ebp - 0x244], esi
cmp esi, 0xc9
jl 0x4404d0
cmp dword [ebp - 0x24c], 0
je 0x440772
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 0x250]
mov eax, dword [eax]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
call fcn.004082d1
jmp 0x4406bf
cmp dword [ebp - 0x264], 0
mov edi, dword [ebp - 0x248]
je 0x440625
mov ecx, edi
call fcn.00407cd3
imul ecx, esi, 0x18
add ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.00409086
mov eax, dword [ebp - 0x234]
xor ecx, ecx
push eax
inc ecx
call fcn.0044325e
mov esi, eax
mov dword [ebp - 0x260], esi
test esi, esi
je 0x440567
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, dword [ebp - 0x26c]
je 0x440567
lea eax, [ebp - 0x218]
mov bl, 1
push eax
push dword [ebp - 0x244]
push 0x4bbf84
push 0
call fcn.00443f03
add esp, 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
push ecx
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x250]
call fcn.0044136d
jmp 0x440567
add eax, 0x10
lea ecx, [ebp - 0x25c]
push eax
call fcn.00440c9d
push ecx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x244]
call fcn.00440d29
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x250]
push eax
call fcn.004082d1
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x240]
jne 0x44069d
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x25c]
push 0x3e8
push 1
push dword [ebp - 0x25c]
sar eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x440741
mov ecx, dword [ecx]
call fcn.00443166
lea ecx, [ebp - 0x25c]
call fcn.00408b47
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 2
call fcn.00408b47
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x44076e
mov eax, dword [ebp - 0x254]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00408c07
pop ecx
pop ecx
mov byte [ebp - 4], 0
movzx eax, bl
push eax
push str.TerminateProcess_Return_Value_bFoundAndTryKill_:__d
push 0
call fcn.00443e98
add esp, 0xc
lea ecx, [ebp - 0x250]
call fcn.00440d77
test bl, bl
sete al
call fcn.0045ccf9
ret