Function at 0x1401be690
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test al, al
nop word cs:[rax + rax]
cmp dword [0x1405ad48c], 0x557428df
jne 0x1401be6a0
test ecx, ecx
je 0x1401be6e9
test edx, edx
je 0x1401be6fc
movzx eax, byte [0x1405ace7e]
cmp al, 0xb7
je 0x1401be7de
mov cl, 0x82
nop word cs:[rax + rax]
mov al, 0xf5
lock cmpxchg byte [0x1405ace7e], cl
je 0x1401be76c
cmp al, 0xb7
jne 0x1401be6d0
jmp 0x1401be7de
test edx, edx
je 0x1401be73c
xor eax, eax
test al, al
je 0x1401be8eb
jmp 0x1401be910
movzx eax, byte [0x1405acf72]
movzx ecx, byte [0x1405ad488]
add cl, 0x5b
cmp al, cl
je 0x1401be734
mov cl, 0xd8
nop word cs:[rax + rax]
mov al, 0x56
lock cmpxchg byte [0x1405acf72], cl
je 0x1401be7e6
cmp al, 0x2d
jne 0x1401be720
lea rax, [0x1405acf60]
ret
movzx eax, byte [0x1405acd7d]
cmp al, 0x41
je 0x1401be764
mov cl, 0x45
nop dword [rax]
mov al, 0x84
lock cmpxchg byte [0x1405acd7d], cl
je 0x1401be890
cmp al, 0x41
jne 0x1401be750
lea rax, [0x1405acd70]
ret
xor eax, eax
lea rcx, [0x1405ace70]
lea rdx, [0x1404cf940]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xd
jg 0x1401be798
inc rax
jmp 0x1401be780
lea rax, [fcn.1401be690]
add eax, eax
add eax, 0x2c80
mov ecx, eax
not ecx
xor edx, edx
nop dword [rax]
test ecx, eax
je 0x1401be7d0
movzx r8d, byte [0x1405ad488]
add r8b, 0xe5
xchg byte [0x1405ace7e], r8b
cmp byte [0x140612a60], 0
jne 0x1401be7b0
mov r8b, 0xb7
xchg byte [0x1405ace7e], r8b
test dl, dl
jne 0x1401be7b4
lea rax, [0x1405ace70]
ret
xor eax, eax
lea rcx, [0x1405acf60]
lea rdx, [0x1404cfa30]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rax + rcx]
xor r9b, r8b
mov byte [rax + rcx], r9b
lea r8d, [rax + 1]
cmp r8d, 0x11
jg 0x1401be828
inc rax
jmp 0x1401be800
mov eax, 0xaa8bd722
lea rcx, [fcn.1401be690]
lea edx, [rcx + rcx]
add edx, 0x180
nop dword [rax]
mov r8d, dword [0x1405ad48c]
add r8d, eax
test edx, r8d
jne 0x1401be869
mov r8d, dword [0x1405ad48c]
add r8d, eax
lea r9d, [rcx + rcx]
add r9d, 0x1740
test r9d, r8d
je 0x1401be880
mov r8d, dword [0x140612a58]
lea r9d, [r8 + 1]
imul r9d, r8d
test r9b, 1
jne 0x1401be840
jmp 0x1401be84f
mov al, 0x2d
xchg byte [0x1405acf72], al
lea rax, [0x1405acf60]
ret
xor edx, edx
lea rax, [0x1405acd70]
lea rcx, [0x1404cf840]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x1401be8a0
mov eax, dword [0x140612a58]
nop word cs:[rax + rax]
mov eax, dword [0x140612a5c]
cmp eax, 0x11
jg 0x1401be8d0
mov al, 0x41
xchg byte [0x1405acd7d], al
lea rax, [0x1405acd70]
ret
movzx eax, byte [0x1405acdfd]
mov ecx, dword [0x140612a58]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, 0xaa8bd721
add ecx, dword [0x1405ad48c]
cmp edx, ecx
je 0x1401be919
movzx eax, byte [0x1405acdfd]
jmp 0x1401be8eb
cmp al, 0x79
je 0x1401bea9d
lea rax, [fcn.1401be690]
lea ecx, [rax + rax]
add ecx, 0x17a0
mov edx, 0xaa8bd721
nop word cs:[rax + rax]
mov eax, dword [0x1405ad48c]
mov r8d, eax
xor r8d, 0xaa8bd722
and eax, 0x2a8bd722
lea eax, [r8 + rax*2]
test ecx, eax
jne 0x1401be9b0
nop dword [rax]
movzx r8d, byte [0x1405ad488]
lea eax, [r8 - 0x7d]
add r8b, 0x6a
lock cmpxchg byte [0x1405acdfd], r8b
sete r8b
mov r9d, dword [0x140612a58]
lea r10d, [r9 - 1]
imul r10d, r9d
and r10d, 1
mov r9d, dword [0x1405ad48c]
add r9d, edx
cmp r10d, r9d
jne 0x1401be9b0
test r8b, r8b
jne 0x1401be9d0
cmp al, 0x79
jne 0x1401be940
jmp 0x1401bea9d
movzx r8d, byte [0x1405ad488]
lea eax, [r8 - 0x7d]
add r8b, 0x6a
lock cmpxchg byte [0x1405acdfd], r8b
jmp 0x1401be960
mov eax, dword [0x140612a5c]
cmp eax, 0x5c
jle 0x1401be9e6
mov eax, dword [0x140612a5c]
cmp eax, 0x18
jge 0x1401be9d0
mov eax, dword [0x140612a5c]
cmp eax, 0x42
jg 0x1401be9db
xor eax, eax
lea rcx, [0x1405acdf0]
lea rdx, [0x1404cf8c0]
mov r8d, 0xaa8bd72e
nop word [rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x1405ad48c]
add r10d, r8d
cmp r9d, r10d
jge 0x1401bea31
inc rax
jmp 0x1401bea10
mov eax, dword [0x140612a5c]
cmp eax, 0x1a
jge 0x1401bea42
mov al, 1
test al, al
jne 0x1401bea60
mov al, 1
nop word cs:[rax + rax]
test al, al
je 0x1401bea50
jmp 0x1401bea3c
mov eax, dword [0x140612a5c]
cmp eax, 0x19
jle 0x1401bea84
mov al, 0x79
xchg byte [0x1405acdfd], al
mov eax, dword [0x140612a58]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401bea60
mov al, 0x79
xchg byte [0x1405acdfd], al
mov eax, dword [0x140612a58]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401bea6b
lea rax, [0x1405acdf0]
ret