Function at 0x48ebf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1222
mov eax, dword fs:[0]
push eax
sub esp, 0x7e8
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7e0], ecx
mov dword [ebp - 0x7e8], 0
lea eax, [ebp - 0x7e8]
push eax
push 0x4cd9c0
push 0x1f56
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x7ec], eax
cmp dword [ebp - 0x7ec], 0
je 0x48ec5c
cmp dword [ebp - 0x7e8], 0
jne 0x48ec61
jmp 0x48ee79
lea ecx, [ebp - 0x7dc]
call fcn.004097c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x7e0]
add ecx, 0x72c
push ecx
mov edx, dword [ebp - 0x7e0]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4cd9c8
lea ecx, [ebp - 0x7dc]
push ecx
call fcn.00409d70
add esp, 0x10
push 0x7c0
push 0
lea edx, [ebp - 0x7d0]
push edx
call fcn.00433ca0
add esp, 0xc
lea eax, [ebp - 0x7d0]
push eax
push 0x4cd9d4
push 0x1f5d
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
push 0x7c0
lea ecx, [ebp - 0x7d0]
push ecx
push 0x4cd9dc
push 0x1f5d
lea ecx, [ebp - 0x7dc]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_NsResUpdate2_wchar_t_const___int__wchar_t_const___void___int_
add esp, 0x14
cmp dword [ebp - 0x7d0], 0
je 0x48ee67
push 0x4cd9e4
push 0x1f5e
call sym.Install_adv.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x7d8], eax
cmp dword [ebp - 0x7d8], 0
jle 0x48edc1
lea ecx, [ebp - 0x7d4]
call fcn.004097c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7e0]
mov eax, dword [edx + 0x16b0]
push eax
push str._shf.logo.ico.dat
lea ecx, [ebp - 0x7d4]
push ecx
call fcn.00409d70
add esp, 0xc
lea ecx, [ebp - 0x7d4]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4cda14
push 0x1f5e
call sym.Install_adv.exe_int___cdecl_NsResSave_int__wchar_t_const___wchar_t_const__
add esp, 0xc
lea ecx, [ebp - 0x7d4]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48edb2
push 0x6b
lea ecx, [ebp - 0x7d4]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x7dc]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_ReplaceExeIco_wchar_t_const___wchar_t_const___int_
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7d4]
call fcn.00409680
push 0x4cda1c
push 0x1f5f
call sym.Install_adv.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x7d8], eax
cmp dword [ebp - 0x7d8], 0
jle 0x48ee67
mov edx, dword [ebp - 0x7d8]
push edx
call fcn.0047ac4d
add esp, 4
mov dword [ebp - 0x7f0], eax
mov eax, dword [ebp - 0x7f0]
mov dword [ebp - 0x7e4], eax
mov ecx, dword [ebp - 0x7e4]
push ecx
push 0x4cda24
push 0x1f5f
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov edx, dword [ebp - 0x7d8]
push edx
mov eax, dword [ebp - 0x7e4]
push eax
push 0x4cda2c
push 0x1f5f
lea ecx, [ebp - 0x7dc]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_NsResUpdate2_wchar_t_const___int__wchar_t_const___void___int_
add esp, 0x14
mov ecx, dword [ebp - 0x7e4]
mov dword [ebp - 0x7f4], ecx
mov edx, dword [ebp - 0x7f4]
push edx
call fcn.0047ac48
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7dc]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret