Function at 0x4a62c0
Capabilities:
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x6218c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x438], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0xffffffff
jne 0x4a631a
push 0x494da0
push 0x5cc914
push 0x62d300
call fcn.00493d90
add esp, 8
mov ecx, eax
call fcn.00495590
xor al, al
jmp 0x4a658c
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x448]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4a657d
mov edx, dword [ebp - 0x430]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x4a6562
mov dword [ebp - 0x440], 0x400
xor ecx, ecx
mov eax, dword [ebp - 0x440]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005702e7
add esp, 4
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x450], 0
lea ecx, [ebp - 0x454]
push ecx
mov edx, dword [ebp - 0x440]
shl edx, 2
push edx
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x4a6484
mov dword [ebp - 0x44c], 0
jmp 0x4a63e8
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp - 0x454]
shr eax, 2
cmp dword [ebp - 0x44c], eax
jae 0x4a647f
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x43c]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x4a647a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0058c9b4
add esp, 8
test eax, eax
jne 0x4a647a
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x4a6459
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4a647a
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4a658c
jmp 0x4a63d9
jmp 0x4a6511
mov eax, dword [ebp - 0x440]
shl eax, 2
cmp dword [ebp - 0x454], eax
jae 0x4a6511
cmp dword [ebp - 0x43c], 0
je 0x4a6502
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x45c]
push edx
call fcn.005702f0
add esp, 4
mov dword [ebp - 0x43c], 0
mov eax, dword [ebp - 0x440]
shl eax, 1
mov dword [ebp - 0x440], eax
xor ecx, ecx
mov eax, dword [ebp - 0x440]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005702e7
add esp, 4
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x450]
add ecx, 1
mov dword [ebp - 0x450], ecx
cmp dword [ebp - 0x450], 0
je 0x4a6527
cmp dword [ebp - 0x450], 4
jl 0x4a63a1
cmp dword [ebp - 0x43c], 0
je 0x4a6555
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x464], edx
mov eax, dword [ebp - 0x464]
push eax
call fcn.005702f0
add esp, 4
mov dword [ebp - 0x43c], 0
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x448]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a6335
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret