Function at 0x498a20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1d8
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1c0], xmm7
mov qword [rsp + 0x228], rdx
mov rax, qword [rsp + 0x228]
mov r11, rcx
lea rdx, [rsp + 0x110]
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x120]
lea rcx, [rax + 0x20]
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x190]
lea rbx, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x180]
lea r15, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x170]
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x160]
lea r12, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x150]
lea rbp, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x140]
lea rdi, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0xd0]
lea r13, [rsp + 0xc0]
call fcn.00489950
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x68], rsi
mov rsi, rbx
mov qword [rsp + 0x78], r11
mov rbx, r15
mov r15, r11
movdqa xmm7, xmmword [rax + 0x40]
movdqa xmm6, xmmword [rax + 0x50]
movdqa xmm5, xmmword [rax + 0x60]
movdqa xmm4, xmmword [rax + 0x70]
movdqa xmm3, xmmword [rax + 0x80]
movdqa xmm2, xmmword [rax + 0x90]
movdqa xmm1, xmmword [rax + 0xa0]
movdqa xmm0, xmmword [rax + 0xb0]
lea rax, [r11 + 0x400000]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
nop word [rax + rax]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov r9, rsi
mov r8, rbx
pxor xmm7, xmmword [r15]
pxor xmm0, xmmword [r15 + 0x70]
mov rcx, rbp
sub r15, 0xffffffffffffff80
pxor xmm5, xmmword [r15 - 0x60]
pxor xmm4, xmmword [r15 - 0x50]
pxor xmm3, xmmword [r15 - 0x40]
pxor xmm2, xmmword [r15 - 0x30]
movaps xmmword [rsp + 0x90], xmm7
pxor xmm6, xmmword [r15 - 0x70]
pxor xmm1, xmmword [r15 - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movdqa xmm7, xmmword [rsp + 0x110]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xb0], xmm5
movaps xmmword [rsp + 0xc0], xmm4
movaps xmmword [rsp + 0xd0], xmm3
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0x80], xmm7
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm1, xmmword [rsp + 0x120]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm1
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm2, xmmword [rsp + 0x130]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm2
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm3, xmmword [rsp + 0x140]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm3
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm4, xmmword [rsp + 0x150]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm4
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm5, xmmword [rsp + 0x160]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm5
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm6, xmmword [rsp + 0x170]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm6
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm0, xmmword [rsp + 0x180]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm0
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm7, xmmword [rsp + 0x190]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov rdx, r12
movaps xmmword [rsp + 0x80], xmm7
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], r14
mov rcx, rbp
movdqa xmm1, xmmword [rsp + 0x1a0]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], rdx
mov rdx, r12
mov qword [rsp + 0x38], rax
movaps xmmword [rsp + 0x80], xmm1
call fcn.004927d0
movdqa xmm6, xmmword [rsp + 0xa0]
movdqa xmm5, xmmword [rsp + 0xb0]
pxor xmm6, xmmword [rsp + 0xb0]
pxor xmm5, xmmword [rsp + 0xc0]
movdqa xmm4, xmmword [rsp + 0xc0]
movdqa xmm3, xmmword [rsp + 0xd0]
pxor xmm4, xmmword [rsp + 0xd0]
pxor xmm3, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0xb0], xmm5
movdqa xmm2, xmmword [rsp + 0xe0]
movdqa xmm1, xmmword [rsp + 0xf0]
pxor xmm2, xmmword [rsp + 0xf0]
pxor xmm1, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xc0], xmm4
movdqa xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xd0], xmm3
pxor xmm0, xmmword [rsp + 0x100]
movdqa xmm7, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xe0], xmm2
pxor xmm7, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x100], xmm0
cmp qword [rsp + 0x70], r15
jne 0x498b80
mov r15, qword [rsp + 0x78]
nop dword [rax]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov r9, rsi
mov r8, rbx
pxor xmm2, xmmword [r15 + 0x50]
pxor xmm1, xmmword [r15 + 0x60]
mov rdx, r12
sub r15, 0xffffffffffffff80
pxor xmm0, xmmword [r15 - 0x10]
pxor xmm5, xmmword [r15 - 0x60]
pxor xmm4, xmmword [r15 - 0x50]
pxor xmm7, xmmword [r15 - 0x80]
movaps xmmword [rsp + 0xe0], xmm2
pxor xmm6, xmmword [r15 - 0x70]
pxor xmm3, xmmword [r15 - 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movdqa xmm2, xmmword [rsp + 0x110]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm2
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xb0], xmm5
movaps xmmword [rsp + 0xc0], xmm4
movaps xmmword [rsp + 0x90], xmm7
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0xd0], xmm3
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm3, xmmword [rsp + 0x120]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm3
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm4, xmmword [rsp + 0x130]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm4
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm5, xmmword [rsp + 0x140]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm5
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm6, xmmword [rsp + 0x150]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm6
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm0, xmmword [rsp + 0x160]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm0
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm7, xmmword [rsp + 0x170]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm7
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm1, xmmword [rsp + 0x180]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm1
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm2, xmmword [rsp + 0x190]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, rbp
movaps xmmword [rsp + 0x80], xmm2
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rsi
mov r8, rbx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], r14
mov rdx, r12
movdqa xmm3, xmmword [rsp + 0x1a0]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x30], rcx
mov rcx, rbp
mov qword [rsp + 0x38], rax
movaps xmmword [rsp + 0x80], xmm3
call fcn.004927d0
movdqa xmm0, xmmword [rsp + 0x90]
movdqa xmm7, xmmword [rsp + 0xa0]
movdqa xmm6, xmmword [rsp + 0xa0]
movdqa xmm5, xmmword [rsp + 0xb0]
pxor xmm6, xmmword [rsp + 0xb0]
pxor xmm7, xmm0
pxor xmm5, xmmword [rsp + 0xc0]
movdqa xmm4, xmmword [rsp + 0xc0]
movdqa xmm3, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x90], xmm7
pxor xmm4, xmmword [rsp + 0xd0]
pxor xmm3, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm2, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0xb0], xmm5
pxor xmm2, xmmword [rsp + 0xf0]
movdqa xmm1, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xc0], xmm4
pxor xmm1, xmmword [rsp + 0x100]
pxor xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xd0], xmm3
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0x100], xmm0
cmp r15, qword [rsp + 0x70]
jne 0x498f80
mov r15, rbx
mov rbx, rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0x10
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm0, xmmword [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm0
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm4, xmmword [rsp + 0x120]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm4
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm5, xmmword [rsp + 0x130]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm5
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm6, xmmword [rsp + 0x140]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm6
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm0, xmmword [rsp + 0x150]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm0
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm4, xmmword [rsp + 0x160]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm4
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm5, xmmword [rsp + 0x170]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm5
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm6, xmmword [rsp + 0x180]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm6
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm0, xmmword [rsp + 0x190]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm0
call fcn.004927d0
mov qword [rsp + 0x40], rdi
mov r9, rbx
mov r8, r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov rcx, rbp
movdqa xmm4, xmmword [rsp + 0x1a0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r13
movaps xmmword [rsp + 0x80], xmm4
call fcn.004927d0
sub qword [rsp + 0x68], 1
movdqa xmm0, xmmword [rsp + 0x90]
movdqa xmm7, xmmword [rsp + 0xa0]
movdqa xmm6, xmmword [rsp + 0xa0]
movdqa xmm5, xmmword [rsp + 0xb0]
pxor xmm6, xmmword [rsp + 0xb0]
pxor xmm5, xmmword [rsp + 0xc0]
pxor xmm7, xmm0
movdqa xmm4, xmmword [rsp + 0xc0]
movdqa xmm3, xmmword [rsp + 0xd0]
pxor xmm4, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x90], xmm7
pxor xmm3, xmmword [rsp + 0xe0]
movdqa xmm2, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0xa0], xmm6
pxor xmm2, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xb0], xmm5
movdqa xmm1, xmmword [rsp + 0xf0]
pxor xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xc0], xmm4
pxor xmm1, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xd0], xmm3
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0x100], xmm0
jne 0x499390
mov rax, qword [rsp + 0x228]
movaps xmmword [rax + 0x40], xmm7
movaps xmmword [rax + 0x50], xmm6
movaps xmmword [rax + 0x60], xmm5
movaps xmmword [rax + 0x70], xmm4
movaps xmmword [rax + 0x80], xmm3
movaps xmmword [rax + 0x90], xmm2
movaps xmmword [rax + 0xa0], xmm1
movaps xmmword [rax + 0xb0], xmm0
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret