Function at 0x14021a3f0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14021a42c
test edx, edx
je 0x14021a48b
movzx eax, byte [0x1404ae8ad]
cmp al, 0xa8
je 0x14021a424
mov cl, 0xb2
nop dword [rax]
mov al, 0x82
lock cmpxchg byte [0x1404ae8ad], cl
je 0x14021a52c
cmp al, 0xa8
jne 0x14021a410
lea rax, [0x1404ae8a0]
ret
test edx, edx
je 0x14021a4fc
mov eax, 0x136d98de
nop dword [rax]
mov ecx, dword [0x1404ef658]
mov edx, 0xcd15726b
sub edx, ecx
imul edx, ecx
test dl, 1
jne 0x14021a467
movzx ecx, byte [0x1404ae9dd]
mov edx, dword [0x1404ef65c]
cmp edx, 0x30
jle 0x14021a4d2
movzx ecx, byte [0x1404ae9dd]
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 0x14021a440
jmp 0x14021a455
movzx eax, byte [0x1404aeb71]
cmp al, 0x1b
je 0x14021a65f
mov cl, 0xc8
nop dword [rax]
mov al, 0xbc
lock cmpxchg byte [0x1404aeb71], cl
je 0x14021a589
movzx edx, byte [0x1404b04d0]
mov r8d, edx
xor r8b, 0x9a
and dl, 0x1a
add dl, dl
add dl, r8b
add dl, 0x2c
cmp al, dl
jne 0x14021a4a0
jmp 0x14021a65f
cmp cl, 0xf5
je 0x14021a4f4
mov cl, 0xc8
nop dword [rax]
mov al, 0xca
lock cmpxchg byte [0x1404ae9dd], cl
je 0x14021a5b8
cmp al, 0xf5
jne 0x14021a4e0
lea rax, [0x1404ae9d0]
ret
movzx eax, byte [0x1404ae7ed]
cmp al, 0xef
je 0x14021a524
mov cl, 0x96
nop dword [rax]
mov al, 0x37
lock cmpxchg byte [0x1404ae7ed], cl
je 0x14021a67e
cmp al, 0xef
jne 0x14021a510
lea rax, [0x1404ae7e0]
ret
xor edx, edx
lea rax, [0x1404ae8a0]
lea rcx, [0x1403c6400]
nop dword [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
not edx
and edx, 0x7ffffffe
or edx, r8d
not edx
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x14021a540
mov al, 0xa8
xchg byte [0x1404ae8ad], al
lea rax, [0x1404ae8a0]
ret
xor eax, eax
lea rcx, [0x1404aeb60]
lea rdx, [0x1403c66c0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x10
jg 0x14021a605
inc rax
jmp 0x14021a5a0
xor eax, eax
lea rcx, [0x1404ae9d0]
lea rdx, [0x1403c6530]
nop dword [rax + rax]
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
not r10b
mov r11d, r9d
xor r11b, r10b
and r10b, r9b
not r11b
and r11b, r8b
or r11b, r10b
mov byte [rax + rcx], r11b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x14021a667
inc rax
jmp 0x14021a5d0
mov eax, 0x136d98df
lea rcx, [fcn.14021a3f0]
add ecx, ecx
add ecx, 0x3ec0
nop dword [rax]
mov edx, dword [0x1404ef658]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
je 0x14021a647
mov dl, 0x1b
xchg byte [0x1404aeb71], dl
mov edx, dword [0x1404ef65c]
cmp edx, 0x44
jge 0x14021a620
mov dl, 0x1b
xchg byte [0x1404aeb71], dl
mov edx, dword [0x1404b04d4]
add edx, eax
xor edx, ecx
not edx
test ecx, edx
jne 0x14021a634
lea rax, [0x1404aeb60]
ret
movzx eax, byte [0x1404b04d0]
add al, 0xa0
xchg byte [0x1404ae9dd], al
lea rax, [0x1404ae9d0]
ret
xor edx, edx
lea rax, [0x1404ae7e0]
lea rcx, [0x1403c6340]
nop
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, 0xd
jl 0x14021a690
mov al, 0xef
xchg byte [0x1404ae7ed], al
lea rax, [0x1404ae7e0]
ret