Function at 0x140074981
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r14
mov qword [rsp + 0x18], r14
xchg rbx, r14
push rsi
mov dword [rsp - 0x44], ebp
nop
sub rsp, 8
mov qword [rsp], rdi
nop
sub rsp, 8
mov qword [rsp], r15
add rsp, 0xffffffffffffffa0
mov dword [rsp - 0x38], edx
lea rdi, [rcx + 8]
mov r15, rdx
mov qword [rcx], rdi
mov dword [rsp - 0x24], 0x395bb610
xchg rbx, rdx
mov rdx, rcx
xchg rbx, rdx
xchg r13, rcx
mov r13, rdi
xchg r13, rcx
xor edx, edx
xchg rbp, rbp
mov r8d, 0x6eaefffe
sub r8d, 0x63e84566
add r8d, 0x414f51b8
sub r8d, 0x3ac2c5e6
sub r8d, 0x1153456a
call fcn.1400997f0
mov rax, qword [r15 + 0x38]
mov dword [rsp - 0x18], ebp
mov qword [rbx + 0x108], rax
xchg r14, rcx
mov r14, qword [rbx]
xchg r14, rcx
lea rsi, [rax + 1]
mov r11, r11
cmp rcx, rdi
je 0x1400748e7
call fcn.140099230
cmp rsi, 0x80
xchg rsi, rsi
jbe 0x14007491f
lea rcx, [rsi + rsi]
call fcn.140099500
mov qword [rbx], rax
mov dword [rsp - 0x20], 0x67402b6
test rax, rax
jne 0x140074929
mov qword [rbx], rdi
mov r12, r12
jmp 0x140074b0c
mov qword [rbx], rdi
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
xor edx, edx
xchg r13, r13
mov qword [rsp + 0x88], r14
mov r8d, 0x4a2be6aa
sub r8d, 0x45ecbd25
xor r8d, 0x376c3b32
add r8d, 0x2b2be697
xor r8d, 0x5e7ef84e
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call fcn.1400997f0
mov r14, qword [rbx]
test r14, r14
mov rbp, rbp
je 0x140074b04
xchg r10, rsi
mov r10, qword [r15]
xchg r10, rsi
lea rax, [rsp + 0x28]
xorps xmm0, xmm0
mov dword [rsp - 0x28], 0x754e26c4
mov qword [rsp + 0x80], rbp
mov rbp, qword [r15 + 0x38]
lea rcx, [rsp + 0x20]
mov dword [rsp - 0x40], 0x3c497887
mov qword [rsp + 0x20], rax
xchg rsp, r14
movups xmmword [r14 + 0x28], xmm0
xchg rsp, r14
lea rdx, [rbp + 1]
xchg rsp, r11
movups xmmword [r11 + 0x38], xmm0
xchg rsp, r11
xchg rbp, rsp
movups xmmword [rbp + 0x48], xmm0
xchg rsp, rbp
call fcn.140017954
mov dword [rsp - 0x38], esp
mov edx, 0x2d81d09a
xor edx, 0x39284001
add edx, 0x38dca212
sub edx, 0x4bbbed88
add edx, 0x60e6ff30
test rbp, rbp
mov dword [rsp - 0x34], 0x273d323b
je 0x140074a73
mov rdi, rax
sub rsi, rax
xchg rbp, r8
mov rbp, r8
xchg rbp, r8
mov r9d, 0x381d280b
add r9d, 0x2f7641ef
xor r9d, 0x1555b41b
xor r9d, 0x72c6dd1e
nop dword [rax]
nop dword [rax + rax]
movzx ecx, dx
mov dword [rsp - 0x10], 0x83bc009
lea rdi, [rdi + 2]
and cx, r9w
ror edx, 2
ror edx, 3
ror edx, 1
ror edx, 1
ror edx, 1
xor cx, word [rsi + rdi - 2]
mov rbx, rbx
mov word [rdi - 2], cx
sub r8, 1
jne 0x140074a3b
xchg r15, r15
xor ecx, ecx
mov word [rax + rbp*2], cx
xchg r8, rcx
mov r8, r14
xchg rcx, r8
xchg rsi, rdx
mov rsi, qword [rbx + 0x108]
xchg rsi, rdx
xchg r13, r8
mov r13, qword [rsp + 0x20]
xchg r8, r13
inc rdx
call fcn.14009a210
mov rcx, qword [rsp + 0x20]
mov dword [rsp - 0x44], 0x43350481
lea rax, [rsp + 0x28]
xchg rbp, r10
mov r10, qword [rsp + 0x80]
xchg rbp, r10
cmp rcx, rax
jne 0x140074afc
mov dword [rsp - 0x2c], ebx
lea rdi, [rsp + 0x28]
xor eax, eax
mov ecx, 0x4fbff5f9
xor ecx, 0x49f31123
add ecx, 0x32420a79
xor ecx, 0x388eef63
rep stosb byte [rdi], al
mov dword [rsp - 0x14], 0x2a464bf4
jmp 0x140074b04
call fcn.140099230
xchg r11, r11
mov r14, qword [rsp + 0x88]
xchg r8, rax
mov r8, rbx
xchg r8, rax
xchg rdx, rbx
mov rdx, qword [rsp + 0x90]
xchg rbx, rdx
neg rsp
add rsp, 0xffffffffffffffa0
neg rsp
pop r15
mov r10, r10
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
add rsp, 8
mov rsi, qword [rsp - 8]
ret