Function at 0x140058bf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov r13, r13
nop
mov qword [rsp - 8], rdi
sub rsp, 8
push r12
mov dword [rsp - 0x20], esp
nop
mov qword [rsp - 8], r13
sub rsp, 8
nop
mov qword [rsp - 8], r14
sub rsp, 8
push r15
mov dword [rsp - 0x18], 0x678b8149
add rsp, 0xffffffffffffffe0
nop
movabs rsi, 0xffffffff54f92e67
sub rsi, 0x32a0d8d8
add rsi, 0x1f9688e0
add rsi, 0x7fffffff
xor rsi, 0x3e112191
mov r12, r8
mov r11, r11
xchg rsi, r15
mov rbx, r15
xchg r15, rsi
xchg r15, r13
mov r13, rdx
xchg r13, r15
xchg r13, rdx
mov rdx, rcx
xchg rdx, r13
nop
inc rbx
cmp word [r8 + rbx*2], 0
mov dword [rsp - 0x20], edi
jne 0x140058c7d
xchg rsp, rax
mov rsp, qword [rdx + 0x38]
xchg rsp, rax
add rax, rbx
mov qword [rsp + 0x50], rax
mov dword [rsp - 0xc], edi
lea rcx, [rax + 1]
mov eax, 0x45651164
add eax, 0x21eea149
xor eax, 0x4e77444d
add eax, 0x298159eb
xor eax, 0x52a650c9
mul rcx
cmovo rax, rsi
xchg r14, r14
mov rcx, rax
call fcn.140077b60
xor ebp, ebp
mov rsp, rsp
mov edi, 0x7d296acd
xor edi, 0x3c872af8
xor edi, 0x39019908
xor edi, 0x75114946
add edi, 0x8a9ba60
mov r14, rax
mov rbx, rbx
mov eax, edi
mov r8d, ebp
mov r9d, 0x2b8d86bb
add r9d, 0x224e02dd
xor r9d, 0x66300be4
sub r9d, 0x2beb817d
cmp qword [r15 + 0x38], rbp
xchg rdi, rdi
jbe 0x140058d5f
nop word [rax + rax]
xchg rcx, r11
mov r11, qword [r15]
xchg r11, rcx
movzx edx, ax
and dx, r9w
ror eax, 3
ror eax, 5
xor dx, word [rcx + r8*2]
mov word [r14 + r8*2], dx
inc r8
mov dword [rsp - 0x40], ecx
cmp r8, qword [r15 + 0x38]
jb 0x140058d2e
xchg rbp, r8
mov rdx, r8
xchg rbp, r8
test rbx, rbx
xchg r11, r11
je 0x140058d9f
nop dword [rax + rax]
mov rcx, qword [r15 + 0x38]
movzx eax, word [r12 + rdx*2]
mov r8, r8
add rcx, rdx
inc rdx
mov word [r14 + rcx*2], ax
cmp rdx, rbx
mov rcx, rcx
jb 0x140058d7c
xchg r15, rax
mov r15, qword [rsp + 0x50]
xchg r15, rax
xorps xmm0, xmm0
mov word [r14 + rax*2], bp
mov rsp, rsp
lea rax, [r13 + 8]
xchg rdi, rax
mov qword [r13], rdi
xchg rdi, rax
xchg r14, rax
movups xmmword [r14], xmm0
xchg r14, rax
xchg rdi, rax
movups xmmword [rdi + 0x10], xmm0
xchg rdi, rax
xchg r12, rax
movups xmmword [r12 + 0x20], xmm0
xchg r12, rax
nop dword [rax]
mov rbx, rbx
inc rsi
cmp word [r14 + rsi*2], bp
jne 0x140058de3
mov r15, r15
xchg rsi, rcx
mov rdx, rcx
xchg rcx, rsi
xchg rbx, rsi
mov qword [r13 + 0x38], rbx
xchg rbx, rsi
xchg rbp, rcx
mov rbp, r13
xchg rbp, rcx
call fcn.14001653c
mov rsi, rsi
cmp qword [r13 + 0x38], rbp
jbe 0x140058e82
xchg rdx, r12
mov r12, r14
xchg r12, rdx
mov r8d, 0x3de2adca
sub r8d, 0x10d00fb4
add r8d, 0x37009f7e
sub r8d, 0x64133c95
sub rdx, rax
nop dword [rax + rax]
mov dword [rsp - 0x3c], ebp
movzx ecx, di
lea rax, [rax + 2]
and cx, r8w
ror edi, 5
ror edi, 1
ror edi, 1
ror edi, 1
xor cx, word [rdx + rax - 2]
mov r14, r14
inc rbp
mov word [rax - 2], cx
cmp rbp, qword [r13 + 0x38]
jb 0x140058e52
mov r13, r13
xchg r14, r15
mov rcx, r15
xchg r15, r14
call fcn.140077b70
mov dword [rsp - 0x3c], 0x1937379e
xchg rbx, rbp
mov rbp, qword [rsp + 0x58]
xchg rbp, rbx
mov rax, r13
mov dword [rsp - 0x40], ebp
xchg r11, rbp
mov r11, qword [rsp + 0x60]
xchg rbp, r11
xchg r8, rsi
mov r8, qword [rsp + 0x68]
xchg r8, rsi
add rsp, 0x20
xchg rdx, rdx
nop
mov r15, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov r14, qword [rsp - 8]
nop
add rsp, 8
mov r13, qword [rsp - 8]
nop
add rsp, 8
mov r12, qword [rsp - 8]
nop
add rsp, 8
mov rdi, qword [rsp - 8]
ret