Function at 0x140046b20
Capabilities:
Enumerate threads
Inject apc

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12d, r8d
mov rbx, rdx
mov qword [rbp - 0x31], rdx
lea rcx, [rbp - 0x51]
call fcn.140047860
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140045400
nop
mov r8d, r12d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov edi, dword [rbp + 7]
inc edi
mov dword [rbp - 0x59], edi
mov r13d, edi
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8d, edi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x140046e92
cmp rsi, 0xffffffffffffffff
je 0x140046e92
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova r8, qword [rbp - 9]
lea r9d, [rdi - 1]
xor edi, edi
mov qword [rsp + 0x20], rdi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140046cc2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 7]
inc rdx
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140046c42
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046c3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046ec4
call fcn.14004a58c
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140046c8c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140046c87
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140046ee7
mov rcx, r8
call fcn.14004a58c
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14004a3f0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rax, qword [rbp - 9]
mov qword [rbp + 7], rdi
mov byte [rax], dil
mov dword [rbp - 0x29], 0x1c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x25], xmm0
mov qword [rbp - 0x15], rax
xor edx, edx
lea ecx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140046e6f
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140046d2f
cmp dword [rbp - 0x1d], r12d
je 0x140046d5e
lea rdx, [rbp - 0x29]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140046d18
mov r9d, 0x1000
mov r8d, 0x300
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140046c07
mov r8d, dword [rbp - 0x21]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov r13, rax
lea rcx, [rax - 1]
mov rdx, r15
cmp rcx, 0xfffffffffffffffd
mov rcx, rsi
ja 0x140046dbb
mov r8d, dword [rbp - 0x59]
inc r8
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140046d2f
mov r9d, 0x1000
mov r8d, 0x300
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140046e1e
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046e19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a58c
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140046c8c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140046c87
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140046c84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r9d, 0x1000
mov r8, r13
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140046c07
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140046ed0
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046ecb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046ecb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a58c
xor edi, edi
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], dil
jmp 0x140046c52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3