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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9efd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x105c
call fcn.004e84e0
mov eax, dword [0x52ec00]
xor eax, esp
mov dword [esp + 0x1058], eax
push ebx
push esi
push edi
mov eax, dword [0x52ec00]
xor eax, esp
push eax
lea eax, [esp + 0x1070]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp esi, ebx
je 0x450457
cmp dword [eax + 0x30], ebx
je 0x450457
xor eax, eax
cmp ax, word [esi]
je 0x450457
push 0x1046
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebx
push eax
call fcn.004dbcc0
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, 0x823
test eax, eax
je 0x450285
push 0x515a6c
push esi
call fcn.0043743e
pop ecx
pop ecx
test eax, eax
je 0x4502ed
push esi
push edi
lea eax, [esp + 0x24]
push eax
push 0x507b1c
push 0x5162b4
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4502ed
call fcn.004407aa
test eax, eax
je 0x4502ed
mov eax, dword [0x545cc4]
mov ecx, 0x545cc4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x5c5b90
push str.tn_s
lea eax, [esp + 0x20]
mov dword [esp + 0x1080], ebx
call fcn.00405e6e
mov ebx, dword [esp + 0x20]
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00429f42
mov ecx, eax
mov eax, esi
call fcn.00429f7e
or dword [esp + 0x1078], 0xffffffff
lea eax, [ebx - 0x10]
mov dword [ebp + 0x10], 8
call fcn.00406ace
xor eax, eax
cmp ax, word [esp + 0x1c]
jne 0x45030a
push esi
push 0x50e498
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004d5add
add esp, 0x10
lea ebx, [esp + 0x1c]
call fcn.0046c2bd
mov eax, ebx
push eax
call fcn.0043a1f1
pop ecx
test eax, eax
je 0x450324
and dword [ebp + 0x18], 0
cmp dword [ebp + 0x1c], 0
mov edi, dword [esp + 0x10]
je 0x45038b
lea eax, [esp + 0x1c]
push eax
call fcn.004505ce
mov esi, eax
test esi, esi
je 0x45038b
cmp dword [esi + 0x312c], 0
jne 0x45038b
mov ebx, dword [esi + 0x55f0]
push dword [edi + 0x30]
mov eax, ebx
call fcn.00481bda
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00446523
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x450384
push 1
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00447e0d
mov eax, ebx
jmp 0x45045a
mov ecx, dword [edi + 0x30]
call fcn.00481cd0
mov ecx, eax
mov eax, dword [edi + 0x30]
call fcn.00481c95
call fcn.004468f4
xor esi, esi
mov ebx, eax
mov dword [esp + 0x10], esi
cmp ebx, esi
je 0x450414
call fcn.00446548
test eax, eax
je 0x4503c5
test byte [ebp + 0x10], 0xb
je 0x4503c5
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4503d4
call fcn.00446523
mov esi, eax
cmp dword [ebp + 0x18], 0
je 0x4503eb
mov eax, ebx
call fcn.00446548
test eax, eax
jne 0x4503eb
cmp dword [esp + 0x10], eax
je 0x450414
push 1
push 0
push esi
push 0
push dword [ebp + 0x10]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.00447e0d
test eax, eax
je 0x45040d
mov eax, dword [ebx + 0x55f0]
jmp 0x45045a
mov dword [ebp + 0x14], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x450438
call fcn.00446523
push eax
call fcn.0042e032
test eax, eax
je 0x450430
and dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x45043a
mov eax, ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x14]
push eax
push edi
call fcn.00450480
jmp 0x45045a
or eax, 0xffffffff
mov ecx, dword [esp + 0x1070]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1058]
xor ecx, esp
call fcn.004d5a7d
mov esp, ebp
pop ebp
ret 0x24