Function at 0x14026f5c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov esi, r9d
mov ebx, dword [rsp + 0xb0]
test ecx, ecx
je 0x14026f647
test edx, edx
je 0x14026f6e9
movzx eax, byte [0x14051ee1d]
cmp al, 0x23
je 0x14026f81b
xor ebx, 0x87952522
lea rdi, [rsp + 0x40]
nop
mov eax, dword [0x14051f428]
mov ecx, ebx
xor ecx, eax
and eax, ebx
lea edx, [rcx + rax*2]
xor edx, esi
mov eax, dword [0x14051efd8]
add eax, esi
add eax, 0x1b2d
cdqe
add rax, qword [0x14051f010]
mov rcx, rdi
call qword [case.0x140303ece.0]
cmp byte [rsp + 0x41], 0
jne 0x14026f7b0
cmp byte [rsp + 0x40], 0x23
jne 0x14026f600
jmp 0x14026f81b
mov r8d, esi
xor r8d, 0x27d0cac9
mov eax, esi
neg eax
mov ecx, eax
xor ecx, 0xffffe4d3
and eax, 0x7fffe4d3
lea eax, [rcx + rax*2]
mov ecx, ebx
not ecx
and ecx, 0x7a12d4ca
mov r9d, ebx
xor r9d, 0x85ed2b35
or r9d, ecx
not r9d
or r9d, ecx
mov ecx, dword [0x14051efe4]
add r9d, dword [0x14051f428]
sub ecx, eax
mov eax, r9d
xor eax, ecx
and r9d, ecx
lea eax, [rax + r9*2]
cdqe
add rax, qword [0x14051f000]
mov ecx, edx
mov edx, r8d
call qword [case.0x140303ece.0]
test al, 1
je 0x14026f719
movzx eax, byte [0x14051edcd]
cmp al, 0xb5
je 0x14026f919
mov cl, 0x94
nop word cs:[rax + rax]
mov al, 0x7a
lock cmpxchg byte [0x14051edcd], cl
je 0x14026f89d
cmp al, 0xb5
jne 0x14026f6d0
jmp 0x14026f919
movzx eax, byte [0x14051ef0d]
cmp al, 0xc
je 0x14026f891
mov cl, 0x8d
nop word [rax + rax]
mov al, 0xe3
lock cmpxchg byte [0x14051ef0d], cl
je 0x14026f827
cmp al, 0xc
jne 0x14026f700
jmp 0x14026f891
mov eax, esi
not eax
and eax, 0xb331b3ad
mov ecx, esi
xor ecx, 0x4cce4c52
or ecx, eax
not ecx
or ecx, eax
mov eax, dword [0x14051efe0]
add eax, esi
add eax, 0x1b2d
cdqe
add rax, qword [0x14051f018]
call qword [case.0x140303ece.0]
test al, 1
jne 0x14026f9a3
mov edi, esi
xor edi, 0x977274e1
nop dword [rax]
movzx ecx, byte [0x14051f42c]
mov eax, ebx
xor al, 0x48
add al, cl
mov edx, ebx
xor dl, 0xed
add dl, cl
lock cmpxchg byte [0x14051ed93], dl
je 0x14026f925
mov ecx, dword [0x14051efe8]
add ecx, esi
add ecx, 0x1b2d
movsxd r8, ecx
add r8, qword [0x14051f020]
mov ecx, eax
mov edx, edi
mov rax, r8
call qword [case.0x140303ece.0]
test al, 1
je 0x14026f760
jmp 0x14026f9a3
xor edi, edi
lea r15, [0x14051ee10]
mov ebx, esi
xor ebx, 0xa865c4b9
lea r14, [rsp + 0x40]
lea r12, [0x140434a50]
nop dword [rax]
movzx ebp, byte [rdi + r15]
mov eax, dword [0x14051efdc]
add eax, esi
add eax, 0x1b2d
cdqe
add rax, qword [0x14051eff8]
mov ecx, edi
mov rdx, r14
mov r8d, ebx
call qword [case.0x140303ece.0]
mov rax, qword [rsp + 0x40]
xor bpl, byte [rax + r12]
mov byte [rdi + r15], bpl
lea eax, [rdi + 1]
cmp eax, 0xc
jg 0x14026f813
inc rdi
jmp 0x14026f7d0
mov al, 0x23
xchg byte [0x14051ee1d], al
lea rax, [0x14051ee10]
jmp 0x14026f9aa
xor eax, eax
lea rcx, [0x14051ef00]
lea rdx, [0x140434b40]
mov r8d, ebx
xor r8d, 0x7a12d4d9
nop word cs:[rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x14051f428]
add r10d, r8d
cmp r9d, r10d
jge 0x14026f871
inc rax
jmp 0x14026f850
movzx eax, byte [0x14051f42c]
xor bl, 0xbc
add bl, 7
mov ecx, ebx
xor cl, al
and bl, al
add bl, bl
add bl, cl
add bl, 0xf9
xchg byte [0x14051ef0d], bl
lea rax, [0x14051ef00]
jmp 0x14026f9aa
xor eax, eax
lea r14, [0x14051edc0]
lea r15, [0x140434a00]
mov ebp, esi
xor ebp, 0xe6001d91
lea r12, [rsp + 0x40]
lea rdi, [rsp + 0x3f]
nop
movsxd rbx, eax
movzx edx, byte [rbx + r14]
lea rcx, [r15 + rbx]
mov eax, dword [0x14051efd0]
add eax, esi
add eax, 0x1b2d
cdqe
add rax, qword [0x14051f008]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r12
mov r8d, ebx
mov r9, rdi
call qword [case.0x140303ece.0]
movzx eax, byte [rsp + 0x3f]
mov rcx, qword [rsp + 0x40]
mov byte [rcx + r14], al
lea eax, [rbx + rbx]
sub eax, ebx
inc eax
cmp eax, 0xd
jl 0x14026f8c0
mov al, 0xb5
xchg byte [0x14051edcd], al
lea rax, [0x14051edc0]
jmp 0x14026f9aa
xor edx, edx
lea rax, [0x14051ed70]
lea rcx, [0x1404349b0]
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, 0x23
jl 0x14026f940
mov eax, dword [0x14051efd4]
mov ecx, esi
xor ecx, 0xd91cf54
add eax, esi
add eax, 0xd0c3569d
mov edx, eax
xor edx, 0x2f3cc490
and eax, 0x2f3cc490
lea eax, [rdx + rax*2]
cdqe
add rax, qword [0x14051eff0]
call qword [case.0x140303ece.0]
lea rax, [0x14051ed70]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret