Function at 0x486350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa6a1
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4e3074]
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.00405080
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4863ff
push 0x5c
lea ecx, [ebp - 0x228]
call fcn.00409850
push eax
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00404ef0
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.00404ff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00405060
lea ecx, [ebp - 0x230]
call fcn.00405120
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 0x4c5850
lea ecx, [ebp - 0x230]
push ecx
call fcn.00405800
add esp, 0x10
lea ecx, [ebp - 0x230]
call sym.Install_silent.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 0x486472
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00405060
jmp 0x48670d
lea ecx, [ebp - 0x22c]
call fcn.00405120
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.00405320
mov byte [ebp - 4], 4
push 0x4c585c
lea ecx, [ebp - 0x220]
call fcn.00409cc0
cmp dword [ebp + 0xc], 0
je 0x4864cc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.00405250
lea ecx, [ebp - 0x234]
push ecx
push 0x4c5860
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00409910
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.00404ff0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.00405060
push 0x4c5864
lea edx, [ebp - 0x22c]
push edx
call fcn.00409610
add esp, 8
movzx eax, al
test eax, eax
je 0x4866ce
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00409ce0
lea ecx, [ebp - 0x220]
call fcn.004053a0
cmp eax, 2
jle 0x486664
lea ecx, [ebp - 0x220]
call sym.Install_silent.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 0x486664
lea ecx, [ebp - 0x220]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.004053a0
test eax, eax
jne 0x4865e6
push 0
lea ecx, [ebp - 0x220]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x16b0
call fcn.00404fb0
test eax, eax
jne 0x4865e6
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.00404ff0
jmp 0x486664
mov ecx, dword [ebp - 0x224]
add ecx, 0x15ec
call fcn.004053a0
test eax, eax
jne 0x486664
lea ecx, [ebp - 0x220]
call fcn.004053a0
mov esi, eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x16b0
call fcn.004053a0
cmp esi, eax
jle 0x486664
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x220]
call sym.Install_silent.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 0x4c5868
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_silent.exe_private:_bool___thiscall_CNsInstaller::AddDelInfo_struct_tagDelInfo__
push 0x4c586c
lea ecx, [ebp - 0x220]
call fcn.00409cc0
lea eax, [ebp - 0x234]
push eax
push 0x4c5870
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00409910
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.00404ff0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.00405060
jmp 0x486521
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00405060
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00405060
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 8