Function at 0x1401d6e30
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1401d6e6c
test edx, edx
je 0x1401d6eac
test r8d, r8d
je 0x1401d6eec
movzx eax, byte [0x1404a783f]
cmp al, 0xf7
je 0x1401d6e64
mov cl, 0xd5
nop
mov al, 0x54
lock cmpxchg byte [0x1404a783f], cl
je 0x1401d6fbc
cmp al, 0xf7
jne 0x1401d6e50
lea rax, [0x1404a7830]
ret
test edx, edx
je 0x1401d6f1c
test r8d, r8d
je 0x1401d6f5c
movzx eax, byte [0x1404a7882]
cmp al, 0x24
je 0x1401d6ea4
mov cl, 0x26
nop word [rax + rax]
mov al, 0x8a
lock cmpxchg byte [0x1404a7882], cl
je 0x1401d7029
cmp al, 0x24
jne 0x1401d6e90
lea rax, [0x1404a7880]
ret
test r8d, r8d
je 0x1401d6f8c
movzx eax, byte [0x1404a78c2]
cmp al, 0xc9
je 0x1401d6ee4
mov cl, 0x3c
nop word cs:[rax + rax]
mov al, 0xea
lock cmpxchg byte [0x1404a78c2], cl
je 0x1401d7061
cmp al, 0xc9
jne 0x1401d6ed0
lea rax, [0x1404a78b0]
ret
movzx eax, byte [0x1404a77a0]
cmp al, 0x50
je 0x1401d6f14
mov cl, 0xeb
nop dword [rax]
mov al, 0xf5
lock cmpxchg byte [0x1404a77a0], cl
je 0x1401d70a1
cmp al, 0x50
jne 0x1401d6f00
lea rax, [0x1404a7790]
ret
test r8d, r8d
je 0x1401d6ff1
movzx eax, byte [0x1404a782b]
cmp al, 0x9a
je 0x1401d6f54
mov cl, 0xce
nop word cs:[rax + rax]
mov al, 0x41
lock cmpxchg byte [0x1404a782b], cl
je 0x1401d70e1
cmp al, 0x9a
jne 0x1401d6f40
lea rax, [0x1404a7820]
ret
movzx eax, byte [0x1404a789b]
cmp al, 0xfe
je 0x1401d6f84
mov cl, 0x8b
nop dword [rax]
mov al, 0x40
lock cmpxchg byte [0x1404a789b], cl
je 0x1401d7121
cmp al, 0xfe
jne 0x1401d6f70
lea rax, [0x1404a7890]
ret
movzx eax, byte [0x1404a78ad]
cmp al, 0x40
je 0x1401d6fb4
mov cl, 0x67
nop dword [rax]
mov al, 0x51
lock cmpxchg byte [0x1404a78ad], cl
je 0x1401d7161
cmp al, 0x40
jne 0x1401d6fa0
lea rax, [0x1404a78a0]
ret
xor eax, eax
lea rcx, [0x1404a7830]
lea rdx, [0x1403c11a0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xf
jl 0x1401d6fd0
mov al, 0xf7
xchg byte [0x1404a783f], al
lea rax, [0x1404a7830]
ret
movzx eax, byte [0x1404a7750]
cmp al, 0xad
je 0x1401d71d9
mov cl, 0x2e
nop word cs:[rax + rax]
mov al, 0xf9
lock cmpxchg byte [0x1404a7750], cl
je 0x1401d71a1
cmp al, 0xad
jne 0x1401d7010
jmp 0x1401d71d9
xor eax, eax
lea rcx, [0x1404a7880]
lea rdx, [0x1403c11f0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 2
jl 0x1401d7040
mov al, 0x24
xchg byte [0x1404a7882], al
lea rax, [0x1404a7880]
ret
xor eax, eax
lea rcx, [0x1404a78b0]
lea rdx, [0x1403c1220]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x12
jl 0x1401d7080
mov al, 0xc9
xchg byte [0x1404a78c2], al
lea rax, [0x1404a78b0]
ret
xor eax, eax
lea rcx, [0x1404a7790]
lea rdx, [0x1403c1110]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401d70c0
mov al, 0x50
xchg byte [0x1404a77a0], al
lea rax, [0x1404a7790]
ret
xor eax, eax
lea rcx, [0x1404a7820]
lea rdx, [0x1403c1190]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xb
jl 0x1401d7100
mov al, 0x9a
xchg byte [0x1404a782b], al
lea rax, [0x1404a7820]
ret
xor eax, eax
lea rcx, [0x1404a7890]
lea rdx, [0x1403c1200]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xb
jl 0x1401d7140
mov al, 0xfe
xchg byte [0x1404a789b], al
lea rax, [0x1404a7890]
ret
xor eax, eax
lea rcx, [0x1404a78a0]
lea rdx, [0x1403c1210]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1401d7180
mov al, 0x40
xchg byte [0x1404a78ad], al
lea rax, [0x1404a78a0]
ret
xor eax, eax
lea rcx, [0x1404a7740]
lea rdx, [0x1403c10d0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x1401d71c0
mov al, 0xad
xchg byte [0x1404a7750], al
lea rax, [0x1404a7740]
ret