Function at 0x140035350
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400fc100]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
lea rdx, [0x1400e3ce0]
mov rcx, r14
call fcn.140001780
nop
mov r12d, 1
mov dword [rsp + 0x20], r12d
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
jg 0x1400353e1
jmp 0x140035580
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x48], Ordinal_35
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140035576
lea rsi, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov r13, qword [rdi]
mov eax, dword [r13 + 8]
cmp dword [rsp + 0x54], eax
jne 0x140035560
mov ecx, Ordinal_41
call fcn.14008e988
mov r15, rax
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.14000b7b0
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov dword [r15 + 8], 1
mov dword [r15 + 0xc], 1
mov qword [r15], rsi
mov rcx, rax
call fcn.14000b7b0
mov rsi, rax
lea rbp, [r15 + 0x10]
call fcn.140001160
test al, al
je 0x1400354b3
mov rcx, rsi
call fcn.14000b7b0
mov rdi, rax
mov rdx, rbp
mov ecx, Ordinal_27
call fcn.140001150
mov rsi, rax
mov rcx, rdi
call fcn.14000b7b0
mov r8d, dword [rax]
mov qword [rsi], r13
mov dword [rsi + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsi + 0x10], rax
jmp 0x1400354e6
mov rdx, rbp
mov ecx, Ordinal_27
call fcn.140001150
mov rdi, rax
mov rcx, rsi
call fcn.14000b7b0
mov r8d, dword [rax]
mov qword [rdi], r13
mov dword [rdi + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rdi + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
or r12d, 2
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], r15
mov rdi, qword [r14 + 8]
cmp rdi, qword [r14 + 0x10]
je 0x140035534
call fcn.140001160
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_recv
call fcn.140001150
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rax + 8], r15
mov qword [rax], rbp
add qword [r14 + 8], 0x10
jmp 0x140035545
lea r8, [rsp + 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140035850
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140035554
call fcn.140002330
lea rsi, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140035414
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r14
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008e960
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret