Function at 0x14023c420
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor eax, eax
test al, al
nop word cs:[rax + rax]
mov eax, dword [0x1405d1760]
lea r8d, [rax - 1]
imul r8d, eax
test r8b, 1
jne 0x14023c430
test ecx, ecx
je 0x14023c493
test edx, edx
je 0x14023c4e9
movzx eax, byte [0x14057bd37]
cmp al, 0x49
je 0x14023c607
mov cl, 0x21
nop word cs:[rax + rax]
mov al, 0x40
lock cmpxchg byte [0x14057bd37], cl
je 0x14023c5cf
movzx edx, byte [0x14057ddd0]
add dl, 0xf4
cmp al, dl
jne 0x14023c470
jmp 0x14023c607
mov eax, 0x136d98de
add eax, dword [0x14057ddd4]
cmp edx, eax
jne 0x14023c577
movzx eax, byte [0x14057c4f8]
movzx ecx, byte [0x14057ddd0]
add cl, 0xbc
cmp al, cl
je 0x14023c6e4
mov cl, 0x92
nop word cs:[rax + rax]
mov al, 0x5b
lock cmpxchg byte [0x14057c4f8], cl
je 0x14023c686
cmp al, 0x11
jne 0x14023c4d0
jmp 0x14023c6e4
movzx eax, byte [0x14057bdf0]
movzx ecx, byte [0x14057ddd0]
add cl, 0x18
cmp al, cl
je 0x14023c67d
xor ecx, ecx
nop word cs:[rax + rax]
mov eax, dword [0x1405d1760]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x14023c560
nop word cs:[rax + rax]
movzx edx, byte [0x14057ddd0]
lea eax, [rdx + 0x65]
add dl, 0x3a
lock cmpxchg byte [0x14057bdf0], dl
sete dl
test cl, cl
jne 0x14023c560
test dl, dl
jne 0x14023c61b
cmp al, 0x6d
jne 0x14023c510
jmp 0x14023c67d
movzx edx, byte [0x14057ddd0]
lea eax, [rdx + 0x65]
add dl, 0x3a
lock cmpxchg byte [0x14057bdf0], dl
jmp 0x14023c530
movzx eax, byte [0x14057bf5e]
cmp al, 0xa7
je 0x14023c700
mov cl, 0xd7
mov dl, 1
jmp 0x14023c598
cmp al, 0xa7
je 0x14023c700
mov al, 0x90
lock cmpxchg byte [0x14057bf5e], cl
je 0x14023c6ed
nop dword [rax + rax]
mov r8d, dword [0x1405d1764]
cmp r8d, 0x10
jg 0x14023c5c9
cmp dword [0x14057ddd4], 0xec926722
je 0x14023c590
test dl, dl
je 0x14023c5b0
jmp 0x14023c5bd
xor eax, eax
lea rcx, [0x14057bd10]
lea rdx, [0x140493e10]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x26
jg 0x14023c5f8
inc rax
jmp 0x14023c5e0
movzx eax, byte [0x14057ddd0]
add al, 0xf4
xchg byte [0x14057bd37], al
mov eax, dword [0x1405d1764]
cmp eax, 0x59
jg 0x14023c7f0
jmp 0x14023c7d5
xor edx, edx
lea rax, [0x14057bde0]
lea rcx, [0x140493ee0]
nop dword [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rax]
movzx r9d, byte [rdx + rcx]
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
add edx, edx
and edx, 2
mov r9d, r8d
xor r9d, edx
and edx, r8d
lea edx, [r9 + rdx*2]
cmp edx, 0x10
jl 0x14023c630
movzx eax, byte [0x14057ddd0]
add al, 0x18
xchg byte [0x14057bdf0], al
lea rax, [0x14057bde0]
pop rbx
ret
xor edx, edx
lea rax, [0x14057c4e0]
lea rcx, [0x1404945b0]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
not r8d
mov r9d, r8d
and r9d, 1
mov r10d, edx
and r10d, 0xfffffffe
or r10d, r9d
xor edx, 1
and r8d, 0x7ffffffe
or r8d, edx
not r8d
lea edx, [r10 + r8*2]
cmp edx, 0x18
jl 0x14023c6a0
mov al, 0x11
xchg byte [0x14057c4f8], al
lea rax, [0x14057c4e0]
pop rbx
ret
mov eax, dword [0x1405d1760]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14023c710
jmp 0x14023c709
lea rax, [0x14057bf40]
pop rbx
ret
mov al, 1
test al, al
jne 0x14023c71d
nop
mov eax, dword [0x1405d1764]
cmp eax, 0x2a
jge 0x14023c710
jmp 0x14023c709
xor edx, edx
lea r8, [0x14057bf40]
lea r9, [0x140494020]
nop dword [rax]
mov eax, dword [0x1405d1760]
lea ecx, [rax - 1]
imul ecx, eax
movsxd r10, edx
jmp 0x14023c78e
movzx r11d, byte [r10 + r8]
movzx ecx, byte [r10 + r9]
mov ebx, r11d
shl bl, cl
neg r11b
mov eax, r11d
xor al, bl
and r11b, bl
add r11b, r11b
add r11b, al
mov eax, r11d
sub al, bl
mul bl
add al, r11b
mov byte [r10 + r8], al
mov eax, dword [0x1405d1760]
mov ecx, 1
sub ecx, eax
imul ecx, eax
test cl, 1
jne 0x14023c750
movzx eax, byte [r10 + r9]
add byte [r10 + r8], al
mov eax, dword [0x1405d1760]
mov ecx, dword [0x14057ddd4]
neg ecx
add ecx, eax
inc ecx
imul ecx, eax
test cl, 1
jne 0x14023c750
inc edx
cmp edx, 0x1e
jl 0x14023c730
movzx eax, byte [0x14057ddd0]
add al, 0x52
xchg byte [0x14057bf5e], al
jmp 0x14023c700
mov eax, dword [0x1405d1760]
mov ecx, dword [0x14057ddd4]
not ecx
add ecx, eax
imul ecx, eax
test cl, 1
je 0x14023c803
nop dword [rax]
mov eax, dword [0x1405d1760]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14023c7f0
jmp 0x14023c7d5
lea rax, [0x14057bd10]
pop rbx
ret