Function at 0x140057990
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
xchg r8, r8
xchg r10, rbp
mov qword [rsp + 0x18], r10
xchg rbp, r10
xchg rsi, r10
mov qword [rsp + 0x20], r10
xchg rsi, r10
push rdi
mov dword [rsp - 0x3c], esi
nop
mov qword [rsp - 8], r12
sub rsp, 8
push r13
mov r11, r11
nop
sub rsp, 8
mov qword [rsp], r14
push r15
mov dword [rsp - 0x14], 0x7c474a65
sub rsp, 0x20
nop
movabs rsi, 0xffffffff0f501419
add rsi, 0x396a38ef
add rsi, 0xe3e6266
xor rsi, 0x3cb490eb
add rsi, 0x7fffffff
xor rsi, 0x15b3c07b
xchg r12, rbp
mov rbp, r8
xchg r12, rbp
xchg rsi, r8
mov rbx, r8
xchg r8, rsi
xchg rdx, r14
mov r15, r14
xchg r14, rdx
xchg r13, rcx
mov rcx, r13
xchg rcx, r13
nop
inc rbx
cmp word [r8 + rbx*2], 0
mov dword [rsp - 0x14], 0x65f5e6d8
jne 0x140057a2c
xchg r10, rax
mov r10, qword [rdx + 0x38]
xchg r10, rax
add rax, rbx
mov qword [rsp + 0x50], rax
mov r10, r10
lea rcx, [rax + 1]
mov eax, 0x6201030d
xor eax, 0x42628914
add eax, 0x44e2c935
sub eax, 0x6546534c
mul rcx
cmovo rax, rsi
mov rbx, rbx
xchg r8, rax
mov rcx, r8
xchg r8, rax
call fcn.1400bb5d0
mov dword [rsp - 0x40], edi
xor ebp, ebp
mov edi, 0x534a5ffe
sub edi, 0xaa57624
add edi, 0x34866eb4
sub edi, 0x39c7f74c
xchg rsi, r14
mov rsi, rax
xchg r14, rsi
mov eax, edi
mov r8d, ebp
xchg r15, r15
mov r9d, 0x309c05dc
add r9d, 0x29df6bfe
add r9d, 0x253899c9
xor r9d, 0x7f092b9e
sub r9d, 0xbd1f3e
cmp qword [r15 + 0x38], rbp
jbe 0x140057b24
nop word [rax + rax]
mov dword [rsp - 0x44], edx
xchg r10, rcx
mov r10, qword [r15]
xchg rcx, r10
movzx edx, ax
and dx, r9w
mov dword [rsp - 0x20], 0x7d719825
ror eax, 4
ror eax, 2
ror eax, 1
ror eax, 1
xor dx, word [rcx + r8*2]
mov word [r14 + r8*2], dx
inc r8
mov rsp, rsp
cmp r8, qword [r15 + 0x38]
jb 0x140057ae8
mov rdx, rbp
test rbx, rbx
mov dword [rsp - 0x3c], ebp
je 0x140057b65
nop dword [rax + rax]
xchg rcx, rbx
mov rbx, qword [r15 + 0x38]
xchg rbx, rcx
movzx eax, word [r12 + rdx*2]
xchg rdx, rdx
add rcx, rdx
inc rdx
mov word [r14 + rcx*2], ax
mov r11, r11
cmp rdx, rbx
jb 0x140057b3c
mov rax, qword [rsp + 0x50]
xchg rdi, rdi
xorps xmm0, xmm0
mov word [r14 + rax*2], bp
lea rax, [r13 + 8]
xchg r12, rax
mov qword [r13], r12
xchg r12, rax
xchg rsp, rax
movups xmmword [rsp], xmm0
xchg rsp, rax
xchg rbp, rax
movups xmmword [rbp + 0x10], xmm0
xchg rbp, rax
xchg r12, rax
movups xmmword [r12 + 0x20], xmm0
xchg r12, rax
nop dword [rax]
mov dword [rsp - 0x14], 0x5ed13864
inc rsi
cmp word [r14 + rsi*2], bp
jne 0x140057baa
mov dword [rsp - 0x28], ebx
xchg rbp, rdx
mov rbp, rsi
xchg rbp, rdx
mov qword [r13 + 0x38], rsi
mov dword [rsp - 0x10], ebx
xchg rcx, r13
mov r13, rcx
xchg rcx, r13
call fcn.140016fb8
mov dword [rsp - 0x1c], ecx
cmp qword [r13 + 0x38], rbp
jbe 0x140057c4c
xchg r14, r8
mov rdx, r8
xchg r8, r14
mov r8d, 0x1d1ccdc8
add r8d, 0x4a1de583
sub r8d, 0x19b77a2
xor r8d, 0x2e1f808f
xor r8d, 0x4b80bbd9
sub rdx, rax
nop dword [rax + rax]
mov r9, r9
movzx ecx, di
lea rax, [rax + 2]
and cx, r8w
ror edi, 7
ror edi, 1
xor cx, word [rdx + rax - 2]
inc rbp
mov dword [rsp - 0x1c], ebx
mov word [rax - 2], cx
cmp rbp, qword [r13 + 0x38]
jb 0x140057c1f
xchg r11, r11
xchg rdx, r14
mov rcx, rdx
xchg r14, rdx
call fcn.1400bb5e0
xchg r8, r8
xchg rbx, r15
mov r15, qword [rsp + 0x58]
xchg r15, rbx
xchg r13, rbp
mov rax, rbp
xchg rbp, r13
mov rbp, qword [rsp + 0x60]
mov r9, r9
mov rsi, qword [rsp + 0x68]
nop
add rsp, 0x7ed36a08
sub rsp, 0x7ed369e8
pop r15
nop
add rsp, 8
mov r14, qword [rsp - 8]
pop r13
nop
mov r12, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rdi, qword [rsp - 8]
ret