Function at 0x452353
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x1d4
mov eax, 0x4d2b17
call fcn.004aaeb3
push str.CGameDesktopShellLink::DoRequestIconStatus_In
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
lea eax, [ebp - 0x1e0]
xor ebx, ebx
push eax
push eax
push str.IconCount
push str.GameLink
mov dword [ebp - 0x1e0], ebx
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cce4
push dword [ebp - 0x1e0]
push str.CGameDesktopShellLink::DoRequestIconStatus:_count__d_
call fcn.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0xc
mov byte [ebp - 0x118], bl
lea eax, [ebp - 0x117]
push 0x103
push ebx
push eax
call fcn.004ab3c0
add esp, 0xc
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
push 0xf
pop eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ebx
mov byte [ebp - 0x148], bl
mov esi, ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1e0], esi
jle 0x452626
push esi
push str.iconname_d
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x160]
push 0x4e870e
call fcn.004041e5
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x118]
push eax
push str.GameLink
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push ebx
push 1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004044e5
push esi
push str.iconpath_d
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x160]
push 0x4e870e
call fcn.004041e5
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x118]
push eax
push str.GameLink
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push ebx
push 1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004044e5
push esi
push str.LogDelete_d
lea eax, [ebp - 0x118]
mov byte [ebp - 0x1d9], bl
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea eax, [ebp - 0x1d9]
push eax
push eax
lea eax, [ebp - 0x118]
push eax
push str.GameLink
call fcn.0044cc7a
mov ecx, eax
call fcn.0044ce68
cmp dword [ebp - 0x120], 0
je 0x452619
cmp dword [ebp - 0x138], 0
je 0x452619
cmp byte [ebp - 0x1d9], 0
jne 0x452619
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete bl
test bl, bl
je 0x45257c
push 1
lea eax, [ebp - 0x118]
push eax
push ecx
push ecx
call fcn.0044cc7a
pop ecx
mov ecx, eax
call fcn.0044d12b
lea ecx, [ebp - 0x1d8]
call fcn.00453c46
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x198]
mov byte [ebp - 0x19c], bl
call fcn.00404447
lea ecx, [ebp - 0x1d8]
call fcn.004530ac
test bl, bl
jne 0x4525da
lea ecx, [ebp - 0x1d8]
call fcn.00453442
test al, al
je 0x4525da
cmp dword [ebp - 0x180], 0
je 0x4525da
lea eax, [ebp - 0x130]
push eax
call fcn.00454483
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x130]
movzx eax, bl
cmovae ecx, dword [ebp - 0x130]
push eax
push ecx
push str.CGameDesktopShellLink::DoRequestIconStatus:_sendStat:_s_bDelte__d_
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call fcn.00453cdd
xor ebx, ebx
inc esi
cmp esi, dword [ebp - 0x1e0]
jl 0x45240c
push str.CGameDesktopShellLink::DoRequestIconStatus_Out
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x148]
call fcn.004044e5
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.004044e5
call fcn.004aae62
ret