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

Disassembly:
mov eax, 0x1060
call fcn.004d7fa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1070]
xor ebx, ebx
push edi
cmp esi, ebx
mov ebp, ecx
je 0x474158
cmp dword [ebp + 0x54], ebx
je 0x474158
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x474158
mov ax, word [0x5117f0]
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 0x473f05
push 0x4f5360
push esi
call fcn.00435400
add esp, 8
test eax, eax
je 0x473f3f
push esi
lea ecx, [esp + 0x2c]
push 0x823
push ecx
push 0x5117f0
push 0x50a6b0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x473f3f
push esi
call fcn.004ac6a0
add esp, 4
test eax, eax
je 0x473f3f
mov edi, dword [0x5f0558]
call fcn.004856f0
mov edx, dword [esp + 0x107c]
lea eax, [esp + 0x28]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.004856f0
mov ecx, eax
call fcn.00485bd0
cmp word [esp + 0x28], bx
jne 0x473f5f
push esi
push 0x4f5254
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.00490590
lea eax, [esp + 0x2c]
push eax
call fcn.0045fb60
add esp, 8
test eax, eax
je 0x473f81
mov dword [esp + 0x1084], ebx
cmp dword [esp + 0x1088], ebx
je 0x473fc2
lea ecx, [esp + 0x28]
push ebx
push ecx
mov ecx, ebp
call fcn.00476ff0
cmp eax, ebx
je 0x473fc2
cmp dword [eax + 0x3148], ebx
jne 0x473fc2
mov esi, dword [eax + 0x5608]
mov ecx, dword [ebp + 0x54]
push ebx
push esi
call fcn.004c5600
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x20
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.004c6060
mov ecx, dword [ebp + 0x54]
push eax
call fcn.004c66b0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1078]
xor edx, edx
cmp ecx, ebx
je 0x4740df
cmp dword [ecx + 0x30], ebx
je 0x474014
mov eax, dword [esp + 0x107c]
test al, 0xb
jne 0x47400f
test ah, 1
je 0x474014
mov edx, 1
xor edi, edi
cmp esi, ebx
je 0x474043
cmp word [esi + 0x3150], bx
lea edi, [esi + 0x3150]
jne 0x474043
cmp word [esi + 0x70], bx
lea eax, [esi + 0x70]
jne 0x474041
cmp word [esi + 0x2100], bx
lea eax, [esi + 0x2100]
je 0x474043
mov edi, eax
cmp dword [esp + 0x1084], ebx
je 0x47405c
cmp dword [ecx + 0x5644], ebx
jne 0x47405c
cmp edx, ebx
je 0x4740df
mov ecx, ebp
call fcn.00479cb0
mov ecx, dword [esp + 0x107c]
push ebx
push edi
push ebx
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.004120f0
test eax, eax
je 0x4740d8
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 0x4740b6
lea edx, [esp + 0x18]
push edx
call fcn.0049ef00
test eax, eax
je 0x4740b6
mov ecx, dword [ebp + 0x60]
lea eax, [esp + 0x18]
push eax
push 1
call fcn.00411f40
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x5608]
mov ecx, dword [ebp + 0x54]
push esi
call fcn.004c8c50
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x20
mov edi, 1
jmp 0x4740e6
mov edi, dword [esp + 0x1080]
cmp esi, ebx
je 0x474124
cmp word [esi + 0x3150], bx
lea ecx, [esi + 0x3150]
jne 0x474111
cmp word [esi + 0x70], bx
lea eax, [esi + 0x70]
jne 0x474113
cmp word [esi + 0x2100], bx
lea eax, [esi + 0x2100]
jne 0x474113
mov eax, ecx
push eax
mov ecx, 0x5e9eb8
call fcn.004a69e0
test eax, eax
je 0x474124
xor esi, esi
mov edx, dword [esp + 0x108c]
mov eax, dword [esp + 0x107c]
mov ecx, dword [esp + 0x1090]
push ebx
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x3c]
push edi
push edx
mov ecx, ebp
call fcn.00471dd0
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