Function at 0x140031d40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
movzx eax, byte [r8 + 1]
movzx r11d, byte [r8]
mov r10, r8
mov rbp, rcx
mov r12d, edx
movzx edx, byte [r10 + 8]
shl edx, 8
shl r11d, 8
lea r13, [0x140000000]
xor r11d, eax
movzx eax, byte [r8 + 2]
mov r14, r9
shl r11d, 8
xor r11d, eax
movzx eax, byte [r8 + 3]
movzx r8d, byte [r8 + 4]
shl r8d, 8
shl r11d, 8
xor r11d, eax
movzx eax, byte [r10 + 5]
xor r11d, dword [rcx]
xor r8d, eax
movzx eax, byte [r10 + 6]
shl r8d, 8
xor r8d, eax
movzx eax, byte [r10 + 7]
shl r8d, 8
xor r8d, eax
movzx eax, byte [r10 + 9]
xor r8d, dword [rcx + 4]
xor edx, eax
movzx eax, byte [r10 + 0xa]
shl edx, 8
mov r9d, r8d
xor edx, eax
movzx eax, byte [r10 + 0xb]
shl edx, 8
xor edx, eax
movzx eax, byte [r10 + 0xd]
xor edx, dword [rcx + 8]
movzx ecx, byte [r10 + 0xc]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0xe]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0xf]
mov r10d, edx
shl ecx, 8
xor ecx, eax
mov eax, edx
xor ecx, dword [rbp + 0xc]
shr rax, 8
movzx edx, al
mov eax, ecx
mov ebx, ecx
mov edi, dword [r13 + rdx*4 + 0xd3c50]
shr rax, 0x10
movzx ecx, al
mov eax, r11d
xor edi, dword [r13 + rcx*4 + 0xd3850]
shr rax, 0x18
xor edi, dword [r13 + rax*4 + 0xd3450]
movzx eax, r8b
xor edi, dword [r13 + rax*4 + 0xd4050]
mov eax, r11d
xor edi, dword [rbp + 0x10]
shr rax, 0x10
movzx edx, al
mov eax, ebx
mov r15d, dword [r13 + rdx*4 + 0xd3850]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r15d, dword [r13 + rcx*4 + 0xd3c50]
shr rax, 0x18
xor r15d, dword [r13 + rax*4 + 0xd3450]
movzx eax, r10b
xor r15d, dword [r13 + rax*4 + 0xd4050]
mov eax, r11d
xor r15d, dword [rbp + 0x14]
shr rax, 8
shr r9, 8
sar r12d, 1
movzx edx, al
mov eax, r8d
add rbp, 0x20
mov edx, dword [r13 + rdx*4 + 0xd3c50]
shr rax, 0x10
movzx ecx, al
mov eax, r10d
shr r10, 0x10
xor edx, dword [r13 + rcx*4 + 0xd3850]
shr rax, 0x18
movzx ecx, r9b
xor edx, dword [r13 + rax*4 + 0xd3450]
movzx eax, bl
shr rbx, 0x18
xor edx, dword [r13 + rax*4 + 0xd4050]
movzx eax, r10b
mov r10d, dword [r13 + rcx*4 + 0xd3c50]
xor r10d, dword [r13 + rax*4 + 0xd3850]
xor edx, dword [rbp - 8]
movzx eax, r11b
xor r10d, dword [r13 + rbx*4 + 0xd3450]
xor r10d, dword [r13 + rax*4 + 0xd4050]
xor r10d, dword [rbp - 4]
dec r12d
je 0x140032151
mov qword [rsp + 0x28], rsi
nop word [rax + rax]
mov r11d, edx
mov esi, r10d
mov eax, edx
shr rax, 8
mov r10d, r15d
movzx edx, al
mov eax, esi
shr r10, 8
mov ebx, dword [r13 + rdx*4 + 0xd3c50]
shr rax, 0x10
movzx ecx, al
mov rax, rdi
xor ebx, dword [r13 + rcx*4 + 0xd3850]
shr rax, 0x18
xor ebx, dword [r13 + rax*4 + 0xd3450]
movzx eax, r15b
xor ebx, dword [r13 + rax*4 + 0xd4050]
mov rax, rdi
xor ebx, dword [rbp]
shr rax, 0x10
movzx edx, al
mov eax, esi
mov r9d, dword [r13 + rdx*4 + 0xd3850]
shr rax, 8
movzx ecx, al
mov eax, r15d
xor r9d, dword [r13 + rcx*4 + 0xd3c50]
shr rax, 0x18
xor r9d, dword [r13 + rax*4 + 0xd3450]
movzx eax, r11b
xor r9d, dword [r13 + rax*4 + 0xd4050]
mov rax, rdi
xor r9d, dword [rbp + 4]
shr rax, 8
movzx edx, al
mov eax, r15d
mov r8d, dword [r13 + rdx*4 + 0xd3c50]
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr r11, 0x10
xor r8d, dword [r13 + rcx*4 + 0xd3850]
shr rax, 0x18
movzx ecx, r10b
xor r8d, dword [r13 + rax*4 + 0xd3450]
movzx eax, sil
shr rsi, 0x18
xor r8d, dword [r13 + rax*4 + 0xd4050]
movzx eax, r11b
mov r11d, dword [r13 + rcx*4 + 0xd3c50]
xor r11d, dword [r13 + rax*4 + 0xd3850]
xor r8d, dword [rbp + 8]
movzx eax, dil
xor r11d, dword [r13 + rsi*4 + 0xd3450]
mov r10d, r8d
mov r8d, r9d
xor r11d, dword [r13 + rax*4 + 0xd4050]
mov eax, r10d
xor r11d, dword [rbp + 0xc]
shr rax, 8
movzx edx, al
mov eax, r11d
mov edi, dword [r13 + rdx*4 + 0xd3c50]
shr rax, 0x10
movzx ecx, al
mov eax, ebx
xor edi, dword [r13 + rcx*4 + 0xd3850]
shr rax, 0x18
xor edi, dword [r13 + rax*4 + 0xd3450]
movzx eax, r9b
xor edi, dword [r13 + rax*4 + 0xd4050]
mov eax, ebx
xor edi, dword [rbp + 0x10]
shr rax, 0x10
movzx edx, al
mov eax, r11d
mov r15d, dword [r13 + rdx*4 + 0xd3850]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r15d, dword [r13 + rcx*4 + 0xd3c50]
shr rax, 0x18
shr r8, 8
add rbp, 0x20
xor r15d, dword [r13 + rax*4 + 0xd3450]
movzx eax, r10b
xor r15d, dword [r13 + rax*4 + 0xd4050]
mov eax, ebx
xor r15d, dword [rbp - 0xc]
shr rax, 8
movzx edx, al
mov eax, r9d
mov edx, dword [r13 + rdx*4 + 0xd3c50]
shr rax, 0x10
movzx ecx, al
mov eax, r10d
shr r10, 0x10
xor edx, dword [r13 + rcx*4 + 0xd3850]
shr rax, 0x18
movzx ecx, r8b
xor edx, dword [r13 + rax*4 + 0xd3450]
movzx eax, r11b
shr r11, 0x18
xor edx, dword [r13 + rax*4 + 0xd4050]
movzx eax, r10b
mov r10d, dword [r13 + rcx*4 + 0xd3c50]
xor r10d, dword [r13 + rax*4 + 0xd3850]
xor edx, dword [rbp - 8]
movzx eax, bl
xor r10d, dword [r13 + r11*4 + 0xd3450]
xor r10d, dword [r13 + rax*4 + 0xd4050]
xor r10d, dword [rbp - 4]
dec r12d
jne 0x140031f30
mov rsi, qword [rsp + 0x28]
mov r8d, edx
mov rax, r10
mov r9d, r15d
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
mov edx, dword [r13 + rcx*4 + 0xd4450]
movzx ecx, al
and edx, 0xff0000
mov eax, dword [r13 + rcx*4 + 0xd4450]
and eax, 0xff00
xor edx, eax
mov eax, edi
shr rax, 0x18
mov ecx, dword [r13 + rax*4 + 0xd4450]
movzx eax, r15b
movzx eax, byte [r13 + rax*4 + 0xd4450]
and ecx, 0xff000000
xor edx, ecx
xor edx, eax
xor edx, dword [rbp]
mov eax, edx
mov byte [r14 + 3], dl
shr eax, 0x18
mov byte [r14], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, edx
shr eax, 8
mov byte [r14 + 2], al
mov eax, edi
shr rax, 0x10
movzx ecx, al
mov rax, r10
mov edx, dword [r13 + rcx*4 + 0xd4450]
shr rax, 8
movzx ecx, al
and edx, 0xff0000
mov eax, dword [r13 + rcx*4 + 0xd4450]
and eax, 0xff00
xor edx, eax
mov eax, r15d
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0xd4450]
and eax, 0xff000000
xor edx, eax
movzx eax, r8b
movzx eax, byte [r13 + rax*4 + 0xd4450]
xor edx, eax
xor edx, dword [rbp + 4]
mov eax, edx
mov byte [r14 + 7], dl
shr eax, 0x18
mov byte [r14 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 5], al
mov eax, edx
shr eax, 8
mov byte [r14 + 6], al
mov eax, r15d
shr rax, 0x10
movzx ecx, al
mov eax, edi
mov edx, dword [r13 + rcx*4 + 0xd4450]
shr rax, 8
movzx ecx, al
and edx, 0xff0000
mov eax, dword [r13 + rcx*4 + 0xd4450]
and eax, 0xff00
xor edx, eax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0xd4450]
and eax, 0xff000000
xor edx, eax
movzx eax, r10b
movzx eax, byte [r13 + rax*4 + 0xd4450]
xor edx, eax
xor edx, dword [rbp + 8]
mov rbx, qword [rsp + 0x30]
shr r8, 0x10
mov eax, edx
mov byte [r14 + 0xb], dl
shr r9, 8
shr eax, 0x18
shr r10, 0x18
mov byte [r14 + 8], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 9], al
mov eax, edx
shr eax, 8
mov byte [r14 + 0xa], al
movzx eax, r8b
mov edx, dword [r13 + rax*4 + 0xd4450]
movzx eax, r9b
mov ecx, dword [r13 + rax*4 + 0xd4450]
mov eax, dword [r13 + r10*4 + 0xd4450]
and edx, 0xff0000
and eax, 0xff000000
and ecx, 0xff00
xor edx, ecx
xor edx, eax
movzx eax, dil
mov rdi, qword [rsp + 0x40]
movzx eax, byte [r13 + rax*4 + 0xd4450]
xor edx, eax
xor edx, dword [rbp + 0xc]
mov rbp, qword [rsp + 0x38]
mov eax, edx
mov byte [r14 + 0xf], dl
shr eax, 0x18
mov byte [r14 + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 0xd], al
mov eax, edx
shr eax, 8
mov byte [r14 + 0xe], al
pop r15
pop r14
pop r13
pop r12
ret