Function at 0x1401e7990
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
test ecx, ecx
je 0x1401e79d9
mov eax, 0x40d768a
add eax, dword [0x14061db70]
cmp edx, eax
jne 0x1401e7ae9
movzx eax, byte [0x14061d87d]
cmp al, 0x9b
je 0x1401e7c0b
xor ecx, ecx
nop dword [rax + rax]
mov al, 0x5d
lock cmpxchg byte [0x14061d87d], cl
je 0x1401e7b59
cmp al, 0x9b
jne 0x1401e79c0
jmp 0x1401e7c0b
test edx, edx
je 0x1401e7b25
movzx eax, byte [0x14061d913]
cmp al, 0x2a
je 0x1401e7cbc
mov r8b, 1
mov r9d, 0x40d768c
xor r10d, r10d
mov r11b, 0x79
lea rax, [fcn.1401e7990]
lea esi, [rax + rax]
add esi, 0x2480
jmp 0x1401e7a29
cmp cl, 0x2a
je 0x1401e7cbc
mov eax, dword [0x140694168]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401e7a60
nop word [rax + rax]
movzx ecx, byte [0x14061db80]
lea eax, [rcx - 0x56]
add cl, 0x4c
lock cmpxchg byte [0x14061d913], cl
mov ecx, eax
sete al
test r8b, r8b
jne 0x1401e7aa0
nop
mov al, 0xd7
lock cmpxchg byte [0x14061d913], r11b
mov eax, dword [0x14061db70]
mov ecx, eax
xor ecx, 0x40d768b
mov edx, eax
and edx, 0x40d768b
lea ecx, [rcx + rdx*2]
mov edx, esi
xor edx, ecx
not edx
and edx, ecx
add eax, 0x40d768a
cmp edx, eax
jne 0x1401e7a60
jmp 0x1401e7a40
test al, al
jne 0x1401e7c2b
nop dword [rax + rax]
mov edx, dword [0x140694168]
lea eax, [rdx - 1]
imul eax, edx
mov edi, dword [0x14061db70]
add edi, r9d
xor edx, edx
div edi
test edx, edx
jne 0x1401e7ad6
test r10b, r10b
je 0x1401e7a20
mov eax, dword [0x140694168]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x1401e7ab0
jmp 0x1401e7acd
movzx eax, byte [0x14061d79b]
movzx ecx, byte [0x14061db80]
add cl, 0xd5
cmp al, cl
je 0x1401e7be7
mov cl, 0x2c
nop word cs:[rax + rax]
mov al, 0xef
lock cmpxchg byte [0x14061d79b], cl
je 0x1401e7b98
cmp al, 2
jne 0x1401e7b10
jmp 0x1401e7be7
movzx eax, byte [0x14061d8e9]
cmp al, 0x72
je 0x1401e7d4d
mov cl, 0x79
nop word cs:[rax + rax]
mov al, 0xe1
lock cmpxchg byte [0x14061d8e9], cl
je 0x1401e7cc8
cmp al, 0x72
jne 0x1401e7b40
jmp 0x1401e7d4d
xor eax, eax
lea rcx, [0x14061d870]
lea rdx, [0x1405350c0]
nop dword [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, 0xc
jg 0x1401e7bf3
inc rax
jmp 0x1401e7b70
xor edx, edx
lea rax, [0x14061d790]
lea rcx, [0x140534fe0]
nop dword [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rdx + rax]
xor r9b, r8b
mov byte [rdx + rax], r9b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xb
jl 0x1401e7bb0
mov al, 2
xchg byte [0x14061d79b], al
lea rax, [0x14061d790]
jmp 0x1401e7d9a
mov al, 0x9b
xchg byte [0x14061d87d], al
jmp 0x1401e7c0b
mov eax, dword [0x14069416c]
cmp eax, 0x19
jl 0x1401e7c16
mov eax, dword [0x14069416c]
cmp eax, 0x59
jg 0x1401e7c00
cmp byte [0x140694170], 0
jne 0x1401e7c00
lea rax, [0x14061d870]
jmp 0x1401e7d9a
xor ecx, ecx
lea rdx, [0x14061d900]
lea r8, [0x140535150]
mov r9b, 1
jmp 0x1401e7c47
inc ecx
cmp ecx, 0x13
jge 0x1401e7cad
mov eax, dword [0x14069416c]
movsxd r10, ecx
cmp eax, 0x1d
jg 0x1401e7c80
nop word cs:[rax + rax]
movzx eax, byte [r10 + r8]
add byte [r10 + rdx], al
mov eax, dword [0x140694168]
lea r11d, [rax - 1]
imul r11d, eax
test r11b, 1
je 0x1401e7c40
nop dword [rax]
movzx r11d, byte [0x14061db80]
sub r11b, byte [r10 + rdx]
movzx ebx, byte [r10 + r8]
add r11b, bl
mov al, 0x2d
sub al, r11b
mul bl
sub bl, r11b
add al, bl
add al, 0x2d
mov byte [r10 + rdx], al
test r9b, r9b
je 0x1401e7c80
jmp 0x1401e7c60
movzx eax, byte [0x14061db80]
add al, 0xfd
xchg byte [0x14061d913], al
lea rax, [0x14061d900]
jmp 0x1401e7d9a
xor eax, eax
lea rcx, [0x14061d8e0]
lea rdx, [0x140535130]
mov r8d, 0x40d7693
nop
movzx r9d, byte [rax + rdx]
xor byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x14061db70]
add r10d, r8d
cmp r9d, r10d
jge 0x1401e7d01
inc rax
jmp 0x1401e7ce0
mov al, 1
test al, al
je 0x1401e7d30
mov al, 0x72
xchg byte [0x14061d8e9], al
mov eax, dword [0x140694168]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, 0x40d768a
add eax, dword [0x14061db70]
cmp ecx, eax
je 0x1401e7d4d
nop dword [rax]
movzx eax, byte [0x14061db80]
add al, 0x45
xchg byte [0x14061d8e9], al
cmp dword [0x14061db70], 0xfbf28976
jne 0x1401e7d30
jmp 0x1401e7d07
mov ecx, dword [0x140694168]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x40d768c
add ecx, dword [0x14061db70]
xor edx, edx
div ecx
test edx, edx
jne 0x1401e7d80
mov eax, dword [0x14069416c]
cmp eax, 0x31
jl 0x1401e7d93
nop word [rax + rax]
mov eax, dword [0x140694168]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401e7d80
jmp 0x1401e7d6c
lea rax, [0x14061d8e0]
pop rbx
pop rdi
pop rsi
ret