Function at 0x20231f90
Capabilities:
Encode data using xor

Disassembly:
mov r8d, edx
mov eax, dword [0x20562c60]
mov edx, eax
xor edx, 0xcb519eda
not eax
and eax, 0x34ae6125
or eax, edx
not eax
lea eax, [rdx + rax*2]
cmp ecx, eax
jne 0x20231ff0
test r8d, r8d
je 0x20232053
mov eax, 0xcb519edb
add eax, dword [0x20562c60]
lea rcx, [fcn.20231f90]
add ecx, ecx
add ecx, 0x3d40
test ecx, eax
jne 0x202321bb
jmp 0x20232199
mov eax, dword [0x205b480c]
cmp eax, 0x35
jle 0x20232007
cmp dword [0x20562c60], 0x34ae6126
jne 0x20231ff0
mov ecx, dword [0x205b4808]
lea eax, [rcx - 1]
imul eax, ecx
xor ecx, ecx
sub ecx, dword [0x20562c60]
mov edx, ecx
xor edx, 0x34ae6124
and ecx, 0x34ae6124
lea ecx, [rdx + rcx*2]
neg ecx
xor edx, edx
div ecx
test edx, edx
jne 0x20231ffb
test r8d, r8d
je 0x20232107
mov eax, dword [0x205b480c]
cmp eax, 0x40
jle 0x2023226e
jmp 0x2023228c
movzx eax, byte [0x205620a2]
nop word [rax + rax]
cmp al, 0xb0
je 0x202320ff
movzx ecx, byte [0x20562c70]
mov edx, ecx
xor dl, 0xa7
mov eax, ecx
and al, 0x27
add al, al
add al, dl
add al, 5
add cl, 0x55
lock cmpxchg byte [0x205620a2], cl
jne 0x20232060
xor r8d, r8d
lea rax, [0x205620a0]
lea rcx, [0x20477e90]
mov edx, 0xcb519edc
nop word cs:[rax + rax]
movsxd r8, r8d
movzx r9d, byte [r8 + rcx]
add byte [r8 + rax], r9b
mov r9d, r8d
not r9d
mov r10d, r9d
and r10d, 1
mov r11d, r8d
and r11d, 0xfffffffe
or r11d, r10d
xor r8d, 1
and r9d, 0x7ffffffe
or r9d, r8d
not r9d
lea r8d, [r11 + r9*2]
mov r9d, dword [0x20562c60]
add r9d, edx
cmp r8d, r9d
jl 0x202320b0
mov al, 0xb0
xchg byte [0x205620a2], al
lea rax, [0x205620a0]
ret
movzx eax, byte [0x20562139]
nop
cmp al, 0x59
je 0x20232180
movzx ecx, byte [0x20562c70]
lea eax, [rcx + 0x75]
add cl, 0x8c
lock cmpxchg byte [0x20562139], cl
jne 0x20232110
xor eax, eax
lea rcx, [0x20562130]
lea rdx, [0x20477f20]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 8
jg 0x20232158
inc rax
jmp 0x20232140
mov eax, dword [0x205b480c]
nop
mov eax, dword [0x205b480c]
cmp eax, 0xe
jg 0x20232160
mov al, 0x59
xchg byte [0x20562139], al
nop word cs:[rax + rax]
mov eax, dword [0x205b4808]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x20232180
lea rax, [0x20562130]
ret
movzx eax, byte [0x205620c8]
movzx ecx, byte [0x20562c70]
mov edx, dword [0x205b4808]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
je 0x202321c4
movzx eax, byte [0x205620c8]
jmp 0x20232199
mov edx, ecx
xor dl, 0xc0
and cl, 0x40
add cl, cl
add cl, dl
cmp al, cl
je 0x20232266
mov cl, 0xdd
nop word [rax + rax]
mov al, 0xe7
lock cmpxchg byte [0x205620c8], cl
je 0x202321f2
cmp al, 0x48
jne 0x202321e0
jmp 0x20232266
xor eax, eax
lea rcx, [0x205620b0]
lea rdx, [0x20477ea0]
mov r8d, 0xcb519ef2
nop dword [rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x20562c60]
add r10d, r8d
cmp r9d, r10d
jge 0x20232231
inc rax
jmp 0x20232210
mov eax, dword [0x205b4808]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x2023225c
movzx eax, byte [0x20562c70]
add al, 0xc0
xchg byte [0x205620c8], al
mov eax, dword [0x205b480c]
cmp eax, 9
jle 0x20232266
mov al, 0x48
xchg byte [0x205620c8], al
jmp 0x20232242
lea rax, [0x205620b0]
ret
movzx eax, byte [0x205620e3]
lea rcx, [fcn.20231f90]
add ecx, ecx
add ecx, 0x2960
mov edx, ecx
not edx
test edx, ecx
je 0x20232295
movzx eax, byte [0x205620e3]
jmp 0x2023226e
cmp al, 0xeb
je 0x202322ba
mov cl, 0xc9
nop dword [rax + rax]
mov al, 0xc8
lock cmpxchg byte [0x205620e3], cl
je 0x202322c2
movzx edx, byte [0x20562c70]
add dl, 0x63
cmp al, dl
jne 0x202322a0
lea rax, [0x205620e0]
ret
mov eax, 0xcb519edb
lea rcx, [fcn.20231f90]
add ecx, ecx
add ecx, 0x48c0
nop word cs:[rax + rax]
mov edx, dword [0x20562c60]
add edx, eax
mov r8d, edx
not r8d
xor edx, r8d
and edx, ecx
xor edx, r8d
xor r8d, edx
test r8d, edx
jne 0x20232312
mov edx, dword [0x205b4808]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
je 0x20232328
mov edx, dword [0x205b4808]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x202322e0
jmp 0x202322fe
xor eax, eax
lea rcx, [0x205620e0]
lea rdx, [0x20477ed0]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 2
jg 0x20232358
inc rax
jmp 0x20232340
mov eax, dword [0x205b4808]
xor eax, eax
test al, al
jne 0x20232360
mov al, 0xeb
xchg byte [0x205620e3], al
lea rax, [0x205620e0]
ret