Function at 0x10001896
Capabilities:
Enumerate threads
Resolve function by parsing pe exports
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3005c
call fcn.1000d0d0
mov eax, dword [0x100122cc]
xor eax, esp
mov dword [esp + 0x30058], eax
mov eax, dword [0x10013164]
push ebx
mov ebx, ecx
cmp dword [ebx + 8], 0xffffffff
push esi
push edi
mov dword [esp + 0x18], eax
jne 0x10001907
push dword [ebx]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
jne 0x100018f1
xor eax, eax
mov ecx, dword [esp + 0x30064]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100042df
mov esp, ebp
pop ebp
ret
push dword [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x100018dc
push 6
pop ecx
xor eax, eax
push eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
push 4
mov dword [esp + 0x4c], 0x1c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
je 0x100018da
lea eax, [esp + 0x44]
push eax
push esi
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x10001945
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100018da
and dword [esp + 0x34], 0
xor eax, eax
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0xfffe
push esi
xor edi, edi
lea eax, [esp + 0x20065]
push edi
push eax
mov byte [esp + 0x28], 3
mov byte [esp + 0x2006c], 0
call fcn.10009fc0
push esi
lea eax, [esp + 0x10071]
push edi
push eax
mov byte [esp + 0x10078], 0
call fcn.10009fc0
push esi
lea eax, [esp + 0x7d]
push edi
push eax
mov dword [esp + 0x34], edi
mov byte [esp + 0x84], 0
call fcn.10009fc0
lea eax, [esp + 0x10084]
add esp, 0x24
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
cmp eax, dword [ebx]
jne 0x10001a09
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x3c], eax
call fcn.10001d70
cmp dword [esp + 0x28], 0xfff
pop ecx
pop ecx
jae 0x10001a1b
mov edi, dword [esp + 0xc]
add dword [esp + 0x10], 0x10
add dword [esp + 0xc], 0x10
inc dword [esp + 0x20]
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x18]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100019be
cmp dword [esp + 0x20], edi
je 0x10001ab3
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20060]
push eax
lea eax, [esp + 0x10064]
push esi
push eax
call fcn.10002191
add esp, 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x10001a52
xor ebx, ebx
jmp 0x10001a60
mov ecx, eax
and ecx, 7
je 0x10001a5e
sub eax, ecx
add eax, 8
mov ebx, eax
push ebx
lea eax, [esp + 0x20064]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.10002beb
push 6
pop ecx
mov dword [esp + 0x30], ebx
add ebx, 0x18
push ebx
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x2c]
lea esi, [esp + 0x34]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
call fcn.10002466
add esp, 0x18
test eax, eax
jne 0x10001ab3
xor esi, esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x100018dc
xor esi, esi
inc esi
jmp 0x10001aa2