Function at 0x1400c23f0
Capabilities:
Enumerate threads

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x670], rbx
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov r14, rdx
mov ebx, ecx
mov dword [rsp + 0x38], ecx
mov rax, qword [rdx]
mov qword [rdx + 8], rax
mov edx, ecx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
xor edi, edi
test rax, rax
jne 0x1400c266a
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], di
lea r8d, [rax + 0x18]
lea rdx, [0x140157fc8]
lea rcx, [rbp - 0x50]
call fcn.140012d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9b, 1
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140058300
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400c24e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c24df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2f9e
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], di
lea rdx, str.GetThreadStats:___1_
lea rcx, [rbp + 0xd0]
call fcn.140008a10
nop
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
lea r15, [fcn.140005090]
mov qword [rsp + 0x48], r15
lea r12, [0x1400050b0]
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.1400c3050
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400c258d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2588
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fa4
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x58], rax
cmp byte [rbp + 0x1c0], 0
je 0x1400c25e2
mov rcx, qword [rbp + 0x1d0]
test rcx, rcx
je 0x1400c25db
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400c25db
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov byte [rbp + 0x1c0], 0
lea rcx, [rbp + 0x140]
call fcn.14000ab20
nop
lea rcx, [rbp + 0x118]
call fcn.1400122c0
nop
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x58], rax
lea rcx, [rbp + 0xe8]
call fcn.14000b3d0
nop
lea rcx, [rbp + 0xd0]
call fcn.14000b440
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c281d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2818
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2f92
jmp 0x1400c2818
movdqu xmmword [rbp - 0x6c], xmm0
mov qword [rbp - 0x5c], rdi
mov dword [rbp - 0x70], 0x1c
lea rdx, [rbp - 0x70]
mov rcx, r13
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x1400c2835
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], di
lea r8d, [rax + 0xd]
lea rdx, [0x140158030]
lea rcx, [rbp - 0x50]
call fcn.140012d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9b, 1
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140058300
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400c2716
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2711
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2faa
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], di
lea rdx, str.GetThreadStats:___1_
lea rcx, [rbp + 0x1e0]
call fcn.140008a10
nop
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
lea r15, [fcn.140005090]
mov qword [rsp + 0x48], r15
lea r12, [0x1400050b0]
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.1400c3050
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400c27bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c27ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fb0
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
lea rcx, [rbp + 0x1e0]
call fcn.14000ac40
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c281d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2818
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fb6
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
xor bl, bl
jmp 0x1400c2f51
lea r15, [fcn.140005090]
lea r12, [0x1400050b0]
cmp dword [rbp - 0x64], ebx
jne 0x1400c2f3b
mov r8d, dword [rbp - 0x68]
xor edx, edx
lea ecx, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x1400c2b92
lea rdx, str.OpenThread__1__
lea rcx, [rbp + 0xd0]
call fcn.140008a10
mov rbx, rax
lea r9d, [rsi + 0x30]
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
lea r8d, [rsi + 8]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x70]
call fcn.14006f920
nop
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r12
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140005380
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.140018cb0
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1400c290a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fbc
call fcn.1400bece8
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], di
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x30], rax
cmp byte [rbp + 0x1c0], 0
je 0x1400c2964
mov rcx, qword [rbp + 0x1d0]
test rcx, rcx
je 0x1400c295d
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400c295d
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov byte [rbp + 0x1c0], 0
lea rcx, [rbp + 0x140]
call fcn.14000ab20
nop
lea rcx, [rbp + 0x118]
call fcn.1400122c0
nop
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0xe8]
call fcn.14000b3d0
nop
lea rcx, [rbp + 0xd0]
call fcn.14000b440
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9b, 1
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140058300
nop
lea rdx, str.GetThreadStats:___1_
lea rcx, [rbp + 0x2f0]
call fcn.140008a10
nop
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r12
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp + 0x90]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.1400c32a0
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x1400c2a4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2a47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fc2
call fcn.1400bece8
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], di
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x30], rax
cmp byte [rbp + 0x3e0], 0
je 0x1400c2aa9
mov rcx, qword [rbp + 0x3f0]
test rcx, rcx
je 0x1400c2aa2
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400c2aa2
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov byte [rbp + 0x3e0], 0
lea rcx, [rbp + 0x360]
call fcn.14000ab20
nop
lea rcx, [rbp + 0x338]
call fcn.1400122c0
nop
lea rax, [rbp + 0x308]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x308]
call fcn.14000b3d0
nop
lea rcx, [rbp + 0x2f0]
call fcn.14000b440
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1400c2b29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2b24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fc8
call fcn.1400bece8
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x1400c2b79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2b74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fce
call fcn.1400bece8
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
mov ebx, dword [rsp + 0x38]
jmp 0x1400c2f3b
mov qword [rsp + 0x44], rdi
mov qword [rsp + 0x4c], rdi
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetThreadTimes]
test eax, eax
jne 0x1400c2ef0
lea rdx, str.GetThreadTimes__1__
lea rcx, [rbp + 0x400]
call fcn.140008a10
mov rbx, rax
mov r9d, 0x30
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
lea r8d, [r9 - 0x28]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xb0]
call fcn.14006f920
nop
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r12
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.140018cb0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x1400c2c71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fd4
call fcn.1400bece8
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], di
lea rax, [rbp + 0x4f0]
mov qword [rsp + 0x30], rax
cmp byte [rbp + 0x4f0], 0
je 0x1400c2cce
mov rcx, qword [rbp + 0x500]
test rcx, rcx
je 0x1400c2cc7
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400c2cc7
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov byte [rbp + 0x4f0], 0
lea rcx, [rbp + 0x470]
call fcn.14000ab20
nop
lea rcx, [rbp + 0x448]
call fcn.1400122c0
nop
lea rax, [rbp + 0x418]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x418]
call fcn.14000b3d0
nop
lea rcx, [rbp + 0x400]
call fcn.14000b440
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9b, 1
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x50]
call fcn.140058300
nop
lea rdx, str.GetThreadStats:___1_
lea rcx, [rbp + 0x1e0]
call fcn.140008a10
nop
lea rcx, [rbp + 0x50]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r12
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.1400c32a0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400c2dad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2da8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2fda
call fcn.1400bece8
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x30], rax
cmp byte [rbp + 0x2d0], 0
je 0x1400c2e01
mov rcx, qword [rbp + 0x2e0]
test rcx, rcx
je 0x1400c2dfa
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400c2dfa
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov byte [rbp + 0x2d0], 0
lea rcx, [rbp + 0x250]
call fcn.14000ab20
nop
lea rcx, [rbp + 0x228]
call fcn.1400122c0
nop
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x1f8]
call fcn.14000b3d0
nop
lea rcx, [rbp + 0x1e0]
call fcn.14000b440
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x1400c2e81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2e7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2f8c
call fcn.1400bece8
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c2ed1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2ecc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2f98
call fcn.1400bece8
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x38]
jmp 0x1400c2f3b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x44], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4c], rax
mov rdx, qword [r14 + 8]
cmp qword [r14 + 0x10], rdx
je 0x1400c2f24
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov eax, dword [rsp + 0x50]
mov dword [rdx + 0x10], eax
add qword [r14 + 8], 0x14
jmp 0x1400c2f32
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.1400c0090
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x70]
mov rcx, r13
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1400c2843
mov bl, 1
test r13, r13
je 0x1400c2f5f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.1400bf400
mov rbx, qword [rsp + 0x670]
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3