Function at 0x440bb0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1418
call fcn.00478eb0
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov esi, ecx
push 0
push eax
call fcn.0053dd00
add esp, 0xc
call fcn.004411c0
mov edi, dword [esi]
lea ecx, [ebp - 0x1415]
test al, al
je 0x440bfa
call fcn.00440010
jmp 0x440bff
call fcn.0043fb50
push eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call edi
cmp dword [esi + 4], 0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
je 0x440cb0
push 0x800
lea eax, [ebp - 0x1414]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
lea eax, [ebp - 0x1414]
push 1
push 0x19
push eax
push 0
call ebx
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
lea ecx, [ebp - 0x1415]
call fcn.00440630
push eax
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0xc14]
push eax
call edi
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc14]
push eax
push str.__fromdesktop
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x1415]
call fcn.00440390
push eax
mov ecx, esi
call fcn.00440e60
test eax, eax
je 0x440e29
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x17
push eax
push 0
call ebx
lea ecx, [ebp - 0x1415]
call fcn.0043fa70
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esi + 8], 0
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
je 0x440d8b
lea ecx, [ebp - 0x20c]
push ecx
call eax
test eax, eax
jne 0x440d1b
lea eax, [ebp - 0x20c]
push eax
push 0
call ebx
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
lea ecx, [ebp - 0x1415]
call fcn.004409b0
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc14]
push eax
call edi
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc14]
push eax
push str.__fromstartmenu
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x1415]
call fcn.004402b0
push eax
mov ecx, esi
call fcn.00440e60
test eax, eax
je 0x440e29
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [esi + 0xc], 0
je 0x440e3c
lea ecx, [ebp - 0x20c]
push ecx
call eax
test eax, eax
jne 0x440dad
lea eax, [ebp - 0x20c]
push eax
push 0
call ebx
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x617ae0
push eax
lea eax, [ebp - 0xc14]
push eax
call edi
push 0x208
lea eax, [ebp - 0xe1c]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
lea eax, [ebp - 0xe1c]
push str.uninst.exe
push dword [esi]
push eax
call edi
push 1
push 0
lea eax, [ebp - 0xe1c]
mov ecx, esi
push eax
lea eax, [ebp - 0xc14]
push eax
push 0
lea eax, [ebp - 0xe1c]
push eax
push 0x617b10
call fcn.00440e60
test eax, eax
jne 0x440e3c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00478a88
mov esp, ebp
pop ebp
ret