Function at 0x1002ef2fc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov r13, rcx
mov rcx, qword [rcx + 8]
movups xmmword [rax - 0x58], xmm6
movups xmmword [rax - 0x68], xmm7
mov rsi, r9
mov ebx, r8d
mov r14, rdx
call fcn.1002e1c74
mov ecx, eax
call fcn.1002e1ce8
lea rcx, [rsp + 0x90]
xor edx, edx
mov r12d, eax
call fcn.1002e1a48
mov ecx, dword [r13 + 0x40]
lea eax, [rcx + rbx]
cmp eax, ebx
jae 0x1002ef369
mov eax, 0xc004d107
jmp 0x1002ef825
cmp qword [rsi], 0
jne 0x1002ef391
lea eax, [rcx + r12]
mov rcx, qword [rsp + 0x150]
xor edx, edx
lea eax, [rax + rbx - 1]
div r12d
imul eax, r12d
mov dword [rcx], eax
xor eax, eax
jmp 0x1002ef825
cmp eax, r12d
ja 0x1002ef3f0
xor edi, edi
test ebx, ebx
je 0x1002ef3df
lea ebp, [rdi + 1]
mov eax, dword [r14 + 8]
mov rcx, qword [r14]
lea edx, [rdi + rax]
call fcn.1002e198c
mov cl, byte [r13 + 0x3f]
mov r11b, al
test cl, cl
je 0x1002ef3cb
sub cl, bpl
cmp cl, bpl
ja 0x1002ef3c7
mov rcx, qword [r13 + 0x18]
jmp 0x1002ef3cf
xor ecx, ecx
jmp 0x1002ef3cf
lea rcx, [r13 + 0x18]
mov eax, dword [r13 + 0x40]
add eax, edi
add edi, ebp
mov byte [rax + rcx], r11b
cmp edi, ebx
jb 0x1002ef39f
mov rax, qword [rsp + 0x150]
add dword [r13 + 0x40], ebx
and dword [rax], 0
jmp 0x1002ef38a
lea eax, [rcx + r12]
xor edx, edx
mov ebp, 1
lea eax, [rax + rbx - 1]
div r12d
sub eax, ebp
mov edi, eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x150]
imul edi, r12d
cmp dword [rax], edi
jb 0x1002ef816
xor r15d, r15d
mov dword [rsp + 0x30], r15d
cmp ecx, r12d
jae 0x1002ef477
cmp r15d, ebx
jae 0x1002ef472
mov eax, dword [r14 + 8]
mov rcx, qword [r14]
lea edx, [r15 + rax]
call fcn.1002e198c
lea rcx, [r13 + 0x18]
mov dl, byte [rcx + 0x27]
mov r11b, al
test dl, dl
je 0x1002ef45d
sub dl, bpl
cmp dl, bpl
ja 0x1002ef45b
mov rcx, qword [rcx]
jmp 0x1002ef45d
xor ecx, ecx
mov eax, dword [r13 + 0x40]
add r15d, ebp
mov byte [rax + rcx], r11b
add dword [r13 + 0x40], ebp
cmp dword [r13 + 0x40], r12d
jb 0x1002ef42b
mov dword [rsp + 0x30], r15d
sub ebx, edi
lea r14, [r13 + 0x18]
mov dword [rsp + 0x140], r12d
sub ebx, r15d
add dword [r13 + 0x40], ebx
mov al, byte [r14 + 0x27]
movdqu xmm0, xmmword [rsi]
movdqu xmmword [rsp + 0x80], xmm0
test al, al
je 0x1002ef4b2
sub al, bpl
cmp al, bpl
ja 0x1002ef4ae
mov rdx, qword [r14]
jmp 0x1002ef4b5
xor edx, edx
jmp 0x1002ef4b5
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1002e1a48
lea rcx, [rsp + 0x40]
call fcn.1002e1a50
and dword [rsp + 0x58], 0
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x140]
lea r8, [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov r9d, r12d
mov edx, 0x40
mov qword [rsp + 0x20], rax
call fcn.1000c989c
nop
push rsi
sbb eax, 0x38502e
add byte [rax], al
test eax, eax
jne 0x1002ef825
and dword [rsp + 0x70], eax
xor edx, edx
mov qword [rsp + 0x60], rdx
test r12d, r12d
je 0x1002ef5b9
mov r14, qword [rsp + 0x148]
mov r15d, dword [rsp + 0x70]
lea rax, [r13 + 0x48]
mov r13, rax
mov al, byte [r13 + 0x17]
test al, al
je 0x1002ef561
sub al, bpl
cmp al, bpl
ja 0x1002ef55d
mov rcx, qword [r13]
jmp 0x1002ef564
xor ecx, ecx
jmp 0x1002ef564
mov rcx, r13
mov bl, byte [rdx + rcx]
mov eax, dword [r14 + 8]
mov rsi, qword [r14]
lea edi, [r15 + rax]
mov rcx, rsi
mov edx, edi
call fcn.1002e198c
mov edx, edi
mov rcx, rsi
xor al, bl
mov r8b, al
call fcn.1002e19ac
mov rdx, qword [rsp + 0x60]
add r15d, ebp
add rdx, rbp
mov qword [rsp + 0x60], rdx
cmp r15d, r12d
jb 0x1002ef547
mov r13, qword [rsp + 0x130]
mov r15d, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x148]
lea r14, [r13 + 0x18]
mov rax, qword [rsp + 0x138]
mov rdx, qword [rax]
mov eax, dword [rax + 8]
lea ecx, [r15 + rax]
mov eax, dword [rsi + 8]
mov qword [rsp + 0x50], rdx
mov rdx, qword [rsi]
mov dword [rsp + 0x58], ecx
lea ecx, [r12 + rax]
movups xmm7, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm7
mov al, byte [r14 + 0x27]
mov dword [rsp + 0x48], ecx
mov qword [rsp + 0x40], rdx
movups xmm6, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm6
test al, al
je 0x1002ef614
sub al, bpl
cmp al, bpl
ja 0x1002ef610
mov rdx, qword [r14]
jmp 0x1002ef617
xor edx, edx
jmp 0x1002ef617
mov rdx, r14
lea rcx, [rsp + 0x90]
call fcn.1002e1a48
lea rcx, [rsp + 0x90]
call fcn.1002e1a50
and dword [rsp + 0x68], 0
mov ebx, dword [rsp + 0x34]
mov qword [rsp + 0x60], rax
add ebx, 0xffffffff
mov esi, 0
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], esi
movups xmm0, xmmword [rsp + 0x60]
movdqu xmmword [rsp + 0x60], xmm0
je 0x1002ef770
mov edi, dword [rsp + 0x48]
mov rcx, qword [r13 + 8]
lea rax, [rsp + 0x140]
lea r8, [rsp + 0xb0]
movdqu xmmword [rsp + 0xa0], xmm6
movdqu xmmword [rsp + 0xb0], xmm7
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov r9d, r12d
mov edx, 0x40
mov dword [rsp + 0x140], r12d
mov qword [rsp + 0x20], rax
call fcn.1000c989c
nop
push rsi
sbb eax, 0x38502e
add byte [rax], dh
test eax, eax
jne 0x1002ef825
test r12d, r12d
je 0x1002ef71e
mov esi, dword [rsp + 0x68]
mov r14d, edi
mov r13, r12
sub esi, edi
mov rcx, qword [rsp + 0x60]
lea edx, [r14 + rsi]
call fcn.1002e198c
mov rcx, qword [rsp + 0x40]
mov edx, r14d
mov bl, al
call fcn.1002e198c
mov rcx, qword [rsp + 0x40]
xor al, bl
mov edx, r14d
mov r8b, al
call fcn.1002e19ac
add r14d, ebp
sub r13, rbp
jne 0x1002ef6d3
mov r13, qword [rsp + 0x130]
mov ebx, dword [rsp + 0x34]
mov esi, dword [rsp + 0x30]
lea r14, [r13 + 0x18]
mov rax, qword [rsp + 0x138]
add r15d, r12d
add esi, ebp
mov rdx, qword [rax]
mov eax, dword [rax + 8]
add edi, r12d
movdqu xmmword [rsp + 0x60], xmm7
lea ecx, [r15 + rax]
mov qword [rsp + 0x80], rdx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x30], esi
movups xmm7, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x50], xmm7
cmp esi, ebx
jae 0x1002ef770
movups xmm6, xmmword [rsp + 0x40]
jmp 0x1002ef664
mov rcx, qword [rsp + 0x150]
lea eax, [rbx + 1]
xor esi, esi
xor ebx, ebx
imul eax, r12d
mov dword [rcx], eax
test r12d, r12d
je 0x1002ef7c8
mov r15d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
lea edx, [r15 + rbx]
call fcn.1002e198c
mov cl, byte [r13 + 0x5f]
test cl, cl
je 0x1002ef7b7
sub cl, bpl
cmp cl, bpl
ja 0x1002ef7b3
mov rcx, qword [r13 + 0x48]
jmp 0x1002ef7bb
xor ecx, ecx
jmp 0x1002ef7bb
lea rcx, [r13 + 0x48]
add ebx, ebp
mov byte [rcx + rsi], al
add rsi, rbp
cmp ebx, r12d
jb 0x1002ef78f
xor ebx, ebx
xor edi, edi
cmp dword [r13 + 0x40], ebx
jbe 0x1002ef38a
mov esi, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
lea edx, [rsi + rbx]
call fcn.1002e198c
mov cl, byte [r14 + 0x27]
test cl, cl
je 0x1002ef800
sub cl, bpl
cmp cl, bpl
ja 0x1002ef7fc
mov rcx, qword [r14]
jmp 0x1002ef803
xor ecx, ecx
jmp 0x1002ef803
mov rcx, r14
mov byte [rcx + rdi], al
add ebx, ebp
add rdi, rbp
cmp ebx, dword [r13 + 0x40]
jb 0x1002ef7da
jmp 0x1002ef38a
mov dword [rax], edi
mov rax, qword [rsi]
neg rax
sbb eax, eax
and eax, 0xc004d107
lea r11, [rsp + 0xe8]
movups xmm6, xmmword [r11 - 0x18]
movups xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret