Function at 0x490bb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b14fe
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4ec00c]
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.004096a0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x490c5f
push 0x5c
lea ecx, [ebp - 0x228]
call fcn.00416d70
push eax
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00412520
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.00409610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00409680
lea ecx, [ebp - 0x230]
call fcn.004097c0
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 0x4cd450
lea ecx, [ebp - 0x230]
push ecx
call fcn.00409d70
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 0x490cd2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00409680
jmp 0x490f6d
lea ecx, [ebp - 0x22c]
call fcn.004097c0
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.00409740
mov byte [ebp - 4], 4
push 0x4cd45c
lea ecx, [ebp - 0x220]
call fcn.004156b0
cmp dword [ebp + 0xc], 0
je 0x490d2c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.004095c0
lea ecx, [ebp - 0x234]
push ecx
push 0x4cd460
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00419af0
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.00409610
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.00409680
push 0x4cd464
lea edx, [ebp - 0x22c]
push edx
call fcn.00419a70
add esp, 8
movzx eax, al
test eax, eax
je 0x490f2e
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00419cc0
lea ecx, [ebp - 0x220]
call fcn.004097f0
cmp eax, 2
jle 0x490ec4
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 0x490ec4
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.004097f0
test eax, eax
jne 0x490e46
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.0040f4b0
test eax, eax
jne 0x490e46
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.00409610
jmp 0x490ec4
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.004097f0
test eax, eax
jne 0x490ec4
lea ecx, [ebp - 0x220]
call fcn.004097f0
mov esi, eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x16b0
call fcn.004097f0
cmp esi, eax
jle 0x490ec4
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 0x4cd468
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 0x4cd46c
lea ecx, [ebp - 0x220]
call fcn.004156b0
lea eax, [ebp - 0x234]
push eax
push 0x4cd470
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00419af0
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.00409610
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.00409680
jmp 0x490d81
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00409680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.00409680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 8