Function at 0x1400043b0
Capabilities:
Enumerate threads

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0x68], r8
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x14007a498]
xor rax, rsp
mov qword [rsp + 0x98], rax
call fcn.1400024c0
xor ebx, ebx
test al, al
jne 0x14000498b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140004467
mov r15, rax
lea rdx, str.dummy_debug_proc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140004471
mov ebp, edi
lea rcx, str.InjectLibrarySafe:_Injecting_threads
call fcn.140001be0
mov ecx, 0x200
call fcn.14000bbac
mov r13, rax
mov rdi, rax
add rdi, 0x200
call fcn.1400142a8
mov rsi, rax
call fcn.14001428c
cmp rsi, 0x989680
mov qword [rsp + 0x38], rdi
jne 0x14000447b
imul rax, rax, 0x64
jmp 0x1400044ba
mov ebx, 0x75
jmp 0x14000498b
mov ebx, 0x76
jmp 0x14000498b
mov rcx, rax
or rcx, rsi
shr rcx, 0x20
je 0x14000448e
cqo
idiv rsi
jmp 0x140004492
xor edx, edx
div esi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rsi
or rdx, rax
shr rdx, 0x20
je 0x1400044b3
cqo
idiv rsi
jmp 0x1400044b7
xor edx, edx
div esi
add rax, rcx
movabs rcx, 0x1bf08eb000
add rcx, rax
mov qword [rsp + 0x58], rcx
xor ebx, ebx
xorps xmm6, xmm6
lea r14, [rsp + 0x78]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, r13
mov dword [rsp + 0x34], ebp
jmp 0x140004504
mov rdi, rax
mov qword [rsp + 0x78], 0x3e8
mov rcx, r14
call fcn.1400049d0
call fcn.1400142a8
mov rsi, rax
call fcn.14001428c
cmp rsi, 0x989680
jne 0x140004520
imul rax, rax, 0x64
jmp 0x14000455f
mov rcx, rax
or rcx, rsi
shr rcx, 0x20
je 0x140004533
cqo
idiv rsi
jmp 0x140004537
xor edx, edx
div esi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rsi
or rdx, rax
shr rdx, 0x20
je 0x140004558
cqo
idiv rsi
jmp 0x14000455c
xor edx, edx
div esi
add rax, rcx
mov rsi, qword [sym.imp.USER32.dll_PostThreadMessageW]
cmp rax, qword [rsp + 0x58]
jge 0x14000493c
cmp rdi, r13
je 0x140004670
cmp r13, rdi
je 0x1400048f5
mov rbp, r13
jmp 0x1400045a0
add ebx, 1
add rbp, 0x10
cmp rbp, rdi
je 0x140004630
mov r9, qword [rbp + 8]
mov ecx, dword [rbp]
mov edx, 0x5b0
xor r8d, r8d
call rsi
test eax, eax
jne 0x140004590
call r12
mov esi, eax
cmp eax, 0x5a4
je 0x1400045c9
cmp esi, 0x718
jne 0x1400045fe
mov dword [rbp], 0
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [rbp + 8], 0
cmp esi, 0x718
je 0x140004618
cmp esi, 0x5a4
mov rsi, qword [sym.imp.USER32.dll_PostThreadMessageW]
je 0x140004593
jmp 0x140004935
mov edx, dword [rbp]
lea rcx, str.InjectLibrarySafe:_PostThreadMessage__x__failed:__x
mov r8d, esi
call fcn.140001be0
cmp esi, 0x718
jne 0x1400045ea
mov rsi, qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x140004593
mov rax, r13
cmp r13, rdi
je 0x1400048ab
mov ebp, dword [rsp + 0x34]
cmp dword [rax], 0
je 0x1400048f8
cmp qword [rax + 8], 0
je 0x1400048f8
add rax, 0x10
cmp rax, rdi
jne 0x140004640
jmp 0x1400044f3
mov qword [rsp + 0x28], r13
mov ecx, 4
mov r13d, ebp
mov edx, ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
lea rax, [rsp + 0x7c]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov dword [rsp + 0x78], 0x1c
mov rcx, rbp
mov rdx, r14
call sub.KERNEL32.dll_Thread32First
mov dword [rsp + 0x54], eax
test eax, eax
je 0x1400048b1
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbp
jmp 0x140004701
call r12
lea rcx, str.InjectLibrarySafe:_SetWindowsHookEx_failed_for_thread_id__x:__x
mov edx, r14d
mov r8d, eax
call fcn.140001be0
mov r15, rbp
lea r14, [rsp + 0x78]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rcx, rbp
mov rdx, r14
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x1400048c7
cmp dword [rsp + 0x84], r13d
jne 0x1400046ee
mov byte [rsp + 0x77], 0
mov ecx, dword [rsp + 0x80]
lea rdx, [0x140004b70]
lea r8, [rsp + 0x77]
call qword [sym.imp.USER32.dll_EnumThreadWindows]
cmp byte [rsp + 0x77], 0
je 0x1400046ee
mov r14d, dword [rsp + 0x80]
mov ecx, 3
mov rdx, qword [rsp + 0x60]
mov rbp, r15
mov r8, r15
mov r9d, r14d
mov rax, qword [rsp + 0x68]
call qword [0x140083008]
test rax, rax
je 0x1400046c7
mov r15, rax
cmp rdi, qword [rsp + 0x38]
je 0x140004779
mov dword [rdi], r14d
mov qword [rdi + 8], r15
add rdi, 0x10
jmp 0x1400046dc
sub rdi, qword [rsp + 0x28]
mov rbx, rdi
sar rbx, 4
lea r13, [rbx + 1]
mov rax, rbx
shr rax, 1
movabs rdx, 0xfffffffffffffff
mov rcx, rdx
sub rcx, rax
add rax, rbx
cmp rax, r13
cmovb rax, r13
cmp rbx, rcx
cmova rax, rdx
cmp rax, rdx
ja 0x1400049b9
mov rcx, rax
shl rcx, 4
mov qword [rsp + 0x38], rcx
cmp rax, 0x100
jb 0x140004800
movabs rcx, 0xfffffffffffffff
add rcx, 0xffffffffffffffff
cmp rax, rcx
jae 0x1400049b9
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x27]
call fcn.14000bbac
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140004816
test rax, rax
je 0x140004814
mov rcx, qword [rsp + 0x38]
call fcn.14000bbac
mov rsi, rax
jmp 0x140004816
xor esi, esi
shl rbx, 4
mov dword [rsi + rbx], r14d
mov qword [rsi + rbx + 8], r15
mov rcx, rsi
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
mov r8, rdi
call fcn.1400380b0
test rbx, rbx
mov r15, rbp
lea r14, [rsp + 0x78]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
je 0x140004886
cmp rdi, 0x1000
jb 0x140004879
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1400049be
add rdi, 0x27
mov rcx, rax
jmp 0x14000487e
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.14000bbf0
shl r13, 4
add r13, rsi
add qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rsi
mov rdi, r13
mov r13d, dword [rsp + 0x34]
mov rsi, qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x1400046ee
mov ebp, dword [rsp + 0x34]
jmp 0x1400048f8
call r12
lea rcx, str.EnumerateInjectableThreads:_failed_to_get_threads_snapshot:__x_n
mov edx, eax
call fcn.140001be0
mov rdi, qword [rsp + 0x28]
mov rax, rbp
add rax, 1
cmp rax, 2
jb 0x1400048dd
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x54], 0
je 0x14000494b
mov ebp, r13d
mov r13, qword [rsp + 0x28]
cmp r13, rdi
jne 0x140004583
mov rax, r13
cmp rax, rdi
je 0x1400044f0
lea rcx, [rax + 0x10]
jmp 0x140004914
add rcx, 0x10
cmp rcx, rdi
je 0x1400044f0
cmp dword [rcx], 0
je 0x140004910
cmp qword [rcx + 8], 0
je 0x140004910
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
add rax, 0x10
jmp 0x140004910
mov ebx, 0x73
jmp 0x140004955
xor eax, eax
cmp ebx, 6
mov ebx, 0x74
cmovge ebx, eax
jmp 0x140004955
mov ebx, 0x77
mov r13, qword [rsp + 0x28]
test r13, r13
mov rdx, qword [rsp + 0x38]
je 0x14000498b
sub rdx, r13
cmp rdx, 0x1000
jb 0x140004983
mov rax, qword [r13 - 8]
sub r13, rax
add r13, 0xfffffffffffffff8
cmp r13, 0x20
jae 0x1400049be
add rdx, 0x27
mov r13, rax
mov rcx, r13
call fcn.14000bbf0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14000bda0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400023e0
call fcn.1400424ec
int3