Function at 0x140054c40
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, rdi
mov qword [rsp + 8], rdi
xchg rbx, rdi
mov qword [rsp + 0x10], rbp
mov dword [rsp - 0x28], ebp
xchg rsi, r11
mov qword [rsp + 0x18], r11
xchg rsi, r11
nop
sub rsp, 8
mov qword [rsp], rdi
nop
push 0x382ad464
mov qword [rsp], r12
push r13
mov dword [rsp - 0x1c], ebx
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
mov qword [rsp - 8], r15
sub rsp, 8
nop
sub rsp, 0x2e13b7a3
add rsp, 0x2e13b783
xchg r13, r15
mov r15, qword [r8 + 0x38]
xchg r15, r13
xchg r10, rdx
mov r15, r10
xchg r10, rdx
add r13, qword [rdx + 0x38]
mov rbx, rbx
xchg r14, rsi
mov rsi, rcx
xchg r14, rsi
mov eax, 0x2e36358e
xor eax, 0x311f0cb0
xor eax, 0x33d48a41
sub eax, 0x2cfdb37d
nop
movabs rdi, 0xffffffff37cd2fd5
xor rdi, 0x6df71ff0
xor rdi, 0x694b8848
sub rdi, 0x2b260632
add rdi, 0x7fffffff
xor rdi, 0x77b44dc5
xchg r12, rdi
mov rdi, r8
xchg rdi, r12
lea r9, [r13 + 1]
xchg rbx, rbx
mul r9
cmovo rax, rdi
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call fcn.1400997e0
xor ebp, ebp
mov dword [rsp - 0x14], 0x705c2069
mov ebx, 0x297125d5
add ebx, 0x4f84ad61
sub ebx, 0x757b1f8b
add ebx, 0x383966f9
xchg rsi, rax
mov rax, rsi
xchg rsi, rax
mov eax, ebx
xchg rbp, rbp
mov r8d, ebp
mov r10d, 0x796f6b45
add r10d, 0x4b9c6a2
sub r10d, 0x624a5f0c
xor r10d, 0x1a585394
sub r10d, 0x1868050
cmp qword [r15 + 0x38], rbp
jbe 0x140054dcf
mov dword [rsp - 0x28], 0x66a202b7
nop word [rax + rax]
xchg rcx, r9
mov r9, qword [r15]
xchg r9, rcx
movzx edx, ax
and dx, r10w
mov dword [rsp - 0xc], 0x505a311
ror eax, 3
ror eax, 1
ror eax, 4
xor dx, word [rcx + r8*2]
mov word [rsi + r8*2], dx
mov dword [rsp - 0xc], 0x7888d0df
inc r8
cmp r8, qword [r15 + 0x38]
jb 0x140054d90
mov r8d, ebx
mov dword [rsp - 0x1c], 0x73ec7f73
xchg r9, r14
mov r14, rbp
xchg r9, r14
cmp qword [r12 + 0x38], rbp
xchg rsp, rsp
jbe 0x140054e45
nop dword [rax]
mov rax, qword [r12]
xchg r8, r8
movzx edx, r8w
mov rcx, qword [r15 + 0x38]
and dx, r10w
add rcx, r9
mov dword [rsp - 0x1c], 0xda69a18
ror r8d, 1
ror r8d, 2
ror r8d, 3
ror r8d, 1
ror r8d, 1
xor dx, word [rax + r9*2]
xchg rdi, rdi
inc r9
mov word [rsi + rcx*2], dx
cmp r9, qword [r12 + 0x38]
mov dword [rsp - 0x28], 0x5b5a0463
jb 0x140054df4
lea rax, [r14 + 8]
mov word [rsi + r13*2], bp
xorps xmm0, xmm0
mov dword [rsp - 0x2c], esi
mov qword [r14], rax
xchg r12, rax
movups xmmword [r12], xmm0
xchg r12, rax
xchg r8, rax
movups xmmword [r8 + 0x10], xmm0
xchg r8, rax
xchg r10, rax
movups xmmword [r10 + 0x20], xmm0
xchg r10, rax
inc rdi
mov dword [rsp - 0x10], ebx
cmp word [rsi + rdi*2], bp
jne 0x140054e73
mov rdx, rdi
mov qword [r14 + 0x38], rdi
xchg rdx, rdx
xchg rcx, r14
mov r14, rcx
xchg r14, rcx
call fcn.140017bbc
xchg r15, r15
cmp qword [r14 + 0x38], rbp
jbe 0x140054f0c
xchg rdx, r10
mov r10, rsi
xchg rdx, r10
mov r8d, 0x19a24264
add r8d, 0x2499a860
add r8d, 0x337e605e
xor r8d, 0x29df88ce
sub r8d, 0x5865c2ed
sub rdx, rax
nop
movzx ecx, bx
xchg rbx, rbx
lea rax, [rax + 2]
and cx, r8w
ror ebx, 6
ror ebx, 1
ror ebx, 1
xor cx, word [rdx + rax - 2]
inc rbp
mov word [rax - 2], cx
mov dword [rsp - 0x38], 0x18927b10
cmp rbp, qword [r14 + 0x38]
jb 0x140054ed9
mov rcx, rsi
mov r13, r13
call fcn.1400997f0
mov rbx, qword [rsp + 0x50]
xchg rcx, r14
mov rax, rcx
xchg r14, rcx
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
xchg rbx, rbx
sub rsp, 0xffffffffffffffe0
pop r15
pop r14
nop
mov r13, qword [rsp]
add rsp, 8
nop
mov r12, qword [rsp]
add rsp, 8
pop rdi
mov dword [rsp - 0x10], esi
ret