Function at 0x407ba0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x420bac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
lea ebx, [ecx + 0x30]
push ebx
push 0x4226d8
push 0x17
push 0
push 0x422878
mov dword [esp + 0x24], ecx
call dword [0x422254]
test eax, eax
jge 0x407bf7
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
add esp, 0x1a8
ret
push ebp
push esi
push edi
lea eax, [esp + 0xa8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
jl 0x407d71
lea eax, [esp + 0xa8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407c22
lea ecx, [esp + 0xa8]
push ecx
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
call fcn.004075f0
push str.Autodesk
mov dword [esp + 0x1b8], 0
call dword [0x42202c]
push eax
push str.Autodesk
lea ecx, [esp + 0x1c]
call fcn.00407480
test eax, eax
jge 0x407c6c
push eax
call fcn.00401140
mov esi, dword [esp + 0x14]
push 0
lea edx, [esp + 0x2c]
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edx
call fcn.004076a0
mov eax, dword [esp + 0x24]
mov edi, dword [0x422048]
push eax
call edi
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp ecx, edx
mov dword [esp + 0x18], eax
je 0x407cae
push ecx
call fcn.00418664
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, 0xffffffff
je 0x407d5f
test al, 0x10
je 0x407d5f
test al, 1
jne 0x407d5f
push str.WebServices
lea ecx, [esp + 0x18]
call fcn.00407750
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x28]
call fcn.00407890
mov eax, dword [eax]
push eax
call edi
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp ecx, edx
mov dword [esp + 0x18], eax
je 0x407d05
push ecx
call fcn.00418664
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, 0xffffffff
jne 0x407d4e
push esi
lea ecx, [esp + 0x28]
call fcn.00407890
mov eax, dword [eax]
push 0
push eax
call dword [0x422044]
test eax, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
setne byte [esp + 0x13]
cmp eax, ecx
je 0x407d3b
push eax
call fcn.00418664
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x407d5f
mov eax, dword [ebx]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x20]
jmp 0x407d5f
test al, 0x10
je 0x407d5f
test al, 1
jne 0x407d5f
mov eax, dword [ebx]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
push esi
mov dword [esp + 0x1b8], 0xffffffff
call dword [0x4221f0]
mov eax, dword [ebx]
mov edx, dword [eax]
push 0x186a0
push eax
call dword [edx + 0x28]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x30]
mov esi, dword [0x4221f4]
push str.HKEY_CURRENT_USERSoftwareAutodeskWebServices
call esi
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x407da9
push 0x8007000e
call fcn.00401140
push str.CommCntr
mov dword [esp + 0x1b8], 1
call esi
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x407dcf
push 0x8007000e
call fcn.00401140
mov eax, dword [ebx]
mov edx, dword [eax]
push ebp
push edi
push eax
mov byte [esp + 0x1c0], 2
call dword [edx + 0x3c]
test eax, eax
mov eax, dword [ebx]
jge 0x407e0a
test eax, eax
je 0x407df7
mov dword [ebx], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [0x4221f0]
push ebp
call esi
push edi
call esi
mov eax, 0x80004005
jmp 0x407e6d
mov edx, dword [eax]
push 0xf
push eax
call dword [edx + 0x38]
mov ebx, dword [esp + 0x1c]
add ebx, 0x34
push str.Controller
mov ecx, ebx
call fcn.00401200
push str.Communication_Center_Starts.
call esi
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
jne 0x407e40
push 0x8007000e
call fcn.00401140
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push esi
push edx
add eax, 4
push 1
push eax
mov byte [esp + 0x1c4], 3
call dword [ecx + 0x28]
push esi
mov esi, dword [0x4221f0]
call esi
push ebp
call esi
push edi
call esi
xor eax, eax
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret