Function at 0x140002520
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r15, rdx
mov ebx, ecx
mov qword [rbp - 0x21], rdx
lea rcx, [rbp - 0x19]
call fcn.140001b20
mov rdi, rax
mov qword [rbp - 0x29], rax
mov dword [rbp + 0xf], ebx
lea rax, vtable.InjectionSetWindowsHookEx.0
mov qword [rbp + 7], rax
mov rdx, rdi
lea rcx, [rbp + 0x17]
call fcn.140001b20
mov dword [rbp + 0x37], 1
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400025c2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400025bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002647
mov rcx, r8
call fcn.14000296c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002622
mov dword [rbp - 0x19], 0x1c
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140002622
cmp dword [rbp - 0x19], 0x10
jb 0x140002611
mov eax, dword [rbp + 0xf]
cmp dword [rbp - 0xd], eax
je 0x14000264e
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140002603
xor esi, esi
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14000265c
xor bl, bl
jmp 0x1400026e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rbp - 0x11]
jmp 0x140002624
lea rdx, str.UnhookProc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14000267e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor bl, bl
jmp 0x1400026e0
mov r9d, esi
mov r8, rdi
mov rdx, rax
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov r14, rax
test rax, rax
jne 0x1400026a7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor bl, bl
jmp 0x1400026e0
xor ebx, ebx
cmp dword [rbp + 0x37], ebx
jle 0x1400026d5
nop
mov r9, r14
xor r8d, r8d
mov edx, 0x1000
mov ecx, esi
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, dword [rbp + 0x37]
jl 0x1400026b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov bl, 1
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000271e
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002719
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002719
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000296c
movdqa xmm0, xmmword [0x140004500]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140002765
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140002760
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400027a5
mov rcx, r8
call fcn.14000296c
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140002910
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3