Function at 0x1400030d0
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r12d, ecx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
xor r14d, r14d
mov qword [rbp - 0x18], r14
lea rcx, [0x1400055e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
xor edi, edi
mov qword [rbp - 0x38], rdi
xor edx, edx
lea ecx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000317f
xorps xmm6, xmm6
movdqu xmmword [rbp - 0x10], xmm6
xor r15d, r15d
mov qword [rbp], r15
xor esi, esi
xor ebx, ebx
jmp 0x14000320f
mov dword [rbp + 8], 0x1c
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x1400031a2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003167
mov rbx, qword [rbp - 0x40]
cmp dword [rbp + 0x14], r12d
jne 0x1400031d8
cmp rbx, rdi
je 0x1400031c0
mov eax, dword [rbp + 0x10]
mov dword [rbx], eax
add rbx, 4
mov qword [rbp - 0x40], rbx
jmp 0x1400031d8
lea r8, [rbp + 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140003680
mov rdi, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400031a6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqu xmm6, xmmword [rbp - 0x48]
movdqu xmmword [rbp - 0x10], xmm6
movsd xmm0, qword [rbp - 0x38]
movsd qword [rbp], xmm0
movq rsi, xmm6
mov r15, qword [rbp]
mov rdi, qword [rbp - 0x20]
cmp rsi, rbx
je 0x1400032d7
nop dword [rax]
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x20], 0
mov r9d, 0x30
lea r8, [rbp - 0x78]
xor edx, edx
mov rcx, rax
call r13
mov qword [rsp + 0x38], r12
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x38
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x48], 0x3262
xor ecx, ecx
lea rax, [rsp + 0x38]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
call qword [0x140007728]
cmp rdi, r14
je 0x1400032b2
mov rax, qword [rbp + 0x38]
mov qword [rdi], rax
add rdi, 8
mov qword [rbp - 0x20], rdi
jmp 0x1400032ca
lea r8, [rbp + 0x38]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.1400034f0
mov r14, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x20]
add rsi, 4
cmp rsi, rbx
jne 0x140003220
xor ecx, ecx
xor edx, edx
mov rbx, qword [rbp - 0x28]
sub rdi, rbx
sar rdi, 3
test rdi, rdi
je 0x140003302
xor eax, eax
nop dword [rax]
cmp qword [rbx + rax*8], rcx
cmova rcx, qword [rbx + rax*8]
inc edx
mov eax, edx
cmp rax, rdi
jb 0x1400032f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x48], 0x3262
mov dword [rbp - 0x44], 7
lea rax, [rsp + 0x38]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x30], 0
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [0x140007728]
mov rdi, qword [rsp + 0x70]
add rdi, qword [rsp + 0x58]
movq rcx, xmm6
test rcx, rcx
je 0x1400033b5
sub r15, rcx
sar r15, 2
lea rdx, [r15*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000389c
nop
test rbx, rbx
je 0x1400033f4
sub r14, rbx
and r14, 0xfffffffffffffff8
mov rax, rbx
cmp r14, 0x1000
jb 0x1400033e9
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, rbx
call fcn.14000389c
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140003840
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret