Function at 0x413220
Capabilities:
Enumerate threads
Suspend thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
or edi, 0xffffffff
mov eax, ecx
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 0x2c], edi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x413294
cmp esi, 0xffffffff
je 0x41329a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push 0x14
call dword [sym.imp.KERNEL32.dll_SleepEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
or esi, 0xffffffff
mov dword [ebp - 0x28], esi
call fcn.004131c0
test al, al
je 0x413354
inc ebx
cmp ebx, 0x1e
jge 0x41329a
mov eax, dword [ebp - 0x24]
jmp 0x413240
or esi, 0xffffffff
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp - 0x24]
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4132bb
mov dword [ebp - 0x2c], 0xffffffff
xor bl, bl
jmp 0x4133bc
cmp eax, 0xffffffff
jne 0x4132c7
xor bl, bl
jmp 0x4133bc
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x413349
mov esi, dword [ebp - 0x2c]
nop dword [eax]
cmp dword [ebp - 0x14], ebx
jne 0x413337
push dword [ebp - 0x18]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
cmp edi, 0xffffffff
je 0x413314
test edi, edi
je 0x413314
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
test ebx, ebx
jne 0x41331f
or edi, 0xffffffff
jmp 0x413334
cmp ebx, 0xffffffff
je 0x413334
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x4132f0
mov esi, dword [ebp - 0x28]
mov ecx, ebx
call fcn.004131c0
test al, al
jne 0x413358
mov bl, 1
jmp 0x4133bc
mov dword [ebp - 0x28], 0
nop
push ebx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp esi, 0xffffffff
je 0x41337d
test esi, esi
je 0x41337d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
test ebx, ebx
je 0x4133ac
cmp ebx, 0xffffffff
je 0x4133af
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push 0x14
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x1e
jge 0x4133af
mov ebx, dword [ebp - 0x24]
jmp 0x413360
or esi, 0xffffffff
mov ecx, dword [ebp - 0x24]
call fcn.004131c0
test al, al
sete bl
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x4133cf
test eax, eax
je 0x4133cf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x4133e3
test edi, edi
je 0x4133e3
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x4133e9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x4133f5
test esi, esi
je 0x4133f5
push esi
call edi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret