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

Disassembly:
mov eax, 0x1050
call fcn.0049bb40
push ebx
push esi
mov esi, dword [esp + 0x105c]
push edi
test esi, esi
mov ebx, ecx
je 0x452c57
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x452c57
mov ax, word [0x4f5820]
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 0x452a62
push 0x4e344c
push esi
call fcn.00425660
add esp, 8
test eax, eax
je 0x452a9c
push esi
lea ecx, [esp + 0x18]
push 0x823
push ecx
push 0x4f5820
push 0x4ef740
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x452a9c
push esi
call fcn.004757b0
add esp, 4
test eax, eax
je 0x452a9c
mov edi, dword [0x69a548]
call fcn.0045f220
mov edx, dword [esp + 0x1068]
lea eax, [esp + 0x14]
push edx
push 1
push 0x823
push eax
push esi
push edi
call fcn.0045f220
mov ecx, eax
call fcn.0045f540
cmp word [esp + 0x14], 0
jne 0x452abd
push esi
push 0x4e33c0
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.00466890
lea eax, [esp + 0x18]
push eax
call fcn.00442720
add esp, 8
test eax, eax
je 0x452adc
xor edi, edi
jmp 0x452ae3
mov edi, dword [esp + 0x1070]
mov eax, dword [esp + 0x1074]
test eax, eax
je 0x452b29
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, ebx
call fcn.004550c0
test eax, eax
je 0x452b29
mov ecx, dword [eax + 0x30f8]
test ecx, ecx
jne 0x452b29
mov esi, dword [eax + 0x55ac]
mov ecx, dword [ebx + 0x54]
push 0
push esi
call fcn.004915d0
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1050
ret 0x18
mov ecx, dword [ebx + 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.00491ef0
mov ecx, dword [ebx + 0x54]
push eax
call fcn.00492510
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x1064]
test ecx, ecx
je 0x452be7
xor eax, eax
test esi, esi
je 0x452b98
cmp word [esi + 0x3100], ax
lea edx, [esi + 0x3100]
jne 0x452b96
cmp word [esi + 0x20], 0
lea eax, [esi + 0x20]
jne 0x452b98
cmp word [esi + 0x20b0], 0
lea eax, [esi + 0x20b0]
jne 0x452b98
mov eax, edx
test edi, edi
je 0x452ba6
mov edx, dword [ecx + 0x55e4]
test edx, edx
je 0x452be7
mov edx, dword [esp + 0x1068]
push eax
push 0
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0040a5e0
test eax, eax
je 0x452be0
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x55ac]
mov ecx, dword [ebx + 0x54]
push esi
call fcn.004947d0
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1050
ret 0x18
mov edi, 1
jmp 0x452bee
mov edi, dword [esp + 0x106c]
test esi, esi
je 0x452c2f
cmp word [esi + 0x3100], 0
lea ecx, [esi + 0x3100]
jne 0x452c1c
cmp word [esi + 0x20], 0
lea eax, [esi + 0x20]
jne 0x452c1e
cmp word [esi + 0x20b0], 0
lea eax, [esi + 0x20b0]
jne 0x452c1e
mov eax, ecx
push eax
mov ecx, 0x5ccf50
call fcn.00471350
test eax, eax
je 0x452c2f
xor esi, esi
mov edx, dword [esp + 0x1068]
mov eax, dword [0x5ccf48]
push esi
push edx
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, ebx
call fcn.00450e30
pop edi
pop esi
pop ebx
add esp, 0x1050
ret 0x18
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1050
ret 0x18