Function at 0x446d46
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x264
mov eax, 0x4ad43f
call fcn.0045edc9
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.00405f98
and dword [ebp - 0x25c], 0
and dword [ebp - 0x258], 0
pop ecx
call fcn.00447707
mov dword [ebp - 0x25c], eax
and dword [ebp - 4], 0
call esi
mov ecx, eax
call fcn.0041a444
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 0x446e90
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x446e66
mov ecx, edi
xor esi, esi
call fcn.0040425a
test eax, eax
jle 0x446e49
xor edi, edi
mov ecx, dword [ebp - 0x244]
call fcn.0040487d
mov ecx, dword [eax]
add ecx, edi
call fcn.0040a2c4
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x446e30
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x26c], eax
jne 0x446ecc
mov ecx, dword [ebp - 0x244]
inc esi
add edi, 0x18
call fcn.0040425a
cmp esi, eax
jl 0x446df8
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 0x446de9
mov esi, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x268]
call fcn.0044a386
test bl, bl
je 0x446e90
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov dword [ebp - 0x240], esi
cmp esi, 0xc9
jl 0x446db2
cmp dword [ebp - 0x258], 0
je 0x447016
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.00447276
jmp 0x446f8b
cmp dword [ebp - 0x264], 0
mov edi, dword [ebp - 0x244]
je 0x446ef9
mov ecx, edi
call fcn.0040487d
imul ecx, esi, 0x18
add ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.00404654
mov eax, dword [ebp - 0x234]
xor ecx, ecx
push eax
inc ecx
call fcn.0044a479
mov esi, eax
mov dword [ebp - 0x248], esi
test esi, esi
je 0x446e49
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, dword [ebp - 0x270]
je 0x446e49
lea eax, [ebp - 0x218]
mov bl, 1
push eax
push dword [ebp - 0x240]
push 0x4ca1e0
push 0
call fcn.00440e45
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.0044781b
jmp 0x446e49
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x254]
call fcn.00447168
lea ecx, [ebp - 0x240]
call fcn.00418c5e
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00447230
mov ecx, dword [ebp - 0x240]
cmp ecx, dword [eax]
jne 0x446f71
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 0x447007
mov ecx, dword [ecx]
call fcn.0044a386
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.00408b94
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0
call fcn.004471d1
movzx eax, bl
push eax
push str.TerminateProcess_Return_Value_bFoundAndTryKill_:__d
push 0
call fcn.00440dd5
add esp, 0xc
lea ecx, [ebp - 0x25c]
call fcn.004472be
test bl, bl
sete al
call fcn.0045ed73
ret