Function at 0x140051ad0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, rdx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov edi, r14d
lea rdx, str.config
lea rcx, [rbp - 0x78]
call fcn.14004cc80
nop
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x14003ea80]
mov rcx, rax
call fcn.140027a90
mov rbx, rax
mov qword [rsp + 0x30], r14
lea rdx, str.configSvcURL
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea rax, str.https:__adppa.api.autodesk.com_config_v1
mov qword [rsp + 0x28], rax
lea r9d, [r14 + 1]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140052860
nop
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14001a3a0
mov rbx, rax
mov dword [rsp + 0x38], 1
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140087010
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea r8d, [r14 + 0xf]
lea rdx, str._global_config_
mov rcx, rbx
call fcn.140008c10
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea rcx, [rsp + 0x68]
call fcn.140008a50
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140051850
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140051c0d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140008c10
nop
lea rcx, [rsp + 0x48]
call fcn.140008a50
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp - 0x30]
call fcn.14001a9c0
lea rax, vtable.CurlDownloader.0
mov qword [rbp - 0x30], rax
mov edx, 0x63
lea r8d, [rdx - 0x62]
mov rcx, qword [rbp - 0x28]
call fcn.14009b9f0
mov edx, reloc.OLEAUT32.dll_DosDateTimeToVariantTime
lea r8d, [rdx - 3]
mov rcx, qword [rbp - 0x28]
call fcn.14009b9f0
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.14001ae10
test al, al
jne 0x140051cbf
mov edi, 7
cmp dword [rbp - 0x18], 0
jne 0x140051cbf
mov eax, 0x51eb851f
imul dword [rbp - 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 9
cmp edx, 4
cmove edi, eax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1400236d0
nop
mov qword [rsp + 0x30], r14
cmp qword [rax + 0x18], 0x10
jb 0x140051cdd
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140088ce0
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea rcx, [rsp + 0x48]
call fcn.140008a50
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140051d4b
mov edx, 0x80
lea rcx, [rbp - 0x78]
call fcn.1400262d0
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rax, vtable.CurlCommon.0
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140051d64
call fcn.14009beb0
mov rcx, qword [rbp - 0x28]
call fcn.14009ba20
call fcn.14009bcc0
lea rcx, [rbp + 0x30]
call fcn.14001b870
lea rcx, [rbp + 0x18]
call fcn.14001b870
nop
lea rcx, [rbp - 0x58]
call fcn.140008a50
nop
lea rcx, [rbp - 0x78]
call fcn.140008840
mov eax, edi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400e9d60
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret