Function at 0x1401ba8b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov eax, 0x136d98de
mov r8d, dword [0x140452194]
add r8d, eax
cmp ecx, r8d
jne 0x1401ba8f9
test edx, edx
je 0x1401ba945
mov eax, dword [0x140491348]
mov ecx, dword [0x140452194]
neg ecx
add ecx, eax
inc ecx
imul ecx, eax
test cl, 1
jne 0x1401bab70
jmp 0x1401bab55
add eax, dword [0x140452194]
cmp edx, eax
jne 0x1401ba917
mov eax, dword [0x14049134c]
cmp eax, 0x2c
jle 0x1401bac1c
jmp 0x1401bac2e
movzx eax, byte [0x1404503b3]
cmp al, 0x99
je 0x1401ba9c4
mov cl, 0x81
nop dword [rax + rax]
mov al, 0x72
lock cmpxchg byte [0x1404503b3], cl
je 0x1401ba95f
cmp al, 0x99
jne 0x1401ba930
jmp 0x1401ba9c4
mov eax, dword [0x140491348]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x1401baa05
jmp 0x1401ba9f8
xor eax, eax
lea rcx, [0x1404503b0]
lea rdx, [0x140369250]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 2
jg 0x1401ba988
inc rax
jmp 0x1401ba970
xor eax, eax
nop word [rax + rax]
mov ecx, dword [0x14049134c]
cmp ecx, 0x38
jg 0x1401ba99f
test al, al
je 0x1401ba9ac
mov ecx, dword [0x14049134c]
cmp ecx, 0x1b
jge 0x1401ba990
jmp 0x1401ba99b
movzx eax, byte [0x140452190]
mov ecx, eax
xor cl, 0x44
and al, 0x44
add al, al
add al, cl
xchg byte [0x1404503b3], al
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x1401ba9df
mov ecx, dword [0x14049134c]
cmp ecx, 0x12
jle 0x1401ba9ec
mov ecx, dword [0x14049134c]
cmp ecx, 0x28
jge 0x1401ba9d0
jmp 0x1401ba9d4
lea rax, [0x1404503b0]
jmp 0x1401bab46
movzx eax, byte [0x14045037e]
xor ecx, ecx
test cl, cl
je 0x1401baa0e
movzx eax, byte [0x14045037e]
jmp 0x1401ba9f8
cmp al, 0xd
je 0x1401bab3f
mov cl, 7
nop dword [rax + rax]
mov al, 0x95
lock cmpxchg byte [0x14045037e], cl
je 0x1401baa40
cmp al, 0xd
jne 0x1401baa20
jmp 0x1401bab3f
mov eax, dword [0x140452194]
mov ecx, eax
xor ecx, 0x136d98de
and eax, 0x136d98de
add eax, eax
add eax, ecx
je 0x1401baa6a
mov eax, dword [0x140491348]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401baa40
mov eax, dword [0x140491348]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x1401baa59
mov edi, 0xffffffff
mov ebx, 1
xor r14d, r14d
lea r15, [0x140450370]
lea r12, [0x140369210]
lea rsi, [0x1401c0a50]
nop dword [rax]
mov eax, dword [0x14049134c]
cmp eax, 0x18
jg 0x1401baad9
nop dword [rax + rax]
movzx eax, byte [r14 + r15]
movzx ecx, byte [r14 + r12]
mov edx, eax
xor dl, cl
and al, cl
add al, al
add al, dl
mov byte [r14 + r15], al
mov eax, dword [0x140491348]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1401bab20
movzx ebp, byte [r14 + r15]
mov ecx, 0xa
call fcn.1402f9c64
mov qword [0x140491300], rax
mov rcx, rsi
call fcn.140319880
movzx ecx, byte [r14 + r12]
shl bpl, cl
shl bpl, cl
sub cl, bpl
mov eax, ebp
shl al, cl
mov edx, ebp
mov ecx, eax
shl dl, cl
add dl, bpl
mov byte [r14 + r15], dl
jmp 0x1401baab0
lea eax, [r14 + 1]
cmp eax, 0xd
jg 0x1401bab37
add edi, 3
add ebx, 0xfffffffd
inc r14
jmp 0x1401baaa0
mov al, 0xd
xchg byte [0x14045037e], al
lea rax, [0x140450370]
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx eax, byte [0x1404500af]
mov cl, 1
test cl, cl
jne 0x1401bab9b
nop word cs:[rax + rax]
movzx eax, byte [0x1404500af]
mov eax, dword [0x140491348]
mov ecx, dword [0x140452194]
mov edx, eax
sub edx, ecx
inc edx
imul edx, eax
and edx, 1
add ecx, 0x136d98de
cmp edx, ecx
jne 0x1401bab70
jmp 0x1401bab55
movzx ecx, byte [0x140452190]
mov edx, ecx
xor dl, 0x10
and cl, 0x10
add cl, cl
add cl, dl
cmp al, cl
je 0x1401bac10
mov cl, 0xc6
nop word cs:[rax + rax]
mov al, 0xe5
lock cmpxchg byte [0x1404500af], cl
je 0x1401babd2
cmp al, 0x65
jne 0x1401babc0
jmp 0x1401bac10
xor eax, eax
lea rcx, [0x140450090]
lea rdx, [0x140368f50]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x1e
jg 0x1401bac08
inc rax
jmp 0x1401babf0
mov al, 0x65
xchg byte [0x1404500af], al
lea rax, [0x140450090]
jmp 0x1401bab46
movzx eax, byte [0x14045048d]
mov ecx, dword [0x14049134c]
cmp ecx, 0x60
jl 0x1401bac3d
mov al, 1
movzx ecx, byte [0x14045048d]
test al, al
je 0x1401bac30
jmp 0x1401bac1c
cmp al, 0xbf
je 0x1401bacbe
mov cl, 0xb0
nop word cs:[rax + rax]
mov al, 0x6f
lock cmpxchg byte [0x14045048d], cl
je 0x1401bac62
cmp al, 0xbf
jne 0x1401bac50
jmp 0x1401bacbe
xor edx, edx
lea rax, [0x140450480]
lea rcx, [0x140369310]
nop word cs:[rax + 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
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x1401bac80
movzx eax, byte [0x140452190]
add al, 0x6a
xchg byte [0x14045048d], al
lea rax, [0x140450480]
jmp 0x1401bab46