Function at 0x140247140
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14024717c
test edx, edx
je 0x1402471bc
test r8d, r8d
je 0x1402471fc
movzx eax, byte [0x1404b551d]
cmp al, 0xcf
je 0x140247174
mov cl, 0xe8
nop
mov al, 0xf
lock cmpxchg byte [0x1404b551d], cl
je 0x1402472cc
cmp al, 0xcf
jne 0x140247160
lea rax, [0x1404b5510]
ret
test edx, edx
je 0x14024722c
test r8d, r8d
je 0x14024726c
movzx eax, byte [0x1404b54b3]
cmp al, 0xa8
je 0x1402471b4
mov cl, 0x84
nop word [rax + rax]
mov al, 0x96
lock cmpxchg byte [0x1404b54b3], cl
je 0x140247339
cmp al, 0xa8
jne 0x1402471a0
lea rax, [0x1404b54a0]
ret
test r8d, r8d
je 0x14024729c
movzx eax, byte [0x1404b533b]
cmp al, 0xb9
je 0x1402471f4
mov cl, 0x1e
nop word cs:[rax + rax]
mov al, 0xc1
lock cmpxchg byte [0x1404b533b], cl
je 0x140247371
cmp al, 0xb9
jne 0x1402471e0
lea rax, [0x1404b5330]
ret
movzx eax, byte [0x1404b5204]
cmp al, 5
je 0x140247224
mov cl, 0xa3
nop dword [rax]
mov al, 0x9e
lock cmpxchg byte [0x1404b5204], cl
je 0x1402473b1
cmp al, 5
jne 0x140247210
lea rax, [0x1404b5200]
ret
test r8d, r8d
je 0x140247301
movzx eax, byte [0x1404b555f]
cmp al, 0x7f
je 0x140247264
mov cl, 0x11
nop word cs:[rax + rax]
mov al, 0xed
lock cmpxchg byte [0x1404b555f], cl
je 0x1402473f1
cmp al, 0x7f
jne 0x140247250
lea rax, [0x1404b5550]
ret
movzx eax, byte [0x1404b52e5]
cmp al, 0x3c
je 0x140247294
mov cl, 0x81
nop dword [rax]
mov al, 8
lock cmpxchg byte [0x1404b52e5], cl
je 0x140247431
cmp al, 0x3c
jne 0x140247280
lea rax, [0x1404b52e0]
ret
movzx eax, byte [0x1404b546d]
cmp al, 0x8e
je 0x1402472c4
mov cl, 0xed
nop dword [rax]
mov al, 0x93
lock cmpxchg byte [0x1404b546d], cl
je 0x140247471
cmp al, 0x8e
jne 0x1402472b0
lea rax, [0x1404b5460]
ret
xor eax, eax
lea rcx, [0x1404b5510]
lea rdx, [0x1403c8c40]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x1402472e0
mov al, 0xcf
xchg byte [0x1404b551d], al
lea rax, [0x1404b5510]
ret
movzx eax, byte [0x1404b554b]
cmp al, 5
je 0x1402474e9
mov cl, 0xa1
nop word cs:[rax + rax]
mov al, 0x37
lock cmpxchg byte [0x1404b554b], cl
je 0x1402474b1
cmp al, 5
jne 0x140247320
jmp 0x1402474e9
xor eax, eax
lea rcx, [0x1404b54a0]
lea rdx, [0x1403c8bd0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x13
jl 0x140247350
mov al, 0xa8
xchg byte [0x1404b54b3], al
lea rax, [0x1404b54a0]
ret
xor eax, eax
lea rcx, [0x1404b5330]
lea rdx, [0x1403c8a60]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xb
jl 0x140247390
mov al, 0xb9
xchg byte [0x1404b533b], al
lea rax, [0x1404b5330]
ret
xor eax, eax
lea rcx, [0x1404b5200]
lea rdx, [0x1403c8940]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 4
jl 0x1402473d0
mov al, 5
xchg byte [0x1404b5204], al
lea rax, [0x1404b5200]
ret
xor eax, eax
lea rcx, [0x1404b5550]
lea rdx, [0x1403c8c80]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xf
jl 0x140247410
mov al, 0x7f
xchg byte [0x1404b555f], al
lea rax, [0x1404b5550]
ret
xor eax, eax
lea rcx, [0x1404b52e0]
lea rdx, [0x1403c8a10]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 5
jl 0x140247450
mov al, 0x3c
xchg byte [0x1404b52e5], al
lea rax, [0x1404b52e0]
ret
xor eax, eax
lea rcx, [0x1404b5460]
lea rdx, [0x1403c8b90]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xd
jl 0x140247490
mov al, 0x8e
xchg byte [0x1404b546d], al
lea rax, [0x1404b5460]
ret
xor eax, eax
lea rcx, [0x1404b5540]
lea rdx, [0x1403c8c70]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xb
jl 0x1402474d0
mov al, 5
xchg byte [0x1404b554b], al
lea rax, [0x1404b5540]
ret