Function at 0x41a820
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x53c9e8
push 0x4c7080
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a38
call fcn.0049a0d0
mov eax, dword [0x5473d8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x2a44], edi
test edi, edi
je 0x41aad3
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41a875
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x2a4c], esi
cmp esi, 4
jl 0x41aad3
cmp esi, 0x104
jg 0x41aad3
mov dword [ebp - 4], 0
call fcn.0041ab00
mov dword [ebp - 4], 0xfffffffe
jmp 0x41a8d0
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.004c5380
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.004c5380
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x41a92b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41aad3
push 0x104
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.004d0fac
lea eax, [ebp - 0x224]
push eax
call fcn.004d21f3
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2a48], eax
or edi, 0xffffffff
xorps xmm0, xmm0
movups xmmword [ebp - 0x2a40], xmm0
movq qword [ebp - 0x2a30], xmm0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2a4c], eax
test eax, eax
jne 0x41a990
or eax, 0xffffffff
mov dword [ebp - 0x2a44], eax
jmp 0x41aa2e
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2a44], eax
test eax, eax
jne 0x41a9bd
push dword [ebp - 0x2a4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
mov dword [ebp - 0x2a44], eax
jmp 0x41aa2e
push dword [ebp - 0x2a48]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2a50], eax
test eax, eax
jne 0x41a9f1
push dword [ebp - 0x2a4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
mov dword [ebp - 0x2a44], eax
jmp 0x41aa2e
push 0
push 0x18
lea ecx, [ebp - 0x2a40]
push ecx
push 0
push eax
call dword [ebp - 0x2a44]
test eax, eax
cmove edi, dword [ebp - 0x2a2c]
mov dword [ebp - 0x2a44], edi
push dword [ebp - 0x2a50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2a4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x41aad3
mov edx, dword [ebp - 0x2a48]
mov ecx, dword [ebp + edi*4 - 0x2a24]
cmp edx, ecx
je 0x41aac0
cmp eax, ecx
je 0x41aac0
push ecx
lea edx, [ebp - 0xa24]
call fcn.0041ad30
add esp, 4
test eax, eax
je 0x41aaba
lea eax, [ebp - 0xa24]
push eax
call fcn.004d21f3
push esi
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004d2881
add esp, 0x10
test eax, eax
jne 0x41aaba
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2a50], eax
test eax, eax
je 0x41aaba
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x2a50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2a48]
inc edi
cmp edi, dword [ebp - 0x2a28]
mov eax, dword [ebp - 0x2a44]
jb 0x41aa42
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00499723
mov esp, ebp
pop ebp
ret