Function at 0x1401ba590
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov r14, rcx
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x50], rax
lea rax, [0x14042d740]
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
lea rdi, [0x140426b18]
mov qword [rbp - 0x28], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], 0
mov byte [rbp + 0x20], 1
mov dword [rbp + 0x24], 1
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], 0
lea rax, [0x1404289c8]
mov qword [rbp], rax
mov byte [rbp - 0x40], 0
mov rax, qword [r14]
mov rax, qword [rax]
mov qword [rbp - 0x38], rax
mov rax, qword [r14 + 8]
mov edx, dword [0x140564658]
add edx, dword [rax]
mov dword [rbp - 0x30], edx
mov rax, qword [r14 + 0x10]
mov eax, dword [rax]
mov dword [rbp - 0x2c], eax
mov rdx, qword [r14 + 0x18]
call fcn.1402470b0
mov rax, qword [0x1405640b0]
mov r15, qword [0x140512080]
movsxd rdx, dword [r15]
xor r15, rdx
mov rcx, r15
not rcx
and rcx, rdx
add rcx, rcx
nop dword [rax]
mov edx, dword [0x140564654]
cmp edx, 0x29
jg 0x1401ba68f
mov edx, dword [0x140564650]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
je 0x1401ba6a5
mov edx, dword [0x140564650]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x1401ba670
jmp 0x1401ba67b
add r15, rcx
mov ecx, dword [0x140564654]
cmp ecx, 0x34
jg 0x1401ba6c5
mov esi, dword [0x14042d608]
cmp dword [0x1405125a8], 0x3f724517
je 0x1401ba6dc
mov cl, 1
nop word [rax + rax]
mov edx, dword [0x14042d608]
test cl, cl
je 0x1401ba6d0
jmp 0x1401ba6b3
test rax, rax
jne 0x1401ba750
mov ecx, 0xe8
call fcn.1403e3fbc
lea rcx, [0x140426ab8]
mov qword [rax], rcx
mov qword [rax + 0x28], 0
mov rcx, qword [0x1405125a0]
movabs rdx, 0xb27cf1b75b6c43ee
xor rdx, rcx
movabs r8, 0x327cf1b75b6c43ee
and r8, rcx
lea rcx, [rdx + r8*2]
movabs rdx, 0xf11fe0df74c04da7
add rdx, rcx
mov qword [rax + 0x30], rdx
mov byte [rax + 0x18], 0
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x38], xmm0
mov qword [0x1405640b0], rax
mov rax, qword [0x1405640b0]
mov rbx, qword [rax + 0x38]
mov rax, qword [r14]
mov rax, qword [rax]
mov ecx, 0xc08dbae9
add ecx, dword [0x1405125a8]
lea rdx, [fcn.1401ba590]
add edx, edx
add edx, 0x3d80
mov r8d, edx
not r8d
and r8d, edx
cmp r8d, ecx
jne 0x1401ba7b0
mov edx, dword [0x140512070]
xor ecx, ecx
sub ecx, dword [0x1405125a8]
mov r8d, dword [0x140564654]
cmp r8d, 0x34
jl 0x1401ba7d6
nop word cs:[rax + rax]
mov ecx, dword [0x140564654]
mov edx, dword [0x1405125a8]
mov r8d, edx
xor r8d, 0xc08dbb3c
and edx, 0x408dbb3c
lea edx, [r8 + rdx*2]
cmp ecx, edx
jge 0x1401ba7b0
jmp 0x1401ba789
mov r8d, ecx
xor r8d, 0x3f724516
and ecx, 0x3f724516
lea r8d, [r8 + rcx*2]
mov ecx, 0x49e0dc99
mov r9d, 0x49e0dc99
sub r9d, edx
mov r10d, r9d
xor r10d, r8d
and r9d, r8d
lea r12d, [r10 + r9*2]
sub ecx, r12d
mov dword [0x140512070], ecx
mov r8d, edx
not r8d
add r12d, 0xb61f2366
and r12d, r8d
xor ecx, edx
mov edx, dword [0x140564650]
mov r8d, dword [0x1405125a8]
mov r9d, edx
sub r9d, r8d
add r9d, 0xa77e0894
imul r9d, edx
and r9d, 1
add r8d, 0xc08dbae9
cmp r9d, r8d
jne 0x1401ba860
mov edx, dword [0x140564654]
cmp edx, 0x4d
jl 0x1401ba86d
nop dword [rax]
mov edx, dword [0x140564654]
cmp edx, 0x3e
jge 0x1401ba860
jmp 0x1401ba84e
or r12d, ecx
not r12d
xor r13d, r13d
mov edi, 0
test r12d, r12d
jne 0x1401ba8ea
mov ecx, dword [0x140564650]
lea rcx, [fcn.1401ba590]
lea edx, [rcx + rcx]
add edx, 0x4ce0
mov r8d, edx
not r8d
nop dword [rax]
mov ecx, dword [0x1405125a8]
lea r9d, [rcx - 0x3f724516]
mov r10d, edx
xor r10d, r9d
not r9d
and r9d, r8d
or r9d, r10d
cmp r9d, 0xffffffff
jne 0x1401ba8a0
mov edx, ecx
xor edx, 0xc08dbae9
not ecx
and ecx, 0x3f724516
or ecx, edx
not ecx
lea ecx, [rdx + rcx*2]
xor edx, edx
mov r13d, 0
mov edi, 0
cmp ecx, esi
jl 0x1401ba8fd
mov ecx, dword [0x140564650]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x1401ba970
jmp 0x1401ba967
mov ecx, 0xc08dbaf9
xor r13d, r13d
xor edi, edi
jmp 0x1401ba930
movsxd rdx, edx
xor r13, qword [r15 + rdx]
xor rdi, qword [r15 + rdx + 8]
mov r8d, dword [0x1405125a8]
add r8d, ecx
xor r8d, edx
and edx, 0x10
lea edx, [r8 + rdx*2]
cmp edx, esi
jge 0x1401ba8ea
nop dword [rax]
mov r8d, dword [0x140564654]
cmp r8d, 0x29
jg 0x1401ba930
mov r8d, dword [0x140564650]
lea r9d, [r8 - 1]
nop dword [rax + rax]
imul r9d, r8d
test r9b, 1
je 0x1401ba909
mov r8d, dword [0x140564650]
lea r9d, [r8 + 1]
jmp 0x1401ba950
mov cl, 1
test cl, cl
jne 0x1401ba97d
nop dword [rax]
mov ecx, dword [0x140564654]
cmp ecx, 0x32
jge 0x1401ba970
jmp 0x1401ba967
mov esi, dword [rax]
mov r14d, dword [rax + 4]
lea r15, [rbp + 8]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1401ba9c9
cmp dword [rbp + 0x24], 1
jne 0x1401ba9a1
mov r8, qword [rbp + 0x10]
xor edx, edx
call fcn.14040c5e0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1401ba9c9
mov eax, 0xffffbbe0
add eax, dword [0x14051222c]
cdqe
add rax, qword [0x140512240]
mov edx, 0x8ecc418a
call qword [0x1404ee420]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
movzx eax, byte [0x1405125ac]
add al, 0xa7
mov byte [rbp + 0x20], al
test r14d, r14d
je 0x1401baa28
mov rcx, r14
call fcn.1403e3fb4
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x10], r14
test rbx, rbx
je 0x1401baa15
add rbx, rsi
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.14040bf30
jmp 0x1401baa28
cmp dword [rbp + 0x24], 1
jne 0x1401baa28
mov rcx, rax
xor edx, edx
mov r8, r14
call fcn.14040c5e0
mov rsi, qword [rbp + 0x28]
jmp 0x1401baa34
add rsi, 8
cmp rsi, qword [rbp + 0x30]
je 0x1401baa56
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401baa30
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov edx, 1
call qword [0x1404ee420]
jmp 0x1401baa30
mov rcx, qword [rbp - 0x50]
add rcx, 0x20
lea rdx, [rbp - 0x60]
lea r8, [rbp - 0x48]
call fcn.1401b9790
lea rax, [0x14042d740]
mov qword [rbp - 0x48], rax
mov eax, dword [0x140512224]
mov ecx, dword [0x1405125a8]
mov edx, ecx
xor edx, 0xc08dbae9
not ecx
and ecx, 0x3f724516
or ecx, edx
not ecx
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0xffffbbe0
cdqe
add rax, qword [0x140512238]
lea rcx, [rbp]
call qword [0x1404ee420]
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
setb al
setae cl
movzx r8d, byte [0x14056465c]
and al, r8b
xor r8b, cl
xor r8b, 1
and cl, r8b
or r8b, al
xor r8b, 1
or r8b, al
mov eax, ecx
and al, r8b
xor r8b, cl
and r8b, 1
cmp al, r8b
je 0x1401baba5
mov rcx, qword [rbp - 0x20]
lea rax, [rdx + 1]
cmp rax, 0x1000
jb 0x1401bab77
mov rax, qword [rcx - 8]
mov r8, rcx
xor r8, 0xfffffffffffffff8
lea r9, [rcx + rcx]
and r9, 0xfffffffffffffff0
xor rcx, r8
and rcx, r9
xor rcx, r8
and r9, r8
add r9, r9
mov r8, rcx
xor r8, r9
and r9, rcx
lea rcx, [r8 + r9*2]
sub rcx, rax
movabs r8, 0xa39cd296d02c91a6
add r8, qword [0x1405125a0]
cmp rcx, r8
jae 0x1401bab7c
add rdx, 0x28
mov ecx, dword [0x140564650]
mov r8d, dword [0x1405125a8]
neg r8d
add r8d, ecx
add r8d, 0x3f724516
imul r8d, ecx
test r8b, 1
jne 0x1401babdc
jmp 0x1401babba
mov rdx, rax
jmp 0x1401bab81
call fcn.1403c3cac
mov eax, dword [0x140512220]
mov r8d, dword [0x1405125a8]
add eax, r8d
add eax, 0xc08d76c9
cdqe
add rax, qword [0x140512230]
call qword [0x1404ee420]
nop
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r9, qword [0x14042d600]
mov r8, qword [0x14042d5f8]
mov ecx, dword [0x140564650]
lea r10d, [rcx - 1]
imul r10d, ecx
test r10b, 1
je 0x1401babec
mov rcx, qword [0x14042d600]
mov rcx, qword [0x14042d5f8]
jmp 0x1401babba
xor ecx, ecx
test cl, cl
je 0x1401bac0b
nop word cs:[rax + rax]
mov ecx, dword [0x140564654]
cmp ecx, 0x46
jge 0x1401bac00
xor ecx, ecx
test r12d, r12d
setne cl
xor r11d, r11d
neg rcx
mov r10d, 0
sbb r10, r10
not rcx
not r10
nop dword [rax + rax]
test r11b, r11b
jne 0x1401bac3a
test r11b, r11b
je 0x1401bac47
mov esi, dword [0x140564654]
cmp esi, 0x14
jge 0x1401bac30
jmp 0x1401bac35
xor r11d, r11d
neg r13
sbb r11, rdi
mov rsi, r9
xor rsi, r11
mov rdi, r8
xor rdi, r13
and r11, r9
and r13, r8
shld r11, r13, 1
add r13, r13
add r13, rdi
adc r11, rsi
not rcx
not r10
not r11
mov r9, r11
xor r9, r10
not r13
mov r8, r13
xor r8, rcx
and r9, r11
and r8, r13
or r9, r10
or r8, rcx
mov rcx, r9
xor rcx, r8
or r8, r9
not r8
or r8, rcx
mov ecx, dword [0x140564650]
mov rcx, r8
shr rcx, 0x20
mov r9d, dword [0x140564650]
mov r10d, dword [0x1405125a8]
add r10d, r9d
add r10d, 0x3f724516
imul r10d, r9d
test r10b, 1
jne 0x1401bacb0
mov r9d, ecx
xor r9d, r8d
not r9d
and r9d, r8d
mov r10b, 1
nop word cs:[rax + rax]
mov r11d, dword [0x140564650]
lea esi, [r11 - 1]
imul esi, r11d
test sil, 1
je 0x1401bad0a
test r10b, r10b
jmp 0x1401bacf0
mov r10d, ecx
xor r10d, ecx
not r10d
and r10d, r8d
xor r10d, ecx
or r9d, r10d
add dword [0x140564658], r9d
mov rcx, rax
jmp 0x1401bab81