Function at 0x14005a7d8
Capabilities:
Encode data using xor

Disassembly:
xchg rdi, rsp
mov rax, rdi
xchg rsp, rdi
mov qword [rax + 8], rbx
mov r10, r10
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov dword [rsp - 0x3c], 0x16304ab6
nop
sub rsp, 8
mov qword [rsp], r12
push r14
mov r15, r15
nop
push 0x45b640bb
mov qword [rsp], r15
add rsp, 0x512bd7a
sub rsp, 0x512beaa
mov rbx, qword [rsp + 0x170]
mov r14, r14
lea rax, [rdx + 8]
mov qword [rdx], rax
xorps xmm0, xmm0
mov dword [rsp - 0x40], 0x6cabd20b
movups xmmword [rax], xmm0
xchg rdx, r13
mov r14, r13
xchg rdx, r13
xchg rcx, r9
mov r15, r9
xchg rcx, r9
movups xmmword [rax + 0x10], xmm0
mov rbp, rbp
xchg r11, r14
mov rcx, r11
xchg r14, r11
mov esi, r9d
xchg rdx, rax
movups xmmword [rdx + 0x20], xmm0
xchg rdx, rax
mov rdx, qword [rbx + 0x38]
mov dword [rsp - 0x3c], esp
mov ebp, r8d
xchg rdx, r12
mov qword [r14 + 0x38], r12
xchg rdx, r12
call fcn.140016fb8
mov dword [rsp - 0x40], esp
xor edi, edi
mov r8d, edi
lea r12d, [rdi + 1]
mov dword [rsp - 0x2c], ebx
cmp qword [r14 + 0x38], rdi
jbe 0x14005a8c4
mov rcx, qword [rbx]
movzx edx, word [rcx + r8*2]
xchg rbx, rbx
mov word [rax + r8*2], dx
add r8, r12
cmp r8, qword [r14 + 0x38]
mov rbx, rbx
jb 0x14005a8a4
mov r8d, esi
mov edx, ebp
mov dword [rsp - 0x40], ecx
xchg rbp, rcx
mov rbp, r15
xchg rbp, rcx
call fcn.14005acdc
mov dword [rsp - 0x38], 0x5b259451
xchg rsp, rax
mov rbx, rsp
xchg rsp, rax
test rax, rax
je 0x14005aa38
mov dword [rsp - 0x38], edi
cmp byte [rax + 4], 4
jne 0x14005aa38
cmp qword [rax + 8], rdi
mov rsp, rsp
je 0x14005aa38
movzx ecx, word [rax + 5]
mov eax, 0x2cc71aeb
add eax, 0x7023ad3
sub eax, 0x3fcb81
xor eax, 0x3389f5c2
inc ecx
mov r11, r11
cmp ecx, eax
cmova ecx, eax
mov ebp, ecx
mov dword [rsp - 0x14], edi
call fcn.1400bb5d0
xchg rbp, rsi
mov rbp, rax
xchg rsi, rbp
mov byte [rax + rbp - 1], dil
lea rax, [rbp - 1]
xchg rdx, rdx
test rax, rax
je 0x14005a986
mov r8, rdi
mov rcx, qword [rbx + 8]
xchg rbp, rbp
add di, r12w
mov dl, byte [rcx + r8]
xor dl, 0x37
mov dword [rsp - 0x3c], ebx
mov byte [r8 + rsi], dl
movzx r8d, di
cmp r8, rax
xchg r11, r11
jb 0x14005a95c
lea rax, [rsp + 0x28]
mov ebx, 0x715ac220
sub ebx, 0x43dd94d8
add ebx, 0x31e13efa
sub ebx, 0x1f4b2dfc
sub ebx, 0x40133d46
mov r8d, ebx
mov r12, r12
xchg rcx, rax
mov qword [rsp + 0x20], rcx
xchg rcx, rax
xor edx, edx
lea rcx, [rsp + 0x28]
mov rdi, rdi
call fcn.1400bbd50
xchg rbp, r11
mov r8, r11
xchg rbp, r11
lea rcx, [rsp + 0x20]
xchg rdx, rsi
mov rsi, rdx
xchg rdx, rsi
call fcn.1400963b0
mov dword [rsp - 0x30], esi
mov rdx, qword [rsp + 0x20]
mov rcx, r14
call fcn.140057550
xchg rcx, r9
mov r9, qword [rsp + 0x20]
xchg rcx, r9
lea rax, [rsp + 0x28]
xchg r10, r10
cmp rcx, rax
jne 0x14005aa22
lea rdi, [rsp + 0x28]
xor eax, eax
mov r9, r9
mov ecx, ebx
rep stosb byte [rdi], al
jmp 0x14005aa27
call fcn.1400bb730
xchg rdx, rcx
mov rdx, rsi
xchg rdx, rcx
call fcn.1400bb5e0
xchg rbp, rbp
lea r11, [rsp + 0x130]
mov rax, r14
mov rbx, qword [r11 + 0x20]
mov dword [rsp - 0xc], ebx
xchg rbp, rsp
mov rsp, qword [r11 + 0x28]
xchg rsp, rbp
mov rsi, qword [r11 + 0x30]
mov r11, r11
xchg r14, rdi
mov r14, qword [r11 + 0x38]
xchg r14, rdi
xchg r11, rsp
mov r11, rsp
xchg r11, rsp
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
mov r14, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov r12, qword [rsp - 8]
ret