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

Disassembly:
mov eax, 0x1060
call fcn.0051d1f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1070]
test esi, esi
push edi
mov ebp, ecx
je 0x487ef0
mov eax, dword [ebp + 0x58]
test eax, eax
je 0x487ef0
cmp word [esi], 0
je 0x487ef0
mov ax, word [0x56d150]
mov ecx, 0x411
mov word [esp + 0x28], ax
xor eax, eax
lea edi, [esp + 0x2a]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x487c2d
push 0x53bc40
push esi
call fcn.0043f610
add esp, 8
test eax, eax
je 0x487c67
push esi
lea ecx, [esp + 0x2c]
push 0x823
push ecx
push 0x56d150
push 0x56143c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x487c67
push esi
call fcn.004dfc10
add esp, 4
test eax, eax
je 0x487c67
mov edi, dword [0x59e7b4]
call fcn.004a48a0
mov edx, dword [esp + 0x107c]
lea eax, [esp + 0x28]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.004a48a0
mov ecx, eax
call fcn.004a4d80
cmp word [esp + 0x28], 0
jne 0x487c88
push esi
push 0x5394a4
lea ecx, [esp + 0x30]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0x28]
push edx
call fcn.004bed90
lea eax, [esp + 0x2c]
push eax
call fcn.00471a90
add esp, 8
test eax, eax
je 0x487ca7
xor ebx, ebx
jmp 0x487cae
mov ebx, dword [esp + 0x1084]
mov eax, dword [esp + 0x1088]
xor edi, edi
cmp eax, edi
je 0x487d50
lea ecx, [esp + 0x28]
push edi
push ecx
mov ecx, ebp
call fcn.0048b080
mov esi, eax
cmp esi, edi
je 0x487d50
cmp dword [esi + 0x3148], edi
jne 0x487d50
mov edi, dword [esi + 0x560c]
mov ecx, dword [ebp + 0x58]
push 0
push edi
call fcn.005106e0
cmp word [esi + 0x3150], 0
lea eax, [esi + 0x3150]
jne 0x487d15
cmp word [esi + 0x70], 0
lea ecx, [esi + 0x70]
jne 0x487d17
cmp word [esi + 0x2100], 0
lea ecx, [esi + 0x2100]
jne 0x487d17
mov ecx, eax
lea edx, [esp + 0x28]
push edx
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x487d41
mov eax, dword [esp + 0x107c]
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.00416f40
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x20
mov ecx, dword [ebp + 0x58]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call fcn.0050d550
mov ecx, dword [ebp + 0x58]
push eax
call fcn.0050d650
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1078]
xor edx, edx
cmp ecx, edi
je 0x487e73
cmp dword [ecx + 0x30], edi
je 0x487da2
mov eax, dword [esp + 0x107c]
test al, 0xb
jne 0x487d9d
test ah, 1
je 0x487da2
mov edx, 1
xor edi, edi
test esi, esi
je 0x487dd4
cmp word [esi + 0x3150], 0
lea edi, [esi + 0x3150]
jne 0x487dd4
cmp word [esi + 0x70], 0
lea eax, [esi + 0x70]
jne 0x487dd2
cmp word [esi + 0x2100], 0
lea eax, [esi + 0x2100]
je 0x487dd4
mov edi, eax
test ebx, ebx
je 0x487dea
mov eax, dword [ecx + 0x5648]
test eax, eax
jne 0x487dea
test edx, edx
je 0x487e73
mov ecx, ebp
call fcn.0048e710
mov ecx, dword [esp + 0x107c]
push 0
push edi
push 0
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.00416f40
test eax, eax
je 0x487e6c
mov ecx, dword [ebp + 0x5c]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x487e4a
lea edx, [esp + 0x18]
push edx
call fcn.004d1290
test eax, eax
je 0x487e4a
mov ecx, dword [ebp + 0x64]
lea eax, [esp + 0x18]
push eax
push 1
call fcn.00416d90
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x560c]
mov ecx, dword [ebp + 0x58]
push esi
call fcn.005107a0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x20
mov edi, 1
jmp 0x487e7a
mov edi, dword [esp + 0x1080]
test esi, esi
je 0x487ebb
cmp word [esi + 0x3150], 0
lea ecx, [esi + 0x3150]
jne 0x487ea8
cmp word [esi + 0x70], 0
lea eax, [esi + 0x70]
jne 0x487eaa
cmp word [esi + 0x2100], 0
lea eax, [esi + 0x2100]
jne 0x487eaa
mov eax, ecx
push eax
mov ecx, 0x587f04
call fcn.004d89d0
test eax, eax
je 0x487ebb
xor esi, esi
mov edx, dword [esp + 0x108c]
mov eax, dword [esp + 0x107c]
mov ecx, dword [esp + 0x1090]
push 0
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x3c]
push edi
push edx
mov ecx, ebp
call fcn.00484ba0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x20
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1060
ret 0x20