Function at 0x4a4a50
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56475d
mov eax, dword fs:[0]
push eax
mov eax, 0x16c0
call fcn.00484a20
mov eax, dword [0x5be984]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c0], eax
test esi, esi
jne 0x4a4a9a
or eax, 0xffffffff
jmp 0x4a4fc5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f0120
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4ab5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push esi
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x4a4ada
push 0x57483c
jmp 0x4a4adf
push 0x574844
push 0x103
push eax
call fcn.00421550
add esp, 0x10
mov dword [ebp - 0x1650], 0
xor eax, eax
mov dword [ebp - 0x164c], 7
lea ecx, [ebp - 0x218]
mov word [ebp - 0x1660], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4b13
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1660]
call fcn.004048f0
push 1
xor eax, eax
mov dword [ebp - 4], 0
push 0x57446c
lea ecx, [ebp - 0x1678]
mov dword [ebp - 0x1668], 0
mov dword [ebp - 0x1664], 7
mov word [ebp - 0x1678], ax
call fcn.004048f0
push 1
xor eax, eax
mov byte [ebp - 4], 1
push 0x574470
lea ecx, [ebp - 0x1648]
mov dword [ebp - 0x1638], 0
mov dword [ebp - 0x1634], 7
mov word [ebp - 0x1648], ax
call fcn.004048f0
lea eax, [ebp - 0x1678]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1648]
push eax
lea eax, [ebp - 0x1660]
push eax
call fcn.0049adb0
lea ecx, [ebp - 0x1660]
add esp, 0xc
cmp ecx, eax
je 0x4a4be2
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4a4bd3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x1660]
call fcn.004048f0
lea ecx, [ebp - 0x1648]
call fcn.004029d0
lea ecx, [ebp - 0x1678]
mov byte [ebp - 4], 0
call fcn.004029d0
or eax, 0xffffffff
mov dword [ebp - 0x16b4], eax
lea eax, [ebp - 0x16bc]
push eax
push 0x1000
lea eax, [ebp - 0x1630]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4a4c29
or ebx, 0xffffffff
jmp 0x4a4f87
push 0x20a
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.004f0120
add esp, 0xc
lea eax, [ebp - 0x630]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x1680], 0
lea ecx, [ebp - 0x630]
mov dword [ebp - 0x167c], 7
mov word [ebp - 0x1690], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4c80
sub ecx, edx
lea eax, [ebp - 0x630]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1690]
call fcn.004048f0
mov edi, dword [ebp - 0x16bc]
xor eax, eax
shr edi, 2
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x16c8], edi
mov dword [ebp - 0x163c], ebx
mov dword [ebp - 0x1638], esi
mov dword [ebp - 0x16b0], eax
mov dword [ebp - 0x1634], eax
push 0x20a
push eax
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 4
push eax
call fcn.004f0120
xor eax, eax
mov dword [ebp - 0x16b8], esi
add esp, 0xc
mov dword [ebp - 0x16ac], eax
test edi, edi
je 0x4a4e80
nop
push dword [ebp + eax*4 - 0x1630]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x16c4], edi
test edi, edi
je 0x4a4e61
lea eax, [ebp - 0x16cc]
push eax
push 4
lea eax, [ebp - 0x16b8]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4a4e5a
push 0x104
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x16b8]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
xor eax, eax
mov dword [ebp - 0x1668], 0
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x1664], 7
mov word [ebp - 0x1678], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4d80
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1678]
call fcn.004048f0
lea eax, [ebp - 0x1678]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x16a8]
push eax
call fcn.004996c0
push eax
push dword [ebp - 0x16c0]
mov byte [ebp - 4], 6
call fcn.00499560
add esp, 0x10
lea ecx, [ebp - 0x16a8]
mov bl, al
call fcn.004029d0
lea ecx, [ebp - 0x1678]
mov byte [ebp - 4], 4
call fcn.004029d0
test bl, bl
je 0x4a4e5a
cmp dword [ebp - 0x164c], 8
lea eax, [ebp - 0x1660]
cmovae eax, dword [ebp - 0x1660]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x4a4e5a
push 0x2711
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x16b0], esi
je 0x4a4e33
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x1638], esi
jmp 0x4a4e61
lea eax, [ebp - 0x16c4]
push eax
push esi
lea ecx, [ebp - 0x163c]
call fcn.00407a20
mov eax, dword [ebp - 0x1634]
mov esi, dword [ebp - 0x1638]
mov dword [ebp - 0x16b0], eax
jmp 0x4a4e61
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x16ac]
inc eax
mov dword [ebp - 0x16ac], eax
cmp eax, dword [ebp - 0x16c8]
jb 0x4a4d00
mov ebx, dword [ebp - 0x163c]
sub esi, ebx
sar esi, 2
test esi, esi
je 0x4a4f0e
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048460a
add esp, 4
mov dword [ebp - 0x16ac], eax
test eax, eax
je 0x4a4ef5
test esi, esi
je 0x4a4ed4
mov edi, ebx
mov ecx, eax
sub edi, eax
mov edx, esi
nop
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x4a4ec0
mov eax, dword [ebp - 0x16ac]
push dword [ebp + 0x10]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x16ac]
mov dword [ebp - 0x16b4], eax
call fcn.00484613
add esp, 4
xor edi, edi
test esi, esi
je 0x4a4f0e
nop dword [eax + eax]
push dword [ebx + edi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x4a4f00
test ebx, ebx
je 0x4a4f45
mov ecx, dword [ebp - 0x16b0]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4a4f3b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4fe1
push ecx
push ebx
call fcn.004845fc
add esp, 8
mov edx, dword [ebp - 0x167c]
cmp edx, 8
jb 0x4a4f81
mov ecx, dword [ebp - 0x1690]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4f77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4fe6
push edx
push ecx
call fcn.004845fc
add esp, 8
mov ebx, dword [ebp - 0x16b4]
mov edx, dword [ebp - 0x164c]
cmp edx, 8
jb 0x4a4fc3
mov ecx, dword [ebp - 0x1660]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4fb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4feb
push edx
push ecx
call fcn.004845fc
add esp, 8
mov eax, ebx
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.00484a0d
mov esp, ebp
pop ebp
ret
call fcn.004faed4
call fcn.004faed4
call fcn.004faed4
int3