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

Disassembly:
push 0xffffffffffffffff
push 0x45c819
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x47b5b0]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b5b0]
xor eax, esp
push eax
lea eax, [esp + 0x45c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x46c]
push eax
lea ecx, [esp + 0x18]
call fcn.00401860
xor ebx, ebx
mov dword [esp + 0x464], ebx
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
push 0x5c
push eax
call fcn.00432ad9
add esp, 8
cmp eax, ebx
jne 0x452d80
or eax, 0xffffffff
jmp 0x452d86
sub eax, dword [esp + 0x14]
sar eax, 1
sub esi, eax
dec esi
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004036d0
push 0x206
lea edx, [esp + 0x256]
xor ecx, ecx
push ebx
mov byte [esp + 0x46c], 1
push edx
mov word [esp + 0x25c], cx
call fcn.00434200
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
or esi, 0xffffffff
cmp ebp, esi
jne 0x452e22
mov byte [esp + 0x464], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x464], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x452e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x453024
push 0x22c
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00434200
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push ebp
mov dword [esp + 0x2c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x452e9d
mov byte [esp + 0x464], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452e72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x464], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x452e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x453024
call fcn.00414a0e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x452eb7
push 0x80004005
call fcn.00402190
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov byte [esp + 0x464], 2
cmp dword [esp + 0x18], ebx
setne cl
mov dword [esp + 0x20], ecx
lea esp, [esp]
lea eax, [esp + 0x48]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x452ee7
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x24]
call fcn.00401f90
cmp dword [esp + 0x20], ebx
je 0x452ead
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push eax
push edi
call fcn.00432a46
add esp, 8
cmp eax, ebx
jne 0x452f8f
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x452f8f
push 0x208
lea edx, [esp + 0x254]
push ebx
push edx
call fcn.00434200
add esp, 0xc
push 0x103
lea eax, [esp + 0x254]
push eax
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x452f8f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x250]
push ecx
push edx
call fcn.00432a46
add esp, 8
cmp eax, ebx
jne 0x452f8f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x24]
push eax
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x452ee0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [esp + 0x464], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452fcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x464], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452ff4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x464], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45301f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.00431fec
add esp, 0x454
ret 4