Function at 0x420d50
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
push ebx
push esi
push edi
lea edi, [ebp - 0x2d8]
mov ecx, 0xb3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x436038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 4], 0
mov ecx, 0x43c0b4
call fcn.00411b63
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x240], 0x22c
push 0
push 2
call fcn.0041149c
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00411a64
test eax, eax
je 0x420fe1
cmp dword [ebp - 0x258], 0
je 0x420fe1
mov dword [ebp - 0x264], 0
call fcn.00411a05
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x288], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x420e4d
mov dword [ebp - 0x44c], 0
jmp 0x420efd
mov esi, esp
mov ecx, dword [ebp - 0x27c]
push ecx
call dword [sym.imp.ucrtbased.dll_wcslen]
add esp, 4
cmp esi, esp
call fcn.00411848
add eax, 1
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0x3fffffff
jle 0x420e87
mov dword [ebp - 0x450], 0
jmp 0x420ef1
mov edx, dword [ebp - 0x264]
shl edx, 1
add edx, 0x24
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
call fcn.0041157d
mov dword [ebp - 0x458], esp
lea eax, [ebp - 0x2c4]
push eax
mov edx, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x458]
call fcn.0041194c
add dword [ebp - 0x458], 0x20
mov ecx, dword [ebp - 0x270]
push ecx
mov edx, dword [ebp - 0x264]
shl edx, 1
push edx
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.00411c12
mov dword [ebp - 0x450], eax
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00411267
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.00411b31
add esp, 8
movzx edx, al
test edx, edx
je 0x420fb8
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
je 0x420f40
movzx eax, byte [ebp + 0x2c]
test eax, eax
jne 0x420f53
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x420fb8
movzx eax, byte [ebp + 0x2c]
test eax, eax
jne 0x420fb8
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x228]
je 0x420fb8
mov esi, esp
mov eax, dword [ebp - 0x238]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.00411848
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
je 0x420fb8
mov esi, esp
push 1
mov eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, esp
call fcn.00411848
mov esi, esp
mov eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00411848
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00411537
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x2ac]
call fcn.004116d1
jmp 0x420df3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004116d1
push edx
mov ecx, ebp
push eax
lea edx, [0x42102c]
push dword [ebp - 0x2c4]
call fcn.00411b81
pop eax
pop edx
lea esp, [ebp - 0x468]
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.004114f6
mov esp, ebp
pop ebp
ret