Function at 0x1401bbd90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov dil, 1
test byte [rcx + 0x161], 1
je 0x1401bc641
mov rsi, rcx
mov rbx, qword [rcx + 0x128]
mov ecx, 0xbf715c69
mov edx, 0x9694fb8
mov r8d, 0x70b99e83
call fcn.140190c90
cmp rbx, rax
jbe 0x1401bbdec
mov qword [rsi + 0x128], 0
test byte [rsi + 0x120], 4
mov eax, 0xfffff830
mov ebx, 0xffffe4a8
cmove ebx, eax
mov eax, dword [0x140619808]
mov ecx, eax
xor ecx, 0xe3999733
mov edx, eax
and edx, 0x63999733
lea ecx, [rcx + rdx*2]
lea edx, [rax + 0x2d918a82]
mov r8d, eax
xor r8d, 0x94e1d94d
and eax, 0x14e1d94d
lea r8d, [r8 + rax*2]
call fcn.140190c90
mov rcx, qword [rsi + 0x128]
sub rax, rcx
mov ecx, dword [rsi + 0x134]
add ecx, ecx
neg ecx
mov edx, ecx
xor edx, ebx
and ecx, ebx
lea ecx, [rdx + rcx*2]
neg ecx
cmp rax, rcx
jb 0x1401bc641
mov rcx, qword [0x140694178]
mov eax, dword [0x140693f90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
mov eax, dword [0x140619808]
mov r8d, eax
xor r8d, 0x24283aca
and eax, 0x24283aca
lea eax, [r8 + rax*2]
cmp edx, eax
jne 0x1401bbeb0
mov rax, qword [0x140619430]
mov edx, dword [0x140693f94]
cmp edx, 0x59
jl 0x1401bbee4
nop word cs:[rax + rax]
mov rax, qword [0x140619430]
mov eax, dword [0x140693f94]
cmp eax, 0x2e
jge 0x1401bbeb0
jmp 0x1401bbe92
mov edx, dword [0x140693f90]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
je 0x1401bbefa
mov edx, dword [0x140693f90]
mov r8d, edx
not r8d
imul r8d, edx
test r8b, 1
jne 0x1401bbed0
mov edx, dword [0x140693f94]
cmp edx, 0x4f
jg 0x1401bbed0
movsxd r8, dword [rax]
mov rdx, r8
xor rdx, rax
not r8
xor rax, r8
and rax, r8
or rax, rdx
not rax
mov r8b, 1
mov r9d, dword [0x140693f94]
cmp r9d, 0x27
jl 0x1401bbf37
nop dword [rax]
test r8b, r8b
je 0x1401bbf30
jmp 0x1401bbf20
lea rdi, [rdx + rax*2]
lea rax, [fcn.1401bbd90]
add eax, eax
add eax, 0x960
mov edx, eax
not edx
nop dword [rax]
mov r15d, dword [0x1405340a4]
mov r8d, dword [0x140619808]
mov r9d, 0xdbd7c534
sub r9d, r8d
add r8d, 0x24283acb
and r9d, edx
xor r8d, eax
or r8d, r9d
cmp r8d, 0xffffffff
je 0x1401bbfaf
mov r8d, dword [0x1405340a4]
mov r8d, dword [0x140693f90]
mov r9d, dword [0x140619808]
mov r10d, r9d
not r10d
sub r10d, r8d
imul r10d, r8d
and r10d, 1
add r9d, 0x24283aca
cmp r10d, r9d
jmp 0x1401bbf50
test rcx, rcx
je 0x1401bbfeb
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, dword [0x140619808]
mov r8d, edx
xor r8d, 0x1d427905
and edx, 0x1d427905
lea edx, [r8 + rdx*2]
add edx, 0x6e5c1c6
call qword [0x1405fc400]
mov qword [0x140694178], 0
movaps xmm0, xmmword [0x14052e790]
movups xmmword [0x14068742f], xmm0
movups xmmword [0x14068741f], xmm0
movups xmmword [0x14068740f], xmm0
movups xmmword [0x1406873ff], xmm0
mov rax, qword [0x140693e88]
mov qword [rbp - 8], rax
mov eax, dword [0x140619410]
lea edx, [rax + 1]
mov dword [0x140619410], edx
mov r9d, 0x24283ac9
add r9d, dword [0x140619808]
mov r10d, eax
not r10d
mov r8d, r10d
xor r8d, r9d
not r9d
and r9d, eax
or r8d, r9d
not r8d
mov r11d, r8d
and r11d, r9d
xor r8d, r9d
xor r8d, r11d
mov ebx, 0xfffffffe
sub ebx, eax
and r10d, edx
and eax, ebx
or eax, r10d
not r8d
xor ebx, r8d
not ebx
and ebx, edx
or ebx, r8d
not ebx
or ebx, eax
xor r14d, r14d
xor ebx, 0xffffffff
jne 0x1401bc08a
test r15d, r15d
jg 0x1401bc3b1
mov eax, 0x24283acb
lea rdx, [fcn.1401bbd90]
add edx, edx
add edx, 0x2ca0
nop
mov r8d, dword [0x140619808]
add r8d, eax
mov r9d, edx
xor r9d, r8d
not r9d
test r9d, r8d
jne 0x1401bc0a0
cmp qword [rbp - 8], 0
jne 0x1401bc0eb
mov ecx, 0x700
mov edx, 0xa71f6dc2
mov r8d, 0xf4879cf0
call fcn.1400a8810
mov qword [rbp - 8], rax
mov rcx, rax
call fcn.140094bf0
mov rax, qword [rbp - 8]
mov qword [0x140693e88], rax
mov r15, qword [0x140693e88]
mov rdi, qword [r15 + 0x3b0]
test rdi, rdi
je 0x1401bc10e
mov rcx, rdi
call fcn.140096760
mov rcx, rdi
call fcn.1400a75e0
mov qword [r15 + 0x3b0], 0
movzx eax, byte [0x14061980c]
add al, 0x8c
mov byte [0x140694078], al
cmp qword [0x140693e88], 0
jne 0x1401bc15e
mov ecx, 0x700
mov edx, 0xa71f6dc2
mov r8d, 0xf4879cf0
call fcn.1400a8810
mov qword [rbp - 8], rax
mov rcx, rax
call fcn.140094bf0
mov rax, qword [rbp - 8]
mov qword [0x140693e88], rax
mov rdi, qword [0x140693e88]
lea r15, [rdi + 0x558]
mov rcx, qword [rdi + 0x558]
test rcx, rcx
je 0x1401bc20d
cmp dword [rdi + 0x574], 1
jne 0x1401bc193
mov r8, qword [rdi + 0x560]
xor edx, edx
call fcn.140512320
mov rcx, qword [r15]
test rcx, rcx
je 0x1401bc1ab
mov edx, 0xcd197cc9
mov r8d, 0xf685529d
call fcn.1400a75d0
xorps xmm0, xmm0
mov rax, qword [0x140693e88]
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
movzx ecx, byte [0x14061980c]
mov edx, ecx
xor dl, 0x8c
and cl, 0xc
add cl, cl
add cl, dl
mov byte [rdi + 0x570], cl
test rax, rax
jne 0x1401bc223
mov ecx, 0x700
mov edx, 0xa71f6dc2
mov r8d, 0xf4879cf0
call fcn.1400a8810
mov qword [rbp - 8], rax
mov rcx, rax
call fcn.140094bf0
mov rax, qword [rbp - 8]
mov qword [0x140693e88], rax
jmp 0x1401bc223
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov byte [rdi + 0x570], 1
mov rdi, qword [0x140693e88]
mov r8, qword [rdi + 0x370]
mov rax, qword [rdi + 0x378]
movabs rcx, 0xdd43bf0a6b72d336
xor rcx, rax
movabs rdx, 0x5d43bf0a6b72d336
and rdx, rax
lea rax, [rcx + rdx*2]
sub rax, r8
movabs rcx, 0x22bc40f5948d2cca
add rcx, rax
shr rcx, 5
imul eax, ecx, 0xcccccccd
test eax, eax
jle 0x1401bc2f4
mov r15d, 0x80
mov r12d, 1
cmp dword [r8 + r15 + 8], 0
jne 0x1401bc298
nop dword [rax]
cmp qword [r8 + r15 + 8], 0
je 0x1401bc2be
mov edx, dword [r8 + r15 - 0x5c]
add r8, r15
mov dword [rsp + 0x28], 0xc8c34eee
mov dword [rsp + 0x20], 0x66b6ae07
mov rcx, rdi
mov r9d, 0xa627b83e
call fcn.1400a8290
mov r8, qword [rdi + 0x370]
mov rax, qword [rdi + 0x378]
sub rax, r8
shr rax, 5
imul eax, eax, 0xcccccccd
cdqe
cmp r12, rax
jge 0x1401bc2f4
add r15, 0xa0
inc r12
cmp dword [r8 + r15 + 8], 0
je 0x1401bc290
jmp 0x1401bc298
mov rax, qword [rdi + 0x398]
add rax, qword [0x140693fa0]
sub rax, qword [rdi + 0x390]
shr rax, 2
mov ecx, 0x24283aca
lea rdx, [fcn.1401bbd90]
lea r8d, [rdx + rdx]
add r8d, 0x920
mov r9d, r8d
not r9d
nop word [rax + rax]
xor edx, edx
test ebx, ebx
setne r11b
mov r10d, r14d
sub r10d, dword [0x140534094]
mov r15d, dword [0x140693f90]
lea r12d, [r15 - 1]
imul r12d, r15d
and r12d, 1
mov r15d, dword [0x140619808]
add r15d, ecx
cmp r12d, r15d
je 0x1401bc37d
nop word cs:[rax + rax]
mov edx, dword [0x140534094]
test r9d, r8d
jne 0x1401bc370
jmp 0x1401bc330
mov dl, r11b
lea r9d, [rdx - 1]
mov ecx, r10d
neg ecx
dec r10d
neg edx
xor edx, r10d
mov r8d, ecx
xor r8d, r9d
and ecx, r9d
or ecx, edx
mov edx, ecx
not edx
xor r9d, r9d
test r9b, r9b
jne 0x1401bc680
jmp 0x1401bc654
xor r8d, r8d
lea r9, [fcn.1401bbd90]
lea r10d, [r9 + r9]
add r10d, 0x2be0
mov r11d, r10d
not r11d
mov r12d, 0x24283acc
xor r13d, r13d
jmp 0x1401bc407
mov r14d, r13d
not r14d
mov ecx, r14d
and ecx, eax
xor r13d, eax
xor r14d, r13d
and r14d, r13d
or r14d, ecx
add r8d, 4
mov r13d, r14d
cmp r8d, r15d
jge 0x1401bc08a
movsxd r14, r8d
add r14, rdi
test r11d, r10d
je 0x1401bc458
nop word cs:[rax + rax]
mov eax, dword [r14]
mov ecx, dword [0x140693f90]
lea eax, [rcx - 0x5db4d914]
mov edx, eax
xor edx, 0x51dd64c2
and eax, 0x51dd64c2
lea eax, [rdx + rax*2]
add eax, 0xbd77451
imul eax, ecx
mov ecx, dword [0x140619808]
add ecx, r12d
xor edx, edx
div ecx
test edx, edx
jne 0x1401bc420
mov eax, dword [r14]
mov edx, dword [0x140693f90]
mov r14d, dword [0x140619808]
add r14d, edx
inc r14d
imul r14d, edx
test r14b, 1
jne 0x1401bc4b0
nop dword [rax + rax]
lea ecx, [r9 + r9]
add ecx, 0xdc0
not ecx
mov edx, ecx
and edx, 0xfffffffe
mov r14d, edx
xor r14d, 0xfffffffe
or edx, 1
xor edx, r14d
and r14d, ecx
or r14d, edx
cmp r14d, 0xffffffff
je 0x1401bc3e0
nop
mov ecx, dword [0x140693f90]
lea edx, [rcx + 1]
imul edx, ecx
test dl, 1
jne 0x1401bc4b0
jmp 0x1401bc480
mov rbx, rcx
cmp rcx, rdi
je 0x1401bc755
mov dword [rbx + 0x30], 0
mov dword [rbx + 0x28], 0
mov r8, qword [rbx + 0x58]
test r8, r8
sete al
movzx ecx, byte [0x140693f99]
test cl, al
jne 0x1401bc50e
xor cl, al
jne 0x1401bc50e
mov rcx, qword [rbx + 0x50]
mov dl, 1
call fcn.140512320
mov r8, qword [rbx + 0x98]
test r8, r8
je 0x1401bc528
mov rcx, qword [rbx + 0x90]
mov dl, 1
call fcn.140512320
mov rax, qword [rbx + 0x10]
movzx r8d, byte [rax + 0x19]
movzx r9d, byte [0x140693f98]
mov edx, r8d
not dl
mov ecx, r9d
xor cl, dl
xor dl, r8b
and dl, r9b
and cl, r9b
xor r9b, r8b
xor dl, r8b
or cl, dl
not cl
or cl, r9b
not cl
add cl, cl
neg dl
neg cl
mov r8d, edx
xor r8b, cl
and cl, dl
add cl, cl
add cl, r8b
je 0x1401bc5a0
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x19], 0
jne 0x1401bc4d0
mov rax, rbx
mov rbx, rcx
cmp rax, qword [rcx + 0x10]
je 0x1401bc570
mov rcx, rbx
jmp 0x1401bc4d0
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401bc5a0
jmp 0x1401bc4d0
mov rdx, rcx
nop word cs:[rax + rax]
mov rcx, rdx
cmp rdx, rax
je 0x1401bc62f
mov dword [rcx + 0x20], 0xffffffff
mov r8, qword [rcx + 0x10]
cmp byte [r8 + 0x19], 0
je 0x1401bc620
mov rdx, qword [rcx + 8]
movzx r8d, byte [0x14061980c]
mov r9d, r8d
xor r9b, 0x8b
and r8b, 0xb
add r8b, r8b
add r8b, r9b
cmp byte [rdx + 0x19], r8b
jne 0x1401bc5c0
nop dword [rax]
mov r8, rcx
mov rcx, rdx
cmp r8, qword [rdx + 0x10]
jne 0x1401bc5b1
mov rdx, qword [rcx + 8]
cmp byte [rdx + 0x19], 0
je 0x1401bc600
jmp 0x1401bc5c0
mov rdx, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x1401bc620
jmp 0x1401bc5c0
mov rax, qword [rsi]
mov rax, qword [rax + 0x30]
mov rcx, rsi
call qword [0x1405fc400]
xor edi, edi
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r9d, dword [0x140693f90]
mov r10d, dword [0x140619808]
neg r10d
add r10d, r9d
inc r10d
imul r10d, r9d
test r10b, 1
je 0x1401bc6a0
nop word cs:[rax + rax]
mov r9d, dword [0x140693f90]
mov r10d, r9d
not r10d
add r10d, dword [0x140619808]
imul r10d, r9d
test r10b, 1
jne 0x1401bc680
jmp 0x1401bc654
mov r9d, r8d
not r9d
xor edx, r8d
and r9d, ecx
or r9d, edx
not r9d
or r9d, edx
not r9d
mov ecx, dword [0x140693f94]
cmp ecx, 0x10
test r9d, r9d
setne cl
or cl, byte [0x140693d04]
and cl, 1
mov byte [0x140693d04], cl
test eax, eax
jle 0x1401bc735
xor ebx, ebx
movabs r14, 0x9637a8128bc89887
nop word cs:[rax + rax]
mov dword [rsp + 0x28], 0xc8c34eee
mov dword [rsp + 0x20], 0x66b6ae07
mov rcx, rdi
mov edx, ebx
xor r8d, r8d
mov r9d, 0xa627b83e
call fcn.1400a8290
mov rax, qword [rdi + 0x398]
sub rax, qword [rdi + 0x390]
add rax, qword [0x140619810]
inc ebx
add rax, r14
shr rax, 2
cmp ebx, eax
jl 0x1401bc6f0
mov rax, qword [0x140693db0]
test rax, rax
je 0x1401bc62f
mov rdi, qword [rax + 0x20]
mov rbx, qword [rdi]
cmp rbx, rdi
jne 0x1401bc4dc
mov rax, qword [0x140693db0]
mov rax, qword [rax + 0x30]
mov rcx, qword [rax]
cmp rcx, rax
jne 0x1401bc5c8
jmp 0x1401bc62f