Function at 0x1401d0920
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1401d09b6
test edx, edx
je 0x1401d09f6
movzx eax, byte [0x14054a9c3]
nop word [rax + rax]
cmp al, 0xb4
je 0x1401d09ae
movzx ecx, byte [0x14054ac90]
lea eax, [rcx - 0x7f]
add cl, 0xd9
lock cmpxchg byte [0x14054a9c3], cl
jne 0x1401d0940
xor edx, edx
lea rax, [0x14054a9b0]
lea rcx, [0x1404695e0]
nop dword [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x14054ac80]
mov r9d, r8d
xor r9d, 0xd4849fc
and r8d, 0xd4849fc
lea r8d, [r9 + r8*2]
add edx, r8d
add edx, 0xddb4091d
cmp edx, 0x13
jl 0x1401d0970
mov al, 0xb4
xchg byte [0x14054a9c3], al
lea rax, [0x14054a9b0]
ret
test edx, edx
je 0x1401d0a6a
movzx eax, byte [0x14054a9ad]
cmp al, 0xa5
je 0x1401d09ee
mov cl, 0x17
nop dword [rax + rax]
mov al, 0xd9
lock cmpxchg byte [0x14054a9ad], cl
je 0x1401d0ac9
movzx edx, byte [0x14054ac90]
add dl, 0x78
cmp al, dl
jne 0x1401d09d0
lea rax, [0x14054a9a0]
ret
movzx eax, byte [0x14054a8d5]
cmp al, 0x81
je 0x1401d0b57
mov cl, 0xeb
nop word [rax + rax]
mov al, 0x5e
lock cmpxchg byte [0x14054a8d5], cl
je 0x1401d0b15
mov edx, dword [0x1405a9c4c]
lea r8d, [rdx - 1]
jmp 0x1401d0a43
mov edx, dword [0x1405a9c4c]
mov r8d, dword [0x14054ac80]
add r8d, edx
dec r8d
imul r8d, edx
test r8b, 1
jne 0x1401d0a30
mov edx, dword [0x1405a9c4c]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
jne 0x1401d0a30
cmp al, 0x81
jne 0x1401d0a10
jmp 0x1401d0b57
xor eax, eax
nop dword [rax]
test al, al
jne 0x1401d0a86
movzx ecx, byte [0x14054a99f]
mov edx, dword [0x1405a9c50]
cmp edx, 0x19
jle 0x1401d0a9a
movzx ecx, byte [0x14054a99f]
mov ecx, dword [0x1405a9c50]
cmp ecx, 0xd
jge 0x1401d0a70
jmp 0x1401d0a74
cmp cl, 0xc
je 0x1401d0c57
mov cl, 0x5f
nop word cs:[rax + rax]
mov al, 0xb2
lock cmpxchg byte [0x14054a99f], cl
je 0x1401d0b9c
cmp al, 0xc
jne 0x1401d0ab0
jmp 0x1401d0c57
xor eax, eax
lea rcx, [0x14054a9a0]
lea rdx, [0x1404695d0]
nop dword [rax]
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
not r10b
not r9b
mov r11d, r10d
xor r11b, r9b
and r11b, r10b
and r9b, r8b
or r9b, r11b
mov byte [rax + rcx], r9b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x1401d0b82
inc rax
jmp 0x1401d0ae0
xor edx, edx
lea rax, [0x14054a8c0]
lea rcx, [0x140469500]
nop word cs:[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, 0x15
jl 0x1401d0b30
mov al, 0x81
xchg byte [0x14054a8d5], al
mov eax, dword [0x1405a9c4c]
nop dword [rax]
mov eax, dword [0x1405a9c4c]
mov ecx, dword [0x14054ac80]
neg ecx
add ecx, eax
inc ecx
imul ecx, eax
test cl, 1
jne 0x1401d0b60
lea rax, [0x14054a8c0]
ret
mov eax, dword [0x1405a9c4c]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401d0c8b
jmp 0x1401d0c73
lea rax, [fcn.1401d0920]
add eax, eax
add eax, 0x2e00
nop word [rax + rax]
mov ecx, dword [0x14054ac80]
lea edx, [rcx - 0x1503ace7]
and edx, eax
mov r8d, ecx
xor r8d, 0xeafc5318
and ecx, 0x6afc5318
lea ecx, [r8 + rcx*2]
cmp edx, ecx
jne 0x1401d0bfe
mov ecx, dword [0x1405a9c4c]
mov edx, dword [0x14054ac80]
mov r8d, edx
not r8d
add r8d, ecx
imul r8d, ecx
and r8d, 1
add edx, 0xeafc5318
cmp r8d, edx
je 0x1401d0c0b
mov ecx, dword [0x1405a9c50]
cmp ecx, 0x15
jge 0x1401d0bb0
jmp 0x1401d0bd6
xor eax, eax
lea rcx, [0x14054a990]
lea rdx, [0x1404695c0]
nop dword [rax + rax]
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
not r8b
mov r10d, r8d
and r10b, r9b
or r8b, r9b
not r8b
or r8b, r10b
mov byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xe
jg 0x1401d0c4f
inc rax
jmp 0x1401d0c20
mov al, 0xc
xchg byte [0x14054a99f], al
mov eax, dword [0x1405a9c50]
nop dword [rax]
mov eax, dword [0x1405a9c50]
cmp eax, 0x30
jg 0x1401d0c60
lea rax, [0x14054a990]
ret
mov eax, dword [0x1405a9c4c]
mov ecx, dword [0x14054ac80]
add ecx, eax
dec ecx
imul ecx, eax
test cl, 1
je 0x1401d0c96
mov al, 1
nop dword [rax]
test al, al
je 0x1401d0c90
jmp 0x1401d0c73
mov al, 0xa5
xchg byte [0x14054a9ad], al
lea rax, [0x14054a9a0]
ret