Function at 0x100074e0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 0x1c
call fcn.1000d86c
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
jne 0x1000754b
mov eax, 1
jmp 0x10007771
mov dword [ebp - 0x24], esp
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10007574
push 6
call fcn.1000d87e
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000758b
mov eax, 0
jmp 0x10007771
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0x1c
mov dword [ebp - 0x24], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_Thread32First]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x100075bf
push 6
call fcn.1000d87e
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x100075e1
push 6
call fcn.1000d87e
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x10007747
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], eax
jne 0x1000771a
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000763c
push 6
call fcn.1000d87e
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x1000771a
mov dword [ebp - 0x24], esp
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push 9
push dword [ebp - 0x14]
call dword [0x10012c56]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10007685
push 6
call fcn.1000d87e
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x100076b9
mov dword [ebp - 0x24], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x100076b4
push 6
call fcn.1000d87e
add esp, 4
jmp 0x1000771a
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x1c], eax
jne 0x100076f8
cmp dword [ebp + 0xc], 0
jne 0x100076dc
push 0
push dword [ebp - 0x14]
call fcn.10007785
cmp dword [ebp + 0xc], 1
jne 0x100076e6
cmp dword [ebp + 0xc], 2
jne 0x100076f0
inc dword [ebp - 0x20]
jmp 0x1000771a
mov dword [ebp - 0x24], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000771a
push 6
call fcn.1000d87e
add esp, 4
mov dword [ebp - 0x24], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000773f
push 6
call fcn.1000d87e
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x100075e4
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10007769
push 6
call fcn.1000d87e
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x10007771
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.1000d872
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc