Function at 0x202201e0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x2022021c
test edx, edx
je 0x2022027b
movzx eax, byte [0x2055f1ad]
cmp al, 0xa8
je 0x20220214
mov cl, 0xb2
nop dword [rax]
mov al, 0x82
lock cmpxchg byte [0x2055f1ad], cl
je 0x2022031c
cmp al, 0xa8
jne 0x20220200
lea rax, [0x2055f1a0]
ret
test edx, edx
je 0x202202ec
mov eax, 0x136d98de
nop dword [rax]
mov ecx, dword [0x205b4760]
mov edx, 0xcd15726b
sub edx, ecx
imul edx, ecx
test dl, 1
jne 0x20220257
movzx ecx, byte [0x2055f2dd]
mov edx, dword [0x205b4764]
cmp edx, 0x30
jle 0x202202c2
movzx ecx, byte [0x2055f2dd]
mov ecx, dword [0x205b4760]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x20560dd4]
add ecx, eax
cmp edx, ecx
jne 0x20220230
jmp 0x20220245
movzx eax, byte [0x2055f471]
cmp al, 0x1b
je 0x2022044f
mov cl, 0xc8
nop dword [rax]
mov al, 0xbc
lock cmpxchg byte [0x2055f471], cl
je 0x20220379
movzx edx, byte [0x20560dd0]
mov r8d, edx
xor r8b, 0x9a
and dl, 0x1a
add dl, dl
add dl, r8b
add dl, 0x2c
cmp al, dl
jne 0x20220290
jmp 0x2022044f
cmp cl, 0xf5
je 0x202202e4
mov cl, 0xc8
nop dword [rax]
mov al, 0xca
lock cmpxchg byte [0x2055f2dd], cl
je 0x202203a8
cmp al, 0xf5
jne 0x202202d0
lea rax, [0x2055f2d0]
ret
movzx eax, byte [0x2055f0ed]
cmp al, 0xef
je 0x20220314
mov cl, 0x96
nop dword [rax]
mov al, 0x37
lock cmpxchg byte [0x2055f0ed], cl
je 0x2022046e
cmp al, 0xef
jne 0x20220300
lea rax, [0x2055f0e0]
ret
xor edx, edx
lea rax, [0x2055f1a0]
lea rcx, [0x20477270]
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 0x20220330
mov al, 0xa8
xchg byte [0x2055f1ad], al
lea rax, [0x2055f1a0]
ret
xor eax, eax
lea rcx, [0x2055f460]
lea rdx, [0x20477530]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x10
jg 0x202203f5
inc rax
jmp 0x20220390
xor eax, eax
lea rcx, [0x2055f2d0]
lea rdx, [0x204773a0]
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 0x20220457
inc rax
jmp 0x202203c0
mov eax, 0x136d98df
lea rcx, [fcn.202201e0]
add ecx, ecx
add ecx, 0x3ec0
nop dword [rax]
mov edx, dword [0x205b4760]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
je 0x20220437
mov dl, 0x1b
xchg byte [0x2055f471], dl
mov edx, dword [0x205b4764]
cmp edx, 0x44
jge 0x20220410
mov dl, 0x1b
xchg byte [0x2055f471], dl
mov edx, dword [0x20560dd4]
add edx, eax
xor edx, ecx
not edx
test ecx, edx
jne 0x20220424
lea rax, [0x2055f460]
ret
movzx eax, byte [0x20560dd0]
add al, 0xa0
xchg byte [0x2055f2dd], al
lea rax, [0x2055f2d0]
ret
xor edx, edx
lea rax, [0x2055f0e0]
lea rcx, [0x204771b0]
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 0x20220480
mov al, 0xef
xchg byte [0x2055f0ed], al
lea rax, [0x2055f0e0]
ret