Function at 0x140056280
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 [0x14015a138]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r12, rdx
mov rsi, qword [0x14015e740]
mov qword [rsp + 0x40], rsi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r13d, r13d
lea r14, [0x14015e750]
mov eax, dword [rdx + rcx]
cmp dword [0x14015e748], eax
jle 0x14005634e
lea rcx, [0x14015e748]
call fcn.1400cd530
cmp dword [0x14015e748], 0xffffffff
jne 0x14005634e
mov qword [0x14015e760], r13
mov qword [0x14015e768], 0xf
mov byte [0x14015e750], r13b
lea r8d, [r13 + 8]
lea rdx, str.logstats
mov rcx, r14
call fcn.140003a60
lea rcx, [0x140105760]
call fcn.1400cd07c
nop
lea rcx, [0x14015e748]
call fcn.1400cd4d0
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x14005635d
mov rcx, qword [r12]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x1401241f8]
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 0x140056390
lea rcx, [rsp + 0x68]
call fcn.1400149d0
nop
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14001c160
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400563f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400563f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056d9f
call fcn.1400ccd64
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
lea rdx, [rbp + 0x48]
mov rcx, r12
call fcn.14001efb0
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.140080e90
nop
lea rax, vtable.Product.0
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x28]
mov rbx, qword [rbp + 0x28]
cmp rbx, rax
je 0x14005649e
test rbx, rbx
je 0x140056492
cmp byte [rbp + 0x30], 0
je 0x140056492
mov rcx, rbx
call fcn.1400739b0
mov edx, 8
mov rcx, rbx
call fcn.1400ccd64
lea rax, [rbp - 0x28]
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x30], 0
cmp qword [0x14015e768], 0x10
cmovae r14, qword [0x14015e750]
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rcx, qword [rbp + 0x68]
mov rax, qword [0x14015e760]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
mov rdx, qword [rbp + 0x78]
call fcn.140020400
cmp rax, 0xffffffffffffffff
je 0x1400564ed
xor r15b, r15b
mov byte [rsp + 0x30], r15b
jmp 0x140056677
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.14007cbd0
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14007e9c0
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14007cbd0
nop
mov qword [rsp + 0x38], r13
lea rdx, str.product_id
lea rcx, [rsp + 0x38]
call fcn.14007cbd0
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14007df60
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14007cbd0
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x1400565d8
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.14007cbd0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400565d1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400565cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056d99
call fcn.1400ccd64
mov rax, qword [rsp + 0x38]
jmp 0x1400565e0
mov rax, r13
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140056608
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x1400565f8
mov rcx, qword [rax]
test rcx, rcx
je 0x140056608
cmp r8, 0x10
jb 0x14005660f
mov rdx, qword [rax]
jmp 0x14005660f
lea rdx, [0x140122b88]
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 0x140056622
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.14007cbd0
nop
xor ecx, ecx
call fcn.14003e6a0
mov rcx, rax
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x20]
call fcn.14005faf0
lea r8, [0x140122c78]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.14005c880
nop
mov rcx, rax
call fcn.14004e610
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400566d3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400566ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056da5
call fcn.1400ccd64
test r15b, r15b
je 0x140056776
call fcn.14003e560
cmp qword [rbp - 0x10], 0
je 0x140056776
lea r14, [rax + 0x60]
mov r15, qword [r14]
mov rbx, r15
mov rdi, qword [r15 + 8]
cmp byte [rdi + 0x19], 0
jne 0x140056726
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x20]
call fcn.140017b90
shr eax, 0x1f
test al, al
je 0x14005671a
mov rdi, qword [rdi + 0x10]
jmp 0x140056720
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140056700
cmp rbx, r15
je 0x14005673f
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140017b90
shr eax, 0x1f
test al, al
je 0x140056773
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.1400554c0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.140055530
mov rbx, qword [rsp + 0x38]
inc dword [rbx + 0x44]
lea rdx, [rbp]
mov rcx, r12
call fcn.14001c160
nop
call fcn.14008aa50
mov rbx, rax
mov qword [rbp + 0x38], rax
lea rdx, str.Content_Type:application_json
xor ecx, ecx
call fcn.14008b3d0
mov rdi, rax
mov qword [rbp + 0x40], rax
call fcn.140038810
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.1400527c0
mov r8, qword [rax]
test r8, r8
je 0x1400567cc
cmp qword [r8 + 0x18], 0x10
jb 0x1400567c7
mov r8, qword [r8]
xor r14d, r14d
jmp 0x1400567d2
xor r14d, r14d
mov r8d, r14d
mov edx, 0x2712
mov rcx, rbx
call fcn.14008ab20
nop
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14007cbd0
nop
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rbx
call fcn.14008ab20
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rbx
call fcn.14008ab20
mov ecx, 4
mov rax, qword [0x14015e4d0]
test rax, rax
je 0x14005681e
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.14008ab20
lea r8, [0x1400535a0]
mov edx, 0x4e7e
mov rcx, rbx
call fcn.14008ab20
mov r8, rdi
mov edx, 0x2727
mov rcx, rbx
call fcn.14008ab20
lea r8, [0x140053590]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.14008ab20
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.140018180
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.140016a40
lea rbx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rbx, qword [rbp + 0x48]
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.EventUploadManager::UploadFile_content:__s
mov edx, 5
call fcn.140016a40
mov r15d, 3
mov byte [rsp + 0x31], 0
lea r13d, [r15 - 2]
xor ecx, ecx
call fcn.140038960
mov rbx, rax
cmp byte [rax + 0x90], 0
jne 0x1400569f3
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140073340
nop
lea rcx, [rsp + 0x38]
call fcn.14007ed30
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
xor r8d, r8d
lea rdx, [0x140122b88]
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.1400287d0
mov rdi, rax
mov rcx, qword [0x14015e518]
test rcx, rcx
jne 0x14005699b
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], r13d
mov qword [rbp - 0x58], r14
lea r9, [rbp - 0x58]
call fcn.140029430
mov rcx, qword [0x14015e518]
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140026400
nop
lea rcx, [rbp - 0x78]
call fcn.140017f90
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400569f3
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400569ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056dab
call fcn.1400ccd64
movzx ebx, byte [rbx + 0x90]
xor ecx, ecx
call fcn.140018180
mov edx, 5
mov rcx, rax
test bl, bl
jne 0x140056c93
mov r9d, 4
sub r9d, r15d
lea r8, str.Sequence_of_sending:__d
call fcn.140016a40
lea r9, [rsp + 0x31]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x38]
call fcn.140053720
test al, al
jne 0x140056a7f
cmp r15d, 3
jne 0x140056a45
inc dword [rsi + 0x54]
dec r15d
test r15d, r15d
jg 0x1400568e8
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rbx, qword [rbp]
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.Failed_to_send_file:__s
mov edx, 2
call fcn.140016a40
jmp 0x140056aae
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rbx, qword [rbp]
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.Succeeded_in_sending_file:__s
mov edx, 5
call fcn.140016a40
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.140018180
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.140016a40
test r15d, r15d
jle 0x140056c19
mov rax, qword [rsp + 0x40]
xor r14d, r14d
mov dword [rax + 0x50], r14d
cmp byte [rsp + 0x30], r14b
je 0x140056bc9
call fcn.14003e560
cmp qword [rbp - 0x10], r14
je 0x140056bc9
lea rsi, [rax + 0x60]
mov r14, qword [rsi]
mov rbx, r14
mov rdi, qword [r14 + 8]
cmp byte [rdi + 0x19], 0
jne 0x140056b76
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x20]
call fcn.140017b90
shr eax, 0x1f
test al, al
je 0x140056b6a
mov rdi, qword [rdi + 0x10]
jmp 0x140056b70
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140056b50
cmp rbx, r14
je 0x140056b8f
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140017b90
shr eax, 0x1f
test al, al
je 0x140056bc3
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov rcx, rsi
call fcn.1400554c0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140055530
mov rbx, qword [rsp + 0x40]
inc dword [rbx + 0x48]
xor r14d, r14d
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140056bd8
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140056c11
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x140056bf1
mov rcx, qword [r12]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [r12 + 0x18], 8
jb 0x140056c08
mov r12, qword [r12]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r13d, r14d
jmp 0x140056ca0
cmp byte [rsp + 0x31], 0
je 0x140056c6a
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rbx, qword [rbp]
xor ecx, ecx
call fcn.140018180
mov rcx, rax
mov r9, rbx
lea r8, str.Upload:_Invalid_file__s._Marking_it_as_invalid
mov edx, 2
call fcn.140016a40
xor edx, edx
mov rcx, r12
call fcn.14004e6d0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x50], 2
xor r14d, r14d
mov r13d, r14d
jmp 0x140056ca0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x50], r13d
xor ecx, ecx
call fcn.140018180
mov rcx, rax
lea r8, str.EventUploadManager::UploadFile:_Aborting_upload_as_no_network
mov edx, 5
call fcn.140016a40
xor r14d, r14d
jmp 0x140056ca0
lea r8, str.EventUploadManager::UploadFile:_Aborting_upload_as_quit_requested_from_OnTaskProgress
call fcn.140016a40
nop
mov rcx, qword [rbp + 0x38]
call fcn.14008aa10
mov rcx, qword [rbp + 0x40]
call fcn.14008b430
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140056cee
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056ce9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056d99
call fcn.1400ccd64
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 0x140056d23
cmp byte [rbp + 0x30], 0
je 0x140056d23
mov rcx, rbx
call fcn.1400739b0
mov edx, 8
mov rcx, rbx
call fcn.1400ccd64
nop
lea rcx, [rbp - 0x28]
call fcn.14007ed30
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140056d43
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.1400ccd40
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.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
nop
call fcn.1400d1a34
int3