Function at 0x14022bd70
Capabilities:
Encode data using xor

Disassembly:
push rbx
test ecx, ecx
je 0x14022be1c
mov eax, 0xcb519eda
add eax, dword [0x1404b2360]
cmp edx, eax
jne 0x14022be8c
movzx eax, byte [0x1404b1725]
cmp al, 0x8f
je 0x14022c06d
mov cl, 0xe8
nop dword [rax]
mov eax, dword [0x1404ef700]
mov edx, dword [0x1404b2360]
mov r8d, eax
sub r8d, edx
inc r8d
imul r8d, eax
and r8d, 1
mov eax, edx
xor eax, 0x5010672c
and edx, 0x5010672c
lea eax, [rax + rdx*2]
add eax, 0x7b4137ae
cmp r8d, eax
jne 0x14022be10
nop word [rax + rax]
mov al, 0x2b
lock cmpxchg byte [0x1404b1725], cl
sete dl
mov r8d, dword [0x1404ef704]
cmp r8d, 0x3c
jg 0x14022be10
test dl, dl
jne 0x14022beee
cmp al, 0x8f
jne 0x14022bda0
jmp 0x14022c06d
mov al, 0x2b
lock cmpxchg byte [0x1404b1725], cl
jmp 0x14022bde0
mov eax, dword [0x1404ef700]
mov ecx, dword [0x1404b2360]
add ecx, eax
dec ecx
imul ecx, eax
test cl, 1
nop word cs:[rax + rax]
mov eax, dword [0x1404ef704]
cmp eax, 0x62
jg 0x14022be40
test edx, edx
je 0x14022bed9
xor eax, eax
mov cl, 1
nop word [rax + rax]
mov edx, dword [0x1404ef700]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
jne 0x14022be7f
movzx edx, byte [0x1404b1772]
test al, al
je 0x14022beb5
movzx edx, byte [0x1404b1772]
test cl, cl
je 0x14022be60
jmp 0x14022be74
movzx eax, byte [0x1404b17d9]
cmp al, 0xba
je 0x14022c05c
mov cl, 0xa9
nop dword [rax]
mov al, 0xd7
lock cmpxchg byte [0x1404b17d9], cl
je 0x14022bf1c
cmp al, 0xba
jne 0x14022bea0
jmp 0x14022c05c
cmp dl, 0x91
je 0x14022c102
mov cl, 0xd4
mov al, 0x22
lock cmpxchg byte [0x1404b1772], cl
je 0x14022c076
cmp al, 0x91
jne 0x14022bec0
jmp 0x14022c102
cmp dword [0x1404b2360], 0x34ae6126
je 0x14022c10b
jmp 0x14022c118
xor eax, eax
lea rcx, [0x1404b1710]
lea rdx, [0x1403c6fb0]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x14
jg 0x14022bfe5
inc rax
jmp 0x14022bf00
xor r9d, r9d
lea rdx, [0x1404b17d0]
lea r8, [0x1403c7050]
jmp 0x14022bf60
mov eax, r9d
not eax
mov ecx, eax
and ecx, 1
mov r10d, r9d
and r10d, 0xfffffffe
or r10d, ecx
xor r9d, 1
and eax, 0x7ffffffe
or eax, r9d
not eax
lea r9d, [r10 + rax*2]
cmp r9d, 9
jge 0x14022c054
mov eax, dword [0x1404ef700]
lea ecx, [rax - 1]
imul ecx, eax
movsxd r10, r9d
test cl, 1
jne 0x14022bf94
nop word cs:[rax + rax]
movzx eax, byte [r10 + r8]
add byte [r10 + rdx], al
mov eax, dword [0x1404ef704]
cmp eax, 0x52
jle 0x14022bf30
movzx eax, byte [r10 + rdx]
movzx r11d, byte [r10 + r8]
sub al, r11b
mul r11b
sub al, r11b
mul r11b
mov ecx, r11d
sub cl, al
mov eax, ecx
mul r11b
mov ecx, eax
xor cl, r11b
and r11b, al
add r11b, r11b
add r11b, cl
mov ecx, eax
xor cl, r11b
mov ebx, ecx
not bl
and bl, al
add bl, bl
movzx eax, byte [0x1404b2370]
add bl, cl
sub al, bl
add al, r11b
add al, 0x78
mov byte [r10 + rdx], al
jmp 0x14022bf80
mov eax, 0xcb519edb
lea rcx, [fcn.14022bd70]
add ecx, ecx
add ecx, 0x2600
mov edx, ecx
not edx
mov r8d, 0xcb519eea
nop word cs:[rax + rax]
mov r9d, dword [0x1404ef704]
cmp r9d, 0x5e
jg 0x14022c03c
mov r9d, dword [0x1404b2360]
add r9d, eax
mov r10d, ecx
xor r10d, r9d
not r9d
and r9d, edx
or r9d, r10d
cmp r9d, 0xffffffff
je 0x14022c065
mov r9d, dword [0x1404ef704]
mov r10d, dword [0x1404b2360]
add r10d, r8d
cmp r9d, r10d
jge 0x14022c010
jmp 0x14022c01d
mov al, 0xba
xchg byte [0x1404b17d9], al
lea rax, [0x1404b17d0]
pop rbx
ret
mov al, 0x8f
xchg byte [0x1404b1725], al
lea rax, [0x1404b1710]
pop rbx
ret
mov eax, dword [0x1404ef704]
nop dword [rax]
mov ecx, dword [0x1404ef700]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, dword [0x1404b2360]
mov edx, ecx
xor edx, 0x34ae6123
and edx, ecx
xor ecx, 0xcb519edc
add edx, edx
mov r8d, ecx
xor r8d, edx
and edx, ecx
lea ecx, [r8 + rdx*2]
xor edx, edx
div ecx
test edx, edx
jne 0x14022c080
xor eax, eax
lea rcx, [0x1404b1770]
lea rdx, [0x1403c7000]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 1
jg 0x14022c0e8
inc rax
jmp 0x14022c0d0
mov eax, dword [0x1404ef700]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14022c1d0
jmp 0x14022c1bb
lea rax, [0x1404b1770]
pop rbx
ret
movzx eax, byte [0x1404b1813]
xor ecx, ecx
test cl, cl
je 0x14022c121
movzx eax, byte [0x1404b1813]
jmp 0x14022c10b
cmp al, 0x42
je 0x14022c159
mov cl, 0x3f
nop word [rax + rax]
mov al, 0x78
lock cmpxchg byte [0x1404b1813], cl
je 0x14022c142
cmp al, 0x42
jne 0x14022c130
jmp 0x14022c159
mov eax, dword [0x1404ef704]
mov ecx, 0xcb519f19
add ecx, dword [0x1404b2360]
cmp eax, ecx
jl 0x14022c162
jmp 0x14022c168
lea rax, [0x1404b17f0]
pop rbx
ret
mov al, 1
test al, al
jne 0x14022c176
mov al, 1
nop word [rax + rax]
test al, al
je 0x14022c170
jmp 0x14022c162
xor eax, eax
lea rcx, [0x1404b17f0]
lea rdx, [0x1403c7070]
mov r8d, 0xcb519efd
nop dword [rax]
movzx r9d, byte [rax + rdx]
xor byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x1404b2360]
add r10d, r8d
cmp r9d, r10d
jge 0x14022c1b1
inc rax
jmp 0x14022c190
mov al, 0x42
xchg byte [0x1404b1813], al
jmp 0x14022c159
mov eax, dword [0x1404ef700]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14022c1dd
nop dword [rax]
mov eax, dword [0x1404ef704]
cmp eax, 0x15
jge 0x14022c1d0
jmp 0x14022c1bb
mov al, 0x91
xchg byte [0x1404b1772], al
jmp 0x14022c102