Function at 0x4518e6
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x264
mov eax, 0x4b8bd6
call fcn.00469c08
mov dword [ebp - 0x264], edx
mov edi, ecx
mov dword [ebp - 0x244], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x25d]
push eax
call fcn.0040e048
and dword [ebp - 0x25c], 0
and dword [ebp - 0x258], 0
pop ecx
call fcn.004522a7
mov dword [ebp - 0x25c], eax
and dword [ebp - 4], 0
call esi
mov ecx, eax
call fcn.004250c4
xor esi, esi
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x240], esi
push 0
push 2
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x451a30
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x451a06
mov ecx, edi
xor esi, esi
call fcn.0040c30a
test eax, eax
jle 0x4519e9
xor edi, edi
mov ecx, dword [ebp - 0x244]
call fcn.0040c92d
mov ecx, dword [eax]
add ecx, edi
call fcn.00412374
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4519d0
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x26c], eax
jne 0x451a6c
mov ecx, dword [ebp - 0x244]
inc esi
add edi, 0x18
call fcn.0040c30a
cmp esi, eax
jl 0x451998
mov edi, dword [ebp - 0x244]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x451989
mov esi, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x268]
call fcn.00454f9f
test bl, bl
je 0x451a30
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov dword [ebp - 0x240], esi
cmp esi, 0xc9
jl 0x451952
cmp dword [ebp - 0x258], 0
je 0x451bb6
xor eax, eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x25c]
call fcn.00451e16
jmp 0x451b2b
cmp dword [ebp - 0x264], 0
mov edi, dword [ebp - 0x244]
je 0x451a99
mov ecx, edi
call fcn.0040c92d
imul ecx, esi, 0x18
add ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.0040c704
mov eax, dword [ebp - 0x234]
xor ecx, ecx
push eax
inc ecx
call fcn.00455092
mov esi, eax
mov dword [ebp - 0x248], esi
test esi, esi
je 0x4519e9
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, dword [ebp - 0x270]
je 0x4519e9
lea eax, [ebp - 0x218]
mov bl, 1
push eax
push dword [ebp - 0x240]
push str.TerminateProcess__d_:__s
push 0
call fcn.0044b4c9
add esp, 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
push ecx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004523bb
jmp 0x4519e9
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x254]
call fcn.00451d08
lea ecx, [ebp - 0x240]
call fcn.004239a1
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00451dd0
mov ecx, dword [ebp - 0x240]
cmp ecx, dword [eax]
jne 0x451b11
mov eax, dword [ebp - 0x250]
sub eax, dword [ebp - 0x254]
push 0x3e8
push 1
push dword [ebp - 0x254]
sar eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x254]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x451ba7
mov ecx, dword [ecx]
call fcn.00454f9f
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.00410c44
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0
call fcn.00451d71
movzx eax, bl
push eax
push str.TerminateProcess_Return_Value_bFoundAndTryKill_:__d
push 0
call fcn.0044b459
add esp, 0xc
lea ecx, [ebp - 0x25c]
call fcn.00451e5e
test bl, bl
sete al
call fcn.00469bb2
ret