Function at 0x140055af0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48
call fcn.1400035e0
sub rsp, rax
mov r10d, dword [rcx + 8]
mov r11d, dword [rcx + 4]
mov qword [rsp + 0x40], rbx
xor r10d, dword [r8 + 8]
xor r11d, dword [r8 + 4]
mov ebx, dword [rcx]
xor ebx, dword [r8]
mov qword [rsp + 0x28], rdi
mov rdi, rdx
mov qword [rsp + 0x20], r12
mov r12, r8
mov qword [rsp + 0x18], r13
movsxd r13, r9d
mov r9d, dword [rcx + 0xc]
mov qword [rsp + 0x10], r14
xor r9d, dword [r8 + 0xc]
lea r14, [0x140000000]
mov dword [rsp + 8], r10d
mov eax, r9d
mov dword [rsp + 0xc], r9d
mov dword [rsp + 4], r11d
shr eax, 0x18
mov dword [rsp], ebx
movzx edx, al
mov eax, r10d
mov r8d, dword [r14 + rdx*4 + 0x1c8370]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [r14 + rcx*4 + 0x1c7f70]
shr eax, 8
movzx ecx, al
movzx eax, bl
xor r8d, dword [r14 + rcx*4 + 0x1c7b70]
xor r8d, dword [r14 + rax*4 + 0x1c7770]
mov eax, r9d
shr r9d, 8
shr eax, 0x10
mov dword [rdi], r8d
movzx edx, al
mov eax, r10d
mov r8d, dword [r14 + rdx*4 + 0x1c7f70]
shr eax, 8
movzx edx, r9b
movzx ecx, al
mov eax, ebx
xor r8d, dword [r14 + rcx*4 + 0x1c7b70]
shr eax, 0x18
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r14 + rcx*4 + 0x1c8370]
xor r8d, dword [r14 + rax*4 + 0x1c7770]
mov eax, r11d
shr r11d, 0x10
shr eax, 0x18
mov dword [rdi + 4], r8d
mov r8d, dword [r14 + rdx*4 + 0x1c7b70]
movzx ecx, al
mov eax, ebx
shr ebx, 8
xor r8d, dword [r14 + rcx*4 + 0x1c8370]
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
shr r10d, 0x18
xor r8d, dword [r14 + rcx*4 + 0x1c7f70]
movzx ecx, r10b
xor r8d, dword [r14 + rax*4 + 0x1c7770]
movzx eax, r11b
mov dword [rdi + 8], r8d
mov edx, dword [r14 + rcx*4 + 0x1c8370]
xor edx, dword [r14 + rax*4 + 0x1c7f70]
movzx eax, bl
xor edx, dword [r14 + rax*4 + 0x1c7b70]
movzx eax, byte [rsp + 0xc]
xor edx, dword [r14 + rax*4 + 0x1c7770]
lea eax, [r13 - 1]
cmp eax, 1
mov dword [rdi + 0xc], edx
jle 0x140055dc7
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
lea rsi, [r12 + 0x18]
lea ebp, [rax - 1]
nop
nop
nop
mov r9d, dword [rsi + 4]
mov r11d, dword [rsi - 4]
mov ebx, dword [rsi - 8]
xor r11d, dword [rdi + 4]
xor ebx, dword [rdi]
xor r9d, dword [rdi + 0xc]
mov r10d, dword [rdi + 8]
mov eax, r9d
mov dword [rsp + 0xc], r9d
xor r10d, dword [rsi]
shr eax, 0x18
mov dword [rsp + 4], r11d
movzx edx, al
mov eax, r10d
mov dword [rsp + 8], r10d
mov r8d, dword [r14 + rdx*4 + 0x1c8370]
shr eax, 0x10
mov dword [rsp], ebx
movzx ecx, al
mov eax, r11d
add rsi, 0x10
xor r8d, dword [r14 + rcx*4 + 0x1c7f70]
shr eax, 8
movzx ecx, al
movzx eax, bl
xor r8d, dword [r14 + rcx*4 + 0x1c7b70]
xor r8d, dword [r14 + rax*4 + 0x1c7770]
mov eax, r9d
shr r9d, 8
shr eax, 0x10
mov dword [rdi], r8d
movzx edx, al
mov eax, r10d
mov r8d, dword [r14 + rdx*4 + 0x1c7f70]
shr eax, 8
movzx edx, r9b
movzx ecx, al
mov eax, ebx
xor r8d, dword [r14 + rcx*4 + 0x1c7b70]
shr eax, 0x18
movzx ecx, al
movzx eax, r11b
xor r8d, dword [r14 + rcx*4 + 0x1c8370]
xor r8d, dword [r14 + rax*4 + 0x1c7770]
mov eax, r11d
shr r11d, 0x10
shr eax, 0x18
mov dword [rdi + 4], r8d
mov r8d, dword [r14 + rdx*4 + 0x1c7b70]
movzx ecx, al
mov eax, ebx
shr ebx, 8
xor r8d, dword [r14 + rcx*4 + 0x1c8370]
shr eax, 0x10
movzx ecx, al
movzx eax, r10b
shr r10d, 0x18
xor r8d, dword [r14 + rcx*4 + 0x1c7f70]
movzx ecx, r10b
xor r8d, dword [r14 + rax*4 + 0x1c7770]
movzx eax, r11b
mov dword [rdi + 8], r8d
mov edx, dword [r14 + rcx*4 + 0x1c8370]
xor edx, dword [r14 + rax*4 + 0x1c7f70]
movzx eax, bl
xor edx, dword [r14 + rax*4 + 0x1c7b70]
movzx eax, byte [rsp + 0xc]
xor edx, dword [r14 + rax*4 + 0x1c7770]
dec rbp
mov dword [rdi + 0xc], edx
jne 0x140055c80
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rax, r13
mov r11, r13
add rax, rax
mov r8d, dword [r12 + rax*8 - 0x10]
mov r9d, dword [r12 + rax*8 - 0xc]
mov r10d, dword [r12 + rax*8 - 8]
mov edx, dword [r12 + rax*8 - 4]
xor r8d, dword [rdi]
xor r9d, dword [rdi + 4]
xor r10d, dword [rdi + 8]
xor edx, dword [rdi + 0xc]
movzx eax, r8b
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov dword [rsp + 0xc], edx
mov dword [rsp], r8d
mov byte [rdi], al
mov eax, r9d
mov dword [rsp + 4], r9d
shr eax, 8
mov dword [rsp + 8], r10d
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 1], al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 2], al
mov eax, edx
shr eax, 0x18
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 3], al
movzx eax, r9b
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov byte [rdi + 4], al
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 5], al
mov eax, edx
shr edx, 8
shr eax, 0x10
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 6], al
mov eax, r8d
shr eax, 0x18
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 7], al
movzx eax, r10b
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov byte [rdi + 8], al
movzx eax, dl
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov byte [rdi + 9], al
mov eax, r8d
shr r8d, 8
shr eax, 0x10
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 0xa], al
mov eax, r9d
shr r9d, 0x10
shr eax, 0x18
shr r10d, 0x18
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 0x1c7771]
mov byte [rdi + 0xb], al
movzx eax, byte [rsp + 0xc]
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov byte [rdi + 0xc], al
movzx eax, r8b
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov byte [rdi + 0xd], al
movzx eax, r9b
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov byte [rdi + 0xe], al
movzx eax, r10b
movzx eax, byte [r14 + rax*4 + 0x1c7771]
mov r13, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x10]
mov byte [rdi + 0xf], al
add r11, r11
mov eax, dword [r12 + r11*8]
xor dword [rdi], eax
mov eax, dword [r12 + r11*8 + 4]
xor dword [rdi + 4], eax
mov eax, dword [r12 + r11*8 + 8]
xor dword [rdi + 8], eax
mov eax, dword [r12 + r11*8 + 0xc]
mov r12, qword [rsp + 0x20]
xor dword [rdi + 0xc], eax
mov rdi, qword [rsp + 0x28]
xor eax, eax
add rsp, 0x48
ret