Function at 0x40fb14
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd0
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
call fcn.00473360
add esp, 4
test al, al
je 0x40fb6e
lea esi, [ebp - 0xb8]
mov ecx, esi
push 0
push 0x214
push str..._.._chrome_installer_tdsetup_tdsetup_ee_install_install_logic.cpp
call fcn.004733f0
lea eax, [ebp - 0xb0]
push 0x19
push str.ProcUnapck360Chrome_start
push eax
call fcn.00403cc6
add esp, 0xc
mov ecx, esi
call fcn.00473790
push 1
call fcn.00442e60
add esp, 4
test al, al
je 0x40fb83
xor ebx, ebx
jmp 0x40fe25
call fcn.004175be
lea edx, [ebp - 0xc4]
mov ecx, eax
push edx
call fcn.004181aa
call fcn.004175be
lea edx, [ebp - 0xd0]
mov ecx, eax
push edx
call fcn.00418252
call fcn.004175be
lea esi, [ebp - 0xdc]
mov ecx, eax
push 1
push esi
call fcn.004182fa
cmp byte [esi + 0xb], 0
jns 0x40fbca
mov esi, dword [ebp - 0xdc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
test eax, eax
je 0x40fde0
xor ebx, ebx
lea edi, [ebp - 0xdc]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
call fcn.00473360
add esp, 4
test al, al
je 0x40fc3f
mov esi, edi
lea edi, [ebp - 0xb8]
mov ecx, edi
push 0
push 0x21f
push str..._.._chrome_installer_tdsetup_tdsetup_ee_install_install_logic.cpp
call fcn.004733f0
push 0x25
push str.MoveFileEx_UnpackChromeExe_try_count
lea eax, [ebp - 0xb0]
push eax
call fcn.00403cc6
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00452ea0
mov ecx, edi
mov edi, esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.00473790
cmp byte [ebp - 0xb9], 0
lea eax, [ebp - 0xc4]
jns 0x40fc54
mov eax, dword [ebp - 0xc4]
cmp byte [ebp - 0xd1], 0
mov ecx, edi
jns 0x40fc65
mov ecx, dword [ebp - 0xdc]
push 3
push eax
push ecx
call esi
test eax, eax
jne 0x40fd04
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jne 0x40fbe9
push 2
call fcn.00473360
add esp, 4
test al, al
je 0x40fcdc
lea edi, [ebp - 0xb8]
mov ecx, edi
push 2
push 0x22b
push str..._.._chrome_installer_tdsetup_tdsetup_ee_install_install_logic.cpp
call fcn.004733f0
push 0x56
push str.MoveFileEx_UnpackChromeExe_to_ChromeExe_is_error__tray_move_to_newchrome___last_error
lea eax, [ebp - 0xb0]
push eax
call fcn.00403cc6
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
push eax
call fcn.00453080
mov ecx, edi
call fcn.00473790
cmp byte [ebp - 0xc5], 0
mov bl, 1
lea ecx, [ebp - 0xd0]
jns 0x40fcf3
mov ecx, dword [ebp - 0xd0]
cmp byte [ebp - 0xd1], 0
jns 0x40fd63
mov eax, dword [ebp - 0xdc]
jmp 0x40fd69
lea eax, [ebp - 0xd0]
push eax
call fcn.00437ebb
add esp, 4
push 0
call fcn.00473360
add esp, 4
test al, al
je 0x40fd5f
lea esi, [ebp - 0xb8]
mov ecx, esi
push 0
push 0x224
push str..._.._chrome_installer_tdsetup_tdsetup_ee_install_install_logic.cpp
call fcn.004733f0
push 0x38
push str.MoveFileEx_UnpackChromeExe_to_ChromeExe_is_OK__try_count
lea eax, [ebp - 0xb0]
push eax
call fcn.00403cc6
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00452ea0
mov ecx, esi
call fcn.00473790
mov bl, 1
jmp 0x40fde0
lea eax, [ebp - 0xdc]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40fde0
call fcn.00436db0
mov ecx, eax
push 0x25d
push 0x1d
call fcn.004374f6
push 2
call fcn.00473360
add esp, 4
test al, al
je 0x40fdde
lea esi, [ebp - 0xb8]
mov ecx, esi
push 2
push 0x231
push str..._.._chrome_installer_tdsetup_tdsetup_ee_install_install_logic.cpp
call fcn.004733f0
push 0x34
push str.MoveFileEx_newchrome_to_ChromeExe_error__last_error
lea eax, [ebp - 0xb0]
push eax
call fcn.00403cc6
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
push eax
call fcn.00453080
mov ecx, esi
call fcn.00473790
xor ebx, ebx
cmp byte [ebp - 0xd1], 0
jns 0x40fdf7
push dword [ebp - 0xdc]
call fcn.00517bd6
add esp, 4
cmp byte [ebp - 0xc5], 0
jns 0x40fe0e
push dword [ebp - 0xd0]
call fcn.00517bd6
add esp, 4
cmp byte [ebp - 0xb9], 0
jns 0x40fe25
push dword [ebp - 0xc4]
call fcn.00517bd6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret