Function at 0x140002810
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x2e0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140063080]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
test rax, rax
je 0x140002aed
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002ae4
mov esi, dword [reloc.WS2_32.dll_accept]
nop dword [rax + rax]
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x50]
call fcn.1400055d0
movups xmm0, xmmword [0x14005aa38]
mov ecx, dword [0x14005aa60]
mov r9, rax
movups xmm1, xmmword [0x14005aa48]
mov dword [rsp + 0x48], ecx
xor ecx, ecx
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x14005aa58]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
cmp esi, 2
jl 0x1400029ec
movdqa xmm5, xmmword [0x14005b100]
lea rdx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14005b190]
movdqa xmm6, xmmword [0x14005b120]
movdqa xmm7, xmmword [0x14005b150]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x10
jl 0x140002900
cmp ecx, 0x16
jge 0x140002a31
movsxd rax, ecx
lea r8, [rsp + 0x20]
lea r8, [r8 + rax*2]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x31
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x34
xor word [r8 - 2], ax
cmp ecx, 0x16
jl 0x140002a00
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002a40
cmp qword [r9 + 0x18], 7
mov r8, r9
jbe 0x140002a57
mov r8, qword [r9]
mov rdx, qword [r9 + 0x10]
cmp rdx, rax
jne 0x140002a8a
lea rcx, [rsp + 0x20]
test rdx, rdx
je 0x140002a86
lea rax, [rsp + 0x20]
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140002a8a
add rcx, 2
sub rdx, 1
jne 0x140002a72
mov bl, 1
jmp 0x140002a8c
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140002aca
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ac5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b1e
call fcn.14004becc
mov rcx, rdi
test bl, bl
jne 0x140002b25
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002880
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14004bb60
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140002aef