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

Disassembly:
mov eax, 0x1050
call fcn.004ad150
push ebx
push esi
mov esi, dword [esp + 0x105c]
push edi
test esi, esi
mov ebx, ecx
je 0x4593d2
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4593d2
mov ax, word [0x4da9a0]
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 0x4591d2
push 0x4c3600
push esi
call fcn.00428860
add esp, 8
test eax, eax
je 0x45920c
push esi
lea ecx, [esp + 0x18]
push 0x823
push ecx
push 0x4da9a0
push 0x4d601c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x45920c
push esi
call fcn.00484700
add esp, 4
test eax, eax
je 0x45920c
mov edi, dword [0x5b6558]
call fcn.00466260
mov edx, dword [esp + 0x1068]
lea eax, [esp + 0x14]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.00466260
mov ecx, eax
call fcn.00466780
cmp word [esp + 0x14], 0
jne 0x45922d
push esi
push 0x4c3574
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.0046e2e0
lea eax, [esp + 0x18]
push eax
call fcn.0044e710
add esp, 8
test eax, eax
je 0x45924c
xor edi, edi
jmp 0x459253
mov edi, dword [esp + 0x1070]
mov eax, dword [esp + 0x1074]
test eax, eax
je 0x459299
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, ebx
call fcn.0045b9b0
test eax, eax
je 0x459299
mov ecx, dword [eax + 0x30fc]
test ecx, ecx
jne 0x459299
mov esi, dword [eax + 0x55b0]
mov ecx, dword [ebx + 0x54]
push 0
push esi
call fcn.004a2060
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1050
ret 0x1c
mov ecx, dword [ebx + 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.004a2980
mov ecx, dword [ebx + 0x54]
push eax
call fcn.004a2fb0
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x1064]
test ecx, ecx
je 0x459359
xor eax, eax
test esi, esi
je 0x459308
cmp word [esi + 0x3104], ax
lea edx, [esi + 0x3104]
jne 0x459306
cmp word [esi + 0x24], 0
lea eax, [esi + 0x24]
jne 0x459308
cmp word [esi + 0x20b4], 0
lea eax, [esi + 0x20b4]
jne 0x459308
mov eax, edx
test edi, edi
je 0x459316
mov edx, dword [ecx + 0x55e8]
test edx, edx
je 0x459359
mov edx, dword [esp + 0x1068]
push 0
push eax
push 0
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040bcc0
test eax, eax
je 0x459352
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x55b0]
mov ecx, dword [ebx + 0x54]
push esi
call fcn.004a5260
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1050
ret 0x1c
mov edi, 1
jmp 0x459360
mov edi, dword [esp + 0x106c]
test esi, esi
je 0x4593a1
cmp word [esi + 0x3104], 0
lea ecx, [esi + 0x3104]
jne 0x45938e
cmp word [esi + 0x24], 0
lea eax, [esi + 0x24]
jne 0x459390
cmp word [esi + 0x20b4], 0
lea eax, [esi + 0x20b4]
jne 0x459390
mov eax, ecx
push eax
mov ecx, 0x5b0590
call fcn.0047f990
test eax, eax
je 0x4593a1
xor esi, esi
mov edx, dword [esp + 0x1078]
mov eax, dword [esp + 0x1068]
mov ecx, dword [0x5b0494]
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, ebx
call fcn.00457430
pop edi
pop esi
pop ebx
add esp, 0x1050
ret 0x1c
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1050
ret 0x1c