Function at 0x4ddc1c
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x565bca
call fcn.00514868
sub esp, 0x338
push ebx
push esi
xor esi, esi
xor bh, bh
push edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0xd], bh
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push 2
mov dword [ebp - 0x18], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x4ddfaf
push 0x22c
lea eax, [ebp - 0x344]
push esi
push eax
call fcn.0052c4e0
add esp, 0xc
mov dword [ebp - 0x344], 0x22c
lea ecx, [ebp - 0xb8]
push 3
call fcn.00492f39
and dword [ebp - 4], esi
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00494022
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push eax
call fcn.00490e1d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
push esi
push 1
call fcn.00401fa5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00492fd6
lea eax, [ebp - 0x344]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4ddf6e
push 0
push 0xfde9
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004911c5
mov byte [ebp - 4], 5
or esi, 1
mov dword [ebp - 0x14], esi
cmp dword [eax + 0x14], 8
jb 0x4ddcf7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.0053f3a1
pop ecx
pop ecx
test eax, eax
jne 0x4ddd19
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x33c], eax
je 0x4ddd19
xor bl, bl
jmp 0x4ddd1b
mov bl, 1
mov dword [ebp - 4], 4
and esi, 0xfffffffe
push 0
push 1
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x14], esi
call fcn.00401ffa
test bl, bl
jne 0x4ddf61
cmp byte [ebp - 0xd], bl
jne 0x4dde39
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4ddd54
lea eax, [ebp - 0x34]
push dword [ebp - 0x33c]
push eax
lea eax, [ebp - 0x7c]
push 0x5e9b6c
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 6
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4ddd7c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x64]
push 0x5e9b98
push eax
call fcn.00490eb7
add esp, 0xc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x100]
push 0
push 0xfde9
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 0xd], 1
call fcn.004911c5
mov esi, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0xe8]
push 0
push 0xfde9
push eax
lea ecx, [ebp - 0x7c]
call fcn.004911c5
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 8
jb 0x4dddd4
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4ddddc
mov eax, dword [eax]
push 0x34
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0xe8]
call fcn.00401ffa
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
push 0
push 1
call fcn.00401ffa
cmp esi, 6
jne 0x4ddf78
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
push 0
push 1
call fcn.00401fa5
push dword [ebp - 0x33c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4ddf5e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4dde76
push 0x7530
push esi
mov bh, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4ddf57
push dword [ebp - 0x33c]
lea eax, [ebp - 0x4c]
push 0x5e9ba8
push eax
call fcn.00490eb7
add esp, 0xc
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4dde9d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push 0x5e9bc4
push eax
call fcn.00490eb7
add esp, 0xc
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xac]
push 0
push 0xfde9
push eax
lea ecx, [ebp - 0x94]
call fcn.004911c5
mov edi, eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x118]
push 0
push 0xfde9
push eax
lea ecx, [ebp - 0x4c]
call fcn.004911c5
mov byte [ebp - 4], 0x15
cmp dword [edi + 0x14], 8
jb 0x4ddef7
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x4ddeff
mov eax, dword [eax]
push 0x34
push edi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x118]
push 0
push 1
call fcn.00401ffa
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xac]
push 0
push 1
call fcn.00401ffa
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x94]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.00401fa5
mov edi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x344]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ddccf
jmp 0x4ddf98
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
push 0
push 1
call fcn.00401fa5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
mov al, bh
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret