Function at 0x140004b40
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 [0x14004d020]
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.140002420
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140002040
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 0x140004ea0
cmp rsi, 0xffffffffffffffff
je 0x140004ea0
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae 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 0x140004ce2
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, 0x10
jb 0x140004c62
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004eee
call fcn.14000dde4
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140004cac
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004ca7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004efa
mov rcx, r8
call fcn.14000dde4
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14000ddc0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
lea rdx, [0x140046d24]
lea rcx, [rbp - 9]
call fcn.1400024f0
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 0x140004e7d
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140004da3
cmp dword [rbp - 0x1d], r12d
je 0x140004d4b
lea rdx, [rbp - 0x29]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Thread32Next]
jmp 0x140004d32
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 0x140004dd2
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]
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 0x140004c27
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, 0x10
jb 0x140004e32
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f00
call fcn.14000dde4
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140004cac
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004ca7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004ef4
jmp 0x140004ca4
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 0x140004c27
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140004ed7
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ed2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004eee
call fcn.14000dde4
xor edi, edi
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], dil
jmp 0x140004c72
call fcn.140014558
nop
call fcn.140014558
int3
call fcn.140014558
nop
call fcn.140014558
int3