Function at 0x140066840
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r10
mov qword [rsp + 0x18], r10
xchg r10, rbx
xchg rbp, r14
mov qword [rsp + 0x20], r14
xchg r14, rbp
nop
sub rsp, 8
mov qword [rsp], rsi
add rsp, 0x10e9ce6f
sub rsp, 0x10e9cfbf
lea rcx, [0x140130050]
mov rbx, rdx
lea rbp, [rdx + 8]
mov rsp, rsp
call fcn.140077c70
test al, al
jne 0x1400668c5
xchg rsi, rsi
mov qword [rbx], rbp
xorps xmm0, xmm0
xchg rbp, r9
movups xmmword [r9], xmm0
xchg rbp, r9
xor esi, esi
mov dword [rsp - 0x30], edx
xchg rcx, rbp
movups xmmword [rcx + 0x10], xmm0
xchg rcx, rbp
xchg rbp, rdi
movups xmmword [rdi + 0x20], xmm0
xchg rdi, rbp
mov qword [rbx + 0x38], rsi
mov dword [rsp - 0x34], ebx
jmp 0x140066b7d
mov rdx, qword [0x14012f830]
movabs rcx, 0xb58d4a024d720a0
add rcx, 0x88f802
xor rcx, 0x2f299023
add rcx, 0x7fffffff
xor rcx, 0x760e8343
add rdx, rcx
mov qword [rsp + 0x160], rdi
mov r11, r11
movabs rax, 0x76b834fc31a6e32d
xor rax, 0x54b85e77
sub rax, 0x5fba0eb7
xor rax, 0x6800394f
add rax, 0x1ad17824
xchg r14, r15
mov qword [rsp + 0x168], r15
xchg r14, r15
xor rdx, rax
mov dword [rsp - 0x2c], ecx
lea rcx, [rsp + 0x20]
ror rdx, 4
ror rdx, 0x1e
ror rdx, 1
ror rdx, 1
movabs rax, 0x796c470e783b8246
sub rax, 0x2fc1b691
add rax, 0xe4fbaac
xor rax, 0x641eabdb
xor rdx, rax
xchg rdi, rdi
not rdx
call rdx
movaps xmm0, xmmword [rsp + 0x20]
xchg r10, r10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
xchg rsp, rcx
movdqa xmmword [rcx + 0x30], xmm0
xchg rcx, rsp
call fcn.1400a1c70
xorps xmm0, xmm0
nop
movabs rdi, 0xffffffff7d08ae92
sub rdi, 0x1216cbf8
xor rdi, 0x157e1878
sub rdi, 0x26952a29
add rdi, 0x7fffffff
add rdi, 0x27052f47
xchg r14, r13
mov r13, qword [rax]
xchg r14, r13
xchg r13, rbp
mov qword [rbx], r13
xchg rbp, r13
xchg rbp, r13
movups xmmword [r13], xmm0
xchg rbp, r13
movups xmmword [rbp + 0x10], xmm0
xchg rbp, r12
movups xmmword [r12 + 0x20], xmm0
xchg rbp, r12
nop dword [rax + rax]
inc rdi
cmp word [r14 + rdi*2], 0
mov rsp, rsp
jne 0x1400669f9
mov qword [rbx + 0x38], rdi
mov rcx, qword [rbx]
cmp rcx, rbp
mov dword [rsp - 0x3c], esp
je 0x140066a24
call fcn.1400b9840
xor esi, esi
cmp rdi, 0x18
mov rdi, rdi
jbe 0x140066a64
lea rcx, [rdi + rdi]
call fcn.1400b9ad0
xchg r15, rax
mov qword [rbx], r15
xchg r15, rax
test rax, rax
jne 0x140066a74
xchg rbp, r10
mov qword [rbx], r10
xchg rbp, r10
mov edx, esi
mov dword [rsp - 0x2c], 0x6a57c60b
jmp 0x140066a9c
xchg rbp, r10
mov qword [rbx], r10
xchg r10, rbp
mov rax, rbp
mov dword [rsp - 0x20], ebx
xorps xmm0, xmm0
xchg rbx, rax
movups xmmword [rbx], xmm0
xchg rbx, rax
movups xmmword [rax + 0x10], xmm0
mov dword [rsp - 0x34], 0x596641d8
xchg r9, rax
movups xmmword [r9 + 0x20], xmm0
xchg r9, rax
xchg rdx, r13
mov r13, qword [rbx]
xchg rdx, r13
mov eax, 0x389bd17f
xor eax, 0x4a797984
sub eax, 0x3c74c64d
sub eax, 0x53adc7c
cmp qword [rbx + 0x38], rsi
mov dword [rsp - 0x18], 0x99c9aa2
jbe 0x140066b14
sub r14, rdx
mov edi, 0x5a839320
add edi, 0xb2446cd
xor edi, 0xefe1ce5
xor edi, 0x6b59c5f7
nop word [rax + rax]
mov rcx, rcx
movzx ecx, ax
lea rdx, [rdx + 2]
and cx, di
ror eax, 2
ror eax, 6
xor cx, word [r14 + rdx - 2]
inc rsi
mov word [rdx - 2], cx
mov dword [rsp - 0x34], edx
cmp rsi, qword [rbx + 0x38]
jb 0x140066ae9
xchg rbx, rcx
mov rbx, qword [rsp + 0x40]
xchg rcx, rbx
lea rax, [rsp + 0x48]
mov rdi, rdi
xchg r14, r15
mov r15, qword [rsp + 0x168]
xchg r14, r15
cmp rcx, rax
jne 0x140066b6c
lea rdi, [rsp + 0x48]
mov r10, r10
xor eax, eax
mov ecx, 0x6efc8e72
xor ecx, 0x757f262b
sub ecx, 0x6f1d581
add ecx, 0x240a2aa4
xor ecx, 0x389bfc7c
rep stosb byte [rdi], al
jmp 0x140066b75
call fcn.1400b9840
mov dword [rsp - 0x14], ebp
mov rdi, qword [rsp + 0x160]
lea r11, [rsp + 0x150]
xchg rbx, rax
mov rbx, rax
xchg rbx, rax
xchg rcx, rbx
mov rcx, qword [r11 + 0x20]
xchg rcx, rbx
xchg r9, rbp
mov r9, qword [r11 + 0x28]
xchg rbp, r9
xchg r12, rsp
mov r12, r11
xchg rsp, r12
nop
mov rsi, qword [rsp]
add rsp, 8
ret