Function at 0x201d0b20
Capabilities:
Encode data using xor

Disassembly:
push rsi
test ecx, ecx
je 0x201d0bd7
mov eax, dword [0x20463a84]
mov ecx, eax
xor ecx, 0x136d98de
and eax, 0x136d98de
lea eax, [rcx + rax*2]
cmp edx, eax
jne 0x201d0bf9
movzx eax, byte [0x20461bce]
cmp al, 0xa7
je 0x201d0da9
mov cl, 0x4e
mov dl, 1
jmp 0x201d0b68
cmp al, 0xa7
je 0x201d0da9
mov al, 0x8a
lock cmpxchg byte [0x20461bce], cl
je 0x201d0d65
mov r8d, dword [0x204a2c18]
mov r9d, dword [0x20463a84]
lea r10d, [r9 + r8]
dec r10d
imul r10d, r8d
and r10d, 1
mov r8d, r9d
xor r8d, 0x136d98de
and r9d, 0x136d98de
lea r8d, [r8 + r9*2]
cmp r10d, r8d
jne 0x201d0bc0
nop
test dl, dl
jne 0x201d0b60
nop word cs:[rax + rax]
mov r8d, dword [0x204a2c18]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
jne 0x201d0bc0
jmp 0x201d0bb0
mov eax, 0x136d98de
add eax, dword [0x20463a84]
cmp edx, eax
jne 0x201d0d3b
xor eax, eax
test al, al
je 0x201d0dcc
jmp 0x201d0dde
movzx eax, byte [0x20461cef]
cmp al, 0x50
je 0x201d0d17
xor ecx, ecx
mov dl, 0x26
mov r8b, 1
jmp 0x201d0c28
cmp al, 0x50
je 0x201d0d17
test cl, cl
jne 0x201d0c90
nop dword [rax]
mov al, 0x53
lock cmpxchg byte [0x20461cef], dl
sete r9b
mov r10d, dword [0x204a2c1c]
cmp r10d, 0x1b
jge 0x201d0c90
test r9b, r9b
jne 0x201d0cb0
mov r9d, dword [0x204a2c1c]
cmp r9d, 0xc
jg 0x201d0c61
test cl, cl
je 0x201d0c20
mov r9d, dword [0x204a2c18]
mov r10d, dword [0x20463a84]
neg r10d
add r10d, r9d
inc r10d
imul r10d, r9d
test r10b, 1
jne 0x201d0c50
jmp 0x201d0c5d
mov al, 0x53
lock cmpxchg byte [0x20461cef], dl
test r8b, r8b
je 0x201d0c90
jmp 0x201d0c30
mov eax, dword [0x204a2c18]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
je 0x201d0ccc
mov eax, dword [0x204a2c1c]
cmp eax, 0x2f
jge 0x201d0cb0
mov eax, dword [0x204a2c1c]
cmp eax, 0x32
jg 0x201d0cc1
xor edx, edx
lea rax, [0x20461ce0]
lea rcx, [0x2037b2b0]
nop word [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xf
jl 0x201d0cf0
mov al, 0x50
xchg byte [0x20461cef], al
mov eax, 0x136d98f4
nop dword [rax]
mov ecx, dword [0x204a2c1c]
mov edx, dword [0x20463a84]
add edx, eax
cmp ecx, edx
jge 0x201d0d20
lea rax, [0x20461ce0]
pop rsi
ret
movzx eax, byte [0x20461fd1]
cmp al, 7
je 0x201d1032
mov cl, 0xce
nop dword [rax]
mov al, 0xd4
lock cmpxchg byte [0x20461fd1], cl
je 0x201d0db2
cmp al, 7
jne 0x201d0d50
jmp 0x201d1032
xor edx, edx
lea rax, [0x20461bc0]
lea rcx, [0x2037b190]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x20463a84]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0xe
jl 0x201d0d80
mov al, 0xa7
xchg byte [0x20461bce], al
lea rax, [0x20461bc0]
pop rsi
ret
mov eax, dword [0x204a2c18]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x201d0fa1
jmp 0x201d0f96
movzx eax, byte [0x20461936]
mov ecx, dword [0x204a2c1c]
cmp ecx, 0x1c
jle 0x201d0de7
movzx eax, byte [0x20461936]
jmp 0x201d0dcc
cmp al, 0x47
je 0x201d0f5c
mov r8d, 0x136d992c
mov r9b, 0xd2
mov r10d, 0x136d98e0
jmp 0x201d0e09
cmp cl, 0x47
je 0x201d0f5c
mov eax, dword [0x204a2c1c]
mov ecx, dword [0x20463a84]
add ecx, r8d
cmp eax, ecx
jge 0x201d0e90
nop dword [rax]
mov al, 0x50
lock cmpxchg byte [0x20461936], r9b
mov ecx, eax
sete al
mov edx, dword [0x204a2c18]
lea r11d, [rdx - 1]
imul r11d, edx
and r11d, 1
mov edx, dword [0x20463a84]
mov esi, edx
xor esi, 0x136d98de
and edx, 0x136d98de
lea edx, [rsi + rdx*2]
cmp r11d, edx
jne 0x201d0e90
test al, al
jne 0x201d0ec3
mov edx, dword [0x204a2c18]
lea eax, [rdx - 1]
imul eax, edx
mov r11d, dword [0x20463a84]
add r11d, r10d
xor edx, edx
div r11d
test edx, edx
jne 0x201d0eb0
jmp 0x201d0ea0
mov al, 0x50
lock cmpxchg byte [0x20461936], r9b
jmp 0x201d0e20
mov eax, dword [0x204a2c1c]
cmp eax, 0x52
jl 0x201d0e00
nop
mov eax, dword [0x204a2c18]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x201d0eb0
jmp 0x201d0ea0
xor eax, eax
lea rcx, [0x20461900]
lea rdx, [0x2037aef0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rax + rcx]
xor r9b, r8b
mov byte [rax + rcx], r9b
lea r8d, [rax + 1]
cmp r8d, 0x35
jg 0x201d0f08
inc rax
jmp 0x201d0ee0
mov eax, dword [0x204a2c18]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, 0x136d98de
add eax, dword [0x20463a84]
cmp ecx, eax
jne 0x201d0f31
mov eax, dword [0x204a2c1c]
cmp eax, 0x5e
jl 0x201d0f54
mov eax, 0x136d9938
nop word cs:[rax + rax]
mov ecx, dword [0x204a2c1c]
mov edx, dword [0x20463a84]
add edx, eax
cmp ecx, edx
jge 0x201d0f40
jmp 0x201d0f26
mov al, 0x47
xchg byte [0x20461936], al
mov eax, dword [0x204a2c1c]
cmp eax, 0x25
jg 0x201d0f80
mov eax, dword [0x204a2c1c]
cmp eax, 0x41
jl 0x201d0f8d
nop word cs:[rax + rax]
mov eax, dword [0x204a2c1c]
cmp eax, 0x4c
jge 0x201d0f80
jmp 0x201d0f67
lea rax, [0x20461900]
pop rsi
ret
mov eax, dword [0x204a2c1c]
cmp eax, 0x13
jl 0x201d0fcd
mov eax, 0x136d98de
nop word cs:[rax + rax]
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 0x201d0fb0
jmp 0x201d0f96
xor edx, edx
lea rax, [0x20461fc0]
lea rcx, [0x2037b580]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0x11
jl 0x201d0fe0
lea rax, [fcn.201d0b20]
add eax, eax
add eax, 0x80
mov ecx, eax
not ecx
test ecx, eax
jne 0x201d1028
mov al, 7
xchg byte [0x20461fd1], al
mov eax, dword [0x204a2c1c]
cmp eax, 0x12
jle 0x201d1032
mov al, 7
xchg byte [0x20461fd1], al
jmp 0x201d1015
lea rax, [0x20461fc0]
pop rsi
ret