Function at 0x499740
Capabilities:
Encode data using xor

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