Function at 0x48f360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9e2e
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x25c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x228]
call fcn.004093e0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x48f40f
push 0x5c
lea ecx, [ebp - 0x228]
call fcn.00416c90
push eax
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00412440
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00409350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.004093c0
lea ecx, [ebp - 0x230]
call fcn.00409500
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x224]
mov eax, dword [edx + 0x16b0]
push eax
push 0x4c53d0
lea ecx, [ebp - 0x230]
push ecx
call fcn.00409ab0
add esp, 0x10
lea ecx, [ebp - 0x230]
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 0x48f482
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004093c0
jmp 0x48f71d
lea ecx, [ebp - 0x22c]
call fcn.00409500
mov byte [ebp - 4], 3
mov dword [ebp - 0x234], 0
mov edx, dword [ebp - 0x224]
add edx, 0x16b0
push edx
lea ecx, [ebp - 0x220]
call fcn.00409480
mov byte [ebp - 4], 4
push 0x4c53dc
lea ecx, [ebp - 0x220]
call fcn.004155d0
cmp dword [ebp + 0xc], 0
je 0x48f4dc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.00409300
lea ecx, [ebp - 0x234]
push ecx
push 0x4c53e0
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00419a10
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00409350
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004093c0
push 0x4c53e4
lea edx, [ebp - 0x22c]
push edx
call fcn.00419990
add esp, 8
movzx eax, al
test eax, eax
je 0x48f6de
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00419be0
lea ecx, [ebp - 0x220]
call fcn.00409530
cmp eax, 2
jle 0x48f674
lea ecx, [ebp - 0x220]
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
jne 0x48f674
lea ecx, [ebp - 0x220]
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_CreateFolder_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.00409530
test eax, eax
jne 0x48f5f6
push 0
lea ecx, [ebp - 0x220]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x16b0
call fcn.0040f3c0
test eax, eax
jne 0x48f5f6
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.00409350
jmp 0x48f674
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.00409530
test eax, eax
jne 0x48f674
lea ecx, [ebp - 0x220]
call fcn.00409530
mov esi, eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x16b0
call fcn.00409530
cmp esi, eax
jle 0x48f674
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x220]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4c53e8
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x224]
call sym.Install_adv.exe_private:_bool___thiscall_CNsInstaller::AddDelInfo_struct_tagDelInfo__
push 0x4c53ec
lea ecx, [ebp - 0x220]
call fcn.004155d0
lea eax, [ebp - 0x234]
push eax
push 0x4c53f0
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00419a10
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00409350
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.004093c0
jmp 0x48f531
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.004093c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.004093c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004093c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004093c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret 8