Function at 0x466570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f001
mov eax, dword fs:[0]
push eax
mov eax, 0x1434
call fcn.0049a480
mov eax, dword [0x583bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, 1
call fcn.0045f260
mov ecx, eax
call fcn.0045f200
push 0x208
mov esi, eax
mov dword [ebp - 0x143c], 0
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d1a10
add esp, 0xc
mov dword [ebp - 0x1440], 0
mov dword [ebp - 0x1424], 0
mov dword [ebp - 0x1438], 0
call fcn.0045f260
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
cmp eax, 3
je 0x46661d
push str.InstallEndMutex
lea ecx, [edi + 0xb0]
call fcn.00415ef0
test eax, eax
jne 0x4667fc
push str.InstallEndMutex_SAFE
call fcn.00463320
add esp, 4
test esi, esi
je 0x46681a
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
jne 0x46668f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d1a10
mov eax, dword [esi]
lea ecx, [ebp - 0x218]
add esp, 0xc
push 0x104
push ecx
push esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466670
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 8]
call fcn.0040d780
mov eax, dword [esi]
lea ecx, [ebp - 0x1438]
push ecx
lea ecx, [ebp - 0x1424]
push ecx
lea ecx, [ebp - 0x1440]
push ecx
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push esi
call dword [eax + 8]
test eax, eax
je 0x46681c
cmp dword [ebp - 0x1438], 0
je 0x4665f5
push 0x800
lea eax, [ebp - 0x1420]
push 0
push eax
call fcn.004d1a10
push 0x800
lea eax, [ebp - 0xc20]
push 0
push eax
call fcn.004d1a10
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
push dword [edi + 8]
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
push dword [edi + 4]
lea eax, [ebp - 0x1420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46674e
lea eax, [ebp - 0xc20]
push eax
push str.ERROR:_source_file_DO_NOT_exists___s
call fcn.00463320
add esp, 8
xor ebx, ebx
jmp 0x4665f5
lea eax, [ebp - 0x1420]
mov ecx, edi
push eax
lea eax, [ebp - 0xc20]
push eax
call fcn.00467730
movd xmm0, dword [ebp - 0x1424]
and ebx, eax
mov eax, dword [ebp - 0x143c]
inc eax
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x143c], eax
mov dword [ebp - 0x1430], 0x467b50
mov dword [ebp - 0x142c], edi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm1, dword [0x54ea74]
addss xmm1, dword [0x54ea70]
cvttss2si eax, xmm1
mov dword [ebp - 0x1428], eax
lea eax, [ebp - 0x1434]
mov dword [ebp - 4], 0
push eax
call fcn.0045be00
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x1430], 0
mov dword [ebp - 0x142c], 0
jmp 0x4665f5
push str.InstallEndMutex_not_SAFE
call fcn.00463320
add esp, 4
mov ecx, esi
call fcn.00464990
mov dword [edi + 0xac], 1
xor ebx, ebx
push str.Out_CopyFile_While_Circle
call fcn.00463320
add esp, 4
cmp dword [edi + 0xac], 0
jne 0x4668a4
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.0040c3d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1424], eax
push 0xd
push 0x54e7c4
lea ecx, [ebp - 0x1424]
mov dword [ebp - 4], 1
call fcn.00429790
mov esi, dword [ebp - 0x1424]
mov ecx, edi
push esi
push dword [edi + 0x70]
call fcn.00467730
push esi
push dword [edi + 0x70]
push str.save_7z_from__s_to__s
call fcn.00463320
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4668a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x1430], 0x467ae0
mov dword [ebp - 0x142c], edi
mov dword [ebp - 0x1428], ebx
lea eax, [ebp - 0x1434]
mov dword [ebp - 4], 2
push eax
call fcn.0045be00
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a028
mov esp, ebp
pop ebp
ret