Function at 0x7ff78727a610
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xe8
call sub.kernel32.dll___chkstk
sub rsp, rax
mov rax, qword [0x7ff78748c040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, qword [rsp + 0x150]
mov rax, rcx
mov rbx, qword [rsp + 0x158]
mov rdi, r9
mov r12, qword [rsp + 0x178]
mov r13, rdx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], r8
mov r14d, dword [rcx]
mov rcx, rax
call fcn.7ff787273bc0
mov r8d, r14d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, r12
call fcn.7ff7873324b0
test eax, eax
je 0x7ff78727a8df
mov ebp, dword [rsp + 0x160]
inc r14d
test ebp, ebp
je 0x7ff78727a6c4
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8, rbx
mov rdx, r15
call fcn.7ff787203d70
test eax, eax
jle 0x7ff78727a8e2
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.vcruntime140.dll_memcpy
mov r8, rbx
lea rcx, [rsp + 0x90]
mov rdx, r15
call sub.vcruntime140.dll_memcpy
lea eax, [rbx - 1]
movsxd rcx, eax
test eax, eax
js 0x7ff78727a6ff
add rcx, rdi
add byte [rcx], 1
jne 0x7ff78727a6ff
dec rcx
cmp rcx, rdi
jns 0x7ff78727a6f2
mov rbp, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], rbp
mov rcx, r15
call fcn.7ff78721b600
test eax, eax
je 0x7ff78727a8e2
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov rdx, rbx
mov rcx, rdi
call fcn.7ff78721b600
test eax, eax
je 0x7ff78727a8e2
mov edx, esi
mov rax, rsi
test ebx, ebx
jle 0x7ff78727a891
cmp ebx, 8
jb 0x7ff78727a858
cmp ebx, 0x40
jb 0x7ff78727a80c
mov r8d, ebx
and r8d, 0x8000003f
jge 0x7ff78727a786
dec r8d
or r8d, 0xffffffc0
inc r8d
mov ecx, ebx
sub ecx, r8d
movsxd r8, ecx
nop
movdqu xmm0, xmmword [rsp + rax + 0x50]
add edx, 0x40
movdqu xmm1, xmmword [rsp + rax + 0x90]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x60]
movdqu xmm1, xmmword [rsp + rax + 0xa0]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x60], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x70]
movdqu xmm1, xmmword [rsp + rax + 0xb0]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x70], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x80]
movdqu xmm1, xmmword [rsp + rax + 0xc0]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x80], xmm1
add rax, 0x40
cmp rax, r8
jl 0x7ff78727a790
mov ecx, ebx
and cl, 0x3f
cmp cl, 8
jb 0x7ff78727a854
mov r8d, ebx
and r8d, 0x80000007
jge 0x7ff78727a822
dec r8d
or r8d, 0xfffffff8
inc r8d
mov ecx, ebx
sub ecx, r8d
movsxd r8, ecx
nop word [rax + rax]
movq xmm0, qword [rsp + rax + 0x50]
add edx, 8
movq xmm1, qword [rsp + rax + 0x90]
xorps xmm1, xmm0
movq qword [rsp + rax + 0x50], xmm1
add rax, 8
cmp rax, r8
jl 0x7ff78727a830
cmp edx, ebx
jge 0x7ff78727a891
lea rcx, [rsp + 0x50]
add rcx, rax
lea r8, [rsp + 0x90]
lea rax, [rsp + 0x50]
sub r8, rax
mov eax, ebx
sub eax, edx
mov edx, eax
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x7ff78727a880
or byte [rsp + 0x50], 0x80
lea rcx, [rsp + 0x50]
or byte [rsp + rbx + 0x4f], 1
mov r8, r13
mov edx, ebx
call fcn.7ff7872132c0
test rax, rax
je 0x7ff78727a8e2
mov rdx, qword [rsp + 0x40]
mov r8, r12
mov rcx, r13
call fcn.7ff787332510
test eax, eax
jg 0x7ff78727a910
jne 0x7ff78727a8e2
mov r8d, r14d
xor edx, edx
mov rcx, r12
mov ebp, 1
call fcn.7ff7873324b0
test eax, eax
jne 0x7ff78727a6a2
inc r14d
mov rax, qword [rsp + 0x48]
mov dword [rax], r14d
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.7ff78718ed30
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov esi, 1
jmp 0x7ff78727a8e2