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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1418
call fcn.005373d0
mov eax, dword [0x67e4d0]
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.0058a9f0
add esp, 0xc
call fcn.0040c3b0
mov edi, dword [esi]
lea ecx, [ebp - 0x1415]
test eax, eax
je 0x44abca
call fcn.0044a120
jmp 0x44abcf
call fcn.0044a8a0
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 0x44ac80
push 0x800
lea eax, [ebp - 0x1414]
push 0
push eax
call fcn.0058a9f0
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.0058a9f0
add esp, 0xc
lea ecx, [ebp - 0x1415]
call fcn.0044a200
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.__sourcedesktop
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x1415]
call fcn.0044a4a0
push eax
mov ecx, esi
call fcn.0044ae30
test eax, eax
je 0x44adf9
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x17
push eax
push 0
call ebx
lea ecx, [ebp - 0x1415]
call fcn.00449f60
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 0x44ad5b
lea ecx, [ebp - 0x20c]
push ecx
call eax
test eax, eax
jne 0x44aceb
lea eax, [ebp - 0x20c]
push eax
push 0
call ebx
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea ecx, [ebp - 0x1415]
call fcn.0044a2e0
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.__sourcestmenu
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x1415]
call fcn.0044a660
push eax
mov ecx, esi
call fcn.0044ae30
test eax, eax
je 0x44adf9
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [esi + 0xc], 0
je 0x44ae0c
lea ecx, [ebp - 0x20c]
push ecx
call eax
test eax, eax
jne 0x44ad7d
lea eax, [ebp - 0x20c]
push eax
push 0
call ebx
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x61e760
push eax
lea eax, [ebp - 0xc14]
push eax
call edi
push 0x208
lea eax, [ebp - 0xe1c]
push 0
push eax
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0xe1c]
push str.uninstall.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 0x61e780
call fcn.0044ae30
test eax, eax
jne 0x44ae0c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
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.00536569
mov esp, ebp
pop ebp
ret