Function at 0x1002327d
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x1c
call fcn.1007bacd
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], esp
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100232d3
push 6
call fcn.1007bad9
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x100235b4
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x1c
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_Thread32First]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10023314
push 6
call fcn.1007bad9
add esp, 4
test eax, eax
je 0x10023592
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1002333c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10023338
imul eax, dword [ebx]
jmp 0x1002332d
mov ecx, eax
test ecx, ecx
je 0x1002336b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002335a
push ebx
call fcn.1007bad3
add esp, 4
pop ebx
call fcn.1007bad3
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10023342
call fcn.1007bad3
add esp, 4
mov eax, 0x1009c2c5
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp + 8], 0
jne 0x1002346d
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.100235d7
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push 4
mov eax, 2
call fcn.1007bf40
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
call fcn.100011c7
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x18]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x100233e1
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x18]
call fcn.1007baeb
add esp, 8
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
push edi
push eax
push 0x10
call fcn.1007bacd
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1002343f
push eax
mov ebx, eax
call fcn.10001100
inc eax
push eax
call fcn.1007bacd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002345f
push ebx
call fcn.1007bad3
add esp, 4
pop ebx
call fcn.1007bad3
add esp, 4
jmp 0x10023565
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], eax
jne 0x10023565
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.100235d7
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push 4
mov eax, 2
call fcn.1007bf40
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
call fcn.100011c7
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x18]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x100234de
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x18]
call fcn.1007baeb
add esp, 8
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
push edi
push eax
push 0x10
call fcn.1007bacd
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x1002353c
push eax
mov ebx, eax
call fcn.10001100
inc eax
push eax
call fcn.1007bacd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002355c
push ebx
call fcn.1007bad3
add esp, 4
pop ebx
call fcn.1007bad3
add esp, 4
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1002358a
push 6
call fcn.1007bad9
add esp, 4
test eax, eax
jne 0x1002337d
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100235b4
push 6
call fcn.1007bad9
add esp, 4
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.10003314
jmp 0x100235c3
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.1007bad3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc