Function at 0x140221370
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor eax, eax
test al, al
nop word cs:[rax + rax]
mov eax, dword [0x14058fec8]
lea r8d, [rax - 1]
imul r8d, eax
test r8b, 1
jne 0x140221380
test ecx, ecx
je 0x1402213e3
test edx, edx
je 0x140221439
movzx eax, byte [0x14053b747]
cmp al, 0x49
je 0x140221557
mov cl, 0x21
nop word cs:[rax + rax]
mov al, 0x40
lock cmpxchg byte [0x14053b747], cl
je 0x14022151f
movzx edx, byte [0x14053d7e0]
add dl, 0xf4
cmp al, dl
jne 0x1402213c0
jmp 0x140221557
mov eax, 0x136d98de
add eax, dword [0x14053d7e4]
cmp edx, eax
jne 0x1402214c7
movzx eax, byte [0x14053bf08]
movzx ecx, byte [0x14053d7e0]
add cl, 0xbc
cmp al, cl
je 0x140221634
mov cl, 0x92
nop word cs:[rax + rax]
mov al, 0x5b
lock cmpxchg byte [0x14053bf08], cl
je 0x1402215d6
cmp al, 0x11
jne 0x140221420
jmp 0x140221634
movzx eax, byte [0x14053b800]
movzx ecx, byte [0x14053d7e0]
add cl, 0x18
cmp al, cl
je 0x1402215cd
xor ecx, ecx
nop word cs:[rax + rax]
mov eax, dword [0x14058fec8]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x1402214b0
nop word cs:[rax + rax]
movzx edx, byte [0x14053d7e0]
lea eax, [rdx + 0x65]
add dl, 0x3a
lock cmpxchg byte [0x14053b800], dl
sete dl
test cl, cl
jne 0x1402214b0
test dl, dl
jne 0x14022156b
cmp al, 0x6d
jne 0x140221460
jmp 0x1402215cd
movzx edx, byte [0x14053d7e0]
lea eax, [rdx + 0x65]
add dl, 0x3a
lock cmpxchg byte [0x14053b800], dl
jmp 0x140221480
movzx eax, byte [0x14053b96e]
cmp al, 0xa7
je 0x140221650
mov cl, 0xd7
mov dl, 1
jmp 0x1402214e8
cmp al, 0xa7
je 0x140221650
mov al, 0x90
lock cmpxchg byte [0x14053b96e], cl
je 0x14022163d
nop dword [rax + rax]
mov r8d, dword [0x14058fecc]
cmp r8d, 0x10
jg 0x140221519
cmp dword [0x14053d7e4], 0xec926722
je 0x1402214e0
test dl, dl
je 0x140221500
jmp 0x14022150d
xor eax, eax
lea rcx, [0x14053b720]
lea rdx, [0x140454890]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x26
jg 0x140221548
inc rax
jmp 0x140221530
movzx eax, byte [0x14053d7e0]
add al, 0xf4
xchg byte [0x14053b747], al
mov eax, dword [0x14058fecc]
cmp eax, 0x59
jg 0x140221740
jmp 0x140221725
xor edx, edx
lea rax, [0x14053b7f0]
lea rcx, [0x140454960]
nop dword [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rax]
movzx r9d, byte [rdx + rcx]
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
add edx, edx
and edx, 2
mov r9d, r8d
xor r9d, edx
and edx, r8d
lea edx, [r9 + rdx*2]
cmp edx, 0x10
jl 0x140221580
movzx eax, byte [0x14053d7e0]
add al, 0x18
xchg byte [0x14053b800], al
lea rax, [0x14053b7f0]
pop rbx
ret
xor edx, edx
lea rax, [0x14053bef0]
lea rcx, [0x140455030]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
not r8d
mov r9d, r8d
and r9d, 1
mov r10d, edx
and r10d, 0xfffffffe
or r10d, r9d
xor edx, 1
and r8d, 0x7ffffffe
or r8d, edx
not r8d
lea edx, [r10 + r8*2]
cmp edx, 0x18
jl 0x1402215f0
mov al, 0x11
xchg byte [0x14053bf08], al
lea rax, [0x14053bef0]
pop rbx
ret
mov eax, dword [0x14058fec8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140221660
jmp 0x140221659
lea rax, [0x14053b950]
pop rbx
ret
mov al, 1
test al, al
jne 0x14022166d
nop
mov eax, dword [0x14058fecc]
cmp eax, 0x2a
jge 0x140221660
jmp 0x140221659
xor edx, edx
lea r8, [0x14053b950]
lea r9, [0x140454aa0]
nop dword [rax]
mov eax, dword [0x14058fec8]
lea ecx, [rax - 1]
imul ecx, eax
movsxd r10, edx
jmp 0x1402216de
movzx r11d, byte [r10 + r8]
movzx ecx, byte [r10 + r9]
mov ebx, r11d
shl bl, cl
neg r11b
mov eax, r11d
xor al, bl
and r11b, bl
add r11b, r11b
add r11b, al
mov eax, r11d
sub al, bl
mul bl
add al, r11b
mov byte [r10 + r8], al
mov eax, dword [0x14058fec8]
mov ecx, 1
sub ecx, eax
imul ecx, eax
test cl, 1
jne 0x1402216a0
movzx eax, byte [r10 + r9]
add byte [r10 + r8], al
mov eax, dword [0x14058fec8]
mov ecx, dword [0x14053d7e4]
neg ecx
add ecx, eax
inc ecx
imul ecx, eax
test cl, 1
jne 0x1402216a0
inc edx
cmp edx, 0x1e
jl 0x140221680
movzx eax, byte [0x14053d7e0]
add al, 0x52
xchg byte [0x14053b96e], al
jmp 0x140221650
mov eax, dword [0x14058fec8]
mov ecx, dword [0x14053d7e4]
not ecx
add ecx, eax
imul ecx, eax
test cl, 1
je 0x140221753
nop dword [rax]
mov eax, dword [0x14058fec8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140221740
jmp 0x140221725
lea rax, [0x14053b720]
pop rbx
ret