Function at 0x140037e50
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400bc0f8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14d, edx
xor r15d, r15d
mov r13d, r15d
xor edx, edx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140037ecb
mov dword [rbp - 0x19], 0x1c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x15], xmm0
mov qword [rbp - 5], rax
lea rdx, [rbp - 0x19]
mov rcx, rsi
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x140037ed2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140038064
mov qword [rbp + 7], r15
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r12, r15
mov qword [rbp + 0x1f], r15
mov rdi, qword [rbp + 0x17]
nop dword [rax]
cmp dword [rbp - 0xd], r14d
jne 0x140037f5a
mov r8d, dword [rbp - 0x11]
xor edx, edx
mov ecx, 0x840
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140037f5a
lea rdx, [rbp + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
test eax, eax
je 0x140037f5a
mov qword [rbp - 0x31], rbx
mov rax, qword [rbp + 7]
mov qword [rbp - 0x29], rax
cmp rdi, r12
je 0x140037f42
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rdi], xmm0
add rdi, 0x10
mov qword [rbp + 0x17], rdi
jmp 0x140037f5a
lea r8, [rbp - 0x31]
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.1400375c0
mov r12, qword [rbp + 0x1f]
mov rdi, qword [rbp + 0x17]
lea rdx, [rbp - 0x19]
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140037ef0
mov qword [rbp - 0x31], r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r15
mov ebx, r15d
mov dword [rbp - 0x39], ebx
mov r12, qword [rbp + 0xf]
sub rdi, r12
sar rdi, 4
nop dword [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jle 0x140037ffb
mov rbx, r12
mov r14d, edi
mov qword [rbp + 7], r15
lea rdx, [rbp + 7]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
test eax, eax
je 0x140037fe6
mov rcx, qword [rbx + 8]
mov rax, qword [rbp + 7]
cmp rax, rcx
jbe 0x140037fe6
sub rax, rcx
cmp rax, rsi
jbe 0x140037fe6
mov rsi, rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov r13d, eax
mov rcx, qword [rbp + 7]
mov qword [rbx + 8], rcx
mov rcx, rsi
add rbx, 0x10
sub r14, 1
jne 0x140037fa5
test rcx, rcx
jne 0x140038005
mov ebx, dword [rbp - 0x39]
inc ebx
mov dword [rbp - 0x39], ebx
cmp ebx, 0x1e
jl 0x140037f90
test edi, edi
mov r12, qword [rbp - 0x31]
mov rsi, qword [rbp + 0xf]
jle 0x140038029
mov rbx, rsi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15d
lea rbx, [rbx + 0x10]
cmp r15d, edi
jl 0x140038014
test rsi, rsi
je 0x140038061
sub r12, rsi
and r12, 0xfffffffffffffff0
mov rax, rsi
cmp r12, 0x1000
jb 0x140038056
add r12, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038091
mov rdx, r12
mov rcx, rsi
call fcn.14003f74c
mov eax, r13d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003fb10
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140062acc
int3