Function at 0x45f2b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x1050
call fcn.004b7a60
push ebp
push esi
mov esi, dword [esp + 0x105c]
push edi
test esi, esi
mov ebp, ecx
je 0x45f55b
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x45f55b
mov ax, word [0x4e6b30]
mov ecx, 0x411
mov word [esp + 0x14], ax
xor eax, eax
lea edi, [esp + 0x16]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f332
push 0x4ce5e0
push esi
call fcn.0042c5e0
add esp, 8
test eax, eax
je 0x45f36c
push esi
lea ecx, [esp + 0x18]
push 0x823
push ecx
push 0x4e6b30
push 0x4e1f00
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x45f36c
push esi
call fcn.0048e1c0
add esp, 4
test eax, eax
je 0x45f36c
mov edi, dword [0x5c3558]
call fcn.0046cd40
mov edx, dword [esp + 0x1068]
lea eax, [esp + 0x14]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.0046cd40
mov ecx, eax
call fcn.0046d210
cmp word [esp + 0x14], 0
jne 0x45f38d
push esi
push 0x4ce4dc
lea ecx, [esp + 0x1c]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call fcn.004758c0
lea eax, [esp + 0x18]
push eax
call fcn.00454610
add esp, 8
test eax, eax
je 0x45f3b3
mov dword [esp + 0x1070], 0
mov eax, dword [esp + 0x1074]
test eax, eax
je 0x45f3f9
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.00461e70
test eax, eax
je 0x45f3f9
mov ecx, dword [eax + 0x3114]
test ecx, ecx
jne 0x45f3f9
mov esi, dword [eax + 0x55c8]
mov ecx, dword [ebp + 0x54]
push 0
push esi
call fcn.004ac420
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x1050
ret 0x1c
mov ecx, dword [ebp + 0x54]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call fcn.004acd50
mov ecx, dword [ebp + 0x54]
push eax
call fcn.004ad380
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x1064]
xor edi, edi
test ecx, ecx
je 0x45f4e2
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x45f455
mov eax, dword [esp + 0x1068]
test al, 0xb
jne 0x45f450
test ah, 1
je 0x45f455
mov edi, 1
xor eax, eax
test esi, esi
je 0x45f486
cmp word [esi + 0x311c], ax
lea edx, [esi + 0x311c]
jne 0x45f484
cmp word [esi + 0x3c], 0
lea eax, [esi + 0x3c]
jne 0x45f486
cmp word [esi + 0x20cc], 0
lea eax, [esi + 0x20cc]
jne 0x45f486
mov eax, edx
mov edx, dword [esp + 0x1070]
test edx, edx
je 0x45f49f
mov edx, dword [ecx + 0x5600]
test edx, edx
jne 0x45f49f
test edi, edi
je 0x45f4e2
mov edx, dword [esp + 0x1068]
push 0
push eax
push 0
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040cae0
test eax, eax
je 0x45f4db
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x55c8]
mov ecx, dword [ebp + 0x54]
push esi
call fcn.004af650
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x1050
ret 0x1c
mov edi, 1
jmp 0x45f4e9
mov edi, dword [esp + 0x106c]
test esi, esi
je 0x45f52a
cmp word [esi + 0x311c], 0
lea ecx, [esi + 0x311c]
jne 0x45f517
cmp word [esi + 0x3c], 0
lea eax, [esi + 0x3c]
jne 0x45f519
cmp word [esi + 0x20cc], 0
lea eax, [esi + 0x20cc]
jne 0x45f519
mov eax, ecx
push eax
mov ecx, 0x5bd038
call fcn.00488570
test eax, eax
je 0x45f52a
xor esi, esi
mov edx, dword [esp + 0x1078]
mov eax, dword [esp + 0x1068]
mov ecx, dword [0x5bc8bc]
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, ebp
call fcn.0045d450
pop edi
pop esi
pop ebp
add esp, 0x1050
ret 0x1c
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x1050
ret 0x1c