Function at 0x140150410
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp - 0x28], r9
mov qword [rbp + 0x78], rdx
mov r14, rcx
mov qword [rbp + 0xb0], 0xf
lea rax, [0x1403fe9c8]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa8], 0
mov byte [rbp + 0x98], 0
test r8, r8
je 0x140150487
lea rcx, [rbp + 0x90]
mov rdx, r8
call fcn.1402426e0
xorps xmm6, xmm6
mov sil, 1
lea r15, [fcn.140150410]
mov edi, 0xdc615bd1
mov qword [rbp - 0x30], r14
jmp 0x1401504b8
mov rcx, r9
mov rdx, r8
call fcn.1400a6550
lea rcx, [rbp - 0x20]
call fcn.14014f960
mov r14, qword [rbp - 0x30]
mov r8, qword [rbp + 0x78]
lea rax, [0x140403600]
cmp r8, 0x7fffffff
ja 0x140150d74
mov qword [rbp - 0x20], rax
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
lea rcx, [0x1403fe9c8]
mov qword [rbp - 8], rcx
mov qword [rbp + 0x38], 0
mov rax, qword [0x1404de1f0]
movabs rdx, 0x6199ef2799d16c39
add rax, rdx
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x28], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], r8
mov rax, qword [r14 + 0x70]
mov rcx, qword [rax + 8]
movzx edx, byte [rcx + 0x19]
mov r13, rax
add dl, byte [0x140531871]
jne 0x140150569
mov r13, rax
nop word cs:[rax + rax]
lea rdx, [rcx + 0x10]
cmp qword [rcx + 0x28], r8
cmovae r13, rcx
cmovae rdx, rcx
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
je 0x140150550
movzx ecx, byte [r13 + 0x19]
movzx edx, byte [0x1404de1f8]
add dl, 0xb1
mov rbx, qword [0x1404dddd8]
nop
mov r8d, dword [0x140531868]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x14015059d
mov r8d, dword [rbx]
test sil, sil
je 0x140150580
movsxd r12, dword [rbx]
mov r8d, dword [0x140403388]
mov dword [rbp + 0x8c], r8d
cmp cl, dl
mov rcx, qword [rbp + 0x78]
jne 0x140150e37
cmp rcx, qword [r13 + 0x28]
jb 0x140150e37
cmp r13, rax
je 0x140150e37
mov rax, qword [r13 + 0x30]
cmp rax, qword [r13 + 0x28]
je 0x140150e37
lea rcx, [rbp + 0x50]
movups xmmword [rcx + 0x10], xmm6
cmp qword [rbp + 0xb0], 0x10
lea rcx, [rbp + 0x98]
jb 0x1401505fb
mov rcx, qword [rbp + 0x98]
mov r14, qword [rbp + 0xa8]
cmp r14, 0xf
mov qword [rbp + 0x78], rax
ja 0x140150620
movups xmm0, xmmword [rcx]
lea rax, [rbp + 0x50]
movups xmmword [rax], xmm0
mov esi, 0xf
jmp 0x1401506a0
mov qword [rbp + 0x80], rcx
mov rsi, r14
or rsi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
cmovae rsi, rax
cmp rsi, 0xfff
jb 0x140150680
lea rcx, [rsi + 0x28]
call fcn.1403bba7c
mov rcx, rax
mov rdx, rax
add rdx, 0x27
mov rax, qword [0x1404de1f0]
movabs r8, 0x6199ef2799d16c29
add rax, r8
xor rax, rdx
not rax
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140150689
lea rcx, [rsi + 1]
call fcn.1403bba7c
mov rdx, qword [rbp + 0x80]
mov qword [rbp + 0x50], rax
lea r8, [r14 + 1]
mov rcx, rax
call fcn.1403e3a10
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], rsi
lea rax, [0x1403fe9c8]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0xb0], 0x10
lea rax, [rbp + 0x98]
jb 0x1401506cb
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xa8], 0
mov byte [rax], 0
mov r8, qword [r13 + 0x50]
cmp qword [r13 + 0x58], 0x10
jb 0x1401506f0
mov r13, qword [r13 + 0x40]
jmp 0x1401506f4
add r13, 0x40
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140150730
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x98]
mov rdx, r8
mov r9, r13
call fcn.1400885a0
jmp 0x140150797
mov rdx, rcx
xor rdx, r8
mov r9, rcx
and r9, r8
lea rsi, [rdx + r9*2]
mov qword [rbp + 0xa8], rsi
mov rdx, qword [0x1404de1f0]
movabs r9, 0x6199ef2799d16c39
add rdx, r9
lea r14, [rbp + 0x98]
cmp rax, rdx
jbe 0x14015076e
mov r14, qword [rbp + 0x98]
add rcx, r14
mov rdx, r13
call fcn.1403e3a10
movzx eax, byte [0x1404de1f8]
mov ecx, eax
xor cl, 0xb1
and al, 0x31
add al, al
mov edx, ecx
xor dl, al
and al, cl
add al, al
add al, dl
mov byte [r14 + rsi], al
mov qword [rbp - 0x38], 0xf
mov rax, qword [0x1404de1f0]
movabs rcx, 0x6199ef2799d16c2b
add rax, rcx
mov qword [rbp - 0x40], rax
mov word [rbp - 0x50], 0x5c
lea rax, [0x1403fe9c8]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xb0]
cmp rdx, rax
jne 0x140150800
mov qword [rsp + 0x20], 1
mov edx, 1
lea rcx, [rbp + 0x98]
lea r9, [rbp - 0x50]
call fcn.1400885a0
jmp 0x140150831
lea rcx, [rax + 1]
mov qword [rbp + 0xa8], rcx
lea rcx, [rbp + 0x98]
cmp rdx, 0x10
jb 0x14015081f
mov rcx, qword [rbp + 0x98]
movzx edx, byte [rbp - 0x50]
add dl, byte [0x140531870]
mov byte [rcx + rax], dl
mov byte [rcx + rax + 1], 0
add r12, rbx
mov r8, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
mov eax, dword [0x140531868]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
mov eax, dword [0x1404de1e8]
mov r9d, eax
xor r9d, 0xdc615bd0
and eax, 0x5c615bd0
lea eax, [r9 + rax*2]
cmp edx, eax
jne 0x1401508a0
nop dword [rax + rax]
mov eax, dword [0x1404dddd0]
mov edx, dword [0x1404de1e8]
mov r9d, dword [0x140531868]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
je 0x1401508c0
nop word cs:[rax + rax]
mov eax, dword [0x140531868]
lea edx, [rax + 1]
imul edx, eax
test dl, 1
jne 0x1401508a0
jmp 0x140150870
mov r9d, eax
xor r9d, 0xda39fcd2
mov r10d, eax
and r10d, 0x5a39fcd2
lea r14d, [r9 + r10*2]
mov r9d, edx
xor r9d, 0xb69b58a2
and edx, 0x369b58a2
lea edx, [r9 + rdx*2]
sub r14d, edx
inc r14d
mov dword [0x1404dddd0], r14d
and r14d, eax
mov edx, dword [0x1404de1e8]
mov eax, 0xdc615bd0
add edx, eax
mov dword [rbp + 0x80], edx
cmp r14d, edx
je 0x140150920
xor r13d, r13d
jmp 0x140150995
mov edx, dword [0x140531868]
lea eax, [rdx - 1]
imul eax, edx
mov edx, dword [0x1404de1e8]
mov r9d, edx
xor r9d, 0xdc615bd2
and edx, 0x5c615bd2
lea r9d, [r9 + rdx*2]
xor edx, edx
div r9d
test edx, edx
je 0x140150980
nop
lea eax, [r15 + r15]
add eax, 0x17e0
mov edx, dword [0x1404de1e8]
add edx, edi
xor eax, edx
not eax
mov dword [0x140531868], edx
test eax, edx
jne 0x140150950
jmp 0x140150920
xor eax, eax
mov r13d, 0
cmp dword [rbp + 0x8c], 0
jg 0x140150ca0
lea r9, [rbp + 0x50]
cmp rcx, 0x10
jb 0x1401509a3
mov r9, qword [rbp + 0x50]
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x1401509e0
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x98]
mov rdx, r8
call fcn.1400885a0
mov sil, 1
jmp 0x140150a22
lea rsi, [rcx + r8]
mov qword [rbp + 0xa8], rsi
lea rbx, [rbp + 0x98]
cmp rax, 0x10
jb 0x1401509ff
mov rbx, qword [rbp + 0x98]
add rcx, rbx
mov rdx, r9
call fcn.1403e3a10
movzx eax, byte [0x1404de1f8]
mov ecx, eax
xor cl, 0xb1
and al, 0x31
add al, al
add al, cl
mov byte [rbx + rsi], al
mov sil, 1
mov r8, qword [rbp - 0x38]
cmp r8, 0x10
jb 0x140150af6
mov rcx, qword [rbp - 0x50]
lea rdx, [r8 + 1]
cmp rdx, 0x1000
jb 0x140150af1
mov rax, qword [rcx - 8]
mov rdx, qword [0x1404de1f0]
mov r9, rdx
sub r9, rcx
movabs rcx, 0xd52b4f4a288d65a1
add r9, rcx
mov rcx, r9
xor rcx, 8
and r9d, 8
lea rcx, [rcx + r9*2]
add rcx, rax
movabs r9, 0x739160228ebbf977
sub r9, rcx
movabs rcx, 0x6199ef2799d16c4a
add rdx, rcx
cmp r9, rdx
jae 0x140150f33
movabs rcx, 0x17ac0d2873dd5e8f
add r8, rcx
mov rcx, r8
movabs rdx, 0xf4d066704e5932bf
xor rcx, rdx
movabs rdx, 0x74d066704e5932bf
and r8, rdx
lea rcx, [rcx + r8*2]
neg rcx
mov rdx, rcx
xor rdx, 0xffffffffffffffd8
movabs r8, 0x7fffffffffffffd8
and rcx, r8
lea rcx, [rdx + rcx*2]
movabs rdx, 0xf3838c673dc96eb2
sub rdx, rcx
mov rcx, rax
call fcn.1400a6550
mov rax, qword [rbp + 0x68]
cmp rax, 0x10
jb 0x1401504ab
mov rcx, qword [rbp + 0x50]
mov rdx, rax
xor rdx, 1
mov r8, rax
not r8
movabs r9, 0x7ffffffffffffffe
and r8, r9
or r8, rdx
not r8
lea r8, [rdx + r8*2]
cmp r8, 0x1000
jb 0x1401504a3
mov r9, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r9
cmp rcx, 0x20
jae 0x140150f38
mov ecx, eax
not ecx
and ecx, 0x28
mov rdx, rax
and rdx, 0xffffffffffffffd7
or rdx, rcx
and eax, 0x28
lea r8, [rdx + rax*2]
xor eax, eax
cmp r14d, dword [rbp + 0x80]
setne al
lea ecx, [rax - 1]
sub r13w, word [0x140403390]
mov edx, r13d
neg edx
and edx, ecx
neg eax
dec r13d
and eax, r13d
or eax, edx
xor r13d, eax
and r13d, eax
mov ecx, r13d
shr ecx, 8
mov eax, dword [0x14053186c]
mov r11d, 0xdc615bd2
nop word cs:[rax + rax]
mov edx, dword [0x140531868]
lea eax, [rdx - 1]
imul eax, edx
mov r10d, dword [0x1404de1e8]
add r10d, r11d
xor edx, edx
div r10d
test edx, edx
jne 0x140150bb0
mov eax, ecx
not al
mov edx, r13d
not dl
mov r10d, edx
xor r10b, al
and r10b, dl
or r10b, al
not r10b
xor cl, r13b
or cl, r10b
mov eax, dword [0x140531868]
lea edx, [rax + 1]
imul edx, eax
and edx, 1
mov eax, dword [0x1404de1e8]
mov r10d, 0xdc615bd0
add eax, r10d
cmp edx, eax
movzx r10d, byte [0x140531870]
add r10b, cl
mov eax, dword [0x14053186c]
cmp eax, 0x54
jg 0x140150c0d
nop word cs:[rax + rax]
mov eax, dword [0x14053186c]
cmp eax, 0x39
jg 0x140150c7e
mov byte [0x140531870], r10b
mov ecx, dword [0x140531868]
mov r11d, dword [0x1404de1e8]
mov eax, r11d
xor eax, 0xdc615bd1
mov edx, r11d
and edx, 0x5c615bd1
lea edx, [rax + rdx*2]
mov eax, ecx
sub eax, edx
imul eax, ecx
add r11d, 0xdc615bd2
xor edx, edx
div r11d
test edx, edx
je 0x1401504a0
mov byte [0x140531870], r10b
mov eax, dword [0x140531868]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140150c30
jmp 0x140150c3b
xor edx, edx
jmp 0x140150cfd
movzx r10d, word [0x1404de1fc]
mov r11d, r10d
xor r11d, 0x47
and r10d, 0x47
lea r10d, [r11 + r10*2]
xor r10d, r9d
mov r11d, r9d
xor r11d, edx
and r11d, r9d
mov r13d, r10d
not r13d
xor r10d, r13d
and r10d, edx
xor r10d, r13d
xor r13d, r10d
and r13d, r10d
or r13d, r11d
add eax, 2
mov edx, r13d
cmp eax, dword [rbp + 0x8c]
jge 0x140150995
mov r9d, dword [0x14053186c]
movsxd r10, eax
cmp r9d, 0x27
jg 0x140150d60
nop dword [rax]
movzx r9d, word [r12 + r10]
mov r11d, dword [0x1404de1e8]
mov esi, r11d
xor esi, 0x30668c80
and r11d, 0x30668c80
lea r11d, [rsi + r11*2]
add r11d, 0xabfacf51
lea esi, [r15 + r15]
add esi, 0x3180
mov ebx, esi
xor ebx, r11d
not r11d
not esi
and esi, r11d
or esi, ebx
cmp esi, 0xffffffff
je 0x140150cb0
nop dword [rax]
movzx r9d, word [r12 + r10]
mov r9d, dword [0x14053186c]
cmp r9d, 0x25
jge 0x140150d60
jmp 0x140150d10
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 8]
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
lea rax, [0x1403fe9c8]
mov qword [rbp - 8], rax
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], r8
lea rdx, [rbp + 0x90]
call fcn.140243cb0
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140150ddd
lea rcx, [rbp + 0x20]
call fcn.1402426e0
movabs rax, 0x222222222222222
cmp qword [r14 + 0x58], rax
je 0x140150f3d
mov rax, qword [r14 + 0x50]
mov rsi, qword [rax]
mov qword [rbp + 0x70], 0
mov ecx, 0x78
call fcn.1403bba7c
mov rdi, rax
mov rcx, rax
add rcx, 0x10
mov qword [rbp + 0x70], rax
lea rdx, [rbp - 0x20]
call fcn.140155450
inc qword [r14 + 0x58]
mov rax, qword [rsi + 8]
mov qword [rdi], rsi
mov qword [rdi + 8], rax
mov qword [rsi + 8], rdi
mov qword [rax], rdi
lea rcx, [rbp - 0x20]
call fcn.14014f960
mov rax, qword [rbp + 0xb0]
cmp rax, 0x10
jb 0x140150f18
mov rcx, qword [rbp + 0x98]
lea rdx, [rax + 1]
movabs r8, 0x6199ef2799d17c29
add r8, qword [0x1404de1f0]
cmp rdx, r8
jbe 0x140150f13
mov r8, qword [rcx - 8]
mov rdx, qword [0x1404de1f0]
movabs r9, 0x6199ef2799d16c22
lea r10, [rdx + r9]
xor r10, rcx
mov r11, rdx
xor r11, r9
and rdx, r9
lea rdx, [r11 + rdx*2]
mov r9, rcx
not r9
xor rcx, rdx
not rdx
and rdx, r9
xor rdx, rcx
not rdx
lea rcx, [r10 + rdx*2]
movabs rdx, 0x80501de91f745a15
add rdx, rcx
movabs rcx, 0x7fafe216e08ba5eb
mov r9, rdx
xor r9, rcx
and rdx, rcx
lea rcx, [r9 + rdx*2]
movabs rdx, 0xe5d16aeebb0d97db
sub rdx, r8
movabs r9, 0x1a2e951144f26825
mov r10, rdx
xor r10, r9
and rdx, r9
lea rdx, [r10 + rdx*2]
add rdx, rcx
cmp rdx, 0x20
jae 0x140150f57
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400a6550
movaps xmm6, xmmword [rbp + 0xc0]
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14039c09c
call fcn.14039c09c
xor ecx, ecx
mov edx, 1
mov r8d, 0x871a6e05
call fcn.140157150
mov rcx, rax
call fcn.1403bd734
call fcn.14039c09c
int3