Function at 0x14005f6c0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x30], rax
movzx edi, r8b
mov rsi, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rbp - 0x50], r13
cmp qword [rcx], r13
je 0x14005f77e
mov qword [rbp - 0x60], r13
mov dword [rbp - 0x58], r13d
lea edx, [r13 + 1]
lea rcx, [rbp - 0x60]
call fcn.14010815c
mov rbx, qword [rbp - 0x60]
lea ecx, [r13 + 0x58]
call fcn.1400f9588
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
xorps xmm1, xmm1
cvtsi2sd xmm1, rbx
mov rcx, rax
call fcn.140098520
mov rbx, rax
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x50]
call fcn.140099eb0
test rbx, rbx
je 0x14005f775
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x60]
call fcn.140099eb0
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea r9, str.StateManager
xor r8d, r8d
lea rdx, [0x14003cc40]
mov rcx, rax
call fcn.1400272d0
mov rbx, rax
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov r8d, 5
lea rdx, str.edata
lea rcx, [rbp - 0x30]
call fcn.1400090e0
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x30]
mov rdx, rsi
mov rcx, rbx
call fcn.14007b870
nop
lea rcx, [rbp - 0x30]
call fcn.140009080
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
lea rax, vtable.Autodesk::ADPDesktopSDK::Facet::Base.0
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x38], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.14009adb0
lea rax, vtable.Product.0
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14005da80
test eax, eax
je 0x14005f849
mov r15d, 3
mov rsi, qword [rbp - 0x40]
jmp 0x14005fdc2
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x10]
call fcn.14005cc90
nop
lea rcx, [rbp - 0x48]
call fcn.140077cd0
test al, al
jne 0x14005f891
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], al
xor r8d, r8d
lea rdx, [0x14015892f]
lea rcx, [rbp + 0x10]
call fcn.1400090e0
mov ebx, 0x40
jmp 0x14005f8be
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.140078aa0
nop
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14001b0b0
mov ebx, 0x40
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140098070
nop
mov r15d, r13d
mov rsi, qword [rbp - 0x40]
test dil, dil
je 0x14005f9e1
cmp qword [r14], r15
jne 0x14005f9e1
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 4
jl 0x14005f97a
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov rdi, rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400219c0
nop
mov ebx, 0x41
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005f952
mov rax, qword [rax]
lea r9, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae r9, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r8, str.EntitlementData::SaveData:_for__s_by_removing_file__s
mov edx, 4
mov rcx, rdi
call fcn.14001e890
nop
test bl, 1
je 0x14005f989
lea rcx, [rsp + 0x38]
call fcn.140009080
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005fd8a
xor r8d, r8d
mov edx, 0x80
lea rcx, [rbp - 0x10]
call fcn.140025970
xor r8d, r8d
mov edx, dword [0x14018acc0]
lea rcx, [rbp - 0x10]
call fcn.140025970
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14005fd8a
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 4
jl 0x14005faf8
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov r12, rax
mov rdx, qword [r14]
test rdx, rdx
je 0x14005fa84
lea rcx, [rsp + 0x38]
call fcn.14009ffc0
nop
mov qword [rbp - 0x60], r13
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140098070
mov ebx, 0xc0040
lea rcx, [rsp + 0x38]
call fcn.140009080
mov rdi, qword [rbp - 0x60]
jmp 0x14005fa90
mov rdi, r13
mov qword [rbp - 0x60], r13
mov ebx, 0x40040
or ebx, 2
mov dword [rsp + 0x30], ebx
test rdi, rdi
je 0x14005faa8
cmp qword [rdi + 0x18], 0x10
jb 0x14005faab
mov rdi, qword [rdi]
jmp 0x14005faab
mov rdi, r13
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400219c0
nop
or ebx, 4
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005facb
mov rax, qword [rax]
lea r9, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae r9, qword [rbp + 0x10]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea r8, str.EntitlementData::SaveData:_for__s_into_file__s_r_n_s
mov edx, 4
mov rcx, r12
call fcn.14001e890
nop
test bl, 4
je 0x14005fb0b
and ebx, 0xfffffffb
lea rcx, [rsp + 0x60]
call fcn.140009080
nop
test bl, 2
je 0x14005fb1f
and ebx, 0xfffffffd
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140098070
nop
mov rdx, qword [r14]
test rdx, rdx
je 0x14005fb67
lea rcx, [rsp + 0x38]
call fcn.14009ffc0
bts ebx, 0x16
mov qword [rbp - 0x60], r13
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140098070
bts ebx, 0x15
lea rcx, [rsp + 0x38]
call fcn.140009080
mov rax, qword [rbp - 0x60]
jmp 0x14005fb72
mov rax, r13
mov qword [rbp - 0x60], rax
bts ebx, 0x15
test rax, rax
je 0x14005fb9a
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x14005fb8a
mov rcx, qword [rax]
test rcx, rcx
je 0x14005fb9a
cmp r8, 0x10
jb 0x14005fba1
mov rdx, qword [rax]
jmp 0x14005fba1
lea rdx, [0x14015892f]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14005fbc0
lea rcx, [rbp - 0x30]
call fcn.1400090e0
bts ebx, 0x17
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140098070
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.140022da0
test al, al
jne 0x14005fd7c
xor ecx, ecx
lea r15d, [rcx + 7]
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 2
jl 0x14005fd46
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov r12, rax
mov rdx, qword [r14]
test rdx, rdx
je 0x14005fcbc
lea rcx, [rsp + 0x38]
call fcn.14009ffc0
bts ebx, 0x19
mov qword [rbp - 0x60], r13
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140098070
bts ebx, 0x18
lea rcx, [rsp + 0x38]
call fcn.140009080
mov rdi, qword [rbp - 0x60]
jmp 0x14005fcc7
mov rdi, r13
mov qword [rbp - 0x60], r13
bts ebx, 0x18
or ebx, 8
mov dword [rsp + 0x30], ebx
test rdi, rdi
je 0x14005fcdf
cmp qword [rdi + 0x18], 0x10
jb 0x14005fce2
mov rdi, qword [rdi]
jmp 0x14005fce2
mov rdi, r13
mov edx, 0xffffffff
lea rcx, [rbp - 0x80]
call fcn.14002b860
mov r14, rax
or ebx, 0x10
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005fd04
mov r14, qword [rax]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400219c0
nop
or ebx, 0x20
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005fd24
mov rax, qword [rax]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
mov r9, rax
lea r8, str.EntitlementData:_Save:_failed_to_write__s____s_r_n_s
mov edx, 2
mov rcx, r12
call fcn.14001e890
nop
test bl, 0x20
je 0x14005fd59
and ebx, 0xffffffdf
lea rcx, [rsp + 0x60]
call fcn.140009080
nop
test bl, 0x10
je 0x14005fd6b
and ebx, 0xffffffef
lea rcx, [rbp - 0x80]
call fcn.140009080
nop
test bl, 8
je 0x14005fd7c
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140098070
nop
lea rcx, [rbp - 0x30]
call fcn.140009080
test r15d, r15d
jne 0x14005fdae
test rsi, rsi
je 0x14005fd94
mov rcx, rsi
jmp 0x14005fda8
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x60]
call fcn.140099eb0
lea rcx, [0x14018e6a0]
call fcn.14005f490
nop
lea rcx, [rbp + 0x10]
call fcn.140009080
nop
lea rcx, [rbp - 0x10]
call fcn.140008e70
nop
test rsi, rsi
je 0x14005fde3
cmp byte [rbp - 0x38], 0
je 0x14005fde3
mov rcx, rsi
call fcn.14004f8e0
mov edx, 8
mov rcx, rsi
call fcn.1400f9580
nop
lea rcx, [rbp - 0x50]
call fcn.140099eb0
mov eax, r15d
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400f9560
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret