Function at 0x42ec80
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f4b1
mov eax, dword fs:[0]
push eax
mov eax, 0x14cc
call fcn.00470d10
mov eax, dword [0x4c8a00]
xor eax, ebp
mov dword [ebp - 0x1010], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1050]
call fcn.00414890
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x102c]
call fcn.00414890
mov byte [ebp - 4], 1
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x1050]
call fcn.00423cf0
movzx edx, al
test edx, edx
je 0x42ed41
lea ecx, [ebp - 0x102c]
call fcn.00423cf0
movzx eax, al
test eax, eax
je 0x42ed41
mov ecx, dword [ebp - 0x1030]
mov dword [ebp - 0x1494], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x102c]
call fcn.004148d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1050]
call fcn.004148d0
mov eax, dword [ebp - 0x1494]
jmp 0x42f0c8
lea edx, [ebp - 0x1034]
push edx
push 0x1000
lea eax, [ebp - 0x100c]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x42ed95
mov ecx, dword [ebp - 0x1030]
mov dword [ebp - 0x1498], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x102c]
call fcn.004148d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1050]
call fcn.004148d0
mov eax, dword [ebp - 0x1498]
jmp 0x42f0c8
lea edx, [ebp - 0x1050]
push edx
call fcn.00439900
add esp, 4
lea eax, [ebp - 0x102c]
push eax
call fcn.00439900
add esp, 4
mov ecx, dword [ebp - 0x1034]
shr ecx, 2
mov dword [ebp - 0x1054], ecx
mov dword [ebp - 0x1058], 1
jmp 0x42eddd
mov edx, dword [ebp - 0x1058]
add edx, 1
mov dword [ebp - 0x1058], edx
mov eax, dword [ebp - 0x1058]
cmp eax, dword [ebp - 0x1054]
jae 0x42f095
mov ecx, dword [ebp - 0x1058]
cmp dword [ebp + ecx*4 - 0x100c], 0
je 0x42f090
mov edx, dword [0x4b56cc]
mov dword [ebp - 0x146c], edx
mov eax, dword [0x4b56d0]
mov dword [ebp - 0x1468], eax
mov ecx, dword [0x4b56d4]
mov dword [ebp - 0x1464], ecx
mov edx, dword [0x4b56d8]
mov dword [ebp - 0x1460], edx
mov eax, dword [0x4b56dc]
mov dword [ebp - 0x145c], eax
push 0x1f4
push 0
lea ecx, [ebp - 0x1458]
push ecx
call fcn.00470d40
add esp, 0xc
mov edx, dword [str._unknown_]
mov dword [ebp - 0x1264], edx
mov eax, dword [0x4b56e4]
mov dword [ebp - 0x1260], eax
mov ecx, dword [0x4b56e8]
mov dword [ebp - 0x125c], ecx
mov edx, dword [0x4b56ec]
mov dword [ebp - 0x1258], edx
mov eax, dword [0x4b56f0]
mov dword [ebp - 0x1254], eax
push 0x1f4
push 0
lea ecx, [ebp - 0x1250]
push ecx
call fcn.00470d40
add esp, 0xc
mov dword [ebp - 0x105c], 0
cmp dword [ebp + 0x10], 0
je 0x42eed6
mov edx, dword [ebp - 0x1058]
mov eax, dword [ebp + edx*4 - 0x100c]
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x105c], eax
jmp 0x42eef7
mov ecx, dword [ebp - 0x1058]
mov edx, dword [ebp + ecx*4 - 0x100c]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
je 0x42ef5e
lea eax, [ebp - 0x1490]
push eax
push 4
lea ecx, [ebp - 0x148c]
push ecx
mov edx, dword [ebp - 0x105c]
push edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x42ef5e
push 0x104
lea eax, [ebp - 0x146c]
push eax
mov ecx, dword [ebp - 0x148c]
push ecx
mov edx, dword [ebp - 0x105c]
push edx
call sub.PSAPI.DLL_GetModuleBaseNameW
push 0x104
lea eax, [ebp - 0x1264]
push eax
mov ecx, dword [ebp - 0x148c]
push ecx
mov edx, dword [ebp - 0x105c]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
lea ecx, [ebp - 0x1488]
call fcn.0041fd50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1050]
call fcn.00423cf0
movzx eax, al
test eax, eax
jne 0x42eff9
lea ecx, [ebp - 0x146c]
push ecx
push 0x4b56f4
lea edx, [ebp - 0x1488]
push edx
call fcn.00439a80
add esp, 0xc
lea eax, [ebp - 0x1488]
push eax
call fcn.00439900
add esp, 4
lea ecx, [ebp - 0x1050]
push ecx
lea edx, [ebp - 0x1488]
push edx
call fcn.0042f0f0
add esp, 8
movzx eax, al
test eax, eax
je 0x42eff9
mov dword [ebp - 0x1030], 1
cmp dword [ebp + 0x10], 0
je 0x42efe5
push 0
mov ecx, dword [ebp - 0x105c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1488]
call fcn.004148d0
jmp 0x42f095
lea ecx, [ebp - 0x102c]
call fcn.00423cf0
movzx edx, al
test edx, edx
jne 0x42f074
lea eax, [ebp - 0x1264]
push eax
push 0x4b56fc
lea ecx, [ebp - 0x1488]
push ecx
call fcn.00439a80
add esp, 0xc
lea edx, [ebp - 0x1488]
push edx
call fcn.00439900
add esp, 4
push 0
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1488]
push ecx
call fcn.0043a050
add esp, 0xc
cmp eax, dword [0x4ad11c]
je 0x42f074
mov dword [ebp - 0x1030], 1
cmp dword [ebp + 0x10], 0
je 0x42f074
push 0
mov edx, dword [ebp - 0x105c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x105c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1488]
call fcn.004148d0
jmp 0x42edce
mov ecx, dword [ebp - 0x1030]
mov dword [ebp - 0x149c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x102c]
call fcn.004148d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1050]
call fcn.004148d0
mov eax, dword [ebp - 0x149c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1010]
xor ecx, ebp
call fcn.0046c016
mov esp, ebp
pop ebp
ret