Function at 0x14021bb40
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14021bbc0
mov eax, 0x136d98de
nop dword [rax]
mov ecx, dword [0x1404ef658]
mov r8d, dword [0x1404b04d4]
neg r8d
add r8d, ecx
inc r8d
imul r8d, ecx
test r8b, 1
jne 0x14021bb89
mov ecx, dword [0x1404b04d4]
add ecx, eax
mov r8d, dword [0x1404ef65c]
cmp r8d, 0x51
jle 0x14021bc40
mov ecx, dword [0x1404ef658]
mov r8d, dword [0x1404b04d4]
mov r9d, ecx
sub r9d, r8d
inc r9d
imul r9d, ecx
and r9d, 1
add r8d, 0x136d98de
cmp r9d, r8d
jne 0x14021bb50
jmp 0x14021bb70
mov eax, dword [0x1404ef658]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14021bbe2
mov eax, dword [0x1404ef658]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14021bbc0
mov eax, dword [0x1404ef65c]
cmp eax, 0x49
jg 0x14021bbd1
test edx, edx
je 0x14021bd3c
xor eax, eax
nop word [rax + rax]
test al, al
jne 0x14021bc2c
movzx ecx, byte [0x1404aeaad]
mov edx, dword [0x1404b04d4]
mov r8d, edx
xor r8d, 0x136d98de
and edx, 0x136d98de
add edx, edx
add edx, r8d
je 0x14021bcd7
movzx ecx, byte [0x1404aeaad]
mov ecx, dword [0x1404ef65c]
cmp ecx, 0x15
jge 0x14021bc00
jmp 0x14021bc04
cmp edx, ecx
jne 0x14021bc6f
mov eax, 0x136d98df
add eax, dword [0x1404b04d4]
lea rcx, [fcn.14021bb40]
add ecx, ecx
add ecx, 0x2ac0
xor ecx, eax
not ecx
test ecx, eax
jne 0x14021bef5
jmp 0x14021bed3
movzx eax, byte [0x1404aeb8d]
cmp al, 0x84
je 0x14021bdd2
mov cl, 0x9b
xor edx, edx
mov r8b, 1
jmp 0x14021bc98
cmp al, 0x84
je 0x14021bdd2
mov al, 0x40
lock cmpxchg byte [0x1404aeb8d], cl
je 0x14021bd7c
test dl, dl
jne 0x14021bcd0
nop dword [rax]
mov r9d, dword [0x1404ef658]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
je 0x14021bc90
nop word cs:[rax + rax]
test r8b, r8b
je 0x14021bcd0
jmp 0x14021bcb0
movzx eax, byte [0x1404b04d0]
add al, 0xb1
cmp cl, al
je 0x14021be3a
mov cl, 0x8c
nop word [rax + rax]
mov eax, dword [0x1404ef65c]
cmp eax, 0xc
jg 0x14021bd30
nop dword [rax + rax]
mov al, 0xb6
lock cmpxchg byte [0x1404aeaad], cl
sete dl
mov r8d, dword [0x1404ef65c]
cmp r8d, 0x24
jg 0x14021bd30
test dl, dl
jne 0x14021bdda
cmp al, 6
jne 0x14021bcf0
jmp 0x14021be3a
mov al, 0xb6
lock cmpxchg byte [0x1404aeaad], cl
jmp 0x14021bd00
movzx eax, byte [0x1404ae5d7]
movzx ecx, byte [0x1404b04d0]
mov edx, ecx
xor dl, 0xaa
and cl, 0x2a
add cl, cl
add cl, dl
cmp al, cl
je 0x14021bd74
mov cl, 0x22
nop dword [rax]
mov al, 0x93
lock cmpxchg byte [0x1404ae5d7], cl
je 0x14021be73
cmp al, 0xff
jne 0x14021bd60
lea rax, [0x1404ae5d0]
ret
xor r8d, r8d
lea rax, [0x1404aeb80]
lea rcx, [0x1403c66e0]
mov edx, 0x136d98eb
nop word cs:[rax + rax]
movsxd r8, r8d
movzx r9d, byte [r8 + rcx]
xor byte [r8 + rax], r9b
mov r9d, r8d
xor r9d, 1
and r8d, 1
lea r8d, [r9 + r8*2]
mov r9d, dword [0x1404b04d4]
add r9d, edx
cmp r8d, r9d
jl 0x14021bda0
mov al, 0x84
xchg byte [0x1404aeb8d], al
lea rax, [0x1404aeb80]
ret
xor edx, edx
lea rax, [0x1404aeaa0]
lea rcx, [0x1403c6600]
nop word [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x14021bdf0
mov eax, 0x136d9938
nop word cs:[rax + rax]
mov ecx, dword [0x1404ef65c]
mov edx, dword [0x1404b04d4]
add edx, eax
cmp ecx, edx
jge 0x14021be20
mov al, 6
xchg byte [0x1404aeaad], al
mov eax, dword [0x1404ef65c]
mov eax, 0x136d98de
nop word cs:[rax + rax]
mov ecx, dword [0x1404ef658]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1404b04d4]
add ecx, eax
cmp edx, ecx
jne 0x14021be50
lea rax, [0x1404aeaa0]
ret
xor eax, eax
lea rcx, [0x1404ae5d0]
lea rdx, [0x1403c6140]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 6
jg 0x14021bebc
inc rax
jmp 0x14021be90
movzx eax, byte [0x1404b04d0]
add al, 0xaa
xchg byte [0x1404ae5d7], al
lea rax, [0x1404ae5d0]
ret
movzx eax, byte [0x1404ae3ca]
movzx ecx, byte [0x1404b04d0]
mov edx, dword [0x1404ef658]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
je 0x14021befe
movzx eax, byte [0x1404ae3ca]
jmp 0x14021bed3
mov edx, ecx
xor dl, 0x2a
and cl, 0x2a
add cl, cl
add cl, dl
cmp al, cl
je 0x14021c001
mov cl, 0x19
nop word cs:[rax + rax]
mov eax, dword [0x1404ef658]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x14021bf70
nop word cs:[rax + rax]
mov al, 0x35
lock cmpxchg byte [0x1404ae3ca], cl
sete dl
mov r8d, dword [0x1404ef65c]
cmp r8d, 0x23
jg 0x14021bf70
test dl, dl
jne 0x14021bf87
cmp al, 0x7f
jne 0x14021bf20
jmp 0x14021c001
movzx edx, byte [0x1404b04d0]
lea eax, [rdx - 0x20]
add dl, 0xc4
lock cmpxchg byte [0x1404ae3ca], dl
jmp 0x14021bf40
xor eax, eax
lea rcx, [0x1404ae3b0]
lea rdx, [0x1403c5f40]
nop word [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x19
jg 0x14021bfb8
inc rax
jmp 0x14021bfa0
mov eax, 0x136d98de
nop dword [rax]
mov ecx, dword [0x1404ef658]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x14021bfec
mov ecx, dword [0x1404ef658]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1404b04d4]
add ecx, eax
cmp edx, ecx
je 0x14021bff9
mov ecx, dword [0x1404ef65c]
cmp ecx, 0x55
jge 0x14021bfc0
jmp 0x14021bfd1
mov al, 0x7f
xchg byte [0x1404ae3ca], al
lea rax, [0x1404ae3b0]
ret