Function at 0x180104640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
push r15
mov rbx, qword [rcx + 0x48]
lea r12, section.__wibu05
mov r11d, dword [rdx]
mov r15, rcx
mov r14, r8
lea r9, [rbx + 6]
shl r9, 4
lea rbp, [rbx - 1]
add r9, rcx
xor r11d, dword [r9]
mov eax, dword [r9 + 8]
xor eax, dword [rdx + 8]
mov r10d, dword [r9 + 4]
xor r10d, dword [rdx + 4]
mov r9d, dword [r9 + 0xc]
xor r9d, dword [rdx + 0xc]
mov r8d, eax
shr eax, 0x10
mov edx, r8d
movzx ecx, al
mov eax, r10d
shr rax, 0x18
shr rdx, 0x18
mov edi, dword [r12 + rcx*4 + 0x248d00]
xor edi, dword [r12 + rax*4 + 0x249100]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r11b
xor edi, dword [r12 + rcx*4 + 0x248900]
xor edi, dword [r12 + rax*4 + 0x248500]
mov eax, r11d
shr eax, 8
movzx ecx, al
mov eax, r9d
shr eax, 0x10
mov dword [r14], edi
mov esi, dword [r12 + rdx*4 + 0x249100]
xor esi, dword [r12 + rcx*4 + 0x248900]
movzx ecx, al
movzx eax, r10b
xor esi, dword [r12 + rcx*4 + 0x248d00]
xor esi, dword [r12 + rax*4 + 0x248500]
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov dword [r14 + 4], esi
mov edx, dword [r12 + rdx*4 + 0x248900]
xor edx, dword [r12 + rcx*4 + 0x248d00]
xor edx, dword [r12 + rax*4 + 0x249100]
movzx eax, r8b
shr r8d, 8
shr r10d, 0x10
movzx ecx, r10b
xor edx, dword [r12 + rax*4 + 0x248500]
mov dword [r14 + 8], edx
shr r11, 0x18
movzx eax, r8b
mov eax, dword [r12 + rax*4 + 0x248900]
xor eax, dword [r12 + rcx*4 + 0x248d00]
xor eax, dword [r12 + r11*4 + 0x249100]
movzx ecx, r9b
xor eax, dword [r12 + rcx*4 + 0x248500]
mov dword [r14 + 0xc], eax
cmp rbp, 1
jbe 0x1801048d1
mov rcx, rbp
lea rbx, [r15 + 0x68]
shl rcx, 4
add rbx, rcx
dec rbp
nop dword [rax]
xor eax, dword [rbx + 4]
xor edx, dword [rbx]
xor esi, dword [rbx - 4]
xor edi, dword [rbx - 8]
lea rbx, [rbx - 0x10]
mov r10d, eax
mov eax, edx
shr eax, 0x10
mov r8d, edx
movzx edx, al
mov eax, r10d
shr eax, 8
movzx ecx, al
mov r9d, edi
mov edi, dword [r12 + rdx*4 + 0x248d00]
mov edx, r8d
mov r11d, esi
xor edi, dword [r12 + rcx*4 + 0x248900]
shr rdx, 0x18
mov eax, esi
shr rax, 0x18
xor edi, dword [r12 + rax*4 + 0x249100]
movzx eax, r9b
xor edi, dword [r12 + rax*4 + 0x248500]
mov eax, r9d
shr eax, 8
movzx ecx, al
mov eax, r10d
shr eax, 0x10
mov dword [r14], edi
mov esi, dword [r12 + rdx*4 + 0x249100]
xor esi, dword [r12 + rcx*4 + 0x248900]
movzx ecx, al
movzx eax, r11b
xor esi, dword [r12 + rcx*4 + 0x248d00]
xor esi, dword [r12 + rax*4 + 0x248500]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov dword [r14 + 4], esi
shr r9, 0x18
mov edx, dword [r12 + rcx*4 + 0x248d00]
xor edx, dword [r12 + rax*4 + 0x249100]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r8b
shr r8d, 8
shr r11d, 0x10
xor edx, dword [r12 + rcx*4 + 0x248900]
xor edx, dword [r12 + rax*4 + 0x248500]
mov dword [r14 + 8], edx
movzx ecx, r11b
movzx eax, r8b
mov eax, dword [r12 + rax*4 + 0x248900]
xor eax, dword [r12 + r9*4 + 0x249100]
xor eax, dword [r12 + rcx*4 + 0x248d00]
movzx ecx, r10b
xor eax, dword [r12 + rcx*4 + 0x248500]
mov dword [r14 + 0xc], eax
sub rbp, 1
jne 0x1801047b0
xor eax, dword [r15 + 0x7c]
xor edi, dword [r15 + 0x70]
xor esi, dword [r15 + 0x74]
xor edx, dword [r15 + 0x78]
mov r8d, edx
mov edx, eax
movzx eax, dil
mov r9d, esi
shr r9d, 0x10
mov r10d, edi
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14], al
mov eax, edx
shr eax, 8
movzx ecx, al
shr r10, 0x18
movzx eax, byte [rcx + r12 + 0x249500]
mov byte [r14 + 1], al
mov eax, r8d
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x249500]
mov byte [r14 + 2], al
mov eax, esi
shr rax, 0x18
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 3], al
movzx eax, sil
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 4], al
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x249500]
mov byte [r14 + 5], al
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x249500]
mov byte [r14 + 6], al
mov eax, r8d
shr rax, 0x18
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 7], al
movzx eax, r8b
shr r8d, 8
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 8], al
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x249500]
mov byte [r14 + 9], al
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r12 + 0x249500]
mov byte [r14 + 0xa], al
mov eax, edx
shr rax, 0x18
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 0xb], al
movzx eax, dl
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 0xc], al
movzx eax, r8b
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 0xd], al
movzx eax, r9b
movzx eax, byte [rax + r12 + 0x249500]
mov byte [r14 + 0xe], al
movzx eax, byte [r10 + r12 + 0x249500]
mov byte [r14 + 0xf], al
mov eax, dword [r15 + 0x60]
xor dword [r14], eax
mov eax, dword [r15 + 0x64]
xor dword [r14 + 4], eax
mov eax, dword [r15 + 0x68]
xor dword [r14 + 8], eax
mov eax, dword [r15 + 0x6c]
xor dword [r14 + 0xc], eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
pop r15
pop r14
pop r12
pop rdi
ret