Function at 0x140024c80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x240
mov rbx, rcx
call fcn.140024c00
movabs rcx, 0x7fe085d9e85b5045
mov qword [rsp + 0x48], rcx
xor ecx, ecx
nop word [rax + rax]
mov edx, ecx
mov byte [rsp + rcx + 0x68], cl
mov rdx, rcx
inc rdx
mov rcx, rdx
cmp rdx, 0x100
jne 0x140024cb0
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
nop word cs:[rax + rax]
movzx r10d, byte [rsp + rdx + 0x68]
add r8b, r10b
movsxd r9, r9d
add r8b, byte [rsp + r9 + 0x48]
movzx r11d, r8b
movzx esi, byte [rsp + r11 + 0x68]
mov byte [rsp + rdx + 0x68], sil
mov byte [rsp + r11 + 0x68], r10b
cmp r9d, 7
lea r9d, [r9 + 1]
cmovge r9d, ecx
mov r10, rdx
inc r10
mov rdx, r10
cmp r10, 0x100
jne 0x140024ce0
movzx ecx, byte [rsp + 0x69]
mov edx, ecx
movzx r8d, byte [rsp + rcx + 0x68]
mov byte [rsp + 0x69], r8b
mov byte [rsp + rcx + 0x68], cl
add r8b, cl
movzx ecx, r8b
movzx ecx, byte [rsp + rcx + 0x68]
xor rcx, 0x4c
movzx r8d, byte [rsp + 0x6a]
mov r9b, r8b
mov r10b, dl
lea edx, [r9 + r10]
movzx r9d, dl
mov edx, r9d
movzx r10d, byte [rsp + rdx + 0x68]
mov byte [rsp + 0x6a], r10b
mov byte [rsp + rdx + 0x68], r8b
add r10b, r8b
movzx edx, r10b
movzx edx, byte [rsp + rdx + 0x68]
xor edx, 0x1d
movzx r8d, byte [rsp + 0x6b]
add r9b, r8b
movzx r9d, r9b
mov r10d, r9d
movzx r11d, byte [rsp + r10 + 0x68]
mov byte [rsp + 0x6b], r11b
mov byte [rsp + r10 + 0x68], r8b
add r11b, r8b
movzx r8d, r11b
movzx r8d, byte [rsp + r8 + 0x68]
xor r8d, 0x7a
movzx r10d, byte [rsp + 0x6c]
add r9b, r10b
movzx r11d, r9b
mov r9d, r11d
movzx esi, byte [rsp + r9 + 0x68]
mov byte [rsp + 0x6c], sil
mov byte [rsp + r9 + 0x68], r10b
add sil, r10b
movzx r9d, sil
movzx r9d, byte [rsp + r9 + 0x68]
xor r9d, 7
movzx r10d, byte [rsp + 0x6d]
add r11b, r10b
movzx r11d, r11b
mov esi, r11d
movzx edi, byte [rsp + rsi + 0x68]
mov byte [rsp + 0x6d], dil
mov byte [rsp + rsi + 0x68], r10b
add dil, r10b
movzx r10d, dil
movzx r10d, byte [rsp + r10 + 0x68]
xor r10d, 0xf0
movzx esi, byte [rsp + 0x6e]
add r11b, sil
movzx edi, r11b
mov r11d, edi
movzx ebp, byte [rsp + r11 + 0x68]
mov byte [rsp + 0x6e], bpl
mov byte [rsp + r11 + 0x68], sil
add bpl, sil
movzx r11d, bpl
movzx r11d, byte [rsp + r11 + 0x68]
xor r11d, 0xb1
movzx esi, byte [rsp + 0x6f]
add dil, sil
movzx edi, dil
mov r14d, edi
movzx ebp, byte [rsp + r14 + 0x68]
mov byte [rsp + 0x6f], bpl
mov byte [rsp + r14 + 0x68], sil
add bpl, sil
movzx esi, bpl
movzx esi, byte [rsp + rsi + 0x68]
xor esi, 0x9c
movzx ebp, byte [rsp + 0x70]
add dil, bpl
movzx edi, dil
movzx r14d, byte [rsp + rdi + 0x68]
mov byte [rsp + 0x70], r14b
mov byte [rsp + rdi + 0x68], bpl
add r14b, bpl
movzx edi, r14b
movzx edi, byte [rsp + rdi + 0x68]
xor edi, 0x69
shl rdi, 0x38
shl rsi, 0x30
or rsi, rdi
shl r11, 0x28
or r11, rsi
shl r10, 0x20
or r10, r11
shl r9d, 0x18
or r9, r10
shl r8d, 0x10
or r8, r9
shl edx, 8
mov r14d, edx
or r14, r8
or r14, rcx
xor r14, rax
movups xmm0, xmmword [0x14002664e]
movups xmmword [rsp + 0x220], xmm0
movups xmm0, xmmword [0x14002663e]
movups xmmword [rsp + 0x210], xmm0
movups xmm0, xmmword [0x14002662e]
movups xmmword [rsp + 0x200], xmm0
movups xmm0, xmmword [0x14002661e]
movups xmmword [rsp + 0x1f0], xmm0
movups xmm0, xmmword [0x14002660e]
movups xmmword [rsp + 0x1e0], xmm0
movups xmm0, xmmword [0x1400265fe]
movups xmmword [rsp + 0x1d0], xmm0
movups xmm0, xmmword [0x1400265ee]
movups xmmword [rsp + 0x1c0], xmm0
movups xmm0, xmmword [0x1400265de]
movups xmmword [rsp + 0x1b0], xmm0
xor eax, eax
nop word cs:[rax + rax]
mov ecx, eax
mov edx, eax
add edx, 0xffffffcc
cmp rax, 0x34
cmovb edx, eax
add edx, 0x39
mov ecx, edx
xor word [rsp + rax*2 + 0x1b0], dx
mov rcx, rax
inc rcx
mov rax, rcx
cmp rcx, 0x40
jne 0x140024f60
lea rsi, [rsp + 0x230]
lea r8, [rsp + 0x1b0]
mov rcx, r14
mov rdx, rsi
call fcn.14000c280
movups xmm0, xmmword [0x140022490]
movups xmmword [rsp + 0x198], xmm0
movabs rax, 0x7300720065
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x198]
mov rcx, r14
call fcn.14000c280
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x168], 0x30
mov qword [rsp + 0x170], 0
mov dword [rsp + 0x180], 0x240
mov qword [rsp + 0x178], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x188], xmm0
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x168]
mov rcx, r14
mov r8d, 0x20019
call fcn.14001e730
test eax, eax
js 0x14002514b
mov rdx, qword [rsp + 0x40]
lea rsi, [rsp + 0x3c]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rcx, r14
mov r9d, 2
call fcn.140020450
cmp eax, 0xc0000023
je 0x140025082
mov ecx, eax
cmp eax, 0x80000005
jne 0x14002513a
mov eax, dword [rsp + 0x3c]
mov r8d, eax
mov rcx, r14
mov edx, 1
call fcn.1400136c0
test rax, rax
je 0x140025135
mov rdi, rax
mov r15, rax
mov eax, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x50]
mov rcx, r14
mov r9d, 2
call fcn.140020450
test eax, eax
js 0x140025119
cmp dword [r15 + 4], 7
jne 0x140025119
mov ebp, eax
mov eax, dword [r15 + 8]
add eax, 0xfffffffe
mov r12d, eax
mov rcx, r14
xor edx, edx
mov r8, r12
call fcn.1400136c0
test rax, rax
je 0x14002512a
mov rsi, rdi
add rsi, 0xc
mov rdi, rax
mov rcx, r12
rep movsb byte [rdi], byte [rsi]
mov qword [rbx + 8], rax
mov eax, r12d
mov word [rbx + 2], r12w
mov word [rbx], r12w
mov eax, ebp
mov esi, eax
mov rcx, r14
mov rdx, r15
call fcn.1400153d0
mov ecx, esi
jmp 0x14002513a
mov rcx, r14
mov rdx, r15
call fcn.1400153d0
mov ecx, 0xc000009a
mov esi, ecx
mov rdx, qword [rsp + 0x40]
mov rcx, r14
call fcn.1400069f0
mov eax, esi
add rsp, 0x240
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret