Function at 0x14005f0f0
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 [0x140189090]
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 0x14005f1ae
mov qword [rbp - 0x60], r13
mov dword [rbp - 0x58], r13d
lea edx, [r13 + 1]
lea rcx, [rbp - 0x60]
call fcn.1401075ac
mov rbx, qword [rbp - 0x60]
lea ecx, [r13 + 0x58]
call fcn.1400f89d8
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.1400978e0
mov rbx, rax
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x50]
call fcn.140099270
test rbx, rbx
je 0x14005f1a5
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x60]
call fcn.140099270
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea r9, str.StateManager
xor r8d, r8d
lea rdx, [0x14003d0a0]
mov rcx, rax
call fcn.140027650
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.140009250
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x30]
mov rdx, rsi
mov rcx, rbx
call fcn.14007aad0
nop
lea rcx, [rbp - 0x30]
call fcn.1400091f0
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.14009a170
lea rax, vtable.Product.0
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14005d3f0
test eax, eax
je 0x14005f279
mov r15d, 3
mov rsi, qword [rbp - 0x40]
jmp 0x14005f7e8
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x10]
call fcn.14005c600
nop
lea rcx, [rbp - 0x48]
call fcn.140076ef0
test al, al
jne 0x14005f2c1
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, [0x1401578ef]
lea rcx, [rbp + 0x10]
call fcn.140009250
mov ebx, 0x40
jmp 0x14005f2ee
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.140077cc0
nop
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14001b1e0
mov ebx, 0x40
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140097430
nop
mov r15d, r13d
mov rsi, qword [rbp - 0x40]
test dil, dil
je 0x14005f40b
cmp qword [r14], r15
jne 0x14005f40b
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 4
jl 0x14005f3aa
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rdi, rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400220d0
nop
mov ebx, 0x41
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005f382
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.14001efa0
nop
test bl, 1
je 0x14005f3b9
lea rcx, [rsp + 0x38]
call fcn.1400091f0
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 0x14005f7b0
mov edx, 0x80
lea rcx, [rbp - 0x10]
call fcn.140025da0
mov edx, dword [0x140189cc0]
lea rcx, [rbp - 0x10]
call fcn.140025da0
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14005f7b0
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 4
jl 0x14005f522
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov r12, rax
mov rdx, qword [r14]
test rdx, rdx
je 0x14005f4ae
lea rcx, [rsp + 0x38]
call fcn.14009f410
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.140097430
mov ebx, 0xc0040
lea rcx, [rsp + 0x38]
call fcn.1400091f0
mov rdi, qword [rbp - 0x60]
jmp 0x14005f4ba
mov rdi, r13
mov qword [rbp - 0x60], r13
mov ebx, 0x40040
or ebx, 2
mov dword [rsp + 0x30], ebx
test rdi, rdi
je 0x14005f4d2
cmp qword [rdi + 0x18], 0x10
jb 0x14005f4d5
mov rdi, qword [rdi]
jmp 0x14005f4d5
mov rdi, r13
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400220d0
nop
or ebx, 4
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005f4f5
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.14001efa0
nop
test bl, 4
je 0x14005f535
and ebx, 0xfffffffb
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
test bl, 2
je 0x14005f549
and ebx, 0xfffffffd
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140097430
nop
mov rdx, qword [r14]
test rdx, rdx
je 0x14005f591
lea rcx, [rsp + 0x38]
call fcn.14009f410
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.140097430
bts ebx, 0x15
lea rcx, [rsp + 0x38]
call fcn.1400091f0
mov rax, qword [rbp - 0x60]
jmp 0x14005f59c
mov rax, r13
mov qword [rbp - 0x60], rax
bts ebx, 0x15
test rax, rax
je 0x14005f5c4
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x14005f5b4
mov rcx, qword [rax]
test rcx, rcx
je 0x14005f5c4
cmp r8, 0x10
jb 0x14005f5cb
mov rdx, qword [rax]
jmp 0x14005f5cb
lea rdx, [0x1401578ef]
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
inc r8
cmp byte [rdx + r8], 0
jne 0x14005f5e6
lea rcx, [rbp - 0x30]
call fcn.140009250
bts ebx, 0x17
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140097430
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.1400234e0
test al, al
jne 0x14005f7a2
xor ecx, ecx
lea r15d, [rcx + 7]
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 2
jl 0x14005f76c
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov r12, rax
mov rdx, qword [r14]
test rdx, rdx
je 0x14005f6e2
lea rcx, [rsp + 0x38]
call fcn.14009f410
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.140097430
bts ebx, 0x18
lea rcx, [rsp + 0x38]
call fcn.1400091f0
mov rdi, qword [rbp - 0x60]
jmp 0x14005f6ed
mov rdi, r13
mov qword [rbp - 0x60], r13
bts ebx, 0x18
or ebx, 8
mov dword [rsp + 0x30], ebx
test rdi, rdi
je 0x14005f705
cmp qword [rdi + 0x18], 0x10
jb 0x14005f708
mov rdi, qword [rdi]
jmp 0x14005f708
mov rdi, r13
mov edx, 0xffffffff
lea rcx, [rbp - 0x80]
call fcn.14002bbe0
mov r14, rax
or ebx, 0x10
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005f72a
mov r14, qword [rax]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400220d0
nop
or ebx, 0x20
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005f74a
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.14001efa0
nop
test bl, 0x20
je 0x14005f77f
and ebx, 0xffffffdf
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
test bl, 0x10
je 0x14005f791
and ebx, 0xffffffef
lea rcx, [rbp - 0x80]
call fcn.1400091f0
nop
test bl, 8
je 0x14005f7a2
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140097430
nop
lea rcx, [rbp - 0x30]
call fcn.1400091f0
test r15d, r15d
jne 0x14005f7d4
test rsi, rsi
je 0x14005f7ba
mov rcx, rsi
jmp 0x14005f7ce
mov qword [rbp - 0x60], r13
lea rcx, [rbp - 0x60]
call fcn.140099270
lea rcx, [0x14018d6a0]
call fcn.14005eec0
nop
lea rcx, [rbp + 0x10]
call fcn.1400091f0
nop
lea rcx, [rbp - 0x10]
call fcn.140008fe0
nop
test rsi, rsi
je 0x14005f809
cmp byte [rbp - 0x38], 0
je 0x14005f809
mov rcx, rsi
call fcn.14004ffd0
mov edx, 8
mov rcx, rsi
call fcn.1400f89d0
nop
lea rcx, [rbp - 0x50]
call fcn.140099270
mov eax, r15d
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400f89b0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret