Function at 0x140032400
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400c50b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rdx
mov qword [rbp - 0x50], rdx
mov r13, rcx
mov qword [rbp - 0x30], rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
xor edi, edi
mov qword [rbp - 0x38], rdi
xor edx, edx
lea ecx, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 0x30], rax
test rax, rax
jg 0x140032482
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
mov qword [r12], rax
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rdx
jmp 0x140032629
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x24], xmm0
mov qword [rbp - 0x14], rdi
mov dword [rbp - 0x28], 0x1c
lea rdx, [rbp - 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14003259e
lea r12, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov r14, qword [r13]
mov eax, dword [r14 + 8]
cmp dword [rbp - 0x1c], eax
jne 0x140032585
mov ecx, 0x28
call fcn.140068fd8
mov rsi, rax
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
lea r15, [rax + 0x10]
mov r8d, dword [rbp - 0x20]
mov qword [r15], r14
mov dword [r15 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], rsi
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x140032536
mov qword [rdx], r15
mov qword [rdx + 8], rsi
movdqu xmmword [rbp - 0x60], xmm0
add qword [rbp - 0x40], 0x10
jmp 0x140032544
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.1400328c0
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140032585
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140032581
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140032581
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400324b1
mov r12, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x38], rdi
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x40], rdi
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x48], rdi
mov qword [r12], rax
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rdx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x140032629
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x1400325f5
mov rcx, rbx
call fcn.140032b30
add rbx, 0x10
cmp rbx, rdi
jne 0x1400325e0
mov rbx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140032621
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032659
mov rcx, rbx
call fcn.140068fd0
mov rax, r12
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140068fb0
lea r11, [rsp + 0x80]
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.140077970
int3