Function at 0x4c8f50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, r8
shl rax, 5
add qword [rcx + 0x30], rax
mov eax, dword [rcx + 0x10]
mov qword [rsp + 0xa0], rcx
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x14]
mov qword [rsp + 0xa8], rdx
mov dword [rsp + 0x20], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x1c], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x18], eax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x14], eax
mov eax, dword [rcx + 0x24]
mov dword [rsp + 0x10], eax
mov eax, dword [rcx + 0x28]
mov dword [rsp + 0xc], eax
mov eax, dword [rcx + 0x2c]
mov dword [rsp + 8], eax
test r8, r8
je 0x4c9920
lea rax, [rdx + r8*4]
mov qword [rsp + 0x48], rax
nop dword [rax]
mov r15, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa8]
movzx r13d, byte [r15 + 3]
movzx r12d, byte [rax]
mov r8, r13
movzx ebp, byte [rax + 1]
lea r15, [0x007310e0]
shl r8, 5
mov r10d, dword [r15 + r8]
movzx esi, byte [rax + 2]
mov rcx, r12
lea rdi, [0x007370e0]
shl rcx, 5
mov rdx, rbp
xor r10d, dword [rdi + rcx]
lea rbx, [0x007350e0]
shl rdx, 5
mov rax, rsi
shl r13, 5
add r13, r15
xor r10d, dword [rbx + rdx]
lea r14, [0x007330e0]
shl rax, 5
shl rbp, 5
add rbp, rbx
xor r10d, dword [r14 + rax]
mov r9d, dword [r13 + 4]
mov ebx, dword [r13 + 8]
mov eax, dword [r13 + 0xc]
mov r11d, dword [r13 + 0x10]
mov r8d, dword [r13 + 0x14]
shl r12, 5
add r12, rdi
mov ecx, dword [r13 + 0x18]
xor r9d, dword [r12 + 4]
xor ebx, dword [r12 + 8]
xor eax, dword [r12 + 0xc]
xor r11d, dword [r12 + 0x10]
xor r8d, dword [r12 + 0x14]
shl rsi, 5
add rsi, r14
xor r9d, dword [rbp + 4]
xor ebx, dword [rbp + 8]
xor eax, dword [rbp + 0xc]
xor r11d, dword [rbp + 0x10]
xor r8d, dword [rbp + 0x14]
xor ecx, dword [r12 + 0x18]
xor r9d, dword [rsi + 4]
xor ebx, dword [rsi + 8]
xor eax, dword [rsi + 0xc]
xor r11d, dword [rsi + 0x10]
xor r8d, dword [rsi + 0x14]
xor ecx, dword [rbp + 0x18]
mov edx, dword [r13 + 0x1c]
xor ecx, dword [rsi + 0x18]
xor edx, dword [r12 + 0x1c]
xor edx, dword [rbp + 0x1c]
xor edx, dword [rsi + 0x1c]
mov esi, dword [rsp + 0x10]
xor r10d, 0xff00f0f0
xor esi, 0xf0f0cccc
mov r15d, dword [rsp + 0x1c]
mov r13d, dword [rsp + 0xc]
mov dword [rsp + 0x2c], esi
xor r11d, 0xccccaaaa
mov esi, r10d
xor r15d, 0xf0f0cccc
xor r13d, 0xaaaaff00
and esi, r11d
xor esi, r13d
xor r11d, r15d
or r13d, r10d
xor r11d, esi
xor r15d, r13d
xor r10d, r11d
mov r13d, r15d
or r13d, r10d
xor r13d, esi
and esi, r15d
xor r9d, 0xccccaaaa
mov dword [rsp + 0x30], r13d
xor eax, 0xaaaaf0f0
mov r14d, dword [rsp + 0x18]
mov r12d, dword [rsp + 8]
mov r13d, esi
mov dword [rsp + 0x28], eax
xor r13d, r10d
xor r8d, 0xff00f0f0
mov ebp, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
mov eax, dword [rsp + 0x14]
mov r10d, r9d
xor r14d, 0xaaaaff00
xor r12d, 0xf0f0cccc
and r10d, r8d
xor ebp, 0xf0f0cccc
xor edi, 0xff00aaaa
xor ebx, 0xccccff00
xor eax, 0xff00aaaa
xor ecx, 0xaaaaf0f0
xor edx, 0xccccff00
xor r10d, r12d
or r12d, r9d
xor r8d, r14d
xor r8d, r10d
xor r14d, r12d
xor r9d, r8d
mov r12d, r14d
or r12d, r9d
xor r12d, r10d
and r10d, r14d
xor r10d, r9d
mov r9d, ebp
and r9d, eax
xor r9d, ecx
xor eax, ebx
or ecx, ebp
xor eax, r9d
xor ebx, ecx
xor ebp, eax
mov ecx, ebx
or ecx, ebp
mov esi, ecx
xor esi, r9d
and r9d, ebx
mov ecx, r9d
mov r9d, dword [rsp + 0x2c]
xor ecx, ebp
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x38], r10d
mov r13d, ecx
mov r10d, dword [rsp + 0x28]
mov ecx, r9d
and ecx, edi
xor ecx, edx
xor r9d, r10d
or edx, edi
xor edx, r10d
xor r9d, ecx
xor edi, r9d
mov ebp, edx
or ebp, edi
xor ebp, ecx
and ecx, edx
xor edi, ecx
mov ecx, r12d
xor ebx, r13d
rorx r11d, r11d, 0x13
xor ecx, r11d
mov dword [rsp + 0x28], r12d
xor ebx, esi
mov r12d, ecx
lea r10d, [r11*8]
xor r10d, edi
rorx ebx, ebx, 0x1d
xor r12d, ebx
xor r10d, ebx
rorx r12d, r12d, 0x1f
mov ecx, r12d
xor r11d, r12d
not r10d
shl ecx, 7
mov dword [rsp + 0x2c], r13d
xor edi, edx
rorx r13d, r10d, 0x19
xor r11d, r13d
xor ecx, r13d
xor ebx, ecx
rorx r10d, r11d, 0x1b
mov edx, edi
mov r11d, dword [rsp + 0x34]
xor edx, ebp
rorx r8d, r8d, 0x13
rorx ebx, ebx, 0xa
xor esi, r8d
mov dword [rsp + 0x40], ebx
lea ebx, [r8*8]
rorx edi, edx, 0x1d
xor ebx, r11d
xor esi, edi
xor ebx, edi
rorx esi, esi, 0x1f
mov edx, esi
xor r8d, esi
shl edx, 7
not ebx
rorx ebx, ebx, 0x19
xor r8d, ebx
xor edx, ebx
xor edi, edx
rorx edx, r8d, 0x1b
mov r8d, dword [rsp + 0x30]
xor r15d, r11d
rorx ecx, edi, 0xa
mov edi, dword [rsp + 0x38]
xor r15d, r8d
rorx eax, eax, 0x13
xor ebp, eax
lea r11d, [rax*8]
xor r11d, edi
rorx r15d, r15d, 0x1d
xor ebp, r15d
mov dword [rsp + 0x3c], r10d
xor r11d, r15d
rorx r10d, ebp, 0x1f
mov ebp, r10d
shl ebp, 7
not r11d
xor eax, r10d
rorx r11d, r11d, 0x19
xor ebp, r11d
xor eax, r11d
xor r15d, ebp
rorx ebp, r15d, 0xa
xor r14d, edi
rorx r15d, r9d, 0x13
xor r8d, r15d
xor r14d, dword [rsp + 0x28]
mov dword [rsp + 0x34], ecx
mov edi, r8d
rorx ecx, eax, 0x1b
lea eax, [r15*8]
xor eax, dword [rsp + 0x2c]
rorx r14d, r14d, 0x1d
xor edi, r14d
xor eax, r14d
rorx edi, edi, 0x1f
mov r8d, edi
shl r8d, 7
not eax
rorx eax, eax, 0x19
xor r8d, eax
xor r14d, r8d
xor r10d, 0xaaaaf0f0
rorx r8d, r14d, 0xa
mov r14d, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], r10d
mov r10d, dword [rsp + 0x34]
xor r14d, 0xff00f0f0
xor r10d, 0xf0f0cccc
xor r13d, 0xccccff00
mov r9d, r15d
mov r15d, r14d
mov dword [rsp + 0x30], r10d
xor ebp, 0xccccaaaa
mov r10d, r13d
mov r13d, r15d
xor r9d, edi
and r13d, ebp
xor edi, 0xf0f0cccc
mov r14d, edx
xor ebx, 0xaaaaff00
mov edx, dword [rsp + 0x40]
xor r13d, ebx
xor r9d, eax
xor ebp, edi
xor r14d, 0xccccaaab
xor ecx, 0xf0f0cccc
xor r12d, 0xaaaaff00
xor ebp, r13d
xor esi, 0xccccff00
xor r8d, 0xff00f0f0
xor edx, 0xff00aaaa
xor r11d, 0xf0f0cccc
xor eax, 0xaaaaf0f0
rorx r9d, r9d, 0x1b
xor r9d, 0xff00aaaa
or ebx, r15d
xor edi, ebx
xor r15d, ebp
mov ebx, edi
or edi, r15d
mov dword [rsp + 0x34], ebx
xor edi, r13d
and r13d, ebx
mov ebx, r14d
and ebx, r8d
xor ebx, r11d
xor r15d, r13d
or r11d, r14d
xor r8d, r12d
mov r13d, r12d
xor r8d, ebx
xor r13d, r11d
xor r14d, r8d
mov r11d, r13d
or r11d, r14d
xor r11d, ebx
mov r12d, r11d
mov r11d, ecx
and r11d, edx
xor r11d, eax
xor edx, esi
or eax, ecx
xor esi, eax
and ebx, r13d
xor edx, r11d
xor r14d, ebx
xor ecx, edx
mov ebx, esi
or ebx, ecx
xor ebx, r11d
and r11d, esi
xor r11d, ecx
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x28], edi
mov eax, dword [rsp + 0x2c]
mov edi, r11d
mov r11d, ecx
and r11d, r9d
xor r11d, r10d
xor ecx, eax
xor ecx, r11d
or r10d, r9d
xor r10d, eax
xor r9d, ecx
mov eax, r10d
or eax, r9d
xor eax, r11d
and r11d, r10d
xor r9d, r11d
mov r11d, r12d
xor esi, edi
rorx ebp, ebp, 0x13
xor r11d, ebp
mov dword [rsp + 0x2c], r12d
xor esi, ebx
mov r12d, r11d
lea r11d, [rbp*8]
xor r11d, r9d
rorx esi, esi, 0x1d
xor r12d, esi
mov dword [rsp + 0x30], edi
xor r11d, esi
rorx r12d, r12d, 0x1f
mov edi, r12d
xor r10d, r9d
rorx r8d, r8d, 0x13
shl edi, 7
mov r9d, ebx
not r11d
lea ebx, [r8*8]
xor ebp, r12d
xor ebx, r15d
rorx r11d, r11d, 0x19
xor r10d, eax
xor edi, r11d
xor esi, edi
xor r9d, r8d
xor ebp, r11d
rorx r10d, r10d, 0x1d
xor ebx, r10d
rorx ebp, ebp, 0x1b
mov dword [rsp + 0x38], ebp
rorx ebp, esi, 0xa
mov esi, r9d
mov r9d, ebx
xor esi, r10d
not r9d
rorx ebx, r9d, 0x19
rorx esi, esi, 0x1f
mov r9d, esi
shl r9d, 7
xor r9d, ebx
xor r15d, dword [rsp + 0x34]
xor r8d, esi
xor r15d, dword [rsp + 0x28]
xor r8d, ebx
xor r10d, r9d
rorx edx, edx, 0x13
xor eax, edx
rorx r9d, r8d, 0x1b
mov dword [rsp + 0x40], r9d
rorx r9d, r10d, 0xa
mov r10d, eax
lea eax, [rdx*8]
xor eax, r14d
rorx edi, r15d, 0x1d
xor eax, edi
mov r8d, eax
xor r10d, edi
not r8d
rorx eax, r8d, 0x19
rorx r10d, r10d, 0x1f
mov r8d, r10d
shl r8d, 7
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x44], r9d
mov ebp, r8d
rorx r9d, ecx, 0x13
mov ecx, dword [rsp + 0x28]
xor ebp, eax
xor edx, r10d
xor edx, eax
xor ecx, r9d
xor edi, ebp
xor r13d, r14d
xor r13d, dword [rsp + 0x2c]
rorx r8d, edx, 0x1b
rorx ebp, edi, 0xa
lea edx, [r9*8]
mov edi, ecx
xor edx, dword [rsp + 0x30]
rorx r13d, r13d, 0x1d
xor edi, r13d
xor edx, r13d
rorx edi, edi, 0x1f
mov ecx, edi
shl ecx, 7
not edx
rorx edx, edx, 0x19
xor ecx, edx
xor r13d, ecx
mov r15d, dword [rsp + 0x38]
rorx ecx, r13d, 0xa
mov r13d, dword [rsp + 0x44]
xor r10d, 0xaaaaf0f0
mov dword [rsp + 0x28], r10d
xor r15d, 0xff00f0f0
xor r9d, edi
xor r13d, 0xf0f0cccc
mov r14d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], r13d
xor r9d, edx
xor ebp, 0xccccaaaa
mov r13d, r15d
xor r14d, 0xccccaaa8
xor r8d, 0xf0f0cccc
xor edi, 0xf0f0cccc
xor r12d, 0xaaaaff00
xor esi, 0xccccff00
xor ecx, 0xff00f0f0
xor r10d, 0xff00aaaa
rorx r9d, r9d, 0x1b
xor r9d, 0xff00aaaa
xor ebx, 0xaaaaff00
and r13d, ebp
xor r13d, ebx
xor ebp, edi
or ebx, r15d
xor ebp, r13d
xor edi, ebx
xor r15d, ebp
mov ebx, edi
or ebx, r15d
xor ebx, r13d
mov dword [rsp + 0x30], ebx
mov ebx, r14d
xor eax, 0xf0f0cccc
and ebx, ecx
xor ebx, eax
xor ecx, r12d
or eax, r14d
xor ecx, ebx
xor r12d, eax
xor r14d, ecx
mov eax, r12d
or eax, r14d
and r13d, edi
xor eax, ebx
xor r15d, r13d
mov r13d, eax
mov eax, r8d
xor edx, 0xaaaaf0f0
and eax, r10d
xor eax, edx
xor r10d, esi
or edx, r8d
xor esi, edx
and ebx, r12d
xor r10d, eax
xor ebx, r14d
xor r11d, 0xccccff00
mov edx, esi
xor r8d, r10d
or edx, r8d
mov dword [rsp + 0x34], ebx
mov r14d, dword [rsp + 0x2c]
mov ebx, edx
xor ebx, eax
and eax, esi
xor r8d, eax
mov edx, r14d
mov eax, dword [rsp + 0x28]
and edx, r9d
xor edx, r11d
xor r14d, eax
or r11d, r9d
xor r14d, edx
xor r11d, eax
xor r9d, r14d
mov eax, r11d
or eax, r9d
xor eax, edx
and edx, r11d
xor r9d, edx
xor esi, r8d
rorx ebp, ebp, 0x13
lea edx, [rbp*8]
mov dword [rsp + 0x28], r13d
xor esi, ebx
xor r13d, ebp
xor edx, r9d
rorx esi, esi, 0x1d
xor r13d, esi
xor edx, esi
rorx r13d, r13d, 0x1f
not edx
xor ebp, r13d
shl r13d, 7
xor r11d, r9d
rorx edx, edx, 0x19
rorx ecx, ecx, 0x13
xor ebp, edx
xor r13d, edx
lea edx, [rcx*8]
xor r11d, eax
xor ebx, ecx
xor edx, r15d
xor r13d, esi
rorx r11d, r11d, 0x1d
xor ebx, r11d
xor edx, r11d
rorx ebx, ebx, 0x1f
not edx
xor ecx, ebx
shl ebx, 7
rorx edx, edx, 0x19
xor ebx, edx
mov r9d, dword [rsp + 0x34]
xor r11d, ebx
mov ebx, dword [rsp + 0x30]
xor ecx, edx
xor edi, r15d
rorx r10d, r10d, 0x13
lea edx, [r10*8]
xor edi, ebx
xor eax, r10d
xor edx, r9d
rorx edi, edi, 0x1d
xor eax, edi
xor edx, edi
rorx eax, eax, 0x1f
not edx
xor r10d, eax
shl eax, 7
rorx edx, edx, 0x19
xor eax, edx
xor r10d, edx
xor edi, eax
rorx edx, r14d, 0x13
xor r12d, r9d
lea eax, [rdx*8]
xor r12d, dword [rsp + 0x28]
xor ebx, edx
xor eax, r8d
rorx r12d, r12d, 0x1d
xor ebx, r12d
xor eax, r12d
rorx ebx, ebx, 0x1f
not eax
xor edx, ebx
shl ebx, 7
rorx eax, eax, 0x19
xor ebx, eax
xor ebx, r12d
mov r14d, edx
rorx r11d, r11d, 0xa
rorx ebx, ebx, 0xa
xor dword [rsp + 8], r11d
xor dword [rsp + 0x10], ebx
xor r14d, eax
rorx edi, edi, 0xa
rorx r13d, r13d, 0xa
xor dword [rsp + 0x14], edi
xor dword [rsp + 0xc], r13d
rorx r14d, r14d, 0x1b
rorx r10d, r10d, 0x1b
xor dword [rsp + 0x18], r14d
rorx ecx, ecx, 0x1b
xor dword [rsp + 0x1c], r10d
xor dword [rsp + 0x20], ecx
rorx ebp, ebp, 0x1b
xor dword [rsp + 0x24], ebp
mov r11, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x10]
mov r12d, dword [rsp + 8]
mov eax, dword [rsp + 0x24]
mov dword [r11 + 0x24], esi
mov r8d, dword [rsp + 0xc]
mov edx, dword [rsp + 0x14]
mov esi, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x1c]
mov edi, dword [rsp + 0x20]
mov dword [r11 + 0x10], eax
mov dword [r11 + 0x2c], r12d
mov dword [r11 + 0x28], r8d
mov dword [r11 + 0x20], edx
mov dword [r11 + 0x1c], esi
mov dword [r11 + 0x18], r15d
mov dword [r11 + 0x14], edi
add qword [rsp + 0xa8], 4
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0xa8], rax
jne 0x4c8fc8
mov rax, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x24]
mov dword [rax + 0x10], esi
mov esi, dword [rsp + 0x20]
mov dword [rax + 0x14], esi
mov esi, dword [rsp + 0x1c]
mov dword [rax + 0x18], esi
mov esi, dword [rsp + 0x18]
mov dword [rax + 0x1c], esi
mov esi, dword [rsp + 0x14]
mov dword [rax + 0x20], esi
mov esi, dword [rsp + 0x10]
mov dword [rax + 0x24], esi
mov esi, dword [rsp + 0xc]
mov dword [rax + 0x28], esi
mov esi, dword [rsp + 8]
mov dword [rax + 0x2c], esi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret