Function at 0x140033580
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rdx
mov qword [rbp - 0x29], rdx
mov r13, rcx
mov qword [rbp + 7], rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
xor edi, edi
mov qword [rbp - 1], rdi
xor edx, edx
lea ecx, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp + 7], rax
xorps xmm0, xmm0
test rax, rax
jg 0x1400336b0
mov rax, qword [rbp - 0x11]
mov qword [r12], rax
mov rax, qword [rbp - 9]
mov qword [r12 + 8], rax
mov rax, qword [rbp - 1]
mov qword [r12 + 0x10], rax
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rdi
movq rbx, xmm0
test rbx, rbx
je 0x140033680
mov rsi, qword [rbp - 9]
cmp rbx, rsi
je 0x140033649
nop dword [rax]
mov rcx, rbx
call fcn.140033de0
add rbx, 0x10
cmp rbx, rsi
jne 0x140033630
mov rdi, qword [rbp - 1]
mov rbx, qword [rbp - 0x11]
sub rdi, rbx
and rdi, 0xfffffffffffffff0
mov rax, rbx
cmp rdi, 0x1000
jb 0x140033675
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003385f
mov rdx, rdi
mov rcx, rbx
call fcn.14006bb24
mov rax, r12
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006bb00
lea r11, [rsp + 0x90]
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
movdqu xmmword [rbp + 0x13], xmm0
mov qword [rbp + 0x23], rdi
mov dword [rbp + 0xf], 0x1c
lea rdx, [rbp + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400337d0
lea r12, vtable.std::_Ref_count_obj_class_blackbone::Thread_.0
nop dword [rax]
mov rsi, qword [r13]
mov eax, dword [rsi + 8]
cmp dword [rbp + 0x1b], eax
jne 0x1400337b7
mov qword [rbp - 0x19], rsi
mov ecx, 0x28
call fcn.14006bb2c
mov r14, rax
mov qword [rbp - 0x39], 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 + 0x17]
mov qword [r15], rsi
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 - 0x39], xmm0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r14
mov rdx, qword [rbp - 9]
cmp rdx, qword [rbp - 1]
je 0x140033768
mov qword [rdx], r15
mov qword [rdx + 8], r14
movdqu xmmword [rbp - 0x39], xmm0
add qword [rbp - 9], 0x10
jmp 0x140033776
lea r8, [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.140033b80
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400337b7
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400337b3
mov rbx, qword [rbp - 0x31]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400337b3
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 7]
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400336e0
mov r12, qword [rbp - 0x29]
mov rax, qword [rbp - 0x11]
mov qword [r12], rax
mov rax, qword [rbp - 9]
mov qword [r12 + 8], rax
mov rax, qword [rbp - 1]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rbx, qword [rbp - 0x11]
test rbx, rbx
je 0x140033680
mov rdi, qword [rbp - 9]
cmp rbx, rdi
je 0x14003382b
mov rcx, rbx
call fcn.140033de0
add rbx, 0x10
cmp rbx, rdi
jne 0x140033816
mov rbx, qword [rbp - 0x11]
mov rdx, qword [rbp - 1]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140033678
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140033678
call fcn.140095014
int3