Function at 0x140054840
Capabilities:
Encode data using xor

Disassembly:
xchg rsp, r11
mov rsp, r11
xchg rsp, r11
mov qword [r11 + 8], rbx
mov dword [rsp - 0x44], ebp
xchg rsp, rbp
mov qword [r11 + 0x10], rsp
xchg rbp, rsp
xchg rsi, rbp
mov qword [r11 + 0x18], rbp
xchg rbp, rsi
mov qword [r11 + 0x20], rdi
nop
mov qword [rsp - 8], r12
sub rsp, 8
push r14
xchg rdi, rdi
nop
mov qword [rsp - 8], r15
sub rsp, 8
nop
sub rsp, 0x23b42e7b
add rsp, 0x23b42e1b
xchg r15, rbp
mov rbp, qword [rcx + 0x38]
xchg r15, rbp
lea rax, [r11 - 0x50]
xchg r9, r9
xchg r12, rsi
mov r12, qword [rcx]
xchg r12, rsi
xorps xmm0, xmm0
xchg rdi, rax
mov qword [r11 - 0x58], rdi
xchg rdi, rax
mov r14, rcx
mov dword [rsp - 0x1c], ebp
lea rcx, [r11 - 0x58]
lea rdx, [r15 + 1]
xchg rsp, r14
movups xmmword [r14 + 0x28], xmm0
xchg r14, rsp
xchg rsp, r13
movups xmmword [r13 + 0x38], xmm0
xchg r13, rsp
xchg rsi, rsp
movups xmmword [rsi + 0x48], xmm0
xchg rsi, rsp
call fcn.14000ee10
mov rcx, rcx
mov ebx, 0x3be73e53
sub ebx, 0x2d770f96
add ebx, 0x3ff5e80
sub ebx, 0x9fb5a2c
add ebx, 0x123c1d06
xchg rdx, rax
mov r8, rdx
xchg rdx, rax
mov ecx, ebx
mov r12d, 0x5cff0fc2
sub r12d, 0xcfa6ee5
xor r12d, 0x457c5d29
xor r12d, 0x5cd08f97
sub r12d, 0x49a87164
test r15, r15
je 0x140054978
mov rdx, rax
mov r12, r12
sub rsi, rax
mov rdi, r15
nop dword [rax]
mov r10, r10
movzx eax, cx
lea rdx, [rdx + 2]
and ax, r12w
ror ecx, 8
xchg rbp, rbp
xor ax, word [rdx + rsi - 2]
mov word [rdx - 2], ax
sub rdi, 1
xchg r15, r15
jne 0x140054951
xor ebp, ebp
mov word [r8 + r15*2], bp
mov esi, ebp
mov dword [rsp - 0x30], edx
xchg rdx, rdi
mov rdx, qword [rsp + 0x20]
xchg rdx, rdi
cmp qword [r14 + 0x38], rbp
mov dword [rsp - 0x1c], 0x34f089d6
jbe 0x1400549ce
movzx ecx, word [rdi]
call fcn.14009a050
mov word [rdi], ax
mov dword [rsp - 0x30], 0x70f3de4b
lea rdi, [rdi + 2]
inc rsi
cmp rsi, qword [r14 + 0x38]
jb 0x1400549a2
mov r15, r15
mov rdi, qword [rsp + 0x20]
nop
movabs rdx, 0xffffffff40a93a63
add rdx, 0x3632f283
sub rdx, 0x519a04bc
add rdx, 0x7fffffff
add rdx, 0x5abdd7d6
inc rdx
mov dword [rsp - 0x24], 0x6ed0b7f1
cmp word [rdi + rdx*2], bp
jne 0x1400549f5
mov rcx, r14
xchg rbp, rdx
mov qword [r14 + 0x38], rbp
xchg rdx, rbp
call fcn.14000ee10
cmp qword [r14 + 0x38], rbp
mov r14, r14
jbe 0x140054a6e
sub rdi, rax
nop dword [rax]
mov r9, r9
nop word [rax + rax]
movzx ecx, bx
lea rax, [rax + 2]
and cx, r12w
mov dword [rsp - 0x34], edi
ror ebx, 1
ror ebx, 2
ror ebx, 4
ror ebx, 1
xor cx, word [rax + rdi - 2]
inc rbp
mov rbp, rbp
mov word [rax - 2], cx
cmp rbp, qword [r14 + 0x38]
jb 0x140054a3c
xchg r8, rcx
mov r8, qword [rsp + 0x20]
xchg rcx, r8
lea rax, [rsp + 0x28]
mov dword [rsp - 0x30], edi
cmp rcx, rax
jne 0x140054ac1
lea rdi, [rsp + 0x28]
xor eax, eax
mov r13, r13
mov ecx, 0x67b94c0e
xor ecx, 0x2a494926
xor ecx, 0x4ee8f130
add ecx, 0x484411a6
sub ecx, 0x4b5d058e
rep stosb byte [rdi], al
mov dword [rsp - 0x30], 0x6582814c
jmp 0x140054ac6
call fcn.140099240
lea r11, [rsp + 0x60]
xchg rdx, rdx
mov rbx, qword [r11 + 0x20]
xchg rbp, r8
mov r8, qword [r11 + 0x28]
xchg r8, rbp
xchg rsi, rsp
mov rsp, qword [r11 + 0x30]
xchg rsp, rsi
xchg r13, rdi
mov r13, qword [r11 + 0x38]
xchg rdi, r13
mov rsp, r11
pop r15
mov dword [rsp - 0x44], ecx
pop r14
pop r12
ret