Function at 0x201cd1a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov eax, 0x136d98de
mov r8d, dword [0x20463a84]
add r8d, eax
cmp ecx, r8d
jne 0x201cd1e9
test edx, edx
je 0x201cd235
mov eax, dword [0x204a2c18]
mov ecx, dword [0x20463a84]
neg ecx
add ecx, eax
inc ecx
imul ecx, eax
test cl, 1
jne 0x201cd460
jmp 0x201cd445
add eax, dword [0x20463a84]
cmp edx, eax
jne 0x201cd207
mov eax, dword [0x204a2c1c]
cmp eax, 0x2c
jle 0x201cd50c
jmp 0x201cd51e
movzx eax, byte [0x20461ca3]
cmp al, 0x99
je 0x201cd2b4
mov cl, 0x81
nop dword [rax + rax]
mov al, 0x72
lock cmpxchg byte [0x20461ca3], cl
je 0x201cd24f
cmp al, 0x99
jne 0x201cd220
jmp 0x201cd2b4
mov eax, dword [0x204a2c18]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x201cd2f5
jmp 0x201cd2e8
xor eax, eax
lea rcx, [0x20461ca0]
lea rdx, [0x2037b270]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 2
jg 0x201cd278
inc rax
jmp 0x201cd260
xor eax, eax
nop word [rax + rax]
mov ecx, dword [0x204a2c1c]
cmp ecx, 0x38
jg 0x201cd28f
test al, al
je 0x201cd29c
mov ecx, dword [0x204a2c1c]
cmp ecx, 0x1b
jge 0x201cd280
jmp 0x201cd28b
movzx eax, byte [0x20463a80]
mov ecx, eax
xor cl, 0x44
and al, 0x44
add al, al
add al, cl
xchg byte [0x20461ca3], al
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x201cd2cf
mov ecx, dword [0x204a2c1c]
cmp ecx, 0x12
jle 0x201cd2dc
mov ecx, dword [0x204a2c1c]
cmp ecx, 0x28
jge 0x201cd2c0
jmp 0x201cd2c4
lea rax, [0x20461ca0]
jmp 0x201cd436
movzx eax, byte [0x20461c6e]
xor ecx, ecx
test cl, cl
je 0x201cd2fe
movzx eax, byte [0x20461c6e]
jmp 0x201cd2e8
cmp al, 0xd
je 0x201cd42f
mov cl, 7
nop dword [rax + rax]
mov al, 0x95
lock cmpxchg byte [0x20461c6e], cl
je 0x201cd330
cmp al, 0xd
jne 0x201cd310
jmp 0x201cd42f
mov eax, dword [0x20463a84]
mov ecx, eax
xor ecx, 0x136d98de
and eax, 0x136d98de
add eax, eax
add eax, ecx
je 0x201cd35a
mov eax, dword [0x204a2c18]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x201cd330
mov eax, dword [0x204a2c18]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x201cd349
mov edi, 0xffffffff
mov ebx, 1
xor r14d, r14d
lea r15, [0x20461c60]
lea r12, [0x2037b230]
lea rsi, [0x201d3340]
nop dword [rax]
mov eax, dword [0x204a2c1c]
cmp eax, 0x18
jg 0x201cd3c9
nop dword [rax + rax]
movzx eax, byte [r14 + r15]
movzx ecx, byte [r14 + r12]
mov edx, eax
xor dl, cl
and al, cl
add al, al
add al, dl
mov byte [r14 + r15], al
mov eax, dword [0x204a2c18]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x201cd410
movzx ebp, byte [r14 + r15]
mov ecx, 0xa
call fcn.2030c544
mov qword [0x204a2bd0], rax
mov rcx, rsi
call fcn.2032c150
movzx ecx, byte [r14 + r12]
shl bpl, cl
shl bpl, cl
sub cl, bpl
mov eax, ebp
shl al, cl
mov edx, ebp
mov ecx, eax
shl dl, cl
add dl, bpl
mov byte [r14 + r15], dl
jmp 0x201cd3a0
lea eax, [r14 + 1]
cmp eax, 0xd
jg 0x201cd427
add edi, 3
add ebx, 0xfffffffd
inc r14
jmp 0x201cd390
mov al, 0xd
xchg byte [0x20461c6e], al
lea rax, [0x20461c60]
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx eax, byte [0x2046199f]
mov cl, 1
test cl, cl
jne 0x201cd48b
nop word cs:[rax + rax]
movzx eax, byte [0x2046199f]
mov eax, dword [0x204a2c18]
mov ecx, dword [0x20463a84]
mov edx, eax
sub edx, ecx
inc edx
imul edx, eax
and edx, 1
add ecx, 0x136d98de
cmp edx, ecx
jne 0x201cd460
jmp 0x201cd445
movzx ecx, byte [0x20463a80]
mov edx, ecx
xor dl, 0x10
and cl, 0x10
add cl, cl
add cl, dl
cmp al, cl
je 0x201cd500
mov cl, 0xc6
nop word cs:[rax + rax]
mov al, 0xe5
lock cmpxchg byte [0x2046199f], cl
je 0x201cd4c2
cmp al, 0x65
jne 0x201cd4b0
jmp 0x201cd500
xor eax, eax
lea rcx, [0x20461980]
lea rdx, [0x2037af70]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x1e
jg 0x201cd4f8
inc rax
jmp 0x201cd4e0
mov al, 0x65
xchg byte [0x2046199f], al
lea rax, [0x20461980]
jmp 0x201cd436
movzx eax, byte [0x20461d7d]
mov ecx, dword [0x204a2c1c]
cmp ecx, 0x60
jl 0x201cd52d
mov al, 1
movzx ecx, byte [0x20461d7d]
test al, al
je 0x201cd520
jmp 0x201cd50c
cmp al, 0xbf
je 0x201cd5ae
mov cl, 0xb0
nop word cs:[rax + rax]
mov al, 0x6f
lock cmpxchg byte [0x20461d7d], cl
je 0x201cd552
cmp al, 0xbf
jne 0x201cd540
jmp 0x201cd5ae
xor edx, edx
lea rax, [0x20461d70]
lea rcx, [0x2037b330]
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, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x201cd570
movzx eax, byte [0x20463a80]
add al, 0x6a
xchg byte [0x20461d7d], al
lea rax, [0x20461d70]
jmp 0x201cd436