Function at 0x14018c620
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov eax, dword [0x14052f358]
mov r8d, eax
xor r8d, 0xbc252bb4
and eax, 0x3c252bb4
lea eax, [r8 + rax*2]
cmp ecx, eax
jne 0x14018c6dc
mov eax, dword [0x14058eed0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
nop word cs:[rax + rax]
xor eax, eax
test al, al
jne 0x14018c660
test edx, edx
je 0x14018c719
movzx eax, byte [0x14052ef47]
nop word cs:[rax + rax]
cmp al, 0x12
je 0x14018c92e
movzx ecx, byte [0x14052f368]
mov edx, ecx
xor dl, 0x93
mov eax, ecx
and al, 0x13
add al, al
add al, dl
add cl, 0xbd
lock cmpxchg byte [0x14052ef47], cl
jne 0x14018c680
xor eax, eax
lea rcx, [0x14052ef40]
lea rdx, [0x1404512b0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 6
jg 0x14018c7b3
inc rax
jmp 0x14018c6c0
test edx, edx
je 0x14018c749
movzx eax, byte [0x14052f015]
cmp al, 0xae
je 0x14018ca06
mov cl, 0x54
nop word cs:[rax + rax]
mov al, 0xe
lock cmpxchg byte [0x14052f015], cl
je 0x14018c7c7
cmp al, 0xae
jne 0x14018c700
jmp 0x14018ca06
movzx eax, byte [0x14052f14f]
cmp al, 0x62
je 0x14018c8f5
mov cl, 0x79
nop word [rax + rax]
mov al, 0xd7
lock cmpxchg byte [0x14052f14f], cl
je 0x14018c7e6
cmp al, 0x62
jne 0x14018c730
jmp 0x14018c8f5
movzx eax, byte [0x14052f04e]
cmp al, 0x69
je 0x14018c9d6
movzx ecx, byte [0x14052f368]
lea eax, [rcx + 0x2b]
add cl, 0xba
lock cmpxchg byte [0x14052f04e], cl
je 0x14018c8a2
mov ecx, dword [0x14058eed4]
cmp ecx, 0x36
jg 0x14018c7a0
nop
mov ecx, dword [0x14058eed0]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x14018c750
nop word cs:[rax + rax]
mov ecx, dword [0x14058eed0]
lea edx, [rcx + 1]
imul edx, ecx
test dl, 1
jne 0x14018c7a0
jmp 0x14018c780
mov eax, dword [0x14058eed4]
cmp eax, 0x48
jl 0x14018c900
jmp 0x14018c911
lea rax, [fcn.14018c620]
add eax, eax
add eax, 0xf80
mov ecx, eax
not ecx
test ecx, eax
jne 0x14018ca30
jmp 0x14018ca12
xor r8d, r8d
mov r9d, 0xbc252be8
lea r10, [0x14052f140]
lea r11, [0x1404514a0]
mov bl, 1
jmp 0x14018c81d
inc r8d
cmp r8d, 0xf
jge 0x14018c8b1
mov eax, dword [0x14058eed4]
mov ecx, dword [0x14052f358]
add ecx, r9d
movsxd rsi, r8d
cmp eax, ecx
jge 0x14018c850
nop word cs:[rax + rax]
movzx eax, byte [rsi + r11]
xor byte [rsi + r10], al
test bl, bl
jne 0x14018c810
nop dword [rax]
movzx ecx, byte [rsi + r10]
movzx eax, byte [rsi + r11]
sub al, cl
sub al, cl
mul cl
mov edx, eax
shl dl, cl
mov edi, eax
mov ecx, edx
shl dil, cl
mov ecx, eax
neg cl
mov edx, ecx
xor dl, dil
and dil, cl
add dil, dil
add dil, dl
sub dil, al
mov edx, ecx
xor dl, dil
and dil, cl
add dil, dil
add dil, dl
xor dil, al
mov byte [rsi + r10], dil
mov eax, dword [0x14058eed4]
cmp eax, 0x15
jge 0x14018c850
jmp 0x14018c840
xor eax, eax
test al, al
jne 0x14018c960
jmp 0x14018c937
mov eax, 0xbc252c08
xor ecx, ecx
nop dword [rax + rax]
mov edx, dword [0x14058eed4]
mov r8d, dword [0x14052f358]
add r8d, eax
cmp edx, r8d
jl 0x14018c8e9
mov edx, dword [0x14058eed0]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
jne 0x14018c8c0
test cl, cl
jne 0x14018c8d5
mov al, 0x62
xchg byte [0x14052f14f], al
lea rax, [0x14052f140]
pop rbx
pop rdi
pop rsi
ret
mov eax, dword [0x14058eed0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14018c926
mov al, 1
nop word cs:[rax + rax]
test al, al
je 0x14018c920
jmp 0x14018c900
mov al, 0x12
xchg byte [0x14052ef47], al
lea rax, [0x14052ef40]
jmp 0x14018c8fc
mov eax, dword [0x14058eed4]
mov ecx, dword [0x14052f358]
mov edx, ecx
xor edx, 0xbc252c05
and ecx, 0x3c252c05
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jl 0x14018c96d
nop dword [rax + rax]
mov eax, dword [0x14058eed4]
cmp eax, 0x59
jge 0x14018c960
jmp 0x14018c937
xor edx, edx
lea rax, [0x14052f040]
lea rcx, [0x1404513a0]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x14052f358]
add edx, r8d
add edx, 0xbc252bb5
add r8d, 0xbc252bc2
cmp edx, r8d
jl 0x14018c980
mov eax, dword [0x14058eed4]
cmp eax, 0x2c
jge 0x14018c9cc
mov al, 0x69
xchg byte [0x14052f04e], al
mov eax, dword [0x14058eed0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14018c9d6
mov al, 0x69
xchg byte [0x14052f04e], al
jmp 0x14018c9b3
mov eax, dword [0x14058eed4]
nop dword [rax]
mov eax, dword [0x14058eed0]
mov ecx, dword [0x14052f358]
neg ecx
add ecx, eax
inc ecx
imul ecx, eax
test cl, 1
jne 0x14018c9e0
lea rax, [0x14052f040]
jmp 0x14018c8fc
lea rax, [0x14052f000]
jmp 0x14018c8fc
mov eax, dword [0x14058eed4]
mov ecx, 0xbc252bd3
add ecx, dword [0x14052f358]
cmp eax, ecx
jl 0x14018ca53
nop word [rax + rax]
mov eax, dword [0x14058eed4]
mov ecx, dword [0x14052f358]
mov edx, ecx
xor edx, 0xbc252bef
and ecx, 0x3c252bef
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jge 0x14018ca30
jmp 0x14018ca12
xor eax, eax
lea rcx, [0x14052f000]
lea rdx, [0x140451360]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x14
jg 0x14018ca88
inc rax
jmp 0x14018ca70
movzx eax, byte [0x14052f368]
add al, 0x35
xchg byte [0x14052f015], al
jmp 0x14018ca06