Function at 0x14002f470
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x320
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x30]
movups xmm1, xmmword [rdx + 0x40]
movups xmm2, xmmword [rdx + 0x50]
movups xmm3, xmmword [rdx + 0x60]
movups xmmword [rsp + 0x190], xmm3
movups xmmword [rsp + 0x180], xmm2
movups xmmword [rsp + 0x170], xmm1
movups xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x108], rdx
movups xmm0, xmmword [rdx + 0x30]
movups xmm1, xmmword [rdx + 0x40]
movups xmm2, xmmword [rdx + 0x50]
movups xmm3, xmmword [rdx + 0x60]
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm1
movups xmmword [rsp + 0x130], xmm2
movups xmmword [rsp + 0x140], xmm3
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], rdx
mov qword [rsp + 0x1a0], 0
mov rdi, qword [rdx + 0x20]
cmp rdi, r9
jae 0x14002f67f
lea rax, [rdx + 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movups xmmword [rsp + 0x1e0], xmm3
movups xmmword [rsp + 0x1d0], xmm2
movups xmmword [rsp + 0x1c0], xmm1
movups xmmword [rsp + 0x1b0], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f8], xmm0
movups xmmword [rsp + 0x208], xmm0
movups xmmword [rsp + 0x218], xmm0
movups xmmword [rsp + 0x228], xmm0
movups xmmword [rsp + 0x238], xmm0
movups xmmword [rsp + 0x248], xmm0
movups xmmword [rsp + 0x258], xmm0
movups xmmword [rsp + 0x268], xmm0
mov qword [rsp + 0x1a8], rdx
mov qword [rsp + 0x1f0], 0
mov qword [rsp + 0x278], 0
lea rbx, [rsp + 0x1a8]
mov rcx, rbx
mov rdx, r8
mov r8, r9
call fcn.140038a90
lea rcx, [rsp + 0x30]
mov r8d, 0xd8
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x1e8]
movaps xmmword [rsp + 0x2c0], xmm0
movups xmm0, xmmword [rsp + 0x1a8]
movups xmm1, xmmword [rsp + 0x1b8]
movups xmm2, xmmword [rsp + 0x1c8]
movups xmm3, xmmword [rsp + 0x1d8]
movaps xmmword [rsp + 0x2b0], xmm3
movaps xmmword [rsp + 0x2a0], xmm2
movaps xmmword [rsp + 0x290], xmm1
movaps xmmword [rsp + 0x280], xmm0
cmp r9, 0x81
jae 0x14002f9b4
lea r8, [rsp + 0x80]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x2d8]
lea rdx, [rsp + 0x280]
call fcn.1400388f0
mov rax, qword [rsp + 0x2d8]
mov r9, qword [rax + 0x10]
cmp r9, 0x41
jae 0x14002f9b4
lea r8, [rsp + 0x2e0]
movaps xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
cmp rdi, 0x81
jae 0x14002f9b4
cmp rdi, r9
cmovb r9, rdi
test r9, r9
je 0x14002f7e5
cmp r9, 8
jae 0x14002f6e1
xor eax, eax
jmp 0x14002f7d0
cmp r9, 0x20
jae 0x14002f6ee
xor eax, eax
jmp 0x14002f79a
mov eax, r9d
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
xorps xmm0, xmmword [rsp + 0x30]
xorps xmm1, xmmword [rsp + 0x40]
and eax, 0xe0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
cmp rax, 0x20
je 0x14002f78f
movups xmm0, xmmword [r8 + 0x20]
movups xmm1, xmmword [r8 + 0x30]
xorps xmm0, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
cmp eax, 0x40
je 0x14002f78f
movups xmm0, xmmword [r8 + 0x40]
movups xmm1, xmmword [r8 + 0x50]
xorps xmm0, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
cmp eax, 0x60
je 0x14002f78f
movups xmm0, xmmword [r8 + 0x60]
movups xmm1, xmmword [r8 + 0x70]
xorps xmm0, xmmword [rsp + 0x90]
xorps xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
cmp r9, rax
je 0x14002f7e5
test r9b, 0x18
je 0x14002f7d0
mov rcx, rax
mov eax, r9d
and eax, 0xf8
nop word cs:[rax + rax]
mov rdx, qword [r8 + rcx]
xor qword [rsp + rcx + 0x30], rdx
add rcx, 8
cmp rax, rcx
jne 0x14002f7b0
cmp r9, rax
je 0x14002f7e5
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r9, rcx
jne 0x14002f7d0
test rdi, rdi
je 0x14002f9b4
lea rcx, [rsp + 0x110]
movzx eax, byte [0x14024d118]
cmp al, 2
jne 0x14002f8c5
mov rax, qword [rsp + 0x108]
lea rbx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [rax]
mov rax, qword [rsp + 0x150]
inc rax
je 0x14002f9b4
mov qword [rsp + 0x150], rax
cmp rdi, 8
jb 0x14002f8dd
cmp rdi, 0x20
jae 0x14002f84a
xor eax, eax
jmp 0x14002f88e
mov eax, edi
and eax, 0xe0
xor ecx, ecx
movaps xmm0, xmmword [0x1401abbf0]
nop word [rax + rax]
movaps xmm1, xmmword [rsp + rcx + 0x30]
xorps xmm1, xmm0
movaps xmm2, xmmword [rsp + rcx + 0x40]
xorps xmm2, xmm0
movaps xmmword [rsp + rcx + 0x30], xmm1
movaps xmmword [rsp + rcx + 0x40], xmm2
add rcx, 0x20
cmp rax, rcx
jne 0x14002f860
cmp rdi, rax
je 0x14002f8fb
test dil, 0x18
je 0x14002f8d5
mov ecx, edi
and ecx, 0xf8
lea rbx, [rsp + rcx]
add rbx, 0x30
movabs rdx, 0x6a6a6a6a6a6a6a6a
nop dword [rax + rax]
xor qword [rsp + rax + 0x30], rdx
add rax, 8
cmp rcx, rax
jne 0x14002f8b0
cmp rdi, rcx
jne 0x14002f8dd
jmp 0x14002f8fb
mov rbx, rcx
call fcn.14002f400
mov rcx, rbx
jmp 0x14002f805
lea rbx, [rsp + rax]
add rbx, 0x30
lea rax, [rsp + rdi]
add rax, 0x30
nop word cs:[rax + rax]
xor byte [rbx], 0x6a
inc rbx
cmp rbx, rax
jne 0x14002f8f0
mov rax, qword [rsp + 0x158]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x14002f9b4
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x14002f935
mov rax, rdi
xor edx, edx
div rcx
mov rbx, rax
mov rax, rbx
imul rax, rcx
cmp rax, rdi
je 0x14002f949
jmp 0x14002f9b4
mov eax, edi
xor edx, edx
div ecx
mov ebx, eax
mov rax, rbx
imul rax, rcx
cmp rax, rdi
jne 0x14002f9b4
cmp rcx, rdi
ja 0x14002f985
lea rcx, [rsp + 0x160]
movzx eax, byte [0x14024d118]
cmp al, 2
jne 0x14002f9a7
mov rax, qword [rsp + 0x158]
lea rdx, [rsp + 0x30]
mov r8, rbx
call qword [rax]
add rbx, qword [rsp + 0x1a0]
jb 0x14002f9b4
mov qword [rsp + 0x1a0], rbx
lea rdx, [rsp + 0x108]
mov r8d, 0xa0
mov rcx, rsi
call sub.msvcrt.dll_memcpy
nop
add rsp, 0x320
pop rbx
pop rdi
pop rsi
ret
mov rdi, rcx
call fcn.14002f400
mov rcx, rdi
jmp 0x14002f961
ud2