Function at 0x14009e320
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 [0x14024a650]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov qword [rbp - 0x50], rdx
mov r12, rcx
mov qword [rbp - 0x30], rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
xor r13d, r13d
mov qword [rbp - 0x38], r13
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 0x30], rax
test rax, rax
jg 0x14009e3a0
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], r8
jmp 0x14009e530
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x24], xmm0
mov qword [rbp - 0x14], r13
mov dword [rbp - 0x28], Ordinal_33
lea rdx, [rbp - 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14009e4bc
lea r14, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
nop
mov rsi, qword [r12]
mov eax, dword [rsi + 8]
cmp dword [rbp - 0x1c], eax
jne 0x14009e4a3
mov ecx, Ordinal_41
call fcn.14010ccc0
mov rdi, 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], r14
lea r15, [rax + 0x10]
mov r8d, dword [rbp - 0x20]
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 - 0x60], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], rdi
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x14009e454
mov qword [rdx], r15
mov qword [rdx + 8], rdi
movdqu xmmword [rbp - 0x60], xmm0
add qword [rbp - 0x40], 0x10
jmp 0x14009e462
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.140085450
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14009e4a3
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009e49f
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 0x14009e49f
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14009e3d0
mov r14, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x38], r13
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x40], r13
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x48], r13
mov qword [r14], rax
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14009e530
mov rdx, qword [rbp - 0x40]
call fcn.1400857d0
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x48]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e52b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e560
call fcn.14010d01c
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14010cca0
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.140114790
int3