Function at 0x417fb4
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bdc8
mov eax, dword fs:[0]
push eax
mov eax, 0x144c
call fcn.0045ff20
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp esi, edi
jne 0x417ff6
or eax, 0xffffffff
jmp 0x41822e
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.0043e330
mov eax, esi
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x418019
sub eax, ecx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
push esi
lea eax, [ebp - 0x218]
jne 0x41803d
push 0x476c18
jmp 0x418042
push 0x476c20
push 0x103
push eax
call fcn.0043f583
or dword [ebp - 0x430], 0xffffffff
add esp, 0x10
lea eax, [ebp - 0x43c]
push eax
push 0x1000
lea eax, [ebp - 0x1458]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x417fee
mov esi, dword [ebp - 0x43c]
lea eax, [ebp - 0x454]
push eax
shr esi, 2
call fcn.0041862d
xor eax, eax
mov dword [ebp - 4], edi
push 0x208
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push edi
push eax
call fcn.0043e330
add esp, 0xc
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x42c], edi
cmp esi, edi
jbe 0x418174
mov eax, dword [ebp - 0x42c]
mov ebx, dword [ebp + eax*4 - 0x1458]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, ebx
je 0x418162
push ebx
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x438], ebx
cmp ebx, edi
je 0x418162
lea eax, [ebp - 0x458]
push eax
push 4
lea eax, [ebp - 0x434]
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41815b
push 0x104
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x434]
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x41815b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x454]
call fcn.00418694
jmp 0x418162
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x42c]
cmp dword [ebp - 0x42c], esi
jb 0x4180c1
mov ebx, dword [ebp - 0x444]
sub ebx, dword [ebp - 0x448]
sar ebx, 2
cmp ebx, edi
jbe 0x418211
xor ecx, ecx
push 4
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b123
pop ecx
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x4181f3
xor edi, edi
test ebx, ebx
jbe 0x4181cd
lea esi, [ebp - 0x454]
call fcn.0041867b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x42c]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, ebx
jb 0x4181b2
push 0x1388
push 1
push dword [ebp - 0x42c]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x42c]
mov dword [ebp - 0x430], eax
call fcn.0043e1e6
pop ecx
xor edi, edi
test ebx, ebx
jbe 0x418211
lea esi, [ebp - 0x454]
call fcn.0041867b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jb 0x4181f9
lea esi, [ebp - 0x454]
call fcn.004187c6
push dword [ebp - 0x454]
call fcn.0043b2ae
mov eax, dword [ebp - 0x430]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b2b9
leave
ret