Function at 0x201d2fc0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x201d2ff9
test edx, edx
je 0x201d3029
movzx eax, byte [0x20461871]
cmp al, 0x71
je 0x201d3174
mov cl, 0x39
nop dword [rax]
mov al, 0xa2
lock cmpxchg byte [0x20461871], cl
je 0x201d30f5
cmp al, 0x71
jne 0x201d2fe0
jmp 0x201d3174
test edx, edx
je 0x201d3063
movzx eax, byte [0x20461d0d]
cmp al, 0x4c
je 0x201d329f
mov cl, 6
nop
mov al, 0xcd
lock cmpxchg byte [0x20461d0d], cl
je 0x201d31a3
cmp al, 0x4c
jne 0x201d3010
jmp 0x201d329f
movzx eax, byte [0x2046217d]
cmp al, 0x87
je 0x201d3314
mov cl, 0xc6
nop word [rax + rax]
mov al, 0x4e
lock cmpxchg byte [0x2046217d], cl
je 0x201d31fb
movzx edx, byte [0x20463a80]
add dl, 0x32
cmp al, dl
jne 0x201d3040
jmp 0x201d3314
movzx eax, byte [0x204619b9]
cmp al, 0x35
je 0x201d30ed
mov cl, 0x4b
mov edx, 0x136d98df
lea rax, [fcn.201d2fc0]
lea r8d, [rax + rax]
add r8d, 0x4780
nop word [rax + rax]
mov eax, dword [0x204a2c1c]
cmp eax, 0x4f
jg 0x201d30c1
mov al, 0x9f
lock cmpxchg byte [0x204619b9], cl
sete r9b
mov r10d, dword [0x20463a84]
add r10d, edx
mov r11d, r8d
xor r11d, r10d
not r11d
test r11d, r10d
je 0x201d30e0
mov al, 0x9f
lock cmpxchg byte [0x204619b9], cl
mov eax, dword [0x204a2c1c]
cmp eax, 0x1c
jge 0x201d3090
jmp 0x201d309b
test r9b, r9b
jne 0x201d3237
cmp al, 0x35
jne 0x201d3090
lea rax, [0x204619a0]
ret
xor edx, edx
lea rax, [0x20461850]
lea rcx, [0x2037ae50]
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 [0x20463a84]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0x21
jl 0x201d3110
xor eax, eax
mov cl, 1
nop word cs:[rax + rax]
mov edx, dword [0x204a2c1c]
cmp edx, 0x4a
jg 0x201d315f
test al, al
je 0x201d3165
test cl, cl
je 0x201d3150
jmp 0x201d315b
movzx eax, byte [0x20463a80]
add al, 0x1c
xchg byte [0x20461871], al
mov eax, dword [0x204a2c1c]
mov eax, 0x136d98de
nop
mov ecx, dword [0x204a2c18]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x20463a84]
add ecx, eax
cmp edx, ecx
jne 0x201d3180
lea rax, [0x20461850]
ret
xor edx, edx
lea rax, [0x20461d00]
lea rcx, [0x2037b2d0]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x20463a84]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0xd
jl 0x201d31c0
mov eax, dword [0x204a2c18]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x201d32bc
jmp 0x201d32a7
xor eax, eax
lea rcx, [0x20462170]
lea rdx, [0x2037b730]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x201d3228
inc rax
jmp 0x201d3210
mov al, 1
test al, al
jne 0x201d32f5
jmp 0x201d330a
mov eax, dword [0x204a2c18]
nop dword [rax]
mov eax, dword [0x204a2c18]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x201d3240
xor eax, eax
lea rcx, [0x204619a0]
lea rdx, [0x2037af90]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x18
jg 0x201d3288
inc rax
jmp 0x201d3270
movzx eax, byte [0x20463a80]
add al, 0xe0
xchg byte [0x204619b9], al
lea rax, [0x204619a0]
ret
lea rax, [0x20461d00]
ret
movzx eax, byte [0x20463a80]
add al, 0xf7
xchg byte [0x20461d0d], al
mov al, 1
test al, al
jne 0x201d329f
mov eax, 0x136d98de
nop word cs:[rax + rax]
mov cl, 0x4c
xchg byte [0x20461d0d], cl
mov ecx, dword [0x204a2c18]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x20463a84]
add ecx, eax
cmp edx, ecx
jne 0x201d32d0
jmp 0x201d32a7
movzx eax, byte [0x20463a80]
add al, 0x32
xchg byte [0x2046217d], al
xor eax, eax
test al, al
je 0x201d3314
mov al, 0x87
xchg byte [0x2046217d], al
jmp 0x201d32f5
lea rax, [0x20462170]
ret