Function at 0x140024b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x14009f320]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x520]
mov edi, r9d
mov rsi, qword [rsp + 0x538]
mov r13, r8
mov qword [rsp + 0x50], rax
mov r12, rdx
mov rax, qword [rsp + 0x530]
mov rbx, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x60], rax
cmp r9d, 1
jne 0x140024be7
cmp dword [rcx + 0x148], r9d
jne 0x140024ee7
mov rbp, qword [rcx + 8]
lea rax, [rbp - 0x10]
cmp rax, 0x3f0
ja 0x140024ee7
mov ecx, dword [rcx + 0x14c]
call fcn.1400233e0
mov r14, rax
test rax, rax
je 0x140024ee7
mov rcx, rax
call fcn.140022e50
movzx r15d, al
lea eax, [r15 + r15]
lea r8d, [rax + 2]
mov dword [rsp + 0x30], eax
cmp r8, rbp
ja 0x140024ee7
mov rcx, rbx
test edi, edi
jne 0x140024c4c
lea r8, [rsp + 0xb0]
mov rdx, rsi
call fcn.140024a30
jmp 0x140024c67
lea rax, [rsp + 0xb0]
mov r9, rsi
mov r8, r13
mov qword [rsp + 0x20], rax
mov rdx, r12
call fcn.140024590
mov edi, eax
test eax, eax
jne 0x140024ec2
lea rcx, [rsp + 0x38]
call fcn.140023460
xor r8d, r8d
lea rcx, [rsp + 0x38]
mov rdx, r14
call fcn.140023480
mov edi, eax
test eax, eax
jne 0x140024eb8
mov rsi, r15
lea rax, [rsp + 0x38]
mov r15, rbp
mov qword [rsp + 0x20], rax
sub r15, rsi
lea rbx, [rsp + 0xb1]
add rbx, rsi
lea rcx, [rsp + 0xb1]
mov r8, rbx
mov rdx, rsi
lea r9, [r15 - 1]
call fcn.140025430
mov edi, eax
test eax, eax
jne 0x140024eb8
lea rax, [rsp + 0x38]
mov r9, rsi
lea r8, [rsp + 0xb1]
mov qword [rsp + 0x20], rax
lea rdx, [r15 - 1]
mov rcx, rbx
call fcn.140025430
mov edi, eax
test eax, eax
jne 0x140024eb8
lea rcx, [rsp + 0x38]
call fcn.140022d70
mov r8, qword [rsp + 0x528]
lea r9, [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.140022b20
mov edi, eax
test eax, eax
jne 0x140024ec2
movzx r8d, byte [rsp + 0xb0]
xor edi, edi
mov ecx, edi
test rsi, rsi
je 0x140024de5
cmp rsi, 0x20
jb 0x140024dd0
mov rax, rsi
xorps xmm3, xmm3
and rax, 0xffffffffffffffe0
xorps xmm2, xmm2
nop word [rax + rax]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rsp + rcx + 0x70]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rbx + 0x10]
add rbx, 0x20
orps xmm3, xmm1
movdqu xmm1, xmmword [rsp + rcx + 0x80]
add rcx, 0x20
xorps xmm1, xmm0
orps xmm2, xmm1
cmp rcx, rax
jb 0x140024d60
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd eax, xmm2
or r8b, al
cmp rcx, rsi
jae 0x140024de5
movzx eax, byte [rsp + rcx + 0x70]
inc rcx
xor al, byte [rbx]
inc rbx
or r8b, al
cmp rcx, rsi
jb 0x140024dd0
mov eax, dword [rsp + 0x30]
mov r14, rbp
sub r14, rax
xor dl, dl
add r14, 0xfffffffffffffffe
mov r9, rdi
mov r10, rdi
mov r11, rdi
mov rcx, rdi
cmp r14, 2
jb 0x140024e46
lea rsi, [r14 - 1]
nop dword [rax + rax]
or dl, byte [rcx + rbx]
movzx eax, dl
neg al
or al, dl
or dl, byte [rcx + rbx + 1]
not al
add rcx, 2
movzx eax, al
shr rax, 7
add r9, rax
movzx eax, dl
neg al
or al, dl
not al
movzx eax, al
shr rax, 7
add r10, rax
cmp rcx, rsi
jb 0x140024e10
cmp rcx, r14
jae 0x140024e5f
or dl, byte [rcx + rbx]
movzx eax, dl
neg al
or al, dl
not al
movzx r11d, al
shr r11, 7
lea rax, [r10 + r9]
add rax, r11
add rbx, rax
movzx eax, byte [rbx]
inc rbx
xor al, 1
or r8b, al
je 0x140024e7d
mov edi, 0xffffbf00
jmp 0x140024ec2
sub rbp, rbx
lea r8, [rsp + 0xb0]
add r8, rbp
cmp r8, qword [rsp + 0x548]
jbe 0x140024e9c
mov edi, 0xffffbc00
jmp 0x140024ec2
mov rax, qword [rsp + 0x58]
mov qword [rax], r8
test r8, r8
je 0x140024ec2
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140024ec2
lea rcx, [rsp + 0x38]
call fcn.140022d70
mov edx, 0x400
lea rcx, [rsp + 0xb0]
call fcn.140020050
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.140020050
mov eax, edi
jmp 0x140024eec
mov eax, 0xffffbf80
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14006ab10
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret