Function at 0x140042bb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x88
mov rax, qword [0x140079008]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, qword [rbp + 0x7f]
xorps xmm0, xmm0
xor edi, edi
mov qword [rbp - 0x39], r9
mov r13, r8
mov dword [rbp - 0x41], edi
mov r15, rdx
mov rbx, rcx
mov rax, qword [r14]
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
test rax, rax
je 0x140042c09
movzx eax, byte [rax + 0xc]
test rdx, rdx
je 0x140042ec8
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0x80], r12
movzx r12d, al
cmp r15, r12
lea r10, [0x140000000]
mov rsi, r15
mov rcx, r14
cmovae rsi, r12
call fcn.14001b720
mov edi, eax
test eax, eax
jne 0x140042eb8
mov rax, qword [r14]
test rax, rax
je case.default.0x140042d9f
mov eax, dword [rax + 8]
add eax, 0xfffffffd
cmp eax, 6
ja case.default.0x140042d9f
cdqe
mov ecx, dword [r10 + rax*4 + 0x42efc]
add rcx, r10
jmp rcx
mov rcx, qword [r14 + 8]
mov r8, r9
mov rdx, r13
call fcn.140017790
jmp 0x140042cc6
mov rcx, qword [r14 + 8]
mov r8, r9
mov rdx, r13
call fcn.1400393c0
jmp 0x140042cc6
mov rcx, qword [r14 + 8]
mov r8, r9
mov rdx, r13
call fcn.1400234a0
jmp 0x140042cc6
mov rcx, qword [r14 + 8]
mov r8, r9
mov rdx, r13
call fcn.140021d30
jmp 0x140042cc6
mov rcx, qword [r14 + 8]
mov r8, r9
mov rdx, r13
call fcn.140018530
mov edi, eax
test eax, eax
jne 0x140042eb8
mov rax, qword [r14]
test rax, rax
je case.default.0x140042d9f
mov eax, dword [rax + 8]
add eax, 0xfffffffd
cmp eax, 6
ja case.default.0x140042d9f
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x42f18]
add rcx, rdx
jmp rcx
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x41]
mov r8d, 4
call fcn.140017790
jmp 0x140042d67
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x41]
mov r8d, 4
call fcn.1400393c0
jmp 0x140042d67
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x41]
mov r8d, 4
call fcn.1400234a0
jmp 0x140042d67
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x41]
mov r8d, 4
call fcn.140021d30
jmp 0x140042d67
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x41]
mov r8d, 4
call fcn.140018530
mov edi, eax
test eax, eax
jne 0x140042eb8
mov rax, qword [r14]
test rax, rax
je case.default.0x140042d9f
mov eax, dword [rax + 8]
add eax, 0xfffffffd
cmp eax, 6
ja case.default.0x140042d9f
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x42f34]
add rcx, rdx
jmp rcx
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x31]
call fcn.140017870
jmp 0x140042dea
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x31]
call fcn.1400394a0
jmp 0x140042dea
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x31]
call fcn.140023580
jmp 0x140042dea
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x31]
call fcn.140021e10
jmp 0x140042dea
mov rcx, qword [r14 + 8]
lea rdx, [rbp - 0x31]
call fcn.140018610
mov edi, eax
test eax, eax
jne 0x140042eb8
xor ecx, ecx
test rsi, rsi
je 0x140042ea2
cmp rsi, 0x40
jb 0x140042e8b
lea rdx, [rbx - 1]
add rdx, rsi
lea rax, [rbp + rsi - 0x32]
cmp rbx, rax
ja 0x140042e23
lea rax, [rbp - 0x31]
cmp rdx, rax
jae 0x140042e8b
mov rax, rsi
and rax, 0xffffffffffffffc0
nop word [rax + rax]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbp + rcx - 0x31]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
movdqu xmm0, xmmword [rbx + 0x10]
movdqu xmm1, xmmword [rbp + rcx - 0x21]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmm0, xmmword [rbx + 0x20]
movdqu xmm1, xmmword [rbp + rcx - 0x11]
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm0, xmmword [rbx + 0x30]
movdqu xmm1, xmmword [rbp + rcx - 1]
add rcx, 0x40
pxor xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
add rbx, 0x40
cmp rcx, rax
jb 0x140042e30
cmp rcx, rsi
jae 0x140042ea2
movzx eax, byte [rbp + rcx - 0x31]
inc rcx
xor byte [rbx], al
inc rbx
cmp rcx, rsi
jb 0x140042e90
inc byte [rbp - 0x3e]
sub r15, rsi
je 0x140042eb8
mov r9, qword [rbp - 0x39]
jmp 0x140042c26
mov edi, 0xffffaf00
mov rsi, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x80]
mov rax, qword [fcn.14004d760]
lea rcx, [rbp - 0x31]
xor edx, edx
lea r8d, [rdx + 0x40]
call rax
mov eax, edi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x88
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret