Function at 0x140057ad0
Capabilities:
Encode data using xor

Disassembly:
xchg r12, rbx
mov qword [rsp + 8], r12
xchg rbx, r12
xchg r13, rbp
mov qword [rsp + 0x10], r13
xchg r13, rbp
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x18], r8w
nop
mov qword [rsp - 8], rdi
sub rsp, 8
push r12
push r13
mov dword [rsp - 0x38], esi
push r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
neg rsp
sub rsp, 0xffffffffffffffa0
neg rsp
xchg r12, r14
mov r14, qword [rdx + 0x38]
xchg r12, r14
mov rdi, rdx
xchg rsp, r15
mov rsp, rcx
xchg r15, rsp
nop
add r12, 0x437c8049
sub r12, 0x437c8047
mov eax, 0x364b43cf
add eax, 0x210ece18
xor eax, 0x29527902
sub eax, 0x7e0868e3
nop
movabs rsi, 0xffffffff5d565ef4
sub rsi, 0x5bf76f01
add rsi, 0x51cf4a29
sub rsi, 0x41995799
add rsi, 0x7fffffff
add rsi, 0x6e6b1d7d
mul r12
cmovo rax, rsi
xchg rbp, rax
mov rcx, rbp
xchg rbp, rax
call fcn.1400bb280
mov r10, r10
mov r13, qword [rdi + 0x38]
lea rcx, [rsp + 0x20]
xchg rbp, r15
mov r15, qword [rdi]
xchg r15, rbp
xorps xmm0, xmm0
xchg rcx, rcx
xchg rsi, rax
mov r14, rsi
xchg rsi, rax
lea rax, [rsp + 0x28]
mov dword [rsp - 0x3c], ebp
xchg rsi, rax
mov qword [rsp + 0x20], rsi
xchg rsi, rax
lea rdx, [r13 + 1]
mov dword [rsp - 0x30], 0x7b10d618
xchg rsp, rsi
movups xmmword [rsi + 0x28], xmm0
xchg rsp, rsi
xchg r12, rsp
movups xmmword [r12 + 0x38], xmm0
xchg rsp, r12
xchg rsp, rsi
movups xmmword [rsi + 0x48], xmm0
xchg rsp, rsi
call fcn.140016fc0
xchg rsi, rsi
mov ebx, 0xde63665
xor ebx, 0x4680e036
sub ebx, 0xb58ca82
xor ebx, 0x43a976cb
xchg r8, rax
mov rax, r8
xchg r8, rax
mov ecx, ebx
xchg r8, r8
mov r9d, 0x63505995
add r9d, 0x1316928b
xor r9d, 0x1c4b1528
sub r9d, 0x6a2df809
test r13, r13
mov dword [rsp - 0x24], edi
je 0x140057c84
mov rdx, rax
sub rbp, rax
mov rdi, r13
xchg r9, r9
nop dword [rax]
movzx eax, cx
lea rdx, [rdx + 2]
and ax, r9w
mov dword [rsp - 0x10], esp
ror ecx, 5
ror ecx, 1
ror ecx, 1
ror ecx, 1
xor ax, word [rdx + rbp - 2]
mov dword [rsp - 0x20], edx
mov word [rdx - 2], ax
sub rdi, 1
jne 0x140057c55
xor ebp, ebp
mov r11, r11
xchg r12, rbp
mov rdx, rbp
xchg r12, rbp
mov word [r8 + r13*2], bp
mov rbx, rbx
xchg r9, rcx
mov r9, r14
xchg rcx, r9
xchg rsi, r8
mov rsi, qword [rsp + 0x20]
xchg rsi, r8
call fcn.1400bc4c0
xchg rcx, r8
mov r8, qword [rsp + 0x20]
xchg r8, rcx
lea rax, [rsp + 0x28]
mov dword [rsp - 0x24], ebx
cmp rcx, rax
jne 0x140057cf8
lea rdi, [rsp + 0x28]
mov rdi, rdi
xor eax, eax
mov ecx, 0x2c7e9ceb
xor ecx, 0x433a828c
sub ecx, 0x5e009eb
xor ecx, 0x6964144c
rep stosb byte [rdi], al
jmp 0x140057cfd
call fcn.1400bb460
movzx eax, word [rsp + 0xa0]
xorps xmm0, xmm0
xchg r10, r10
mov word [r14 + r12*2 - 4], ax
lea rax, [r15 + 8]
mov word [r14 + r12*2 - 2], bp
xchg r14, rax
mov qword [r15], r14
xchg r14, rax
movups xmmword [rax], xmm0
mov dword [rsp - 0x14], ecx
xchg r15, rax
movups xmmword [r15 + 0x10], xmm0
xchg r15, rax
movups xmmword [rax + 0x20], xmm0
mov dword [rsp - 0x20], edi
inc rsi
cmp word [r14 + rsi*2], bp
jne 0x140057d3a
mov dword [rsp - 0x14], edi
mov rdx, rsi
mov qword [r15 + 0x38], rsi
xchg rcx, r15
mov r15, rcx
xchg rcx, r15
call fcn.140016fc0
cmp qword [r15 + 0x38], rbp
jbe 0x140057ddb
xchg rdi, rdi
mov rdx, r14
mov edi, 0x25d6e47f
add edi, 0x4069c27d
sub edi, 0x6138000d
add edi, 0x3c5a5f2b
sub edi, 0x4163051b
sub rdx, rax
mov dword [rsp - 0x20], 0x713e401e
nop dword [rax + rax]
movzx ecx, bx
lea rax, [rax + 2]
mov dword [rsp - 0x14], 0x7e78c981
and cx, di
ror ebx, 4
ror ebx, 1
ror ebx, 2
ror ebx, 1
xor cx, word [rdx + rax - 2]
inc rbp
mov dword [rsp - 0x1c], 0x5562c60e
mov word [rax - 2], cx
cmp rbp, qword [r15 + 0x38]
jb 0x140057d9e
mov r11, r11
xchg r14, rcx
mov r14, rcx
xchg r14, rcx
call fcn.1400bb290
lea r11, [rsp + 0x60]
xchg rdi, rax
mov rdi, r15
xchg rdi, rax
xchg rsi, rbx
mov rsi, qword [r11 + 0x30]
xchg rbx, rsi
xchg rbp, rdx
mov rdx, qword [r11 + 0x38]
xchg rbp, rdx
mov rsi, qword [r11 + 0x48]
xchg rsp, rsp
xchg rsp, r11
mov r11, rsp
xchg r11, rsp
pop r15
mov dword [rsp - 0x3c], ebp
pop r14
nop
mov r13, qword [rsp]
add rsp, 8
pop r12
nop
add rsp, 8
mov rdi, qword [rsp - 8]
ret