Function at 0x140225250
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x140225289
test edx, edx
je 0x1402252b9
movzx eax, byte [0x14053b5d1]
cmp al, 0x71
je 0x140225404
mov cl, 0x39
nop dword [rax]
mov al, 0xa2
lock cmpxchg byte [0x14053b5d1], cl
je 0x140225385
cmp al, 0x71
jne 0x140225270
jmp 0x140225404
test edx, edx
je 0x1402252f3
movzx eax, byte [0x14053ba6d]
cmp al, 0x4c
je 0x14022552f
mov cl, 6
nop
mov al, 0xcd
lock cmpxchg byte [0x14053ba6d], cl
je 0x140225433
cmp al, 0x4c
jne 0x1402252a0
jmp 0x14022552f
movzx eax, byte [0x14053bedd]
cmp al, 0x87
je 0x1402255a4
mov cl, 0xc6
nop word [rax + rax]
mov al, 0x4e
lock cmpxchg byte [0x14053bedd], cl
je 0x14022548b
movzx edx, byte [0x14053d7e0]
add dl, 0x32
cmp al, dl
jne 0x1402252d0
jmp 0x1402255a4
movzx eax, byte [0x14053b719]
cmp al, 0x35
je 0x14022537d
mov cl, 0x4b
mov edx, 0x136d98df
lea rax, [fcn.140225250]
lea r8d, [rax + rax]
add r8d, 0x4780
nop word [rax + rax]
mov eax, dword [0x14058fecc]
cmp eax, 0x4f
jg 0x140225351
mov al, 0x9f
lock cmpxchg byte [0x14053b719], cl
sete r9b
mov r10d, dword [0x14053d7e4]
add r10d, edx
mov r11d, r8d
xor r11d, r10d
not r11d
test r11d, r10d
je 0x140225370
mov al, 0x9f
lock cmpxchg byte [0x14053b719], cl
mov eax, dword [0x14058fecc]
cmp eax, 0x1c
jge 0x140225320
jmp 0x14022532b
test r9b, r9b
jne 0x1402254c7
cmp al, 0x35
jne 0x140225320
lea rax, [0x14053b700]
ret
xor edx, edx
lea rax, [0x14053b5b0]
lea rcx, [0x140454730]
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 [0x14053d7e4]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0x21
jl 0x1402253a0
xor eax, eax
mov cl, 1
nop word cs:[rax + rax]
mov edx, dword [0x14058fecc]
cmp edx, 0x4a
jg 0x1402253ef
test al, al
je 0x1402253f5
test cl, cl
je 0x1402253e0
jmp 0x1402253eb
movzx eax, byte [0x14053d7e0]
add al, 0x1c
xchg byte [0x14053b5d1], al
mov eax, dword [0x14058fecc]
mov eax, 0x136d98de
nop
mov ecx, dword [0x14058fec8]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x14053d7e4]
add ecx, eax
cmp edx, ecx
jne 0x140225410
lea rax, [0x14053b5b0]
ret
xor edx, edx
lea rax, [0x14053ba60]
lea rcx, [0x140454bb0]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x14053d7e4]
add edx, r8d
add edx, 0x136d98df
cmp edx, 0xd
jl 0x140225450
mov eax, dword [0x14058fec8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14022554c
jmp 0x140225537
xor eax, eax
lea rcx, [0x14053bed0]
lea rdx, [0x140455010]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x1402254b8
inc rax
jmp 0x1402254a0
mov al, 1
test al, al
jne 0x140225585
jmp 0x14022559a
mov eax, dword [0x14058fec8]
nop dword [rax]
mov eax, dword [0x14058fec8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402254d0
xor eax, eax
lea rcx, [0x14053b700]
lea rdx, [0x140454870]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x18
jg 0x140225518
inc rax
jmp 0x140225500
movzx eax, byte [0x14053d7e0]
add al, 0xe0
xchg byte [0x14053b719], al
lea rax, [0x14053b700]
ret
lea rax, [0x14053ba60]
ret
movzx eax, byte [0x14053d7e0]
add al, 0xf7
xchg byte [0x14053ba6d], al
mov al, 1
test al, al
jne 0x14022552f
mov eax, 0x136d98de
nop word cs:[rax + rax]
mov cl, 0x4c
xchg byte [0x14053ba6d], cl
mov ecx, dword [0x14058fec8]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x14053d7e4]
add ecx, eax
cmp edx, ecx
jne 0x140225560
jmp 0x140225537
movzx eax, byte [0x14053d7e0]
add al, 0x32
xchg byte [0x14053bedd], al
xor eax, eax
test al, al
je 0x1402255a4
mov al, 0x87
xchg byte [0x14053bedd], al
jmp 0x140225585
lea rax, [0x14053bed0]
ret