Function at 0x1801ecc50
Capabilities:
Encode data using xor
Encrypt data using camellia

Disassembly:
mov r9, rdx
mov rdx, rcx
mov ecx, dword [r8 + 0x110]
jmp 0x1801eb530
mov r9, rdx
mov rdx, rcx
mov ecx, dword [r8 + 0x110]
jmp 0x1801ecc50
cmp r9d, 1
je 0x1801cd440
jmp 0x1801cd420
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
movzx edi, byte [rdx]
movzx ebp, byte [rdx + 4]
movzx esi, byte [rdx + 8]
movzx r14d, byte [rdx + 0xc]
shl ecx, 4
shl edi, 8
movsxd rax, ecx
movzx ecx, byte [rdx + 1]
shl ebp, 8
xor edi, ecx
movzx ecx, byte [rdx + 2]
shl esi, 8
shl r14d, 8
shl edi, 8
lea rax, [r8 + rax*4]
mov r10d, dword [rax - 4]
xor edi, ecx
movzx ecx, byte [rdx + 3]
lea r12, [0x1803860a0]
shl edi, 8
sub rax, 0x30
xor edi, ecx
movzx ecx, byte [rdx + 5]
mov rbx, r9
xor edi, dword [rax + 0x30]
xor ebp, ecx
movzx ecx, byte [rdx + 6]
shl ebp, 8
lea r15, [r8 + 0x10]
xor ebp, ecx
movzx ecx, byte [rdx + 7]
shl ebp, 8
xor ebp, ecx
movzx ecx, byte [rdx + 9]
xor ebp, dword [rax + 0x34]
xor esi, ecx
movzx ecx, byte [rdx + 0xa]
shl esi, 8
xor r10d, ebp
xor esi, ecx
movzx ecx, byte [rdx + 0xb]
shl esi, 8
xor esi, ecx
movzx ecx, byte [rdx + 0xd]
xor esi, dword [rax + 0x38]
xor r14d, ecx
movzx ecx, byte [rdx + 0xe]
shl r14d, 8
xor r14d, ecx
movzx ecx, byte [rdx + 0xf]
shl r14d, 8
xor r14d, ecx
mov ecx, dword [rax + 0x28]
xor r14d, dword [rax + 0x3c]
xor ecx, edi
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor esi, r10d
xor ecx, r10d
mov r10d, dword [rax + 0x24]
xor r14d, ecx
mov ecx, dword [rax + 0x20]
xor ecx, esi
xor r10d, r14d
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor edi, r10d
xor ecx, r10d
mov r10d, dword [rax + 0x1c]
xor ebp, ecx
mov ecx, dword [rax + 0x18]
xor ecx, edi
xor r10d, ebp
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
xor r10d, r11d
xor esi, r10d
mov ecx, r11d
shr r11d, 8
shl ecx, 0x18
add ecx, r11d
xor ecx, r10d
mov r10d, dword [rax + 0x14]
xor r14d, ecx
mov ecx, dword [rax + 0x10]
xor ecx, esi
xor r10d, r14d
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor edi, r10d
xor ecx, r10d
mov r10d, dword [rax + 0xc]
xor ebp, ecx
mov ecx, dword [rax + 8]
xor ecx, edi
xor r10d, ebp
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
xor r10d, r11d
shl ecx, 0x18
xor esi, r10d
shr r11d, 8
add ecx, r11d
xor ecx, r10d
mov r10d, dword [rax + 4]
xor r14d, ecx
mov ecx, dword [rax]
xor ecx, esi
xor r10d, r14d
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
xor r10d, r11d
shl ecx, 0x18
shr r11d, 8
add ecx, r11d
xor edi, r10d
xor ecx, r10d
xor ebp, ecx
cmp rax, r15
je 0x1801ebdcd
nop word [rax + rax]
mov r8d, dword [rax - 8]
mov r10d, dword [rax - 0x14]
sub rax, 0x40
mov edx, r8d
and r8d, edi
mov ecx, edi
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
lea ecx, [rdx + r8*2]
mov r8d, dword [rax + 0x30]
xor ebp, ecx
mov ecx, dword [rax + 0x34]
mov edx, r8d
or ecx, r14d
xor r10d, ebp
shr edx, 0x1f
xor esi, ecx
mov ecx, dword [rax + 0x3c]
or ecx, ebp
and r8d, esi
xor edi, ecx
mov ecx, esi
shr ecx, 0x1f
and edx, ecx
lea ecx, [rdx + r8*2]
xor r14d, ecx
mov ecx, dword [rax + 0x28]
xor ecx, edi
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor esi, r10d
xor ecx, r10d
mov r10d, dword [rax + 0x24]
xor r14d, ecx
mov ecx, dword [rax + 0x20]
xor ecx, esi
xor r10d, r14d
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
xor r11d, dword [r12 + rcx*4 + 0x400]
mov r9d, r10d
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
shr rcx, 8
mov r10d, dword [r12 + r8*4 + 0xc00]
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor edi, r10d
xor ecx, r10d
mov r10d, dword [rax + 0x1c]
xor ebp, ecx
mov ecx, dword [rax + 0x18]
xor ecx, edi
xor r10d, ebp
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor esi, r10d
xor ecx, r10d
mov r10d, dword [rax + 0x14]
xor r14d, ecx
mov ecx, dword [rax + 0x10]
xor ecx, esi
xor r10d, r14d
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
shr rcx, 8
mov r10d, dword [r12 + r8*4 + 0xc00]
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor edi, r10d
xor ecx, r10d
mov r10d, dword [rax + 0xc]
xor ebp, ecx
mov ecx, dword [rax + 8]
xor ecx, edi
xor r10d, ebp
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r10d, dword [r12 + r8*4 + 0xc00]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
shl ecx, 0x18
xor r10d, r11d
shr r11d, 8
add ecx, r11d
xor esi, r10d
xor ecx, r10d
mov r10d, dword [rax + 4]
xor r14d, ecx
mov ecx, dword [rax]
xor ecx, esi
xor r10d, r14d
mov r9d, ecx
shr rcx, 0x10
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [r12 + r8*4 + 0x800]
shr rcx, 8
movzx edx, cl
mov ecx, r9d
xor r11d, dword [r12 + rdx*4 + 0xc00]
shr rcx, 0x18
xor r11d, dword [r12 + rcx*4]
movzx ecx, r9b
mov r9d, r10d
xor r11d, dword [r12 + rcx*4 + 0x400]
mov ecx, r10d
shr rcx, 0x10
movzx r8d, cl
mov ecx, r10d
shr rcx, 8
mov r10d, dword [r12 + r8*4 + 0xc00]
movzx edx, cl
mov ecx, r9d
xor r10d, dword [r12 + rdx*4 + 0x400]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x800]
movzx ecx, r9b
xor r10d, dword [r12 + rcx*4]
mov ecx, r11d
xor r10d, r11d
shl ecx, 0x18
shr r11d, 8
add ecx, r11d
xor edi, r10d
xor ecx, r10d
xor ebp, ecx
cmp rax, r15
jne 0x1801eb9c0
xor esi, dword [rax - 0x10]
xor edi, dword [rax - 8]
xor ebp, dword [rax - 4]
xor r14d, dword [rax - 0xc]
mov eax, esi
mov byte [rbx + 3], sil
shr eax, 0x18
mov byte [rbx + 0xb], dil
mov byte [rbx + 0xf], bpl
mov byte [rbx], al
mov eax, esi
mov byte [rbx + 7], r14b
shr eax, 0x10
mov byte [rbx + 1], al
mov eax, esi
mov rsi, qword [rsp + 0x30]
shr eax, 8
mov byte [rbx + 2], al
mov eax, r14d
shr eax, 0x18
mov byte [rbx + 4], al
mov eax, r14d
shr eax, 0x10
mov byte [rbx + 5], al
mov eax, r14d
shr eax, 8
mov byte [rbx + 6], al
mov eax, edi
shr eax, 0x18
mov byte [rbx + 8], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 9], al
mov eax, edi
mov rdi, qword [rsp + 0x38]
shr eax, 8
mov byte [rbx + 0xa], al
mov eax, ebp
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, ebp
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, ebp
mov rbp, qword [rsp + 0x28]
shr eax, 8
mov byte [rbx + 0xe], al
mov rbx, qword [rsp + 0x20]
pop r15
pop r14
pop r12
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
movzx edi, byte [rdx]
movzx ebp, byte [rdx + 4]
movzx esi, byte [rdx + 8]
movzx r14d, byte [rdx + 0xc]
mov r10d, dword [r8 + 0x14]
shl edi, 8
shl ebp, 8
shl esi, 8
lea r12, [0x1803860a0]
shl r14d, 8
shl ecx, 4
lea rbx, [r8 + 0x10]
movsxd rax, ecx
lea r15, [r8 + rax*4]
movzx eax, byte [rdx + 1]
xor edi, eax
movzx eax, byte [rdx + 2]
shl edi, 8
xor edi, eax
movzx eax, byte [rdx + 3]
shl edi, 8
xor edi, eax
movzx eax, byte [rdx + 5]
xor edi, dword [r8]
xor ebp, eax
movzx eax, byte [rdx + 6]
shl ebp, 8
xor ebp, eax
movzx eax, byte [rdx + 7]
shl ebp, 8
xor ebp, eax
movzx eax, byte [rdx + 9]
xor ebp, dword [r8 + 4]
xor esi, eax
movzx eax, byte [rdx + 0xa]
xor r10d, ebp
shl esi, 8
xor esi, eax
movzx eax, byte [rdx + 0xb]
shl esi, 8
xor esi, eax
movzx eax, byte [rdx + 0xd]
xor esi, dword [r8 + 8]
xor r14d, eax
movzx eax, byte [rdx + 0xe]
shl r14d, 8
xor r14d, eax
movzx eax, byte [rdx + 0xf]
shl r14d, 8
xor r14d, eax
mov eax, dword [rbx]
xor r14d, dword [r8 + 0xc]
xor eax, edi
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
xor r10d, r11d
xor esi, r10d
mov eax, r11d
shr r11d, 8
shl eax, 0x18
add eax, r11d
xor eax, r10d
mov r10d, dword [rbx + 0xc]
xor r14d, eax
mov eax, dword [rbx + 8]
xor eax, esi
xor r10d, r14d
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
shl eax, 0x18
xor r10d, r11d
shr r11d, 8
add eax, r11d
xor edi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x14]
xor ebp, eax
mov eax, dword [rbx + 0x10]
xor eax, edi
xor r10d, ebp
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
xor r10d, r11d
xor esi, r10d
shl eax, 0x18
shr r11d, 8
add eax, r11d
xor eax, r10d
mov r10d, dword [rbx + 0x1c]
xor r14d, eax
mov eax, dword [rbx + 0x18]
xor eax, esi
xor r10d, r14d
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
shl eax, 0x18
xor r10d, r11d
shr r11d, 8
add eax, r11d
xor edi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x24]
xor ebp, eax
mov eax, dword [rbx + 0x20]
xor eax, edi
xor r10d, ebp
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
xor r10d, r11d
shr r11d, 8
shl eax, 0x18
add eax, r11d
xor esi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x2c]
xor r14d, eax
mov eax, dword [rbx + 0x28]
xor eax, esi
xor r10d, r14d
add rbx, 0x30
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
xor r10d, r11d
shl eax, 0x18
shr r11d, 8
add eax, r11d
xor edi, r10d
xor eax, r10d
xor ebp, eax
cmp rbx, r15
je 0x1801ed4c9
nop dword [rax]
mov edx, dword [rbx]
mov r10d, dword [rbx + 0x14]
mov eax, edi
shr eax, 0x1f
mov ecx, edx
and edx, edi
shr ecx, 0x1f
and ecx, eax
lea eax, [rcx + rdx*2]
mov edx, dword [rbx + 8]
xor ebp, eax
mov eax, dword [rbx + 0xc]
mov ecx, edx
or eax, r14d
xor r10d, ebp
shr ecx, 0x1f
xor esi, eax
mov eax, dword [rbx + 4]
or eax, ebp
and edx, esi
xor edi, eax
mov eax, esi
shr eax, 0x1f
and ecx, eax
lea eax, [rcx + rdx*2]
xor r14d, eax
mov eax, dword [rbx + 0x10]
xor eax, edi
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
shl eax, 0x18
xor r10d, r11d
shr r11d, 8
add eax, r11d
xor esi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x1c]
xor r14d, eax
mov eax, dword [rbx + 0x18]
xor eax, esi
xor r10d, r14d
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
mov r10d, dword [r12 + rdx*4 + 0xc00]
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
shl eax, 0x18
xor r10d, r11d
shr r11d, 8
add eax, r11d
xor edi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x24]
xor ebp, eax
mov eax, dword [rbx + 0x20]
xor eax, edi
xor r10d, ebp
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
shl eax, 0x18
xor r10d, r11d
shr r11d, 8
add eax, r11d
xor esi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x2c]
xor r14d, eax
mov eax, dword [rbx + 0x28]
xor eax, esi
xor r10d, r14d
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
shl eax, 0x18
xor r10d, r11d
shr r11d, 8
add eax, r11d
xor edi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x34]
xor ebp, eax
mov eax, dword [rbx + 0x30]
xor eax, edi
xor r10d, ebp
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [r12 + rdx*4 + 0xc00]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
shl eax, 0x18
xor r10d, r11d
shr r11d, 8
add eax, r11d
xor esi, r10d
xor eax, r10d
mov r10d, dword [rbx + 0x3c]
xor r14d, eax
mov eax, dword [rbx + 0x38]
xor eax, esi
xor r10d, r14d
mov r8d, eax
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r11d, dword [r12 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r12 + rax*4]
movzx eax, r8b
mov r8d, r10d
xor r11d, dword [r12 + rax*4 + 0x400]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov r10d, dword [r12 + rdx*4 + 0xc00]
mov eax, r8d
add rbx, 0x40
xor r10d, dword [r12 + rcx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [r12 + rax*4 + 0x800]
movzx eax, r8b
xor r10d, dword [r12 + rax*4]
mov eax, r11d
xor r10d, r11d
shl eax, 0x18
shr r11d, 8
add eax, r11d
xor edi, r10d
xor eax, r10d
xor ebp, eax
cmp rbx, r15
jne 0x1801ed0d0
xor esi, dword [rbx]
xor edi, dword [rbx + 8]
xor ebp, dword [rbx + 0xc]
xor r14d, dword [rbx + 4]
mov rbx, qword [rsp + 0x20]
mov eax, esi
shr eax, 0x18
mov byte [r9 + 3], sil
mov byte [r9 + 0xb], dil
mov byte [r9], al
mov eax, esi
mov byte [r9 + 0xf], bpl
shr eax, 0x10
mov byte [r9 + 7], r14b
mov byte [r9 + 1], al
mov eax, esi
mov rsi, qword [rsp + 0x30]
shr eax, 8
mov byte [r9 + 2], al
mov eax, r14d
shr eax, 0x18
mov byte [r9 + 4], al
mov eax, r14d
shr eax, 0x10
mov byte [r9 + 5], al
mov eax, r14d
shr eax, 8
mov byte [r9 + 6], al
mov eax, edi
shr eax, 0x18
mov byte [r9 + 8], al
mov eax, edi
shr eax, 0x10
mov byte [r9 + 9], al
mov eax, edi
mov rdi, qword [rsp + 0x38]
shr eax, 8
mov byte [r9 + 0xa], al
mov eax, ebp
shr eax, 0x18
mov byte [r9 + 0xc], al
mov eax, ebp
shr eax, 0x10
mov byte [r9 + 0xd], al
mov eax, ebp
mov rbp, qword [rsp + 0x28]
shr eax, 8
mov byte [r9 + 0xe], al
pop r15
pop r14
pop r12
ret