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

Disassembly:
mov eax, 0x1060
call fcn.004f3f00
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1070]
xor ebx, ebx
push edi
cmp esi, ebx
mov ebp, ecx
je 0x47acef
cmp dword [ebp + 0x54], ebx
je 0x47acef
cmp word [esi], bx
je 0x47acef
mov ax, word [0x53ada0]
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 0x47aa9c
push 0x50e568
push esi
call fcn.00439410
add esp, 8
test eax, eax
je 0x47aad6
push esi
lea ecx, [esp + 0x2c]
push 0x823
push ecx
push 0x53ada0
push 0x533028
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x47aad6
push esi
call fcn.004bf9b0
add esp, 4
test eax, eax
je 0x47aad6
mov edi, dword [0x5cf7ac]
call fcn.00493ac0
mov edx, dword [esp + 0x107c]
lea eax, [esp + 0x28]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.00493ac0
mov ecx, eax
call fcn.00493fa0
cmp word [esp + 0x28], bx
jne 0x47aaf6
push esi
push 0x50c180
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.004a3860
lea eax, [esp + 0x2c]
push eax
call fcn.0046bac0
add esp, 8
test eax, eax
je 0x47ab18
mov dword [esp + 0x1084], ebx
cmp dword [esp + 0x1088], ebx
je 0x47ab59
lea ecx, [esp + 0x28]
push ebx
push ecx
mov ecx, ebp
call fcn.0047dcf0
cmp eax, ebx
je 0x47ab59
cmp dword [eax + 0x3148], ebx
jne 0x47ab59
mov esi, dword [eax + 0x560c]
mov ecx, dword [ebp + 0x54]
push ebx
push esi
call fcn.004d7840
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.004d82b0
mov ecx, dword [ebp + 0x54]
push eax
call fcn.004d8a10
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1078]
xor edx, edx
cmp ecx, ebx
je 0x47ac76
cmp dword [ecx + 0x30], ebx
je 0x47abab
mov eax, dword [esp + 0x107c]
test al, 0xb
jne 0x47aba6
test ah, 1
je 0x47abab
mov edx, 1
xor edi, edi
cmp esi, ebx
je 0x47abda
cmp word [esi + 0x3150], bx
lea edi, [esi + 0x3150]
jne 0x47abda
cmp word [esi + 0x70], bx
lea eax, [esi + 0x70]
jne 0x47abd8
cmp word [esi + 0x2100], bx
lea eax, [esi + 0x2100]
je 0x47abda
mov edi, eax
cmp dword [esp + 0x1084], ebx
je 0x47abf3
cmp dword [ecx + 0x5648], ebx
jne 0x47abf3
cmp edx, ebx
je 0x47ac76
mov ecx, ebp
call fcn.00480d80
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.00410750
test eax, eax
je 0x47ac6f
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 0x47ac4d
lea edx, [esp + 0x18]
push edx
call fcn.004b3560
test eax, eax
je 0x47ac4d
mov ecx, dword [ebp + 0x60]
lea eax, [esp + 0x18]
push eax
push 1
call fcn.004105a0
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x560c]
mov ecx, dword [ebp + 0x54]
push esi
call fcn.004db040
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1060
ret 0x20
mov edi, 1
jmp 0x47ac7d
mov edi, dword [esp + 0x1080]
cmp esi, ebx
je 0x47acbb
cmp word [esi + 0x3150], bx
lea ecx, [esi + 0x3150]
jne 0x47aca8
cmp word [esi + 0x70], bx
lea eax, [esi + 0x70]
jne 0x47acaa
cmp word [esi + 0x2100], bx
lea eax, [esi + 0x2100]
jne 0x47acaa
mov eax, ecx
push eax
mov ecx, 0x5b8af8
call fcn.004b9b70
test eax, eax
je 0x47acbb
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.00478240
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