Function at 0x1401d6e10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test ecx, ecx
je 0x1401d6e3b
test edx, edx
je 0x1401d6eec
xor eax, eax
test al, al
jne 0x1401d7255
jmp 0x1401d7230
mov eax, dword [0x140455224]
mov ecx, eax
xor ecx, 0x47e43fab
and eax, 0x47e43fab
lea eax, [rcx + rax*2]
cmp edx, eax
jne 0x1401d700d
movzx eax, byte [0x1404541c3]
cmp al, 0x33
je 0x1401d71e1
xor ecx, ecx
mov dl, 0xc5
mov r8d, 0x47e43fdd
nop word cs:[rax + rax]
test cl, cl
jne 0x1401d6ee0
nop word cs:[rax + rax]
mov al, 0x42
lock cmpxchg byte [0x1404541c3], dl
sete r9b
mov r10d, dword [0x140491494]
mov r11d, dword [0x140455224]
add r11d, r8d
cmp r10d, r11d
jge 0x1401d6ee0
test r9b, r9b
jne 0x1401d70ba
movzx r9d, byte [0x140455220]
add r9b, 0xc2
cmp al, r9b
jne 0x1401d6e80
jmp 0x1401d71e1
mov al, 0x42
lock cmpxchg byte [0x1404541c3], dl
jmp 0x1401d6e90
movzx eax, byte [0x140454155]
cmp al, 0x10
je 0x1401d71f9
mov cl, 0x9b
jmp 0x1401d6f0b
add dl, 0x9f
cmp al, dl
je 0x1401d71f9
mov al, 0xbc
lock cmpxchg byte [0x140454155], cl
je 0x1401d6f80
mov edx, dword [0x140491490]
lea r8d, [rdx - 1]
imul r8d, edx
and r8d, 1
mov edx, dword [0x140455224]
mov r9d, edx
xor r9d, 0x47e43fab
and edx, 0x47e43fab
lea edx, [r9 + rdx*2]
cmp r8d, edx
jne 0x1401d6f70
nop dword [rax + rax]
movzx edx, byte [0x140455220]
mov r8d, dword [0x140491490]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x1401d6f00
nop dword [rax]
mov edx, dword [0x140491494]
cmp edx, 0x5c
jge 0x1401d6f70
jmp 0x1401d6f50
mov eax, dword [0x140491494]
cmp eax, 0xc
jle 0x1401d6f9b
nop dword [rax + rax]
mov eax, dword [0x140491494]
cmp eax, 0x1e
jge 0x1401d6f80
mov eax, dword [0x140455224]
mov ecx, eax
xor ecx, 0x47e43fab
not eax
and eax, 0x381bc054
or eax, ecx
not eax
add eax, eax
add eax, ecx
jne 0x1401d6f90
xor edx, edx
lea rax, [0x140454120]
lea rcx, [0x14036a130]
nop word [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]
cmp edx, 0x35
jl 0x1401d6fd0
mov eax, dword [0x140491490]
mov ecx, 1
sub ecx, eax
imul ecx, eax
test cl, 1
jne 0x1401d7208
jmp 0x1401d7202
movzx eax, byte [0x1404542e9]
cmp al, 0x62
je 0x1401d71d0
xor ecx, ecx
mov r8b, 0x92
jmp 0x1401d704c
mov al, 6
lock cmpxchg byte [0x1404542e9], r8b
mov eax, dword [0x140491490]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
je 0x1401d7077
mov edx, dword [0x140491490]
lea eax, [rdx - 1]
imul eax, edx
mov r9d, dword [0x140455224]
lea r10d, [r9 + 0x47e43fad]
xor edx, edx
div r10d
add r9d, 0x47e43fab
cmp edx, r9d
jne 0x1401d7030
movzx edx, byte [0x140455220]
lea eax, [rdx - 0x6b]
mov r9d, edx
xor r9b, 0x21
and dl, 0x21
add dl, dl
add dl, r9b
lock cmpxchg byte [0x1404542e9], dl
sete dl
test cl, cl
jne 0x1401d7030
test dl, dl
jne 0x1401d7176
movzx edx, byte [0x140455220]
add dl, 0xf1
cmp al, dl
jne 0x1401d704c
jmp 0x1401d71d0
xor edi, edi
lea rbx, [0x1404541b0]
lea r14, [0x14036a1c0]
mov ebp, 0x47e43fac
lea rsi, [0x1401d7b30]
jmp 0x1401d70f2
mov ecx, edi
xor ecx, eax
and edi, eax
lea edi, [rcx + rdi*2]
cmp edi, 0x13
jge 0x1401d71d9
mov eax, dword [0x140491494]
movsxd r15, edi
cmp eax, 0x27
jg 0x1401d7120
movzx eax, byte [r15 + r14]
xor byte [r15 + rbx], al
mov eax, dword [0x140455224]
add eax, ebp
mov ecx, dword [0x140491494]
cmp ecx, 0x2c
jl 0x1401d70e0
nop dword [rax]
movzx r12d, byte [r15 + r14]
mov r13d, r12d
sub r13b, byte [r15 + rbx]
mov ecx, 0x37
call fcn.1402f9c64
mov qword [0x140491468], rax
mov rcx, rsi
call fcn.140319880
movzx eax, byte [0x140455220]
sub al, r13b
add al, r12b
add al, 0x8f
mov ecx, eax
xor cl, al
not cl
and cl, r13b
xor cl, al
mov byte [r15 + rbx], cl
mov eax, dword [0x140491490]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401d7120
jmp 0x1401d7100
xor eax, eax
lea rcx, [0x1404542e0]
lea rdx, [0x14036a2e0]
nop word cs:[rax + rax]
cdqe
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
mov r8d, dword [0x140455224]
mov r9d, r8d
xor r9d, 0x47e43fac
not r8d
and r8d, 0x381bc053
or r8d, r9d
not r8d
lea r8d, [r9 + r8*2]
add eax, r8d
cmp eax, 9
jl 0x1401d7190
mov al, 0x62
xchg byte [0x1404542e9], al
lea rax, [0x1404542e0]
jmp 0x1401d71e8
mov al, 0x33
xchg byte [0x1404541c3], al
lea rax, [0x1404541b0]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x140454120]
jmp 0x1401d71e8
mov al, 1
test al, al
jne 0x1401d7226
lea rax, [fcn.1401d6e10]
add eax, eax
add eax, 0x10a0
mov ecx, eax
not ecx
nop word [rax + rax]
test ecx, eax
jne 0x1401d7220
jmp 0x1401d7202
mov al, 0x10
xchg byte [0x140454155], al
jmp 0x1401d71f9
movzx eax, byte [0x140454112]
mov ecx, dword [0x140491490]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, 0x47e43fab
add ecx, dword [0x140455224]
cmp edx, ecx
je 0x1401d725e
movzx eax, byte [0x140454112]
jmp 0x1401d7230
cmp al, 0xca
je 0x1401d7387
mov r8b, 0x7a
mov r9d, 0x47e43fad
jmp 0x1401d7289
cmp cl, 0xca
je 0x1401d7387
mov al, 0xd3
lock cmpxchg byte [0x140454112], r8b
je 0x1401d72dd
mov ecx, eax
nop dword [rax + rax]
mov edx, dword [0x140491490]
lea eax, [rdx - 1]
imul eax, edx
mov r10d, dword [0x140455224]
add r10d, r9d
xor edx, edx
div r10d
test edx, edx
jne 0x1401d72d0
mov eax, dword [0x140491490]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
je 0x1401d7280
mov eax, dword [0x140491494]
cmp eax, 0x3c
jge 0x1401d72a0
jmp 0x1401d72bf
xor edx, edx
lea rax, [0x1404540e0]
lea rcx, [0x14036a0f0]
nop dword [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, dword [0x140455224]
lea r9d, [r8 + 0x47e43fac]
mov r10d, edx
xor r10d, r9d
not edx
not r9d
and r9d, edx
or r9d, r10d
not r9d
lea edx, [r10 + r9*2]
add r8d, 0x47e43fdd
cmp edx, r8d
jl 0x1401d72f0
nop
mov eax, dword [0x140491490]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1401d735c
mov eax, dword [0x140491494]
cmp eax, 0x5f
jge 0x1401d7340
mov eax, dword [0x140491490]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401d7351
movzx eax, byte [0x140455220]
add al, 0x83
mov ecx, eax
xor cl, 0xd6
and al, 0x56
add al, al
add al, cl
xchg byte [0x140454112], al
lea rax, [0x1404540e0]
jmp 0x1401d71e8