Function at 0x14001edf0
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 [0x1400a5028]
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 0x14001f36c
call fcn.14001d8e0
mov r12, rax
test rax, rax
je 0x14001f36c
xor r14d, r14d
xor ebp, ebp
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x60], rbp
test r15, r15
jne 0x14001eeba
test rbx, rbx
je 0x14001f148
mov rbx, qword [rdi + 0x200]
lea rdx, [rsp + 0xa8]
mov rcx, rdi
call fcn.140014560
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.acdb22.dll_public_virtual:_void___cdecl_AcCmColor::destructor_void____ptr64]
xor eax, eax
mov qword [rsp + 0xd0], rax
cmp dword [rdi + 0x5c], eax
jne 0x14001ef17
lea rdx, [rsp + 0xd0]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.acdb22.dll_public:_class_AcDbObjectId___cdecl_AcDbDatabase::continuousLinetype_void____ptr64]
jmp 0x14001ef2f
mov eax, dword [rdi + 0x5c]
dec eax
movsxd rdx, eax
mov rax, qword [rdi + 0x50]
mov rdx, qword [rax + rdx*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.acdb22.dll_public:_class_AcDbObjectId___cdecl_AcDbDatabase::byBlockLinetype_void____ptr64]
xor ebp, ebp
xor r13d, r13d
xor ecx, ecx
test esi, esi
je 0x14001ef76
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 0x14001ef60
test r15, r15
je 0x14001f066
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 0x14001efa1
call fcn.140020960
jmp 0x14001f030
call fcn.140020960
xor dl, dl
test ebp, ebp
jle 0x14001f021
xor ebx, ebx
mov r14d, ebp
movzx r15d, word [rsp + 0x50]
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x14001f003
test dl, dl
jne 0x14001eff7
mov edx, ebp
lea rcx, [r12 + 0x10]
call fcn.140020960
xor edx, edx
test rbx, rbx
jle 0x14001eff5
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 0x14001efe0
mov dl, 1
mov rax, qword [r12 + 0x10]
mov word [rax + rbx*2], r15w
jmp 0x14001f010
test dl, dl
je 0x14001f010
mov rax, qword [r12 + 0x10]
mov word [rax + rbx*2], cx
inc rbx
sub r14, 1
jne 0x14001efb7
mov r15, qword [rsp + 0x80]
cmp dword [r12 + 0x1c], 0
je 0x14001f030
mov r14, qword [r12 + 0x10]
jmp 0x14001f033
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.14001ed10
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14001f134
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 0x14001f09b
call fcn.140020960
xor ebp, ebp
jmp 0x14001f139
call fcn.140020960
xor dl, dl
test r13d, r13d
jle 0x14001f121
xor ebx, ebx
mov ebp, r13d
movzx r15d, word [rsp + 0x50]
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x14001f103
test dl, dl
jne 0x14001f0f7
mov edx, r13d
lea rcx, [r12 + 0x28]
call fcn.140020960
xor eax, eax
test rbx, rbx
jle 0x14001f0f5
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 0x14001f0e0
mov dl, 1
mov rax, qword [r12 + 0x28]
mov word [rax + rbx*2], r15w
jmp 0x14001f110
test dl, dl
je 0x14001f110
mov rax, qword [r12 + 0x28]
mov word [rax + rbx*2], cx
inc rbx
sub rbp, 1
jne 0x14001f0b2
mov r15, qword [rsp + 0x80]
cmp dword [r12 + 0x34], 0
je 0x14001f094
mov rbp, qword [r12 + 0x28]
jmp 0x14001f139
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
test r14, r14
jne 0x14001f150
test rsi, rsi
jne 0x14001f150
mov rdi, r15
jmp 0x14001f21f
cmp qword [r12], 0
jne 0x14001f183
mov ecx, 0x10
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14001f17f
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, rax
call qword [sym.imp.acdb22.dll_public:_void___cdecl_AcGiEdgeData::constructor_void____ptr64]
nop
mov qword [r12], rax
mov rdi, qword [r12]
test r14, r14
je 0x14001f19a
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x38]
jmp 0x14001f1af
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 0x14001f1d7
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x50]
jmp 0x14001f1ef
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 0x14001f22e
mov rsi, qword [rsp + 0x68]
jmp 0x14001f2d9
cmp qword [r12 + 8], 0
jne 0x14001f263
mov ecx, 0x10
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14001f25e
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rcx, rax
call qword [sym.imp.acdb22.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 0x14001f30a
mov rax, qword [rcx]
lea rdx, vtable.BGAcGiWorldDraw3d.0
cmp rax, rdx
jne 0x14001f302
mov rax, qword [rcx + 0x10]
jmp 0x14001f31f
call qword [rax + 0x80]
jmp 0x14001f31f
mov rcx, qword [rax + 0x548]
test rcx, rcx
je 0x14001f36c
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.140063e50
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret