Function at 0x40270f
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
mov eax, 0x41ffa0
call fcn.0041fac0
mov eax, 0x143c
call fcn.0041fa70
mov edx, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp edx, esi
je 0x40291f
cmp word [edx], si
je 0x40291f
cmp dword [ebp + 0xc], esi
je 0x40291f
cmp dword [ebp + 0x10], esi
je 0x40291f
cmp dword [ebp + 0x14], esi
je 0x40291f
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x446]
mov word [ebp - 0x448], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4262f4
lea eax, [ebp - 0x448]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1448]
push 0x1000
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40291f
mov edx, dword [ebp - 0x30]
mov al, byte [ebp + 0x17]
shr edx, 2
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push esi
mov ecx, 0x82
pop eax
lea edi, [ebp - 0x23e]
mov word [ebp - 0x240], si
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esi
je 0x40290e
lea eax, [ebp - 0x1448]
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
push dword [eax]
push esi
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x40289c
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x1c]
push 4
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x402893
lea eax, [ebp - 0x240]
push 0x104
push eax
push dword [ebp - 0x1c]
push dword [ebp + 8]
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x402893
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edi, edi
cmp dword [ebp + 0x14], esi
mov ebx, eax
jle 0x40289c
mov esi, dword [ebp + 0x10]
push dword [esi]
push ebx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x40287a
inc edi
add esi, 4
cmp edi, dword [ebp + 0x14]
jl 0x40285e
xor esi, esi
jmp 0x40289c
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00416efb
jmp 0x402876
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [ebp - 0x10], 4
dec dword [ebp - 0x14]
jne 0x4027e6
cmp dword [ebp - 0x28], esi
pop ebx
je 0x40290e
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x28]
sar esi, 2
je 0x40290e
mov eax, esi
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
test edi, edi
je 0x4028f7
xor eax, eax
test esi, esi
jbe 0x4028e0
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + eax*4]
mov dword [edi + eax*4], ecx
inc eax
cmp eax, esi
jb 0x4028d2
push dword [ebp + 0xc]
push 1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041fa48
pop ecx
xor edi, edi
test esi, esi
jbe 0x40290e
mov eax, dword [ebp - 0x28]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x4028fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041941d
mov eax, dword [ebp - 0x18]
jmp 0x402922
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret