Function at 0x1002b830
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, 0x10a92162
call fcn.1004081d
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0x1c
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x26], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x2a], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1002b9a1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jne 0x1002b8c9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1002b660
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x1c]
jne 0x1002b8e6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1002b660
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x20]
jne 0x1002b903
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1002b660
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x24]
jne 0x1002b920
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1002b660
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x28]
jne 0x1002b93d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1002b660
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x2c]
jne 0x1002b95a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [ebp - 8]
call fcn.1002b660
mov byte [ebp - 0x2a], al
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002b98c
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002b98c
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1002b98c
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1002b98c
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002b98c
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002b98c
jmp 0x1002b9a1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1002b8ac
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002b9db
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002b9db
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1002b9db
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1002b9db
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002b9db
movzx eax, byte [ebp - 0x2a]
test eax, eax
jne 0x1002b9e2
mov eax, dword [ebp - 8]
mov byte [eax + 0x30], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret