Function at 0x140078790
Capabilities:
Encode data using xor

Disassembly:
xchg rsp, r11
mov rsp, r11
xchg rsp, r11
push rbx
mov dword [rsp - 0x14], esp
push rsi
add rsp, 0x1a0aa71f
sub rsp, 0x1a0aa7c7
xorps xmm0, xmm0
mov r13, r13
mov qword [r11 + 8], rbp
mov eax, 0x72f7a702
xor eax, 0x5c54db15
sub eax, 0x9959051
xor eax, 0x6b51ef53
xor eax, 0x4e5c04aa
mov qword [r11 + 0x20], r14
xchg rdi, rdi
cmp r9d, eax
xchg r15, r12
mov qword [r11 - 0x18], r12
xchg r12, r15
movups xmmword [rsp + 0x20], xmm0
cmovbe eax, r9d
mov dword [rsp - 0x1c], 0x2c167267
xchg rbp, r8
mov r8, rbp
xchg rbp, r8
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp - 0xc], 0x1d19ddc8
xor ebx, ebx
xchg rsi, rdx
mov rdx, rsi
xchg rsi, rdx
movsxd r14, eax
xchg r12, rcx
mov r15, r12
xchg rcx, r12
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
xchg rsp, rsp
movups xmmword [rsp + 0x60], xmm0
xchg rbp, rsp
movups xmmword [rbp + 0x70], xmm0
xchg rsp, rbp
xchg r10, r11
movups xmmword [r10 - 0x38], xmm0
xchg r11, r10
xchg r10, r11
movups xmmword [r10 - 0x28], xmm0
xchg r10, r11
test eax, eax
mov dword [rsp - 0x18], ebp
jle 0x140078820
mov qword [r11 + 0x10], rdi
mov edi, ebx
mov dword [rsp - 0x38], esp
mov qword [r11 + 0x18], r12
movabs r12, 0x50337d297
xor r12, 0x1562e6f6
add r12, 0x37fb1f64
add r12, 0x7fffffff
xor r12, 0x10bcb5a9
mov ecx, dword [rbp + 0x38]
test ecx, ecx
mov dword [rsp - 0x34], 0x566142f7
jg 0x1400787ae
mov edx, ebx
jmp 0x1400787e6
xchg rdx, rax
mov rdx, qword [r15]
xchg rdx, rax
imul rax, r12
mov dword [rsp - 0x2c], ebx
neg rax
add rax, 0xfffffffffffffff5
neg rax
xchg r9, rax
mov qword [r15], r9
xchg r9, rax
shr rax, 0xa
shr rax, 6
and eax, 0x7fff
cdq
mov dword [rsp - 0x2c], 0x1947c9b
idiv ecx
movsxd rdx, edx
xchg rbp, rsp
mov rcx, rsp
xchg rsp, rbp
call fcn.140049c80
mov word [rsp + rdi*2 + 0x20], ax
mov dword [rsp - 0x3c], esp
inc rdi
cmp rdi, r14
jl 0x140078794
mov dword [rsp - 0x20], edi
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xc8]
xchg r10, r15
mov r10, qword [rsp + 0xa0]
xchg r15, r10
lea rax, [rsi + 8]
mov dword [rsp - 0x44], edi
mov r14, qword [rsp + 0xd8]
xorps xmm0, xmm0
xchg r15, rbp
mov r15, qword [rsp + 0xc0]
xchg r15, rbp
nop
movabs rdx, 0xffffffff44b39b3e
sub rdx, 0x3a50d3b4
add rdx, 0x5e985638
sub rdx, 0x13fc6f78
add rdx, 0x7fffffff
add rdx, 0x2b0151b6
mov qword [rsi], rax
mov dword [rsp - 0x14], 0x5451f957
movups xmmword [rax], xmm0
xchg r12, rax
movups xmmword [r12 + 0x10], xmm0
xchg r12, rax
movups xmmword [rax + 0x20], xmm0
lea rax, [rsp + 0x20]
nop dword [rax + rax]
mov dword [rsp - 0x18], 0x74a5f20f
inc rdx
cmp word [rax + rdx*2], bx
jne 0x1400788ab
xchg r13, r13
xchg r14, rsi
mov rcx, r14
xchg rsi, r14
mov qword [rsi + 0x38], rdx
xchg rdi, rdi
call fcn.140016528
mov edx, 0x1dc82078
add edx, 0x27c76853
add edx, 0x2fe43172
xor edx, 0x1233bfa7
sub edx, 0x38668e4a
cmp qword [rsi + 0x38], rbx
mov dword [rsp - 0x10], esi
jbe 0x14007895e
lea r8, [rsp + 0x20]
mov r9d, 0x515d2c11
xor r9d, 0x60358625
add r9d, 0x19ee323d
xor r9d, 0x4b56dc8e
sub r8, rax
xchg rbp, rbp
nop
movzx ecx, dx
lea rax, [rax + 2]
xchg rbp, rbp
and cx, r9w
ror edx, 3
ror edx, 1
ror edx, 2
ror edx, 2
xor cx, word [r8 + rax - 2]
xchg r10, r10
inc rbx
mov word [rax - 2], cx
cmp rbx, qword [rsi + 0x38]
mov dword [rsp - 0x44], 0x17ae5738
jb 0x140078923
xchg rdi, rax
mov rdi, rsi
xchg rdi, rax
sub rsp, 0xffffffffffffff58
mov r14, r14
nop
mov rsi, qword [rsp]
add rsp, 8
pop rbx
mov dword [rsp - 0x34], 0xb1a6edb
ret