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

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov r14, r8
mov r15, rdx
mov r12, rcx
call fcn.14001de50
mov rsi, qword [rsp + 0xe0]
xor edi, edi
cmp word [rsi + 2], di
je 0x1400170c1
mov qword [rsp + 0xc0], rbx
mov rbx, qword [rsp + 0xe8]
mov qword [rsp + 0xc8], rbp
mov ebp, dword [0x140030088]
mov qword [rsp + 0xd0], r13
lea r13, [0x14002a4ec]
movaps xmmword [rsp + 0x80], xmm6
call fcn.14001de50
cmp dword [rbx + 8], 0
je 0x14001708f
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x140016e16
cmp rcx, 7
jne 0x140016e00
jmp 0x140016e57
xor ecx, ecx
lea rdx, str..rsrc
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140016e35
cmp rcx, 6
jne 0x140016e20
jmp 0x140016e57
xor ecx, ecx
lea rdx, str..reloc
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14001708f
cmp rcx, 7
jne 0x140016e40
call fcn.14001de50
mov edx, dword [rbx + 0xc]
mov r8, r14
mov r9d, dword [rbx + 8]
add rdx, r15
mov rcx, r12
call fcn.1400169f0
test eax, eax
jne 0x14001708f
call fcn.14001de50
cmp byte [0x140463c54], 0
jne 0x140016ea6
mov eax, dword [0x14002aab8]
mov r9d, dword [0x140463c78]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14002aabc]
mov word [rsp + 0x74], ax
jmp 0x140016ec5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14002aab8]
mov r9d, eax
mov dword [rsp + 0x70], ecx
movzx ecx, word [0x14002aabc]
mov word [rsp + 0x74], cx
movups xmm0, xmmword [0x14002aa88]
xor ecx, ecx
movups xmm1, xmmword [0x14002aa98]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14002aaa8]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm0
cmp ebp, 2
jl 0x14001703c
movdqa xmm0, xmmword [0x14002b0d0]
lea rdx, [rsp + 0x44]
movdqa xmm5, xmmword [0x14002b000]
movdqa xmm4, xmmword [0x14002b130]
movdqa xmm6, xmmword [0x14002b050]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14002b0b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14002b0b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x140016f30
cmp ecx, 0x36
jge 0x14001707f
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x36
jl 0x140017050
mov r8d, r9d
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140002630
movzx eax, word [rsi + 2]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140016de7
movaps xmm6, xmmword [rsp + 0x80]
mov r13, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
jmp fcn.14001de50