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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1324
call fcn.0053c780
push ebx
push esi
mov esi, ecx
mov eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
push edi
test esi, esi
je 0x46330a
test eax, eax
je 0x46330a
xor edi, edi
mov ebx, edi
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x20], eax
test eax, eax
je 0x463126
push ecx
push ecx
inc ebx
lea edx, [esi + 0x10]
push edi
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.0046ff8b
add esp, 0xc
mov dword [esi + 0xc], eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x46313f
mov eax, ebx
jmp 0x46330c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x30], xmm0
push eax
push dword [esp + 0x1c]
mov esi, edi
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x14], esi
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x34], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x463210
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x318]
mov dword [esp + 0xc], eax
cmp esi, 0x80
jae 0x463208
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x38], eax
jne 0x4631f8
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x20]
je 0x4631f8
test eax, eax
je 0x4631f8
push eax
push edi
push 0x4a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4631f8
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4631dd
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4631f8
mov eax, dword [esp + 0xc]
inc esi
mov ecx, eax
add eax, 8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x463192
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
mov esi, edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x4632fb
imul ecx, ebx, 0x650
add ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
cmp ebx, dword [esp + 0x28]
jae 0x4632d4
push 0x2c8
lea eax, [esp + 0x50]
push edi
push eax
call fcn.005530b0
add esp, 0xc
mov dword [esp + 0x48], 0x10007
lea eax, [esp + 0x48]
push eax
push dword [esp + esi*8 + 0x31c]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4632c3
lea ecx, [esp + 0x718]
call fcn.0044694e
lea edx, [esp + 0x48]
lea ecx, [esp + 0x718]
call fcn.00462c41
mov eax, dword [esp + esi*8 + 0x31c]
inc ebx
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.0046ff8b
mov dword [esi + 0xc], eax
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
inc esi
mov dword [esp + 0x10], esi
cmp esi, eax
jb 0x463230
test eax, eax
je 0x4632fb
mov esi, dword [esp + 0xc]
push dword [esp + edi*8 + 0x318]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esp + edi*8 + 0x318]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x4632dc
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x463138
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret