Function at 0x14002b510
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov r12, rcx
mov qword [rbp - 1], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
xor esi, esi
mov qword [rbp - 9], rsi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 1], rax
test rax, rax
setg r13b
mov byte [rbp - 0x49], r13b
xorps xmm0, xmm0
test rax, rax
jg 0x14002b61e
mov rax, qword [rbp - 0x19]
mov qword [r14], rax
mov rax, qword [rbp - 0x11]
mov qword [r14 + 8], rax
mov rax, qword [rbp - 9]
mov qword [r14 + 0x10], rax
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
test r13b, r13b
je 0x14002b5b9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x14002b7cd
mov rdi, qword [rbp - 0x11]
cmp rbx, rdi
je 0x14002b5e5
nop
mov rcx, rbx
call fcn.1400035e0
add rbx, 0x10
cmp rbx, rdi
jne 0x14002b5d0
mov rbx, qword [rbp - 0x19]
mov rdx, qword [rbp - 9]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002b7c5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b803
jmp 0x14002b7c5
movdqu xmmword [rbp + 0xb], xmm0
mov qword [rbp + 0x1b], rsi
mov dword [rbp + 7], 0x1c
lea rdx, [rbp + 7]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14002b740
lea r13, vtable.std::_Ref_count_obj_class_blackbone::Thread_.0
nop word [rax + rax]
mov rdi, qword [r12]
mov eax, dword [rdi + 8]
cmp dword [rbp + 0x13], eax
jne 0x14002b724
mov qword [rbp - 0x29], rdi
mov ecx, 0x28
call fcn.14004625c
mov rsi, rax
mov qword [rbp - 0x21], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r13
lea r15, [rax + 0x10]
mov r8d, dword [rbp + 0xf]
mov qword [r15], rdi
mov dword [r15 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r15 + 0x10], rax
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], rsi
mov rdx, qword [rbp - 0x11]
cmp qword [rbp - 9], rdx
je 0x14002b6d5
mov qword [rdx], 0
mov qword [rdx], r15
mov qword [rdx + 8], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
add qword [rbp - 0x11], 0x10
jmp 0x14002b6e3
lea r8, [rbp - 0x41]
lea rcx, [rbp - 0x19]
call fcn.14002ba90
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14002b724
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002b720
mov rbx, qword [rbp - 0x39]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002b720
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 1]
lea rdx, [rbp + 7]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14002b650
movzx r13d, byte [rbp - 0x49]
xor esi, esi
mov rax, qword [rbp - 0x19]
mov qword [r14], rax
mov rax, qword [rbp - 0x11]
mov qword [r14 + 8], rax
mov rax, qword [rbp - 9]
mov qword [r14 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
test r13b, r13b
je 0x14002b772
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x14002b7cd
mov rdi, qword [rbp - 0x11]
cmp rbx, rdi
je 0x14002b799
mov rcx, rbx
call fcn.1400035e0
add rbx, 0x10
cmp rbx, rdi
jne 0x14002b784
mov rbx, qword [rbp - 0x19]
mov rdx, qword [rbp - 9]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002b7c5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b7fd
mov rcx, rbx
call fcn.14004654c
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140045ef0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004cff4
int3
call fcn.14004cff4
int3