Function at 0x14021d510
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14021d549
test edx, edx
je 0x14021d579
movzx eax, byte [0x1404ae2c1]
cmp al, 0x71
je 0x14021d6c4
mov cl, 0x39
nop dword [rax]
mov al, 0xa2
lock cmpxchg byte [0x1404ae2c1], cl
je 0x14021d645
cmp al, 0x71
jne 0x14021d530
jmp 0x14021d6c4
test edx, edx
je 0x14021d5b3
movzx eax, byte [0x1404ae75d]
cmp al, 0x4c
je 0x14021d7ef
mov cl, 6
nop
mov al, 0xcd
lock cmpxchg byte [0x1404ae75d], cl
je 0x14021d6f3
cmp al, 0x4c
jne 0x14021d560
jmp 0x14021d7ef
movzx eax, byte [0x1404aebcd]
cmp al, 0x87
je 0x14021d864
mov cl, 0xc6
nop word [rax + rax]
mov al, 0x4e
lock cmpxchg byte [0x1404aebcd], cl
je 0x14021d74b
movzx edx, byte [0x1404b04d0]
add dl, 0x32
cmp al, dl
jne 0x14021d590
jmp 0x14021d864
movzx eax, byte [0x1404ae409]
cmp al, 0x35
je 0x14021d63d
mov cl, 0x4b
mov edx, 0x136d98df
lea rax, [fcn.14021d510]
lea r8d, [rax + rax]
add r8d, 0x4780
nop word [rax + rax]
mov eax, dword [0x1404ef65c]
cmp eax, 0x4f
jg 0x14021d611
mov al, 0x9f
lock cmpxchg byte [0x1404ae409], cl
sete r9b
mov r10d, dword [0x1404b04d4]
add r10d, edx
mov r11d, r8d
xor r11d, r10d
not r11d
test r11d, r10d
je 0x14021d630
mov al, 0x9f
lock cmpxchg byte [0x1404ae409], cl
mov eax, dword [0x1404ef65c]
cmp eax, 0x1c
jge 0x14021d5e0
jmp 0x14021d5eb
test r9b, r9b
jne 0x14021d787
cmp al, 0x35
jne 0x14021d5e0
lea rax, [0x1404ae3f0]
ret
xor edx, edx
lea rax, [0x1404ae2a0]
lea rcx, [0x1403c5e40]
nop word cs:[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, dword [0x1404b04d4]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0x21
jl 0x14021d660
xor eax, eax
mov cl, 1
nop word cs:[rax + rax]
mov edx, dword [0x1404ef65c]
cmp edx, 0x4a
jg 0x14021d6af
test al, al
je 0x14021d6b5
test cl, cl
je 0x14021d6a0
jmp 0x14021d6ab
movzx eax, byte [0x1404b04d0]
add al, 0x1c
xchg byte [0x1404ae2c1], al
mov eax, dword [0x1404ef65c]
mov eax, 0x136d98de
nop
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 0x14021d6d0
lea rax, [0x1404ae2a0]
ret
xor edx, edx
lea rax, [0x1404ae750]
lea rcx, [0x1403c62c0]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x1404b04d4]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0xd
jl 0x14021d710
mov eax, dword [0x1404ef658]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14021d80c
jmp 0x14021d7f7
xor eax, eax
lea rcx, [0x1404aebc0]
lea rdx, [0x1403c6720]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x14021d778
inc rax
jmp 0x14021d760
mov al, 1
test al, al
jne 0x14021d845
jmp 0x14021d85a
mov eax, dword [0x1404ef658]
nop dword [rax]
mov eax, dword [0x1404ef658]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14021d790
xor eax, eax
lea rcx, [0x1404ae3f0]
lea rdx, [0x1403c5f80]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x18
jg 0x14021d7d8
inc rax
jmp 0x14021d7c0
movzx eax, byte [0x1404b04d0]
add al, 0xe0
xchg byte [0x1404ae409], al
lea rax, [0x1404ae3f0]
ret
lea rax, [0x1404ae750]
ret
movzx eax, byte [0x1404b04d0]
add al, 0xf7
xchg byte [0x1404ae75d], al
mov al, 1
test al, al
jne 0x14021d7ef
mov eax, 0x136d98de
nop word cs:[rax + rax]
mov cl, 0x4c
xchg byte [0x1404ae75d], cl
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 0x14021d820
jmp 0x14021d7f7
movzx eax, byte [0x1404b04d0]
add al, 0x32
xchg byte [0x1404aebcd], al
xor eax, eax
test al, al
je 0x14021d864
mov al, 0x87
xchg byte [0x1404aebcd], al
jmp 0x14021d845
lea rax, [0x1404aebc0]
ret