Function at 0x461740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474c1b
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 0x4617ef
push 0x5c
lea ecx, [ebp - 0x228]
call fcn.00416560
push eax
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00411c80
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 + 0xbe8]
push eax
push 0x48a710
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 0x461862
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 0x461afd
lea ecx, [ebp - 0x22c]
call fcn.004096c0
mov byte [ebp - 4], 3
mov dword [ebp - 0x234], 0
mov edx, dword [ebp - 0x224]
add edx, 0xbe8
push edx
lea ecx, [ebp - 0x220]
call fcn.00409690
mov byte [ebp - 4], 4
push 0x48a71c
lea ecx, [ebp - 0x220]
call fcn.00414ea0
cmp dword [ebp + 0xc], 0
je 0x4618bc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.004094f0
lea ecx, [ebp - 0x234]
push ecx
push 0x48a720
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x228]
call fcn.00418d60
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 0x48a724
lea edx, [ebp - 0x22c]
push edx
call fcn.00418ce0
add esp, 8
movzx eax, al
test eax, eax
je 0x461abe
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00419090
lea ecx, [ebp - 0x220]
call fcn.00409700
cmp eax, 2
jle 0x461a54
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461a54
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
call sym.Install_rocket.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 0x4619d6
push 0
lea ecx, [ebp - 0x220]
call fcn.00409710
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0xbe8
call fcn.0040e620
test eax, eax
jne 0x4619d6
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0xb24
call fcn.00409540
jmp 0x461a54
mov ecx, dword [ebp - 0x224]
add ecx, 0xb24
call fcn.00409700
test eax, eax
jne 0x461a54
lea ecx, [ebp - 0x220]
call fcn.00409700
mov esi, eax
mov ecx, dword [ebp - 0x224]
add ecx, 0xbe8
call fcn.00409700
cmp esi, eax
jle 0x461a54
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 0x48a728
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_rocket.exe_private:_bool___thiscall_CNsInstaller::AddDelInfo_struct_tagDelInfo__
push 0x48a72c
lea ecx, [ebp - 0x220]
call fcn.00414ea0
lea eax, [ebp - 0x234]
push eax
push 0x48a730
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00418d60
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 0x461911
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.004298d0
mov esp, ebp
pop ebp
ret 8