Function at 0x14004a0c0
Capabilities:
Allocate or change rwx memory
Enumerate threads
Inject apc

Disassembly:
test edx, edx
je 0x1400464b3
push rbx
push rdi
sub rsp, 0x68
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rcx + 0x20], 0
mov edi, edx
mov rbx, rcx
je 0x1400464a0
mov r8d, edx
mov qword [rsp + 0x98], rsi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140046498
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, rsi
test rax, rax
jne 0x1400462d0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140046498
mov r9d, 0x8000
mov qword [rsp + 0x90], rbp
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
mov qword [rsp + 0x50], 0
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov dword [rsp + 0x20], 4
mov rcx, rax
mov r9d, 0x1000
mov r8d, 0x300
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x140046490
cmp rsi, 0xffffffffffffffff
je 0x140046490
mov r9, qword [rbx + 0x10]
inc r9
cmp qword [rbx + 0x18], 0xf
jbe 0x140046355
mov rbx, qword [rbx]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], r14
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004646a
lea rcx, [0x140052ab8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp rax, 0xffffffffffffffff
je 0x14004646a
lea rdx, [0x140052ac8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x14004646a
xor eax, eax
mov dword [rsp + 0x30], 0x1c
xorps xmm0, xmm0
mov qword [rsp + 0x44], rax
xor edx, edx
movups xmmword [rsp + 0x34], xmm0
lea ecx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14004646a
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140046444
cmp dword [rsp + 0x3c], edi
je 0x14004640d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400463f3
jmp 0x140046444
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140046444
mov r8, rbp
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x1000
mov r8d, 0x300
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
jmp 0x140046485
mov r9d, 0x1000
mov r8d, 0x300
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004a3f0
add rsp, 0x68
pop rdi
pop rbx
ret
mov edx, dword [rdx]
lea rcx, [0x14005b0b8]
jmp 0x140046250