Function at 0x140059f40
Capabilities:
Encode data using xor

Disassembly:
xchg r15, rsp
mov r11, r15
xchg r15, rsp
xchg rdx, rbx
mov qword [r11 + 8], rdx
xchg rdx, rbx
xchg r15, rbp
mov qword [r11 + 0x10], r15
xchg r15, rbp
xchg rsi, r12
mov qword [r11 + 0x18], r12
xchg r12, rsi
mov qword [r11 + 0x20], rdi
nop
mov qword [rsp - 8], r12
sub rsp, 8
push r10
mov qword [rsp], r14
push r9
mov qword [rsp], r15
add rsp, 0xffffffffffffffa0
mov rbx, rbx
xchg rsp, r15
mov rsp, qword [rcx + 0x38]
xchg r15, rsp
lea rax, [r11 - 0x50]
mov rsi, qword [rcx]
xorps xmm0, xmm0
mov rbp, rbp
xchg rsi, rax
mov qword [r11 - 0x58], rsi
xchg rsi, rax
xchg r14, r13
mov r13, rcx
xchg r13, r14
lea rcx, [r11 - 0x58]
xchg rsp, rsp
lea rdx, [r15 + 1]
xchg r13, rsp
movups xmmword [r13 + 0x28], xmm0
xchg rsp, r13
xchg rsp, rbx
movups xmmword [rbx + 0x38], xmm0
xchg rsp, rbx
xchg rsp, r14
movups xmmword [r14 + 0x48], xmm0
xchg rsp, r14
call fcn.14001653c
mov dword [rsp - 0x2c], ebx
mov ebx, 0xa67b847
add ebx, 0x22a7f3aa
xor ebx, 0x3a431f92
sub ebx, 0xe46988
xchg rdx, rax
mov r8, rdx
xchg rdx, rax
mov ecx, ebx
mov r12d, 0x22b3f942
sub r12d, 0x21cf9237
add r12d, 0x7cc4a99e
xor r12d, 0x31f272e0
sub r12d, 0x4c5b614a
test r15, r15
je 0x14005a080
xchg r9, r9
xchg r14, rax
mov rdx, r14
xchg r14, rax
sub rsi, rax
mov rdi, r15
mov rbx, rbx
nop dword [rax]
movzx eax, cx
lea rdx, [rdx + 2]
and ax, r12w
mov dword [rsp - 0x38], ecx
ror ecx, 2
ror ecx, 3
ror ecx, 1
ror ecx, 1
ror ecx, 1
xor ax, word [rsi + rdx - 2]
mov dword [rsp - 0x2c], edi
mov word [rdx - 2], ax
sub rdi, 1
jne 0x14005a046
mov dword [rsp - 0xc], 0x4b0f5bbd
xor ebp, ebp
mov word [r8 + r15*2], bp
mov esi, ebp
xchg rbp, rdi
mov rbp, qword [rsp + 0x20]
xchg rbp, rdi
cmp qword [r14 + 0x38], rbp
mov dword [rsp - 0x28], 0x7f544959
jbe 0x14005a0d9
movzx ecx, word [rdi]
call fcn.1400788b0
mov dword [rsp - 0x10], 0x1ca6436f
mov word [rdi], ax
lea rdi, [rdi + 2]
inc rsi
mov dword [rsp - 0x3c], ebp
cmp rsi, qword [r14 + 0x38]
jb 0x14005a0a6
xchg rdi, r13
mov r13, qword [rsp + 0x20]
xchg r13, rdi
nop
movabs rdx, 0xffffffff5417610f
sub rdx, 0x17da0165
xor rdx, 0x2b569326
sub rdx, 0x147498b7
add rdx, 0x7fffffff
add rdx, 0x7d08cc2b
inc rdx
mov dword [rsp - 0x3c], ebp
cmp word [rdi + rdx*2], bp
jne 0x14005a107
xchg rcx, r10
mov r10, r14
xchg r10, rcx
mov qword [r14 + 0x38], rdx
xchg r12, r12
call fcn.14001653c
cmp qword [r14 + 0x38], rbp
jbe 0x14005a17e
mov r12, r12
sub rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, bx
mov r12, r12
lea rax, [rax + 2]
and cx, r12w
ror ebx, 3
ror ebx, 3
ror ebx, 1
ror ebx, 1
xor cx, word [rdi + rax - 2]
xchg r9, r9
inc rbp
mov word [rax - 2], cx
cmp rbp, qword [r14 + 0x38]
mov rcx, rcx
jb 0x14005a14a
xchg rcx, r10
mov r10, qword [rsp + 0x20]
xchg rcx, r10
lea rax, [rsp + 0x28]
cmp rcx, rax
mov r15, r15
jne 0x14005a1bf
lea rdi, [rsp + 0x28]
xor eax, eax
mov ecx, 0x3509fef1
add ecx, 0x20ad84b0
xor ecx, 0x3d6f2c88
xor ecx, 0x68d8af19
rep stosb byte [rdi], al
jmp 0x14005a1c4
call fcn.140077cf0
lea r11, [rsp + 0x60]
xchg r15, rbx
mov r15, qword [r11 + 0x20]
xchg rbx, r15
mov rbp, qword [r11 + 0x28]
xchg rsi, r13
mov r13, qword [r11 + 0x30]
xchg rsi, r13
mov rdi, qword [r11 + 0x38]
mov rbx, rbx
xchg r11, rsp
mov r11, rsp
xchg rsp, r11
nop
add rsp, 8
mov r15, qword [rsp - 8]
nop
add rsp, 8
mov r14, qword [rsp - 8]
nop
mov r12, qword [rsp]
add rsp, 8
ret