Function at 0x10104970
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154bc0
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0
push 4
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x101049c2
call esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
cmp ebx, 0xffffffff
jne 0x101049f4
push 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.101157fb
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
jmp 0x10104beb
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1c
xorps xmm0, xmm0
push eax
push ebx
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x10104a95
call esi
push str.get_process_tids
mov edx, 4
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0xec]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
mov al, byte [esi + 0x48]
test al, al
je 0x10104a63
mov edx, str.Thread32First_err
mov ecx, esi
call fcn.100205a0
mov al, byte [esi + 0x48]
test al, al
je 0x10104a63
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.100201d0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0
call fcn.1000ad70
push 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.101157fb
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
jmp 0x10104be4
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.101157fb
mov esi, eax
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], eax
jne 0x10104b0d
cmp dword [ebp - 0x14], 0x15555555
je 0x10104c09
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
push 0xc
mov dword [ebp - 0x40], 0
call fcn.101157fb
mov ecx, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 2
mov dword [eax + 8], ecx
inc dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x10104b83
nop dword [eax]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x2c], eax
jne 0x10104b74
cmp dword [ebp - 0x14], 0x15555555
mov esi, dword [ebp - 0x18]
je 0x10104c09
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
push 0xc
mov dword [ebp - 0x40], 0
call fcn.101157fb
mov ecx, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], 0
mov dword [eax + 8], ecx
inc dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10104b20
push 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.101157fb
mov esi, eax
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
mov ecx, dword [ebp - 0x18]
mov dword [edi], ecx
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [edi + 4], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [esi + 4]
mov dword [eax], 0
mov eax, dword [esi]
test eax, eax
je 0x10104bd7
mov esi, dword [eax]
push 0xc
push eax
call fcn.101157ed
add esp, 8
mov eax, esi
test esi, esi
jne 0x10104bc4
push 0xc
push dword [ebp - 0x18]
call fcn.101157ed
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.10111d8d
int3