Function at 0x140293060
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xd8
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rbp + 7], rax
cmp dword [rcx], 0
mov rdi, r9
mov rbx, rdx
mov qword [rbp - 0x21], rdx
mov rsi, rcx
je 0x14029309b
mov eax, 0xfffffffb
jmp 0x140293131
cmp dword [rcx + 8], 0
je 0x1402930ab
mov eax, 0xfffffffa
jmp 0x140293131
test rbx, rbx
je 0x1402935c7
test r8d, r8d
jle 0x1402935c7
mov ecx, dword [rcx + 4]
mov qword [rsp + 0xc8], r13
mov r13d, r8d
mov qword [rsp + 0xb8], r15
mov r15d, r8d
shr r15d, 3
shr r13d, 7
and r15d, 0xf
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xc0], r14
mov dword [rbp - 0x25], r13d
test ecx, ecx
je 0x140293590
sub ecx, 1
je 0x1402933fe
cmp ecx, 1
je 0x140293149
mov eax, 0xffffffff
mov r14, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xd0]
mov r13, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xb8]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1403ca460
add rsp, 0xd8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rsi + 0xc]
mov dword [rbp - 0x19], eax
mov eax, dword [rsi + 0x10]
mov dword [rbp - 0x15], eax
mov eax, dword [rsi + 0x14]
mov dword [rbp - 0x11], eax
mov eax, dword [rsi + 0x18]
mov dword [rbp - 0xd], eax
mov dword [rbp - 0x29], r13d
test r13d, r13d
je 0x1402935bb
movzx eax, byte [rbp - 0xb]
xor r14d, r14d
movzx ecx, byte [rbp - 0xc]
movzx r13d, byte [rbp - 0xa]
mov byte [rbp - 0x2b], al
movzx eax, byte [rbp - 0xd]
mov byte [rbp - 0x31], al
movzx eax, byte [rbp - 0xf]
mov byte [rbp - 0x2d], cl
movzx ecx, byte [rbp - 0xe]
mov byte [rbp - 0x37], al
movzx eax, byte [rbp - 0x11]
mov byte [rbp - 0x35], cl
movzx ecx, byte [rbp - 0x10]
mov byte [rbp - 0x41], al
movzx eax, byte [rbp - 0x13]
mov byte [rbp - 0x39], cl
movzx ecx, byte [rbp - 0x12]
mov byte [rbp - 0x4b], al
movzx eax, byte [rbp - 0x15]
mov byte [rbp - 0x49], cl
movzx ecx, byte [rbp - 0x14]
mov byte [rbp - 0x51], al
movzx eax, byte [rbp - 0x17]
mov byte [rbp - 0x4d], cl
movzx ecx, byte [rbp - 0x16]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x19]
mov byte [rbp - 0x55], cl
movzx ecx, byte [rbp - 0x18]
mov byte [rbp - 0x69], al
mov byte [rbp - 0x59], cl
nop
movups xmm0, xmmword [rbx]
movzx r15d, byte [rbp - 0x2d]
mov r12d, r14d
movzx r14d, byte [rbp - 0x2b]
movzx ebx, byte [rbp - 0x31]
movups xmmword [rdi], xmm0
nop word [rax + rax]
movaps xmm0, xmmword [rbp - 0x19]
lea r8, [rbp - 9]
lea rdx, [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
mov rcx, rsi
call fcn.1402939e0
movzx eax, byte [rbp - 0x69]
movzx r8d, r12b
movzx r9d, byte [rbp - 9]
add al, al
movzx r11d, byte [rbp - 0x37]
and r9b, 0x80
and r8b, 7
mov edx, r12d
movzx ecx, r8b
shr rdx, 3
shr r9b, cl
movzx ecx, byte [rbp - 0x59]
shr cl, 7
or cl, al
xor r9b, byte [rdx + rdi]
movzx eax, byte [rbp - 0x59]
mov byte [rbp - 0x69], cl
add al, al
mov byte [rbp - 0x19], cl
movzx ecx, byte [rbp - 0x57]
shr cl, 7
or cl, al
mov byte [rdx + rdi], r9b
movzx eax, byte [rbp - 0x57]
mov byte [rbp - 0x59], cl
add al, al
mov byte [rbp - 0x18], cl
movzx ecx, byte [rbp - 0x55]
shr cl, 7
or cl, al
movzx eax, byte [rbp - 0x55]
mov byte [rbp - 0x57], cl
add al, al
mov byte [rbp - 0x17], cl
movzx ecx, byte [rbp - 0x51]
shr cl, 7
or cl, al
movzx eax, byte [rbp - 0x51]
mov byte [rbp - 0x55], cl
add al, al
mov byte [rbp - 0x16], cl
movzx ecx, byte [rbp - 0x4d]
shr cl, 7
or cl, al
movzx eax, byte [rbp - 0x4d]
mov byte [rbp - 0x51], cl
add al, al
mov byte [rbp - 0x15], cl
movzx ecx, byte [rbp - 0x4b]
shr cl, 7
or cl, al
movzx eax, byte [rbp - 0x4b]
mov byte [rbp - 0x4d], cl
add al, al
mov byte [rbp - 0x14], cl
movzx ecx, byte [rbp - 0x49]
shr cl, 7
or cl, al
movzx eax, byte [rbp - 0x49]
mov byte [rbp - 0x4b], cl
add al, al
mov byte [rbp - 0x13], cl
movzx ecx, byte [rbp - 0x41]
shr cl, 7
or cl, al
movzx eax, byte [rbp - 0x41]
mov byte [rbp - 0x49], cl
add al, al
mov byte [rbp - 0x12], cl
movzx ecx, byte [rbp - 0x39]
shr cl, 7
or cl, al
mov byte [rbp - 0x41], cl
mov byte [rbp - 0x11], cl
shr r11b, 7
movzx eax, byte [rbp - 0x39]
movzx ecx, r15b
movzx r10d, byte [rbp - 0x35]
add al, al
or r11b, al
shr cl, 7
movzx eax, byte [rbp - 0x37]
movzx edx, bl
add al, al
shr r10b, 7
or r10b, al
shr dl, 7
movzx eax, byte [rbp - 0x35]
inc r12d
add al, al
mov byte [rbp - 0x39], r11b
or dl, al
mov byte [rbp - 0x10], r11b
movzx eax, bl
mov byte [rbp - 0x37], r10b
add al, al
mov byte [rbp - 0xf], r10b
movzx ebx, cl
mov byte [rbp - 0x35], dl
or bl, al
mov byte [rbp - 0xe], dl
movzx ecx, r14b
mov byte [rbp - 0xd], bl
shr cl, 7
movzx eax, r15b
add al, al
movzx r15d, cl
or r15b, al
movzx ecx, r13b
shr cl, 7
movzx eax, r14b
add al, al
mov byte [rbp - 0xc], r15b
movzx r14d, cl
mov ecx, 7
or r14b, al
sub cl, r8b
movzx eax, r13b
shr r9b, cl
and r9b, 1
mov byte [rbp - 0xb], r14b
add al, al
movzx r13d, r9b
or r13b, al
mov byte [rbp - 0xa], r13b
cmp r12d, 0x80
jl 0x140293200
mov byte [rbp - 0x31], bl
add rdi, 0x10
mov rbx, qword [rbp - 0x21]
mov byte [rbp - 0x2d], r15b
add rbx, 0x10
mov r15d, dword [rbp - 0x29]
dec r15d
mov byte [rbp - 0x2b], r14b
mov qword [rbp - 0x21], rbx
mov r14d, 0
mov dword [rbp - 0x29], r15d
test r15d, r15d
jg 0x1402931e0
mov r13d, dword [rbp - 0x25]
shl r13d, 7
mov eax, r13d
jmp 0x140293111
call fcn.140296230
test eax, eax
je 0x140293439
mov eax, dword [rsi + 0x1c]
lea rcx, [rsi + 0x20]
shr r8d, 3
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov r9d, r8d
mov qword [rsp + 0x20], rcx
lea r8, [rsi + 0xc]
mov rcx, rbx
call fcn.140295e80
shl r13d, 7
mov eax, r13d
jmp 0x140293111
mov eax, dword [rsi + 0xc]
lea rdx, [rbp - 9]
xor eax, dword [rbx]
mov r8, rdi
mov dword [rbp - 9], eax
mov rcx, rsi
mov eax, dword [rbx + 4]
xor eax, dword [rsi + 0x10]
mov dword [rbp - 5], eax
mov eax, dword [rbx + 8]
xor eax, dword [rsi + 0x14]
mov dword [rbp - 1], eax
mov eax, dword [rbx + 0xc]
xor eax, dword [rsi + 0x18]
mov dword [rbp + 3], eax
call fcn.1402939e0
add rbx, 0x10
lea r14d, [r13 - 1]
test r14d, r14d
jle 0x1402934af
nop dword [rax + rax]
movdqu xmm1, xmmword [rdi]
add rdi, 0x10
lea rdx, [rbp - 9]
movdqu xmm0, xmmword [rbx]
mov r8, rdi
mov rcx, rsi
xorps xmm1, xmm0
movdqa xmmword [rbp - 9], xmm1
call fcn.1402939e0
add rbx, 0x10
dec r14d
test r14d, r14d
jg 0x140293480
test r15d, r15d
je 0x1402935bb
mov r8, r15
lea rcx, [rbp - 0x19]
mov rdx, rdi
mov r12, r15
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rdi]
xor r14d, r14d
movups xmmword [rbp - 9], xmm0
cmp r15d, 8
jb 0x140293534
lea rax, [r15 - 1]
lea rcx, [rbp - 9]
add rcx, rax
lea rdx, [rbp - 9]
add rax, rbx
cmp rdx, rax
ja 0x1402934f6
cmp rcx, rbx
jae 0x140293534
mov eax, 0xfffffff8
movsxd rcx, r14d
and r15, rax
mov rdx, rbx
lea rax, [rbp - 9]
sub rdx, rax
nop dword [rax + rax]
lea rax, [rbp - 9]
add r14d, 8
add rax, rcx
add rcx, 8
movq xmm0, qword [rax]
movq xmm1, qword [rax + rdx]
xorps xmm1, xmm0
movq qword [rax], xmm1
cmp rcx, r15
jl 0x140293510
movsxd rcx, r14d
cmp rcx, r12
jge 0x140293565
lea rax, [rbp - 9]
sub rbx, rax
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 9]
add rdx, rcx
inc rcx
movzx eax, byte [rdx + rbx]
xor byte [rdx], al
cmp rcx, r12
jl 0x140293550
mov r8, rdi
lea rdx, [rbp - 9]
mov rcx, rsi
call fcn.1402939e0
lea rcx, [rdi + 0x10]
mov r8, r12
lea rdx, [rbp - 0x19]
call sub.VCRUNTIME140.dll_memcpy
shl r13d, 7
mov eax, r13d
jmp 0x140293111
mov r14d, r13d
test r13d, r13d
je 0x1402935bb
sub rdi, rbx
nop dword [rax + rax]
lea r8, [rdi + rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.1402939e0
add rbx, 0x10
dec r14d
test r14d, r14d
jg 0x1402935a0
shl r13d, 7
mov eax, r13d
jmp 0x140293111
xor eax, eax
jmp 0x140293131