Function at 0x140056460
Capabilities:
Delete file
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r12, rdx
mov rsi, qword [0x14015f740]
mov qword [rsp + 0x40], rsi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r13d, r13d
lea r14, [0x14015f750]
mov eax, dword [rdx + rcx]
cmp dword [0x14015f748], eax
jle 0x14005652e
lea rcx, [0x14015f748]
call fcn.1400cdbf0
cmp dword [0x14015f748], 0xffffffff
jne 0x14005652e
mov qword [0x14015f760], r13
mov qword [0x14015f768], 0xf
mov byte [0x14015f750], r13b
lea r8d, [r13 + 8]
lea rdx, str.logstats
mov rcx, r14
call fcn.140003a60
lea rcx, [0x140105e70]
call fcn.1400cd73c
nop
lea rcx, [0x14015f748]
call fcn.1400cdb90
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x14005653d
mov rcx, qword [r12]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x140125218]
test rax, rax
cmovne rdx, rax
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140056570
lea rcx, [rsp + 0x68]
call fcn.1400149d0
nop
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14001c6d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400565d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400565d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f7f
call fcn.1400cd424
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
lea rdx, [rbp + 0x48]
mov rcx, r12
call fcn.14001f520
nop
mov r15b, 1
mov byte [rsp + 0x30], r15b
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov qword [rbp - 0x28], r13
xor eax, eax
mov qword [rbp + 0x30], rax
lea rax, vtable.Autodesk::ADPDesktopSDK::Facet::Base.0
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], r13
mov byte [rbp + 0x30], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.140081550
nop
lea rax, vtable.Product.0
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x28]
mov rbx, qword [rbp + 0x28]
cmp rbx, rax
je 0x14005667e
test rbx, rbx
je 0x140056672
cmp byte [rbp + 0x30], 0
je 0x140056672
mov rcx, rbx
call fcn.140073b90
mov edx, 8
mov rcx, rbx
call fcn.1400cd424
lea rax, [rbp - 0x28]
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x30], 0
cmp qword [0x14015f768], 0x10
cmovae r14, qword [0x14015f750]
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rcx, qword [rbp + 0x68]
mov rax, qword [0x14015f760]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
mov rdx, qword [rbp + 0x78]
call fcn.140020970
cmp rax, 0xffffffffffffffff
je 0x1400566cd
xor r15b, r15b
mov byte [rsp + 0x30], r15b
jmp 0x140056857
mov qword [rsp + 0x38], r13
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rdx, qword [rbp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14007d290
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14007f080
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14007d290
nop
mov qword [rsp + 0x38], r13
lea rdx, str.product_id
lea rcx, [rsp + 0x38]
call fcn.14007d290
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14007e620
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14007d290
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x1400567b8
add rdx, 0x10
lea rcx, [rsp + 0x48]
call fcn.140003990
nop
mov qword [rsp + 0x38], r13
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14007d290
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400567b1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400567ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f79
call fcn.1400cd424
mov rax, qword [rsp + 0x38]
jmp 0x1400567c0
mov rax, r13
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400567e8
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x1400567d8
mov rcx, qword [rax]
test rcx, rcx
je 0x1400567e8
cmp r8, 0x10
jb 0x1400567ef
mov rdx, qword [rax]
jmp 0x1400567ef
lea rdx, [0x140123b98]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140056802
mov r8, rdi
lea rcx, [rsp + 0x48]
call fcn.140003a60
lea rcx, [rbp - 0x20]
call fcn.140003930
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x10], xmm1
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14007d290
nop
xor ecx, ecx
call fcn.14003e810
mov rcx, rax
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x20]
call fcn.14005fcd0
lea r8, [0x140123c88]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.14005ca60
nop
mov rcx, rax
call fcn.14004e7e0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400568b3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400568ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f85
call fcn.1400cd424
test r15b, r15b
je 0x140056956
call fcn.14003e6d0
cmp qword [rbp - 0x10], 0
je 0x140056956
lea r14, [rax + 0x60]
mov r15, qword [r14]
mov rbx, r15
mov rdi, qword [r15 + 8]
cmp byte [rdi + 0x19], 0
jne 0x140056906
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x20]
call fcn.1400180e0
shr eax, 0x1f
test al, al
je 0x1400568fa
mov rdi, qword [rdi + 0x10]
jmp 0x140056900
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1400568e0
cmp rbx, r15
je 0x14005691f
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400180e0
shr eax, 0x1f
test al, al
je 0x140056953
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.1400556a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.140055710
mov rbx, qword [rsp + 0x38]
inc dword [rbx + 0x44]
lea rdx, [rbp]
mov rcx, r12
call fcn.14001c6d0
nop
call fcn.14008b110
mov rbx, rax
mov qword [rbp + 0x38], rax
lea rdx, str.Content_Type:application_json
xor ecx, ecx
call fcn.14008ba90
mov rdi, rax
mov qword [rbp + 0x40], rax
call fcn.140038d80
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.140052990
mov r8, qword [rax]
test r8, r8
je 0x1400569ac
cmp qword [r8 + 0x18], 0x10
jb 0x1400569a7
mov r8, qword [r8]
xor r14d, r14d
jmp 0x1400569b2
xor r14d, r14d
mov r8d, r14d
mov edx, 0x2712
mov rcx, rbx
call fcn.14008b1e0
nop
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14007d290
nop
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rbx
call fcn.14008b1e0
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rbx
call fcn.14008b1e0
mov ecx, 4
mov rax, qword [0x14015f4d0]
test rax, rax
je 0x1400569fe
mov ecx, dword [rax + 0x60]
mov r8d, r14d
cmp ecx, 6
setge r8b
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rbx
call fcn.14008b1e0
lea r8, [0x140053770]
mov edx, 0x4e7e
mov rcx, rbx
call fcn.14008b1e0
mov r8, rdi
mov edx, 0x2727
mov rcx, rbx
call fcn.14008b1e0
lea r8, [0x140053760]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.14008b1e0
nop
lea rdi, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdi, qword [rbp]
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rbx, qword [rbp - 0x20]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, str.EventUploadManager::UploadFile:__s_Processing_file:__s
mov edx, 4
call fcn.140016fb0
lea rbx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rbx, qword [rbp + 0x48]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov r9, rbx
lea r8, str.EventUploadManager::UploadFile_content:__s
mov edx, 5
call fcn.140016fb0
mov r15d, 3
mov byte [rsp + 0x31], 0
lea r13d, [r15 - 2]
xor ecx, ecx
call fcn.140038ed0
mov rbx, rax
cmp byte [rax + 0x90], 0
jne 0x140056bd3
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140073520
nop
lea rcx, [rsp + 0x38]
call fcn.14007f3f0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
xor r8d, r8d
lea rdx, [0x140123b98]
lea rcx, [rsp + 0x48]
call fcn.140003a60
nop
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], r13d
mov qword [rbp - 0x78], r14
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.140028d40
mov rdi, rax
mov rcx, qword [0x14015f518]
test rcx, rcx
jne 0x140056b7b
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], r13d
mov qword [rbp - 0x58], r14
lea r9, [rbp - 0x58]
call fcn.1400299a0
mov rcx, qword [0x14015f518]
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140026970
nop
lea rcx, [rbp - 0x78]
call fcn.1400184e0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140056bd3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056bce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f8b
call fcn.1400cd424
movzx ebx, byte [rbx + 0x90]
xor ecx, ecx
call fcn.1400186d0
mov edx, 5
mov rcx, rax
test bl, bl
jne 0x140056e73
mov r9d, 4
sub r9d, r15d
lea r8, str.Sequence_of_sending:__d
call fcn.140016fb0
lea r9, [rsp + 0x31]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x38]
call fcn.1400538f0
test al, al
jne 0x140056c5f
cmp r15d, 3
jne 0x140056c25
inc dword [rsi + 0x54]
dec r15d
test r15d, r15d
jg 0x140056ac8
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rbx, qword [rbp]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov r9, rbx
lea r8, str.Failed_to_send_file:__s
mov edx, 2
call fcn.140016fb0
jmp 0x140056c8e
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rbx, qword [rbp]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov r9, rbx
lea r8, str.Succeeded_in_sending_file:__s
mov edx, 5
call fcn.140016fb0
inc dword [rsi + 0x58]
lea r14, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae r14, qword [rbp]
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rsi, qword [rbp - 0x20]
xor edi, edi
test r15d, r15d
setg dil
xor ebx, ebx
test r15d, r15d
setg bl
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov r9d, edi
lea r8, str.Upload_status:__d_after_sending__s_file:__s
lea edx, [rbx + 3]
call fcn.140016fb0
test r15d, r15d
jle 0x140056df9
mov rax, qword [rsp + 0x40]
xor r14d, r14d
mov dword [rax + 0x50], r14d
cmp byte [rsp + 0x30], r14b
je 0x140056da9
call fcn.14003e6d0
cmp qword [rbp - 0x10], r14
je 0x140056da9
lea rsi, [rax + 0x60]
mov r14, qword [rsi]
mov rbx, r14
mov rdi, qword [r14 + 8]
cmp byte [rdi + 0x19], 0
jne 0x140056d56
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x20]
call fcn.1400180e0
shr eax, 0x1f
test al, al
je 0x140056d4a
mov rdi, qword [rdi + 0x10]
jmp 0x140056d50
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140056d30
cmp rbx, r14
je 0x140056d6f
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400180e0
shr eax, 0x1f
test al, al
je 0x140056da3
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov rcx, rsi
call fcn.1400556a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140055710
mov rbx, qword [rsp + 0x40]
inc dword [rbx + 0x48]
xor r14d, r14d
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140056db8
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140056df1
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140056dd1
mov rcx, qword [r12]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [r12 + 0x18], 8
jb 0x140056de8
mov r12, qword [r12]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r13d, r14d
jmp 0x140056e80
cmp byte [rsp + 0x31], 0
je 0x140056e4a
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rbx, qword [rbp]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov r9, rbx
lea r8, str.Upload:_Invalid_file__s._Marking_it_as_invalid
mov edx, 2
call fcn.140016fb0
xor edx, edx
mov rcx, r12
call fcn.14004e8a0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x50], 2
xor r14d, r14d
mov r13d, r14d
jmp 0x140056e80
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x50], r13d
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
lea r8, str.EventUploadManager::UploadFile:_Aborting_upload_as_no_network
mov edx, 5
call fcn.140016fb0
xor r14d, r14d
jmp 0x140056e80
lea r8, str.EventUploadManager::UploadFile:_Aborting_upload_as_quit_requested_from_OnTaskProgress
call fcn.140016fb0
nop
mov rcx, qword [rbp + 0x38]
call fcn.14008b0d0
mov rcx, qword [rbp + 0x40]
call fcn.14008baf0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140056ece
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056ec9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056f79
call fcn.1400cd424
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x140056f03
cmp byte [rbp + 0x30], 0
je 0x140056f03
mov rcx, rbx
call fcn.140073b90
mov edx, 8
mov rcx, rbx
call fcn.1400cd424
nop
lea rcx, [rbp - 0x28]
call fcn.14007f3f0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140056f23
inc rdx
mov rcx, qword [rbp - 0x20]
call fcn.1400049f0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
lea rcx, [rbp + 0x48]
call fcn.140003930
nop
lea rcx, [rbp + 0x68]
call fcn.140003930
mov eax, r13d
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.1400cd400
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3