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

Disassembly:
mov eax, 0x1050
call fcn.004ba380
push ebp
push esi
mov esi, dword [esp + 0x105c]
push edi
test esi, esi
mov ebp, ecx
je 0x4628db
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x4628db
mov ax, word [0x52a480]
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 0x4626b2
push 0x50f5e4
push esi
call fcn.0042c1f0
add esp, 8
test eax, eax
je 0x4626ec
push esi
lea ecx, [esp + 0x18]
push 0x823
push ecx
push 0x52a480
push 0x5236c0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4626ec
push esi
call fcn.00490b30
add esp, 4
test eax, eax
je 0x4626ec
mov edi, dword [0x6d1558]
call fcn.0046ffe0
mov edx, dword [esp + 0x1068]
lea eax, [esp + 0x14]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.0046ffe0
mov ecx, eax
call fcn.00470320
cmp word [esp + 0x14], 0
jne 0x46270d
push esi
push 0x50f4e4
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.00478650
lea eax, [esp + 0x18]
push eax
call fcn.00457c20
add esp, 8
test eax, eax
je 0x462733
mov dword [esp + 0x1070], 0
mov eax, dword [esp + 0x1074]
test eax, eax
je 0x462779
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.00465270
test eax, eax
je 0x462779
mov ecx, dword [eax + 0x3114]
test ecx, ecx
jne 0x462779
mov esi, dword [eax + 0x55c8]
mov ecx, dword [ebp + 0x54]
push 0
push esi
call fcn.004aee30
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.004af760
mov ecx, dword [ebp + 0x54]
push eax
call fcn.004afd80
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x1064]
xor edi, edi
test ecx, ecx
je 0x462862
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4627d5
mov eax, dword [esp + 0x1068]
test al, 0xb
jne 0x4627d0
test ah, 1
je 0x4627d5
mov edi, 1
xor eax, eax
test esi, esi
je 0x462806
cmp word [esi + 0x311c], ax
lea edx, [esi + 0x311c]
jne 0x462804
cmp word [esi + 0x3c], 0
lea eax, [esi + 0x3c]
jne 0x462806
cmp word [esi + 0x20cc], 0
lea eax, [esi + 0x20cc]
jne 0x462806
mov eax, edx
mov edx, dword [esp + 0x1070]
test edx, edx
je 0x46281f
mov edx, dword [ecx + 0x5600]
test edx, edx
jne 0x46281f
test edi, edi
je 0x462862
mov edx, dword [esp + 0x1068]
push 0
push eax
push 0
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040c900
test eax, eax
je 0x46285b
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x55c8]
mov ecx, dword [ebp + 0x54]
push esi
call fcn.004b20a0
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x1050
ret 0x1c
mov edi, 1
jmp 0x462869
mov edi, dword [esp + 0x106c]
test esi, esi
je 0x4628aa
cmp word [esi + 0x311c], 0
lea ecx, [esi + 0x311c]
jne 0x462897
cmp word [esi + 0x3c], 0
lea eax, [esi + 0x3c]
jne 0x462899
cmp word [esi + 0x20cc], 0
lea eax, [esi + 0x20cc]
jne 0x462899
mov eax, ecx
push eax
mov ecx, 0x603870
call fcn.0048b110
test eax, eax
je 0x4628aa
xor esi, esi
mov edx, dword [esp + 0x1078]
mov eax, dword [esp + 0x1068]
mov ecx, dword [0x6030f4]
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, ebp
call fcn.00460840
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