Function at 0x1400a2360
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x28], rcx
mov eax, 0x10
call fcn.1402a7dd0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x30], rax
mov rax, qword [0x1402c6150]
mov ecx, dword [rax]
sub rsp, 0x20
call fcn.14000eaf8
mov rcx, qword [rbp - 0x28]
add rsp, 0x20
mov qword [rbp - 0x18], rax
add rax, 0x60
mov qword [rbp - 0x20], rax
movabs rdx, 0x1f76728f0ffea7fc
movabs rax, 0x1f76728f0ffea7ff
xor rdx, rax
sub rsp, 0x20
call fcn.140094700
mov rax, qword [rbp - 0x18]
add rsp, 0x20
cmp byte [rax + 0x60], 0
jne 0x1400a25b8
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
sub rsp, 0x20
call fcn.14009eda0
mov rax, qword [rbp - 0x20]
add rsp, 0x20
mov al, byte [rax]
mov cl, 0xac
xor cl, 0xac
cmp al, cl
jne 0x1400a25b8
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax + 8]
mov qword [rbp - 0x10], rdx
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
sub rsp, 0x20
call fcn.1400a1250
mov rax, qword [rbp - 0x20]
add rsp, 0x20
mov al, byte [rax]
mov cl, 0x89
xor cl, 0x89
cmp al, cl
jne 0x1400a25b8
mov ecx, dword [0x1402ac3b8]
mov edx, dword [0x1402ac3bc]
xor edx, 0xfe4910d6
mov eax, ecx
and eax, edx
shl eax, 1
xor ecx, edx
add ecx, eax
mov eax, ecx
xor eax, 0xffffffff
xor ecx, 0xffffffff
or eax, ecx
mov ecx, 0x9ff1652a
xor ecx, 0xbca2596d
mov edx, 0xc64e6e2c
xor edx, 0x39b191d3
xor ecx, edx
mov edx, 0xffffffff
xor edx, 0x23533c47
or ecx, edx
xor eax, 0xffffffff
mov edx, 0xd807d916
xor edx, 0x27f826e9
xor ecx, edx
or eax, ecx
mov ecx, 0x3bd08fc8
xor ecx, 0x7da527cb
or eax, ecx
mov ecx, eax
xor ecx, 0xedaada45
mov edx, 0xffffffff
xor edx, 0xedaada45
and eax, edx
shl eax, 1
sub eax, ecx
cmp eax, 0x2576e0b3
jbe 0x1400a26d7
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x38]
mov r8d, dword [0x1402ac3c0]
mov r9d, 0x3500f2ef
xor r9d, 0xd7de4f16
xor r8d, r9d
or r8d, dword [0x1402ac3c4]
mov r9d, r8d
xor r9d, 0xffffffff
mov r10d, 0xffffffff
xor r10d, 0x96288109
and r9d, r10d
or r8d, 0x96288109
xor r8d, 0xffffffff
mov r10d, 0x13c15ba6
xor r10d, 0xec3ea459
xor r9d, r10d
xor r8d, 0xffffffff
and r9d, r8d
mov r8d, 0xcf2c764
xor r8d, 0xf30d389b
mov r10d, r9d
xor r10d, r8d
mov r8d, 0xd346aaab
xor r8d, 0x7faef92b
and r8d, r10d
mov r10d, 0x1ea04b09
xor r10d, 0xb2481889
mov r11d, 0x8a37b4da
xor r11d, 0x75c84b25
xor r10d, r11d
and r9d, r10d
or r8d, r9d
sub r8d, 0x26da6574
mov dword [rbp - 0x3c], r8d
mov r8, qword [rax + 0x18]
mov qword [rdx], r8
mov rax, qword [rax + 0x20]
mov qword [rdx + 8], rax
sub rsp, 0x20
call fcn.1400a20d0
mov eax, dword [rbp - 0x3c]
add rsp, 0x20
cmp eax, 0x33c61bac
je 0x1400a26d7
jmp 0x1400a25b8
mov eax, dword [0x1402ac3c8]
xor eax, 0x6d39e6b7
mov r8d, dword [0x1402ac3cc]
xor r8d, 0x7476ec68
mov edx, 0x1f7aa91c
xor edx, 0xe08556e3
mov ecx, eax
xor ecx, edx
mov edx, r8d
and edx, ecx
mov r9d, r8d
xor r9d, 0xffffffff
mov ecx, eax
and ecx, r9d
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
xor ecx, ecx
sub ecx, 0x5e8e043a
add eax, ecx
mov ecx, 0xfd6e7116
xor ecx, 0x8e09cf37
xor edx, edx
div ecx
mov r8d, 0xffffffff
xor r8d, 0xc927e06d
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0xc927e06d
or eax, 0xc927e06d
imul eax, edx
add eax, ecx
cmp eax, 0x5f9ea7a5
je 0x1400a26e0
mov eax, dword [0x1402ac3d0]
mov ecx, 0x8805b493
xor ecx, 0xb37e0351
xor eax, ecx
mov edx, dword [0x1402ac3d4]
mov ecx, 0x1d9b7d58
xor ecx, 0x1d9b7d58
sub ecx, eax
xor eax, eax
sub eax, edx
add ecx, eax
mov eax, 0x358a231d
xor eax, 0x358a231d
sub eax, ecx
xor eax, 0xd5a51fd5
imul eax, eax, 0x950454b
mov edx, 0x64e565ec
xor edx, 0xa38080dc
mov ecx, 0xf7451b8f
xor ecx, 0x8bae470
xor edx, ecx
mov ecx, eax
and ecx, edx
mov edx, eax
xor edx, 0xc765e530
add eax, edx
sub eax, ecx
mov ecx, 0x53957449
xor ecx, 0x6082aea1
cmp eax, ecx
je 0x1400a2654
invalid
mov rsp, rbp
pop rbp
ret
sal bl, 1
insb byte [rdi], dx
jmp 0x1400a24d5
and eax, dword [rdi - 9]
jp 0x1400a26ce
imul edi, edi, 0xffffffff
dec dword [rax - 0x7d]
sub rsp, 0x38
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [0x1402c6150]
mov ecx, dword [rax]
call fcn.14000eaf8
mov rdx, qword [rsp + 0x30]
cmp rdx, 0
jne 0x1400a2736
mov rax, qword [0x1402c6150]
mov ecx, dword [rax]
call fcn.14000eaf8
mov rcx, qword [rsp + 0x28]
mov edx, 0xc0
call fcn.140051330
jmp 0x1400a2745
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.1400a2360
nop
add rsp, 0x38
ret