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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x47b00c]
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 0x4132a4
cmp esi, 0xffffffff
je 0x4132aa
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.004131d0
test al, al
je 0x413364
inc ebx
cmp ebx, 0x1e
jge 0x4132aa
mov eax, dword [ebp - 0x24]
jmp 0x413250
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 0x4132cb
mov dword [ebp - 0x2c], 0xffffffff
xor bl, bl
jmp 0x4133cc
cmp eax, 0xffffffff
jne 0x4132d7
xor bl, bl
jmp 0x4133cc
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 0x413359
mov esi, dword [ebp - 0x2c]
nop dword [eax]
cmp dword [ebp - 0x14], ebx
jne 0x413347
push dword [ebp - 0x18]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
cmp edi, 0xffffffff
je 0x413324
test edi, edi
je 0x413324
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
test ebx, ebx
jne 0x41332f
or edi, 0xffffffff
jmp 0x413344
cmp ebx, 0xffffffff
je 0x413344
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 0x413300
mov esi, dword [ebp - 0x28]
mov ecx, ebx
call fcn.004131d0
test al, al
jne 0x413368
mov bl, 1
jmp 0x4133cc
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 0x41338d
test esi, esi
je 0x41338d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
test ebx, ebx
je 0x4133bc
cmp ebx, 0xffffffff
je 0x4133bf
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 0x4133bf
mov ebx, dword [ebp - 0x24]
jmp 0x413370
or esi, 0xffffffff
mov ecx, dword [ebp - 0x24]
call fcn.004131d0
test al, al
sete bl
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x4133df
test eax, eax
je 0x4133df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x4133f3
test edi, edi
je 0x4133f3
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x4133f9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x413405
test esi, esi
je 0x413405
push esi
call edi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430eab
mov esp, ebp
pop ebp
ret