Function at 0x14001ee60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x140073008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov esi, r9d
mov dword [rsp + 0x54], r9d
mov qword [rsp + 0x90], r8
mov dword [rsp + 0x58], edx
mov rdi, rcx
mov qword [rsp + 0x98], rcx
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0x168]
mov qword [rsp + 0x80], r15
mov rbx, qword [rsp + 0x170]
mov qword [rsp + 0x68], rbx
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x88], rax
mov rax, qword [rcx]
call qword [rax + 0x4d8]
test eax, eax
jne 0x14001f3dc
call fcn.14001d940
mov r12, rax
test rax, rax
je 0x14001f3dc
xor r14d, r14d
xor ebp, ebp
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x60], rbp
test r15, r15
jne 0x14001ef2a
test rbx, rbx
je 0x14001f1b8
mov rbx, qword [rdi + 0x200]
lea rdx, [rsp + 0xa8]
mov rcx, rdi
call fcn.1400144b0
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + SysAllocStringByteLen]
mov word [rsp + 0x50], ax
lea rcx, [rsp + 0xa8]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AcCmColor::destructor_void____ptr64]
xor eax, eax
mov qword [rsp + 0xd0], rax
cmp dword [rdi + 0x5c], eax
jne 0x14001ef87
lea rdx, [rsp + 0xd0]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.acdb21.dll_public:_class_AcDbObjectId___cdecl_AcDbDatabase::continuousLinetype_void____ptr64]
jmp 0x14001ef9c
movsxd rdx, dword [rdi + 0x5c]
mov rax, qword [rdi + 0x50]
mov rdx, qword [rax + rdx*8 - 8]
mov qword [rsp + 0xd0], rdx
xor eax, eax
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call qword [sym.imp.acdb21.dll_public:_class_AcDbObjectId___cdecl_AcDbDatabase::byBlockLinetype_void____ptr64]
xor ebp, ebp
xor r13d, r13d
xor ecx, ecx
test esi, esi
je 0x14001efe6
mov r8, qword [rsp + 0x70]
nop word [rax + rax]
mov eax, dword [r8 + rcx*4]
cdq
xor eax, edx
sub eax, edx
inc r13d
add ebp, eax
inc ecx
add ecx, eax
cmp ecx, esi
jb 0x14001efd0
test r15, r15
je 0x14001f0d6
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x68]
mov rsi, rax
lea rcx, [r12 + 0x10]
xor edx, edx
test rax, rax
jne 0x14001f011
call fcn.1400209c0
jmp 0x14001f0a0
call fcn.1400209c0
xor dl, dl
test ebp, ebp
jle 0x14001f091
xor ebx, ebx
mov r14d, ebp
movzx r15d, word [rsp + 0x50]
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x14001f073
test dl, dl
jne 0x14001f067
mov edx, ebp
lea rcx, [r12 + 0x10]
call fcn.1400209c0
xor edx, edx
test rbx, rbx
jle 0x14001f065
nop word [rax + rax]
mov rcx, qword [r12 + 0x10]
movzx eax, word [rsi + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x14001f050
mov dl, 1
mov rax, qword [r12 + 0x10]
mov word [rax + rbx*2], r15w
jmp 0x14001f080
test dl, dl
je 0x14001f080
mov rax, qword [r12 + 0x10]
mov word [rax + rbx*2], cx
inc rbx
sub r14, 1
jne 0x14001f027
mov r15, qword [rsp + 0x80]
cmp dword [r12 + 0x1c], 0
je 0x14001f0a0
mov r14, qword [r12 + 0x10]
jmp 0x14001f0a3
xor r14d, r14d
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x80]
mov r8, rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xd8]
mov edx, ebp
mov rcx, r12
call fcn.14001ed80
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14001f1a4
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x80]
mov rsi, rax
lea rcx, [r12 + 0x28]
xor edx, edx
test rax, rax
jne 0x14001f10b
call fcn.1400209c0
xor ebp, ebp
jmp 0x14001f1a9
call fcn.1400209c0
xor dl, dl
test r13d, r13d
jle 0x14001f191
xor ebx, ebx
mov ebp, r13d
movzx r15d, word [rsp + 0x50]
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x14001f173
test dl, dl
jne 0x14001f167
mov edx, r13d
lea rcx, [r12 + 0x28]
call fcn.1400209c0
xor eax, eax
test rbx, rbx
jle 0x14001f165
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r12 + 0x28]
movzx ecx, word [rsi + rax*2]
mov word [rdx + rax*2], cx
inc rax
cmp rax, rbx
jl 0x14001f150
mov dl, 1
mov rax, qword [r12 + 0x28]
mov word [rax + rbx*2], r15w
jmp 0x14001f180
test dl, dl
je 0x14001f180
mov rax, qword [r12 + 0x28]
mov word [rax + rbx*2], cx
inc rbx
sub rbp, 1
jne 0x14001f122
mov r15, qword [rsp + 0x80]
cmp dword [r12 + 0x34], 0
je 0x14001f104
mov rbp, qword [r12 + 0x28]
jmp 0x14001f1a9
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
test r14, r14
jne 0x14001f1c0
test rsi, rsi
jne 0x14001f1c0
mov rdi, r15
jmp 0x14001f28f
cmp qword [r12], 0
jne 0x14001f1f3
mov ecx, 0x10
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14001f1ef
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, rax
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AcGiEdgeData::constructor_void____ptr64]
nop
mov qword [r12], rax
mov rdi, qword [r12]
test r14, r14
je 0x14001f20a
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x38]
jmp 0x14001f21f
mov rbx, qword [rdi]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x68]
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x38]
mov rbx, qword [rdi]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x78]
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x48]
test rsi, rsi
je 0x14001f247
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x50]
jmp 0x14001f25f
mov rbx, qword [rdi]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x80]
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x50]
mov rbx, qword [rdi]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + SysAllocStringByteLen]
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x60]
mov rbx, qword [rdi]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x88]
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x58]
test rbp, rbp
jne 0x14001f29e
mov rsi, qword [rsp + 0x68]
jmp 0x14001f349
cmp qword [r12 + 8], 0
jne 0x14001f2d3
mov ecx, 0x10
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14001f2ce
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, rax
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AcGiFaceData::constructor_void____ptr64]
nop
mov qword [r12 + 8], rax
mov rsi, qword [r12 + 8]
mov rax, qword [rsi]
mov rdx, rbp
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov r14, qword [rsp + 0x68]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + SysAllocStringByteLen]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x48]
mov rbx, qword [rsi]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xa0]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x58]
mov rbx, qword [rsi]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x98]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x50]
mov rbx, qword [rsi]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xa8]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x60]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax + 0x540]
test rcx, rcx
je 0x14001f37a
mov rax, qword [rcx]
lea rdx, vtable.BGAcGiWorldDraw3d.0
cmp rax, rdx
jne 0x14001f372
mov rax, qword [rcx + 0x10]
jmp 0x14001f38f
call qword [rax + 0x80]
jmp 0x14001f38f
mov rcx, qword [rax + 0x548]
test rcx, rcx
je 0x14001f3dc
mov rax, qword [rcx]
call qword [rax + 0x88]
mov byte [rsp + 0x48], 1
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r10, qword [rax]
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x58]
mov rcx, rax
call qword [r10 + 0xd8]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140043860
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret