Function at 0x140055f80
Capabilities:
Encode data using xor

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