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

Disassembly:
mov eax, 0x1060
call fcn.004d9670
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1070]
xor ebx, ebx
push edi
cmp esi, ebx
mov ebp, ecx
je 0x475df8
cmp dword [ebp + 0x54], ebx
je 0x475df8
cmp word [esi], bx
je 0x475df8
mov ax, word [0x514ff0]
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 0x475b9c
push 0x4f7ee4
push esi
call fcn.00433310
add esp, 8
test eax, eax
je 0x475bd6
push esi
lea ecx, [esp + 0x2c]
push 0x823
push ecx
push 0x514ff0
push 0x50ddd8
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x475bd6
push esi
call fcn.004ae940
add esp, 4
test eax, eax
je 0x475bd6
mov edi, dword [0x5f4558]
call fcn.00486ab0
mov edx, dword [esp + 0x107c]
lea eax, [esp + 0x28]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.00486ab0
mov ecx, eax
call fcn.00486f90
cmp word [esp + 0x28], bx
jne 0x475bf6
push esi
push 0x4f6170
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.00491e20
lea eax, [esp + 0x2c]
push eax
call fcn.00461230
add esp, 8
test eax, eax
je 0x475c18
mov dword [esp + 0x1084], ebx
cmp dword [esp + 0x1088], ebx
je 0x475c59
lea ecx, [esp + 0x28]
push ebx
push ecx
mov ecx, ebp
call fcn.00478c90
cmp eax, ebx
je 0x475c59
cmp dword [eax + 0x3148], ebx
jne 0x475c59
mov esi, dword [eax + 0x5608]
mov ecx, dword [ebp + 0x54]
push ebx
push esi
call fcn.004c6600
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x24
mov ecx, dword [ebp + 0x54]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.004c7060
mov ecx, dword [ebp + 0x54]
push eax
call fcn.004c76b0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1078]
xor edx, edx
cmp ecx, ebx
je 0x475d77
cmp dword [ecx + 0x30], ebx
je 0x475cab
mov eax, dword [esp + 0x107c]
test al, 0xb
jne 0x475ca6
test ah, 1
je 0x475cab
mov edx, 1
xor edi, edi
cmp esi, ebx
je 0x475cda
cmp word [esi + 0x3150], bx
lea edi, [esi + 0x3150]
jne 0x475cda
cmp word [esi + 0x70], bx
lea eax, [esi + 0x70]
jne 0x475cd8
cmp word [esi + 0x2100], bx
lea eax, [esi + 0x2100]
je 0x475cda
mov edi, eax
cmp dword [esp + 0x1084], ebx
je 0x475cf3
cmp dword [ecx + 0x5644], ebx
jne 0x475cf3
cmp edx, ebx
je 0x475d77
mov ecx, ebp
call fcn.0047ba50
mov ecx, dword [esp + 0x107c]
push ebx
push ebx
push edi
push ebx
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.0040f310
test eax, eax
je 0x475d70
mov ecx, dword [ebp + 0x58]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp ecx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
je 0x475d4e
lea edx, [esp + 0x18]
push edx
call fcn.004a0a90
test eax, eax
je 0x475d4e
mov ecx, dword [ebp + 0x60]
lea eax, [esp + 0x18]
push eax
push 1
call fcn.0040f160
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x5608]
mov ecx, dword [ebp + 0x54]
push esi
call fcn.004c9c50
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x24
mov edi, 1
jmp 0x475d7e
mov edi, dword [esp + 0x1080]
cmp esi, ebx
je 0x475dbc
cmp word [esi + 0x3150], bx
lea ecx, [esi + 0x3150]
jne 0x475da9
cmp word [esi + 0x70], bx
lea eax, [esi + 0x70]
jne 0x475dab
cmp word [esi + 0x2100], bx
lea eax, [esi + 0x2100]
jne 0x475dab
mov eax, ecx
push eax
mov ecx, 0x5ee750
call fcn.004a8d30
test eax, eax
je 0x475dbc
xor esi, esi
mov edx, dword [esp + 0x1094]
mov eax, dword [esp + 0x108c]
mov ecx, dword [esp + 0x107c]
push edx
mov edx, dword [esp + 0x1094]
push ebx
push eax
push esi
push ecx
push edx
lea eax, [esp + 0x40]
push edi
push eax
mov ecx, ebp
call fcn.004738c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x24
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1060
ret 0x24