Function at 0x140222130
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14022216c
test edx, edx
je 0x1402221cb
movzx eax, byte [0x14053bbbd]
cmp al, 0xa8
je 0x140222164
mov cl, 0xb2
nop dword [rax]
mov al, 0x82
lock cmpxchg byte [0x14053bbbd], cl
je 0x14022226c
cmp al, 0xa8
jne 0x140222150
lea rax, [0x14053bbb0]
ret
test edx, edx
je 0x14022223c
mov eax, 0x136d98de
nop dword [rax]
mov ecx, dword [0x14058fec8]
mov edx, 0xcd15726b
sub edx, ecx
imul edx, ecx
test dl, 1
jne 0x1402221a7
movzx ecx, byte [0x14053bced]
mov edx, dword [0x14058fecc]
cmp edx, 0x30
jle 0x140222212
movzx ecx, byte [0x14053bced]
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 0x140222180
jmp 0x140222195
movzx eax, byte [0x14053be81]
cmp al, 0x1b
je 0x14022239f
mov cl, 0xc8
nop dword [rax]
mov al, 0xbc
lock cmpxchg byte [0x14053be81], cl
je 0x1402222c9
movzx edx, byte [0x14053d7e0]
mov r8d, edx
xor r8b, 0x9a
and dl, 0x1a
add dl, dl
add dl, r8b
add dl, 0x2c
cmp al, dl
jne 0x1402221e0
jmp 0x14022239f
cmp cl, 0xf5
je 0x140222234
mov cl, 0xc8
nop dword [rax]
mov al, 0xca
lock cmpxchg byte [0x14053bced], cl
je 0x1402222f8
cmp al, 0xf5
jne 0x140222220
lea rax, [0x14053bce0]
ret
movzx eax, byte [0x14053bafd]
cmp al, 0xef
je 0x140222264
mov cl, 0x96
nop dword [rax]
mov al, 0x37
lock cmpxchg byte [0x14053bafd], cl
je 0x1402223be
cmp al, 0xef
jne 0x140222250
lea rax, [0x14053baf0]
ret
xor edx, edx
lea rax, [0x14053bbb0]
lea rcx, [0x140454cf0]
nop dword [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, edx
xor r8d, 1
not edx
and edx, 0x7ffffffe
or edx, r8d
not edx
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x140222280
mov al, 0xa8
xchg byte [0x14053bbbd], al
lea rax, [0x14053bbb0]
ret
xor eax, eax
lea rcx, [0x14053be70]
lea rdx, [0x140454fb0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x10
jg 0x140222345
inc rax
jmp 0x1402222e0
xor eax, eax
lea rcx, [0x14053bce0]
lea rdx, [0x140454e20]
nop dword [rax + rax]
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
not r10b
mov r11d, r9d
xor r11b, r10b
and r10b, r9b
not r11b
and r11b, r8b
or r11b, r10b
mov byte [rax + rcx], r11b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x1402223a7
inc rax
jmp 0x140222310
mov eax, 0x136d98df
lea rcx, [fcn.140222130]
add ecx, ecx
add ecx, 0x3ec0
nop dword [rax]
mov edx, dword [0x14058fec8]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
je 0x140222387
mov dl, 0x1b
xchg byte [0x14053be81], dl
mov edx, dword [0x14058fecc]
cmp edx, 0x44
jge 0x140222360
mov dl, 0x1b
xchg byte [0x14053be81], dl
mov edx, dword [0x14053d7e4]
add edx, eax
xor edx, ecx
not edx
test ecx, edx
jne 0x140222374
lea rax, [0x14053be70]
ret
movzx eax, byte [0x14053d7e0]
add al, 0xa0
xchg byte [0x14053bced], al
lea rax, [0x14053bce0]
ret
xor edx, edx
lea rax, [0x14053baf0]
lea rcx, [0x140454c30]
nop
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, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x1402223d0
mov al, 0xef
xchg byte [0x14053bafd], al
lea rax, [0x14053baf0]
ret