Function at 0x140213660
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov eax, dword [0x14069425c]
mov edx, 0x76a2eb66
add edx, dword [0x1406215d0]
cmp eax, edx
nop word cs:[rax + rax]
mov eax, 0x76a2eb08
add eax, dword [0x1406215d0]
mov edx, dword [0x14069425c]
cmp edx, 0x38
jg 0x140213680
cmp ecx, eax
jne 0x1402136cd
xor eax, eax
mov cl, 1
nop
test al, al
jne 0x1402136c0
movzx edx, byte [0x14061fb80]
mov r8d, dword [0x140694258]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x14021371c
movzx edx, byte [0x14061fb80]
test cl, cl
je 0x1402136a0
jmp 0x1402136a4
mov eax, 0x76a2eb08
xor ecx, ecx
mov dl, 1
nop word cs:[rax + rax]
mov r8d, dword [0x140694258]
lea r9d, [r8 + 1]
imul r9d, r8d
and r9d, 1
mov r8d, dword [0x1406215d0]
add r8d, eax
cmp r9d, r8d
jne 0x14021370e
movzx r8d, byte [0x14061fe31]
test cl, cl
je 0x140213745
movzx r8d, byte [0x14061fe31]
test dl, dl
je 0x1402136e0
jmp 0x140213702
cmp dl, 0xb6
je 0x14021382e
mov cl, 0x70
nop word [rax + rax]
mov al, 0x6f
lock cmpxchg byte [0x14061fb80], cl
je 0x140213779
cmp al, 0xb6
jne 0x140213730
jmp 0x14021382e
cmp r8b, 0xe5
je 0x140213924
mov cl, 0x8a
nop word cs:[rax + rax]
mov al, 0x34
lock cmpxchg byte [0x14061fe31], cl
je 0x14021383a
cmp al, 0xe5
jne 0x140213760
jmp 0x140213924
xor edx, edx
lea rax, [0x14061fb70]
lea rcx, [0x140535b80]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x1406215d0]
add edx, r8d
add edx, 0x76a2eb09
cmp edx, 0xf
jle 0x140213790
mov eax, 0x76a2eb09
lea rcx, [fcn.140213660]
add ecx, ecx
add ecx, 0x47a0
mov edx, ecx
not edx
nop dword [rax]
cmp dword [0x1406215d0], 0x895d14f8
je 0x140213817
mov r8b, 0xb6
xchg byte [0x14061fb80], r8b
mov r8d, dword [0x1406215d0]
add r8d, eax
mov r9d, edx
and r9d, r8d
not r8d
mov r10d, ecx
and r10d, r8d
or r10d, r9d
mov r9d, edx
xor r9d, r8d
not r9d
and r9d, r8d
or r9d, r10d
cmp r9d, 0xffffffff
jne 0x1402137d0
mov r8b, 0xb6
xchg byte [0x14061fb80], r8b
mov r8d, dword [0x14069425c]
cmp r8d, 0xf
jg 0x1402137dc
lea rax, [0x14061fb70]
jmp 0x14021392b
xor r8d, r8d
lea r9, [0x14061fe20]
lea r10, [0x140535e20]
jmp 0x140213871
inc r8d
mov ecx, eax
xor ecx, 0x9990a890
and eax, 0x1990a890
lea eax, [rcx + rax*2]
add eax, 0xdd124289
cmp r8d, eax
jge 0x14021391c
mov eax, dword [0x14069425c]
movsxd r11, r8d
cmp eax, 0x60
jg 0x1402138a0
nop
movzx eax, byte [r11 + r10]
add byte [r11 + r9], al
mov eax, dword [0x1406215d0]
mov ecx, dword [0x14069425c]
cmp ecx, 0x3f
jl 0x140213850
nop word [rax + rax]
mov dword [0x14069425c], 0x4f
movzx ecx, byte [r11 + r10]
movzx edx, byte [r11 + r9]
xor eax, eax
sub al, dl
mul cl
sub al, cl
mul cl
sub al, cl
mul cl
mov edx, eax
shl dl, cl
mov eax, edx
neg al
lea esi, [rdx - 1]
xor sil, al
and sil, cl
xor sil, al
and al, cl
add al, al
add al, sil
mov ecx, edx
sub cl, al
lea eax, [rdx + rcx]
neg cl
mul cl
mov ecx, eax
sub dl, al
mov eax, edx
mul cl
mov edx, eax
shl dl, cl
mov ecx, eax
neg cl
mov ebx, ecx
xor bl, dl
and cl, dl
add cl, cl
add cl, bl
mov edx, ecx
sub dl, al
add dl, cl
mov byte [r11 + r9], dl
mov eax, dword [0x14069425c]
cmp eax, 0x30
jge 0x1402138a0
jmp 0x140213880
mov al, 0xe5
xchg byte [0x14061fe31], al
lea rax, [0x14061fe20]
pop rbx
pop rsi
ret