Function at 0x7ff70b57df10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push rdi
sub rsp, 0x58
mov qword [rax + 8], rbp
xor edi, edi
mov rbx, rcx
mov qword [rax + 0x10], rsi
mov ebp, edi
mov qword [rax + 0x18], r12
mov esi, edi
mov qword [rax - 0x18], r15
cmp dword [rcx + 0x28], edi
je 0x7ff70b57dfba
mov r9d, edi
nop
mov r11, qword [rbx + 0x30]
mov r8d, edi
lea r10, [r9 + r11]
nop dword [rax + rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r9 + r11]
xor byte [rdx + r10 + 4], cl
cmp r8d, 0x28
jb 0x7ff70b57df50
mov r11, qword [rbx + 0x30]
mov r8d, edi
movzx eax, word [r11 + r9 + 4]
lea r10, [r11 + r9]
cmp ebp, eax
cmovge eax, ebp
mov ebp, eax
nop word [rax + rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r11 + r9]
xor byte [rdx + r10 + 4], cl
cmp r8d, 0x28
jb 0x7ff70b57df90
inc esi
add r9, 0x2c
cmp esi, dword [rbx + 0x28]
jne 0x7ff70b57df40
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x7ff70b57dfcf
mov qword [rbx], rdi
call fcn.7ff70b4dd700
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x7ff70b57dfe5
mov qword [rbx + 0x18], rdi
call fcn.7ff70b4dd700
mov qword [rbx + 0x20], rdi
lea r15d, [rbp + 1]
mov byte [rbx + 0x64], dil
mov edx, r15d
mov rcx, rbx
call fcn.7ff70b4f1ff0
mov edx, dword [rbx + 0x28]
mov esi, edi
test edx, edx
jle 0x7ff70b57e0ac
nop word [rax + rax]
mov r11, qword [rbx + 0x30]
mov r8d, edi
movsxd rax, esi
imul r9, rax, 0x2c
lea r10, [r9 + r11]
nop dword [rax]
nop word [rax + rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r9 + r11]
xor byte [rdx + r10 + 4], cl
cmp r8d, 0x28
jb 0x7ff70b57e030
mov rax, qword [rbx + 0x30]
mov r8d, edi
mov rcx, qword [rbx + 8]
movzx edx, word [r9 + rax + 4]
mov eax, dword [r9 + rax + 8]
mov dword [rcx + rdx*4], eax
mov rax, qword [rbx + 0x20]
mov word [rax + rdx*2], si
mov r11, qword [rbx + 0x30]
lea r10, [r9 + r11]
nop dword [rax + rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r9 + r11]
xor byte [rdx + r10 + 4], cl
cmp r8d, 0x28
jb 0x7ff70b57e080
mov edx, dword [rbx + 0x28]
inc esi
cmp esi, edx
jl 0x7ff70b57e010
mov r8d, dword [rbx + 0x18]
mov r12d, 0xffff
cmp r8d, 0x20
jg 0x7ff70b57e0c2
mov rax, qword [rbx + 0x38]
jmp 0x7ff70b57e0de
mov rax, qword [rbx + 0x20]
movzx ecx, word [rax + 0x40]
cmp cx, r12w
jne 0x7ff70b57e0d6
mov rax, qword [rbx + 0x38]
jmp 0x7ff70b57e0de
imul rax, rcx, 0x2c
add rax, qword [rbx + 0x30]
test rax, rax
je 0x7ff70b57e2bb
movsxd rax, edx
imul rcx, rax, 0x2c
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x88], r14
cmp word [rcx + rax - 0x28], 9
je 0x7ff70b57e16a
mov ecx, dword [rbx + 0x2c]
lea ebp, [rdx + 1]
cmp ebp, ecx
jle 0x7ff70b57e167
test ecx, ecx
je 0x7ff70b57e11b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x7ff70b57e120
mov eax, 8
cmp eax, ebp
mov esi, ebp
cmovg esi, eax
cmp esi, ecx
jle 0x7ff70b57e167
movsxd rax, esi
imul rcx, rax, 0x2c
call fcn.7ff70b4dd450
mov rdx, qword [rbx + 0x30]
mov r14, rax
test rdx, rdx
je 0x7ff70b57e15c
movsxd rcx, dword [rbx + 0x28]
imul r8, rcx, 0x2c
mov rcx, rax
call fcn.7ff70b54e1a0
mov rcx, qword [rbx + 0x30]
call fcn.7ff70b4dd700
mov qword [rbx + 0x30], r14
mov dword [rbx + 0x2c], esi
mov r8d, dword [rbx + 0x18]
mov dword [rbx + 0x28], ebp
cmp r8d, 0x20
jg 0x7ff70b57e176
mov rax, qword [rbx + 0x38]
jmp 0x7ff70b57e192
mov rax, qword [rbx + 0x20]
movzx ecx, word [rax + 0x40]
cmp cx, r12w
jne 0x7ff70b57e18a
mov rax, qword [rbx + 0x38]
jmp 0x7ff70b57e192
imul rax, rcx, 0x2c
add rax, qword [rbx + 0x30]
movups xmm0, xmmword [rax]
mov r8d, edi
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [rax + 0x20]
mov eax, dword [rax + 0x28]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
movups xmmword [rsp + 0x30], xmm1
nop dword [rax + rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [rsp + 0x20]
xor byte [rsp + rdx + 0x24], cl
cmp r8d, 0x28
jb 0x7ff70b57e1c0
movsxd rax, dword [rbx + 0x28]
mov r8d, edi
mov r14, qword [rbx + 0x30]
imul rbp, rax, 0x2c
lea rsi, [r14 + rbp]
nop dword [rax]
nop word [rax + rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r14 + rbp - 0x2c]
xor byte [rdx + rsi - 0x28], cl
cmp r8d, 0x28
jb 0x7ff70b57e200
mov eax, dword [rsp + 0x48]
mov ecx, 0x40800000
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [r14 + rbp - 0x2c], xmm0
movsd xmm0, qword [rsp + 0x40]
movups xmmword [r14 + rbp - 0x1c], xmm1
movsd qword [r14 + rbp - 0xc], xmm0
mov dword [r14 + rbp - 4], eax
mov eax, 9
mov word [rsi - 0x28], ax
call fcn.7ff70b500310
mulss xmm0, dword [r14 + rbp - 0x24]
mov r8d, edi
movzx ecx, word [rsi - 0x28]
movss dword [r14 + rbp - 0x24], xmm0
mov rax, qword [rbx + 8]
movss dword [rax + rcx*4], xmm0
movzx edx, word [rbx + 0x28]
movzx ecx, word [rsi - 0x28]
dec dx
mov rax, qword [rbx + 0x20]
mov word [rax + rcx*2], dx
nop
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r14 + rbp - 0x2c]
xor byte [rdx + rsi - 0x28], cl
cmp r8d, 0x28
jb 0x7ff70b57e290
mov r8d, dword [rbx + 0x18]
mov r14, qword [rsp + 0x88]
movzx ecx, word [rbx + 0x5a]
mov r9, rdi
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
cmp ecx, r8d
jge 0x7ff70b57e2e7
mov rax, qword [rbx + 0x20]
movzx edx, word [rax + rcx*2]
cmp dx, r12w
je 0x7ff70b57e2e7
imul r9, rdx, 0x2c
add r9, qword [rbx + 0x30]
mov r12, qword [rsp + 0x80]
mov qword [rbx + 0x38], r9
mov dword [rbx + 0x10], edi
test r9, r9
je 0x7ff70b57e34e
mov r8d, edi
nop
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r9]
xor byte [rdx + r9 + 4], cl
cmp r8d, 0x28
jb 0x7ff70b57e300
mov r9, qword [rbx + 0x38]
mov r8d, edi
mov eax, dword [r9 + 8]
mov dword [rbx + 0x10], eax
nop dword [rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [r9]
xor byte [rdx + r9 + 4], cl
cmp r8d, 0x28
jb 0x7ff70b57e330
movsxd r9, r15d
xorps xmm0, xmm0
mov r15, qword [rsp + 0x50]
cmp r9, 4
jl 0x7ff70b57e3ba
mov r8, qword [rbx + 8]
lea rdx, [r9 - 4]
shr rdx, 2
inc rdx
lea rcx, [r8 + 8]
lea rdi, [rdx*4]
nop word [rax + rax]
comiss xmm0, dword [rcx - 8]
jbe 0x7ff70b57e38c
mov eax, dword [rbx + 0x10]
mov dword [rcx - 8], eax
comiss xmm0, dword [rcx - 4]
jbe 0x7ff70b57e398
mov eax, dword [rbx + 0x10]
mov dword [rcx - 4], eax
comiss xmm0, dword [rcx]
jbe 0x7ff70b57e3a2
mov eax, dword [rbx + 0x10]
mov dword [rcx], eax
comiss xmm0, dword [rcx + 4]
jbe 0x7ff70b57e3ae
mov eax, dword [rbx + 0x10]
mov dword [rcx + 4], eax
add rcx, 0x10
sub rdx, 1
jne 0x7ff70b57e380
jmp 0x7ff70b57e3d4
test r9, r9
jle 0x7ff70b57e3d9
mov r8, qword [rbx + 8]
comiss xmm0, dword [r8 + rdi*4]
jbe 0x7ff70b57e3d1
mov eax, dword [rbx + 0x10]
mov dword [r8 + rdi*4], eax
inc rdi
cmp rdi, r9
jl 0x7ff70b57e3c3
add rsp, 0x58
pop rdi
pop rbx
ret