Function at 0x140351dc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
mov eax, 0x28
call fcn.1403ffe50
sub rsp, rax
xor r13d, r13d
mov rdi, r8
mov qword [rcx + 0x30], r13
mov rsi, rdx
mov qword [rcx + 0x38], r13
mov rbx, rcx
mov qword [rcx + 0x170], r13
cmp r8, 0xc
jne 0x140351e12
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x140351fb0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], r15
mov r15, rdi
mov qword [rcx + 0x40], r13
mov qword [rcx + 0x48], r13
cmp rdi, 0x10
jb 0x140351edf
mov qword [rsp + 0x50], rbp
mov rbp, rdi
shr rbp, 4
imul rax, rbp, 0xfffffffffffffff0
add rdi, rax
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rbx + 0x60]
xor byte [rbx + 0x40], al
lea rcx, [rbx + 0x40]
movzx eax, byte [rsi + 1]
xor byte [rbx + 0x41], al
movzx eax, byte [rsi + 2]
xor byte [rbx + 0x42], al
movzx eax, byte [rsi + 3]
xor byte [rbx + 0x43], al
movzx eax, byte [rsi + 4]
xor byte [rbx + 0x44], al
movzx eax, byte [rsi + 5]
xor byte [rbx + 0x45], al
movzx eax, byte [rsi + 6]
xor byte [rbx + 0x46], al
movzx eax, byte [rsi + 7]
xor byte [rbx + 0x47], al
movzx eax, byte [rsi + 8]
xor byte [rbx + 0x48], al
movzx eax, byte [rsi + 9]
xor byte [rbx + 0x49], al
movzx eax, byte [rsi + 0xa]
xor byte [rbx + 0x4a], al
movzx eax, byte [rsi + 0xb]
xor byte [rbx + 0x4b], al
movzx eax, byte [rsi + 0xc]
xor byte [rbx + 0x4c], al
movzx eax, byte [rsi + 0xd]
xor byte [rbx + 0x4d], al
movzx eax, byte [rsi + 0xe]
xor byte [rbx + 0x4e], al
movzx eax, byte [rsi + 0xf]
xor byte [rbx + 0x4f], al
call fcn.140352220
add rsi, 0x10
sub rbp, 1
jne 0x140351e50
mov rbp, qword [rsp + 0x50]
test rdi, rdi
je 0x140351f0e
lea rcx, [rbx + 0x40]
sub rsi, rbx
nop dword [rax + rax]
movzx eax, byte [rsi + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x140351ef0
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.140352220
shl r15, 3
lea rdx, [rbx + 0x60]
xor byte [rbx + 0x4f], r15b
lea rcx, [rbx + 0x40]
mov rax, r15
shr rax, 0x38
xor byte [rbx + 0x48], al
mov rax, r15
shr rax, 0x30
xor byte [rbx + 0x49], al
mov rax, r15
shr rax, 0x28
xor byte [rbx + 0x4a], al
mov rax, r15
shr rax, 0x20
xor byte [rbx + 0x4b], al
mov rax, r15
shr rax, 0x18
xor byte [rbx + 0x4c], al
mov rax, r15
shr rax, 0x10
xor byte [rbx + 0x4d], al
mov rax, r15
shr rax, 8
xor byte [rbx + 0x4e], al
call fcn.140352220
movzx eax, byte [rbx + 0x4d]
movzx edi, byte [rbx + 0x4c]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0x4e]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0x4f]
shl edi, 8
or edi, eax
mov rax, qword [rbx + 0x40]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
nop word [rax + rax]
mov qword [rbx + 0x40], r13
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], r13
mov rcx, rbx
mov r8, qword [rbx + 0x180]
call qword [rbx + 0x178]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
add rsp, 0x28
pop r13
pop rdi
pop rsi
pop rbx
ret