Function at 0x140149010
Capabilities:
Encode data using xor

Disassembly:
push rsi
test ecx, ecx
je 0x140149080
test edx, edx
je 0x140149093
movzx eax, byte [0x1405264a0]
cmp al, 0x5b
je 0x140149131
movzx ecx, byte [0x1405266e8]
lea eax, [rcx - 0x62]
add cl, 0x17
lock cmpxchg byte [0x1405264a0], cl
jne 0x140149020
xor eax, eax
lea rcx, [0x140526490]
lea rdx, [0x14044f860]
nop
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xf
jg 0x140149129
inc rax
jmp 0x140149050
test edx, edx
je 0x1401490f5
xor eax, eax
test al, al
je 0x140149238
jmp 0x140149245
xor eax, eax
mov cl, 1
nop word [rax + rax]
test al, al
jne 0x1401490c0
movzx edx, byte [0x140526483]
mov r8d, dword [0x14058ed40]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x1401490cd
movzx edx, byte [0x140526483]
test cl, cl
je 0x1401490a0
jmp 0x1401490a4
cmp dl, 0xf3
je 0x14014939b
mov cl, 5
nop dword [rax + rax]
mov al, 0xbb
lock cmpxchg byte [0x140526483], cl
je 0x14014913a
cmp al, 0xf3
jne 0x1401490e0
jmp 0x14014939b
movzx eax, byte [0x14052660c]
cmp al, 0xe7
je 0x14014922f
mov cl, 0xcd
nop word cs:[rax + rax]
mov al, 0x74
lock cmpxchg byte [0x14052660c], cl
je 0x1401491a6
cmp al, 0xe7
jne 0x140149110
jmp 0x14014922f
mov al, 0x5b
xchg byte [0x1405264a0], al
lea rax, [0x140526490]
pop rsi
ret
xor edx, edx
lea rax, [0x140526480]
lea rcx, [0x14044f850]
nop word [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x1405266ec]
add edx, r8d
add edx, 0x8de27085
cmp edx, 3
jl 0x140149150
mov eax, dword [0x14058ed40]
mov eax, 0x8de27098
nop dword [rax]
mov ecx, dword [0x14058ed44]
mov edx, dword [0x1405266ec]
add edx, eax
cmp ecx, edx
jge 0x140149180
mov eax, dword [0x14058ed44]
cmp eax, 0x5f
jge 0x140149380
jmp 0x140149359
xor edx, edx
lea rax, [0x140526600]
lea rcx, [0x14044f9b0]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x1405266ec]
add edx, r8d
add edx, 0x8de27085
cmp edx, 0xc
jl 0x1401491c0
mov eax, 0x8de27084
nop word cs:[rax + rax]
mov ecx, dword [0x14058ed40]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x14014920c
mov ecx, dword [0x14058ed44]
cmp ecx, 0x26
jge 0x1401491f0
mov ecx, dword [0x14058ed40]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x1405266ec]
add ecx, eax
cmp edx, ecx
jne 0x140149201
mov al, 0xe7
xchg byte [0x14052660c], al
lea rax, [0x140526600]
pop rsi
ret
movzx eax, byte [0x1405265b9]
xor ecx, ecx
test cl, cl
je 0x14014924e
movzx eax, byte [0x1405265b9]
jmp 0x140149238
movzx ecx, byte [0x1405266e8]
add cl, 0xa0
cmp al, cl
je 0x140149350
mov cl, 0x96
mov edx, 0x8de27085
lea rax, [fcn.140149010]
lea r8d, [rax + rax]
add r8d, 0x180
xor r9d, r9d
mov r10b, 1
jmp 0x140149298
cmp al, 0xc7
je 0x140149350
mov eax, dword [0x14058ed40]
lea r11d, [rax - 1]
imul r11d, eax
test r11b, 1
jne 0x1401492d0
nop dword [rax]
mov al, 0x2e
lock cmpxchg byte [0x1405265b9], cl
sete r11b
mov esi, dword [0x1405266ec]
add esi, edx
test r8d, esi
je 0x1401492f0
nop dword [rax + rax]
mov al, 0x2e
lock cmpxchg byte [0x1405265b9], cl
cmp dword [0x14058ed48], 0
jne 0x1401492d0
jmp 0x1401492b0
test r11b, r11b
jne 0x140149311
nop word cs:[rax + rax]
test r9b, r9b
jne 0x14014930a
test r9b, r9b
je 0x140149290
test r10b, r10b
je 0x140149300
jmp 0x140149305
xor eax, eax
lea rcx, [0x1405265b0]
lea rdx, [0x14044f960]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 8
jg 0x140149348
inc rax
jmp 0x140149330
mov al, 0xc7
xchg byte [0x1405265b9], al
lea rax, [0x1405265b0]
pop rsi
ret
mov al, 0xf3
xchg byte [0x140526483], al
lea rax, [fcn.140149010]
add eax, eax
add eax, 0x22a0
mov ecx, eax
not ecx
test ecx, eax
je 0x14014939b
nop word [rax + rax]
mov al, 0xf3
xchg byte [0x140526483], al
mov eax, dword [0x14058ed40]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140149380
jmp 0x140149359
lea rax, [0x140526480]
pop rsi
ret