Function at 0x140241250
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x140241289
test edx, edx
je 0x1402412b9
movzx eax, byte [0x140555fa1]
cmp al, 0x71
je 0x140241404
mov cl, 0x39
nop dword [rax]
mov al, 0xa2
lock cmpxchg byte [0x140555fa1], cl
je 0x140241385
cmp al, 0x71
jne 0x140241270
jmp 0x140241404
test edx, edx
je 0x1402412f3
movzx eax, byte [0x14055643d]
cmp al, 0x4c
je 0x14024152f
mov cl, 6
nop
mov al, 0xcd
lock cmpxchg byte [0x14055643d], cl
je 0x140241433
cmp al, 0x4c
jne 0x1402412a0
jmp 0x14024152f
movzx eax, byte [0x1405568ad]
cmp al, 0x87
je 0x1402415a4
mov cl, 0xc6
nop word [rax + rax]
mov al, 0x4e
lock cmpxchg byte [0x1405568ad], cl
je 0x14024148b
movzx edx, byte [0x1405581b0]
add dl, 0x32
cmp al, dl
jne 0x1402412d0
jmp 0x1402415a4
movzx eax, byte [0x1405560e9]
cmp al, 0x35
je 0x14024137d
mov cl, 0x4b
mov edx, 0x136d98df
lea rax, [fcn.140241250]
lea r8d, [rax + rax]
add r8d, 0x4780
nop word [rax + rax]
mov eax, dword [0x1405aa5e4]
cmp eax, 0x4f
jg 0x140241351
mov al, 0x9f
lock cmpxchg byte [0x1405560e9], cl
sete r9b
mov r10d, dword [0x1405581b4]
add r10d, edx
mov r11d, r8d
xor r11d, r10d
not r11d
test r11d, r10d
je 0x140241370
mov al, 0x9f
lock cmpxchg byte [0x1405560e9], cl
mov eax, dword [0x1405aa5e4]
cmp eax, 0x1c
jge 0x140241320
jmp 0x14024132b
test r9b, r9b
jne 0x1402414c7
cmp al, 0x35
jne 0x140241320
lea rax, [0x1405560d0]
ret
xor edx, edx
lea rax, [0x140555f80]
lea rcx, [0x14046d900]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rdx + rax]
xor r9b, r8b
mov byte [rdx + rax], r9b
mov r8d, dword [0x1405581b4]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0x21
jl 0x1402413a0
xor eax, eax
mov cl, 1
nop word cs:[rax + rax]
mov edx, dword [0x1405aa5e4]
cmp edx, 0x4a
jg 0x1402413ef
test al, al
je 0x1402413f5
test cl, cl
je 0x1402413e0
jmp 0x1402413eb
movzx eax, byte [0x1405581b0]
add al, 0x1c
xchg byte [0x140555fa1], al
mov eax, dword [0x1405aa5e4]
mov eax, 0x136d98de
nop
mov ecx, dword [0x1405aa5e0]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1405581b4]
add ecx, eax
cmp edx, ecx
jne 0x140241410
lea rax, [0x140555f80]
ret
xor edx, edx
lea rax, [0x140556430]
lea rcx, [0x14046dd80]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x1405581b4]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0xd
jl 0x140241450
mov eax, dword [0x1405aa5e0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14024154c
jmp 0x140241537
xor eax, eax
lea rcx, [0x1405568a0]
lea rdx, [0x14046e1e0]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x1402414b8
inc rax
jmp 0x1402414a0
mov al, 1
test al, al
jne 0x140241585
jmp 0x14024159a
mov eax, dword [0x1405aa5e0]
nop dword [rax]
mov eax, dword [0x1405aa5e0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402414d0
xor eax, eax
lea rcx, [0x1405560d0]
lea rdx, [0x14046da40]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x18
jg 0x140241518
inc rax
jmp 0x140241500
movzx eax, byte [0x1405581b0]
add al, 0xe0
xchg byte [0x1405560e9], al
lea rax, [0x1405560d0]
ret
lea rax, [0x140556430]
ret
movzx eax, byte [0x1405581b0]
add al, 0xf7
xchg byte [0x14055643d], al
mov al, 1
test al, al
jne 0x14024152f
mov eax, 0x136d98de
nop word cs:[rax + rax]
mov cl, 0x4c
xchg byte [0x14055643d], cl
mov ecx, dword [0x1405aa5e0]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1405581b4]
add ecx, eax
cmp edx, ecx
jne 0x140241560
jmp 0x140241537
movzx eax, byte [0x1405581b0]
add al, 0x32
xchg byte [0x1405568ad], al
xor eax, eax
test al, al
je 0x1402415a4
mov al, 0x87
xchg byte [0x1405568ad], al
jmp 0x140241585
lea rax, [0x1405568a0]
ret