Function at 0x45ec00
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1324
call fcn.0052ce20
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
test edi, edi
jne 0x45ec2a
xor eax, eax
jmp 0x45ee2b
test eax, eax
je 0x45ec23
xor ebx, ebx
mov esi, ebx
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x20], eax
test eax, eax
je 0x45ec5c
push ecx
push ecx
inc esi
lea edx, [edi + 0x10]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.0046e281
add esp, 0xc
mov dword [edi + 0xc], eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x45ee29
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 7
mov dword [esp + 0x20], eax
lea edi, [esp + 0x30]
pop ecx
xor eax, eax
mov dword [esp + 0xc], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x1c
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x45ed39
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x318]
mov dword [esp + 0x14], eax
mov edi, ebx
cmp edi, 0x80
jae 0x45ed31
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x38], eax
jne 0x45ed21
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x20]
je 0x45ed21
test eax, eax
je 0x45ed21
push eax
push ebx
push 0x4a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [esp + 0xc], eax
test eax, eax
je 0x45ed21
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x45ed06
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45ed21
mov eax, dword [esp + 0x14]
inc edi
mov ecx, eax
add eax, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x45ecbb
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0xc]
mov edi, ebx
test eax, eax
je 0x45ee1f
imul ecx, esi, 0x650
add ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
cmp esi, dword [esp + 0x28]
jae 0x45edf8
push 0x2cc
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.00544d60
add esp, 0xc
mov dword [esp + 0x48], 0x10007
lea eax, [esp + 0x48]
push eax
push dword [esp + edi*8 + 0x31c]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x45edeb
lea ecx, [esp + 0x718]
call fcn.00441a4e
lea edx, [esp + 0x48]
lea ecx, [esp + 0x718]
call fcn.0045e76a
mov eax, dword [esp + edi*8 + 0x31c]
inc dword [esp + 0x10]
mov dword [esp + 0x1328], eax
mov eax, dword [esp + 0x14]
mov esi, eax
add eax, 0x650
push ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x71c]
push ecx
push eax
lea edx, [esi + 0x10]
mov ecx, esi
call fcn.0046e281
mov dword [esi + 0xc], eax
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
inc edi
cmp edi, eax
jb 0x45ed55
test eax, eax
je 0x45ee1f
mov edi, dword [esp + 0xc]
push dword [esp + ebx*8 + 0x318]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esp + ebx*8 + 0x318]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, edi
jb 0x45ee00
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret