Function at 0x461b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4750de
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x49c00c]
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.004095e0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x461bff
push 0x5c
lea ecx, [ebp - 0x228]
call fcn.00416be0
push eax
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00412480
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.00409540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.004095a0
lea ecx, [ebp - 0x230]
call fcn.004096c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x224]
mov eax, dword [edx + 0xbe4]
push eax
push 0x48a760
lea ecx, [ebp - 0x230]
push ecx
call fcn.00409d20
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.00409710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461c72
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004095a0
jmp 0x461f0d
lea ecx, [ebp - 0x22c]
call fcn.004096c0
mov byte [ebp - 4], 3
mov dword [ebp - 0x234], 0
mov edx, dword [ebp - 0x224]
add edx, 0xbe4
push edx
lea ecx, [ebp - 0x220]
call fcn.00409690
mov byte [ebp - 4], 4
push 0x48a76c
lea ecx, [ebp - 0x220]
call fcn.00415520
cmp dword [ebp + 0xc], 0
je 0x461ccc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.004094f0
lea ecx, [ebp - 0x234]
push ecx
push 0x48a770
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x228]
call fcn.004193e0
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.00409540
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.004095a0
push 0x48a774
lea edx, [ebp - 0x22c]
push edx
call fcn.00419360
add esp, 8
movzx eax, al
test eax, eax
je 0x461ece
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00419540
lea ecx, [ebp - 0x220]
call fcn.00409700
cmp eax, 2
jle 0x461e64
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461e64
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
call sym.Install_adv.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x224]
add ecx, 0xb24
call fcn.00409700
test eax, eax
jne 0x461de6
push 0
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0xbe4
call fcn.0040f3c0
test eax, eax
jne 0x461de6
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0xb24
call fcn.00409540
jmp 0x461e64
mov ecx, dword [ebp - 0x224]
add ecx, 0xb24
call fcn.00409700
test eax, eax
jne 0x461e64
lea ecx, [ebp - 0x220]
call fcn.00409700
mov esi, eax
mov ecx, dword [ebp - 0x224]
add ecx, 0xbe4
call fcn.00409700
cmp esi, eax
jle 0x461e64
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x48a778
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 0x48a77c
lea ecx, [ebp - 0x220]
call fcn.00415520
lea eax, [ebp - 0x234]
push eax
push 0x48a780
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x228]
call fcn.004193e0
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.00409540
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.004095a0
jmp 0x461d21
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.004095a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.004095a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret 8