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

Disassembly:
mov eax, 0x1050
call fcn.004acae0
push ebx
push esi
mov esi, dword [esp + 0x105c]
push edi
test esi, esi
mov ebx, ecx
je 0x459b22
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x459b22
mov ax, word [0x50fd10]
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 0x459922
push 0x4f660c
push esi
call fcn.00427dd0
add esp, 8
test eax, eax
je 0x45995c
push esi
lea ecx, [esp + 0x18]
push 0x823
push ecx
push 0x50fd10
push 0x509430
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x45995c
push esi
call fcn.00484a50
add esp, 4
test eax, eax
je 0x45995c
mov edi, dword [0x6b5558]
call fcn.00466a50
mov edx, dword [esp + 0x1068]
lea eax, [esp + 0x14]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.00466a50
mov ecx, eax
call fcn.00466d70
cmp word [esp + 0x14], 0
jne 0x45997d
push esi
push 0x4f6580
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.0046ef00
lea eax, [esp + 0x18]
push eax
call fcn.0044ef30
add esp, 8
test eax, eax
je 0x45999c
xor edi, edi
jmp 0x4599a3
mov edi, dword [esp + 0x1070]
mov eax, dword [esp + 0x1074]
test eax, eax
je 0x4599e9
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, ebx
call fcn.0045c1e0
test eax, eax
je 0x4599e9
mov ecx, dword [eax + 0x30fc]
test ecx, ecx
jne 0x4599e9
mov esi, dword [eax + 0x55b0]
mov ecx, dword [ebx + 0x54]
push 0
push esi
call fcn.004a23a0
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.004a2cc0
mov ecx, dword [ebx + 0x54]
push eax
call fcn.004a32e0
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x1064]
test ecx, ecx
je 0x459aa9
xor eax, eax
test esi, esi
je 0x459a58
cmp word [esi + 0x3104], ax
lea edx, [esi + 0x3104]
jne 0x459a56
cmp word [esi + 0x24], 0
lea eax, [esi + 0x24]
jne 0x459a58
cmp word [esi + 0x20b4], 0
lea eax, [esi + 0x20b4]
jne 0x459a58
mov eax, edx
test edi, edi
je 0x459a66
mov edx, dword [ecx + 0x55e8]
test edx, edx
je 0x459aa9
mov edx, dword [esp + 0x1068]
push 0
push eax
push 0
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040bfb0
test eax, eax
je 0x459aa2
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x55b0]
mov ecx, dword [ebx + 0x54]
push esi
call fcn.004a55e0
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1050
ret 0x1c
mov edi, 1
jmp 0x459ab0
mov edi, dword [esp + 0x106c]
test esi, esi
je 0x459af1
cmp word [esi + 0x3104], 0
lea ecx, [esi + 0x3104]
jne 0x459ade
cmp word [esi + 0x24], 0
lea eax, [esi + 0x24]
jne 0x459ae0
cmp word [esi + 0x20b4], 0
lea eax, [esi + 0x20b4]
jne 0x459ae0
mov eax, ecx
push eax
mov ecx, 0x5e83a8
call fcn.00480160
test eax, eax
je 0x459af1
xor esi, esi
mov edx, dword [esp + 0x1078]
mov eax, dword [esp + 0x1068]
mov ecx, dword [0x5e82ac]
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, ebx
call fcn.00457b70
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