Function at 0x140102ab0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
test ecx, ecx
je 0x140102b39
test edx, edx
je 0x140102b69
movzx eax, byte [0x1404d5283]
cmp al, 0xf2
je 0x140102c50
lea rsi, [rsp + 0x30]
nop dword [rax]
mov eax, dword [0x1404d5398]
mov ecx, eax
xor ecx, 0xaeb7d8fd
mov edx, eax
not edx
and edx, 0x51482702
or edx, ecx
not edx
lea edx, [rcx + rdx*2]
mov ecx, eax
xor ecx, 0x8a64dafa
and eax, 0xa64dafa
add eax, eax
mov r8d, ecx
xor r8d, eax
and eax, ecx
lea r8d, [r8 + rax*2]
mov rcx, rsi
call fcn.140102de0
cmp byte [rsp + 0x31], 0
jne 0x140102c16
cmp byte [rsp + 0x30], 0xf2
jne 0x140102ae0
jmp 0x140102c50
test edx, edx
je 0x140102bb9
movzx eax, byte [0x1404d529f]
cmp al, 0x96
je 0x140102c9e
mov cl, 0xed
nop
mov al, 0xf9
lock cmpxchg byte [0x1404d529f], cl
je 0x140102c5c
cmp al, 0x96
jne 0x140102b50
jmp 0x140102c9e
movzx eax, byte [0x1404d52a9]
cmp al, 0x88
je 0x140102d1d
mov bl, 0x85
lea rsi, [rsp + 0x2f]
nop
mov al, 0x8d
lock cmpxchg byte [0x1404d52a9], bl
sete dl
mov dword [rsp + 0x20], 0x9789ba99
mov ecx, eax
mov r8, rsi
mov r9d, 0xefc1a92f
call fcn.140102e10
test al, 1
jne 0x140102caa
cmp byte [rsp + 0x2f], 0x88
jne 0x140102b80
jmp 0x140102d1d
movzx eax, byte [0x1404d5270]
cmp al, 0x86
je 0x140102da0
mov sil, 0x39
nop dword [rax + rax]
mov al, 0xd9
lock cmpxchg byte [0x1404d5270], sil
mov ebx, eax
sete dl
mov ecx, eax
mov r8d, 0xbcbece69
mov r9d, 0x5c82a211
call fcn.1400fbe60
test al, 1
jne 0x140102d29
movzx eax, byte [0x1404d539c]
mov ecx, eax
xor cl, 0xb9
and al, 0x39
add al, al
add al, cl
cmp bl, al
jne 0x140102bd0
jmp 0x140102da0
xor eax, eax
lea rcx, [0x1404d5280]
lea rdx, [0x1404011b0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 2
jg 0x140102c48
inc rax
jmp 0x140102c30
mov al, 0xf2
xchg byte [0x1404d5283], al
lea rax, [0x1404d5280]
jmp 0x140102da7
xor edx, edx
lea rax, [0x1404d5290]
lea rcx, [0x1404011c0]
nop dword [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, 0xf
jl 0x140102c70
movzx eax, byte [0x1404d539c]
add al, 0xc9
xchg byte [0x1404d529f], al
lea rax, [0x1404d5290]
jmp 0x140102da7
xor eax, eax
lea rsi, [rsp + 0x40]
lea rbx, [0x1404011d0]
lea r14, [0x1404d52a0]
nop
movsxd rdi, eax
mov rcx, rdi
mov rdx, rsi
mov r8d, 0x11534ba6
mov r9d, 0x7709a35d
call fcn.140102e50
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
xor al, byte [rdi + rbx]
mov byte [rdi + r14], al
mov eax, edi
xor eax, 0x3be76613
and edi, 0x3be76613
lea eax, [rax + rdi*2]
mov ecx, eax
xor ecx, 1
and eax, 1
lea eax, [rcx + rax*2]
add eax, 0xc41899ed
cmp eax, 9
jl 0x140102cc0
movzx eax, byte [0x1404d539c]
add al, 0xbb
xchg byte [0x1404d52a9], al
lea rax, [0x1404d52a0]
jmp 0x140102da7
xor edx, edx
lea rax, [0x1404d5260]
lea rcx, [0x1404011a0]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rax]
movzx r9d, byte [rdx + rcx]
mov r10d, r9d
xor r10b, r9b
not r10b
and r10b, r8b
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
not edx
and edx, 0x7ffffffe
or edx, r8d
not edx
lea edx, [r8 + rdx*2]
cmp edx, 0x10
jl 0x140102d40
movzx eax, byte [0x1404d539c]
mov ecx, eax
xor cl, 0xa1
and al, 0x21
add al, al
add al, cl
add al, 0x18
xchg byte [0x1404d5270], al
lea rax, [0x1404d5260]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret