Function at 0x14027f6e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test ecx, ecx
je 0x14027f725
test edx, edx
je 0x14027f743
movzx eax, byte [0x1405bde09]
cmp al, 0x8d
je 0x14027f82c
mov cl, 0xbf
nop word cs:[rax + rax]
mov al, 0xb3
lock cmpxchg byte [0x1405bde09], cl
je 0x14027f799
cmp al, 0x8d
jne 0x14027f710
jmp 0x14027f82c
test edx, edx
je 0x14027f757
mov eax, dword [0x140613550]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14027f8db
jmp 0x14027f8c9
mov eax, dword [0x140613554]
cmp eax, 0x29
jle 0x14027fa40
jmp 0x14027fa52
movzx eax, byte [0x1405bde5d]
movzx ecx, byte [0x1405bfb90]
add cl, 0x92
cmp al, cl
je 0x14027f8b5
mov cl, 0xd2
nop word cs:[rax + rax]
mov al, 0xb3
lock cmpxchg byte [0x1405bde5d], cl
je 0x14027f838
cmp al, 0xe7
jne 0x14027f780
jmp 0x14027f8b5
mov edx, 1
mov r8d, 0xfffffffe
xor r9d, r9d
lea r10, [0x1405bde00]
lea r11, [0x1404d5160]
nop word cs:[rax + rax]
mov eax, dword [0x140613554]
cmp eax, 0x61
jg 0x14027f7ea
nop dword [rax + rax]
movzx eax, byte [r9 + r11]
xor byte [r9 + r10], al
mov eax, dword [0x140613550]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14027f810
movzx eax, byte [r9 + r10]
movzx ecx, byte [r9 + r11]
shl al, cl
sub al, cl
mul cl
xor al, cl
mov byte [r9 + r10], al
jmp 0x14027f7d0
lea eax, [r9 + 1]
cmp eax, 8
jg 0x14027f824
inc r9
dec edx
add r8d, 2
jmp 0x14027f7c0
mov al, 0x8d
xchg byte [0x1405bde09], al
lea rax, [0x1405bde00]
jmp 0x14027f8bc
xor eax, eax
lea rcx, [0x1405bde50]
lea rdx, [0x1404d51a0]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x14027f868
inc rax
jmp 0x14027f850
mov eax, dword [0x140613554]
cmp eax, 0x45
jge 0x14027f8a0
mov al, 0xe7
xchg byte [0x1405bde5d], al
mov ecx, dword [0x140613550]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x136d98e0
add ecx, dword [0x1405bfb94]
xor edx, edx
div ecx
test edx, edx
je 0x14027f8b5
nop word [rax + rax]
mov al, 0xe7
xchg byte [0x1405bde5d], al
mov eax, dword [0x140613554]
cmp eax, 0xb
jge 0x14027f8a0
jmp 0x14027f873
lea rax, [0x1405bde50]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx eax, byte [0x1405be154]
mov ecx, dword [0x140613554]
cmp ecx, 0x5a
jle 0x14027f8e4
movzx eax, byte [0x1405be154]
jmp 0x14027f8c9
cmp al, 0x5b
je 0x14027fa34
mov bl, 0x89
mov edi, 0x136d98df
lea r14, [fcn.14027f6e0]
lea ebp, [r14 + r14]
add ebp, 0x3b80
mov r15d, 0x136d98e9
lea rsi, [0x140280f40]
jmp 0x14027f95d
mov al, 1
lock cmpxchg byte [0x1405be154], bl
mov ecx, dword [0x1405bfb94]
add ecx, r15d
call fcn.140465354
mov qword [0x1406134f0], rax
mov rcx, rsi
call fcn.140485750
mov eax, dword [0x1405bfb94]
add eax, edi
lea ecx, [r14 + r14]
add ecx, 0x4140
test ecx, eax
je 0x14027f985
mov ecx, dword [0x140613550]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, dword [0x1405bfb94]
lea r8d, [rcx + 0x136d98e0]
xor edx, edx
div r8d
add ecx, 0x136d98de
cmp edx, ecx
jne 0x14027f920
mov al, 1
lock cmpxchg byte [0x1405be154], bl
sete cl
mov edx, dword [0x1405bfb94]
add edx, edi
test ebp, edx
jne 0x14027f920
test cl, cl
jne 0x14027f9b5
movzx ecx, byte [0x1405bfb90]
add cl, 6
cmp al, cl
jne 0x14027f95d
jmp 0x14027fa34
xor edx, edx
lea rax, [0x1405be140]
lea rcx, [0x1404d5490]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
mov r8d, dword [0x1405bfb94]
mov r9d, r8d
xor r9d, 0x136d98f2
and r8d, 0x136d98f2
lea r8d, [r9 + r8*2]
cmp edx, r8d
jl 0x14027f9d0
mov al, 1
nop dword [rax]
mov ecx, dword [0x140613554]
cmp ecx, 0x15
jg 0x14027fa26
mov ecx, dword [0x140613554]
cmp ecx, 0x2d
jle 0x14027fa2c
test al, al
je 0x14027fa10
jmp 0x14027fa1b
mov al, 0x5b
xchg byte [0x1405be154], al
lea rax, [0x1405be140]
jmp 0x14027f8bc
movzx eax, byte [0x1405bdf9d]
mov ecx, dword [0x140613554]
cmp ecx, 0x10
jle 0x14027fa5b
movzx eax, byte [0x1405bdf9d]
jmp 0x14027fa40
cmp al, 0xb
je 0x14027fb13
mov cl, 0xad
nop word cs:[rax + rax]
mov al, 0xe
lock cmpxchg byte [0x1405bdf9d], cl
je 0x14027fa90
cmp al, 0xb
jne 0x14027fa70
jmp 0x14027fb13
mov ecx, dword [0x140613550]
mov edx, dword [0x1405bfb94]
mov eax, ecx
sub eax, edx
add eax, 0xec926721
imul eax, ecx
mov ecx, edx
xor ecx, 0x136d98e0
and edx, 0x136d98e0
lea ecx, [rcx + rdx*2]
xor edx, edx
div ecx
test edx, edx
jne 0x14027fa90
xor eax, eax
lea rcx, [0x1405bdf90]
lea rdx, [0x1404d52e0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x14027faf8
inc rax
jmp 0x14027fae0
mov eax, dword [0x140613550]
nop
mov eax, dword [0x140613554]
cmp eax, 0x48
jg 0x14027fb00
mov al, 0xb
xchg byte [0x1405bdf9d], al
mov eax, 0x136d98de
nop dword [rax + rax]
mov ecx, dword [0x140613550]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x14027fb42
mov ecx, dword [0x140613550]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x14027fb5f
mov ecx, dword [0x140613550]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1405bfb94]
add ecx, eax
cmp edx, ecx
jne 0x14027fb20
jmp 0x14027fb31
lea rax, [0x1405bdf90]
jmp 0x14027f8bc