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

Disassembly:
push 0x1c
mov eax, 0x6a1f1e
call fcn.0049be25
and dword [ebp - 4], 0
mov ecx, 0x7af264
push dword [ebp + 8]
call fcn.00454b86
test eax, eax
jne 0x6810a4
push str.Updated_location_is_same
call fcn.006778de
pop ecx
jmp 0x681381
call fcn.00474f38
push eax
lea ecx, [ebp - 0x18]
call fcn.00451c1b
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.00474f38
push eax
lea ecx, [ebp - 0x10]
call fcn.00451c1b
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
call fcn.0066fec3
mov byte [ebp - 4], 3
mov esi, 0x751814
push dword [eax]
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push esi
push eax
call fcn.00452465
mov byte [ebp - 4], 2
add esp, 0x10
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
push 5
call fcn.00673d92
test eax, eax
jne 0x681138
lea eax, [ebp - 0x20]
push eax
call fcn.00670d2d
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.00452465
mov byte [ebp - 4], 2
add esp, 0x10
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
jmp 0x68114d
push 0x7557b8
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00452465
add esp, 0x10
mov edi, dword [ebp - 0x18]
cmp dword [edi - 4], ebx
jle 0x681163
push dword [edi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00451ca4
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], ebx
jle 0x681179
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00451ca4
mov esi, dword [ebp - 0x10]
push edi
push esi
call fcn.00512407
pop ecx
pop ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.File_rename_result__Error_:__d__Result_:__d___Old_file_:__s__New_file_:__s
call fcn.006778de
add esp, 0x14
call fcn.00474f38
push eax
lea ecx, [ebp - 0x1c]
call fcn.00451c1b
mov byte [ebp - 4], 5
call fcn.00474f38
push eax
lea ecx, [ebp - 0x14]
call fcn.00451c1b
push 5
mov byte [ebp - 4], 6
call fcn.00673d92
test eax, eax
jne 0x681266
lea eax, [ebp - 0x20]
push eax
call fcn.00670d2d
mov esi, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 8]
cmp dword [ecx - 4], ebx
jle 0x6811f1
push dword [ecx - 0xc]
lea ecx, [ebp + 8]
call fcn.00451ca4
mov ecx, dword [ebp + 8]
push dword [esi]
lea eax, [ebp - 0x1c]
push ecx
push 0x751814
push eax
call fcn.00452465
mov byte [ebp - 4], 6
add esp, 0x10
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
lea eax, [ebp - 0x20]
push eax
call fcn.00670d2d
mov esi, eax
mov byte [ebp - 4], 8
mov edx, dword [0x7af264]
cmp dword [edx - 4], ebx
jle 0x681241
push dword [edx - 0xc]
mov ecx, 0x7af264
call fcn.00451ca4
mov edx, dword [0x7af264]
push dword [esi]
lea eax, [ebp - 0x14]
push edx
push 0x751814
push eax
call fcn.00452465
mov byte [ebp - 4], 6
add esp, 0x10
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0044ec01
jmp 0x6812c3
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ebx
jle 0x68127c
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00451ca4
mov eax, dword [ebp + 8]
push 0x7557b8
push eax
mov esi, 0x751814
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00452465
mov eax, dword [0x7af264]
add esp, 0x10
cmp dword [eax - 4], ebx
jle 0x6812b0
push dword [eax - 0xc]
mov ecx, 0x7af264
call fcn.00451ca4
mov eax, dword [0x7af264]
push 0x7557b8
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00452465
add esp, 0x10
mov esi, dword [ebp - 0x14]
or dword [ebp - 0x20], 0xffffffff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x68130c
cmp dword [esi - 4], ebx
jle 0x6812e8
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00451ca4
mov esi, dword [ebp - 0x14]
push ebx
xor dl, dl
mov ecx, esi
call fcn.0068a223
pop ecx
test al, al
jne 0x68130c
push esi
push str.CJoinSessionApp::UpdateLaunchAppExe
push str._s::Ignoring_file_copy_due_to_signature_of_exe_dll_is_not_valid___app_path:_s
call fcn.006778de
add esp, 0xc
jmp 0x68135b
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x24], esp
mov ebx, esp
push eax
mov dword [ebp - 0x28], ebx
call fcn.0045207b
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 9
mov ebx, esp
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x28], ebx
push eax
call fcn.0045207b
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x20]
mov dword [ebx], eax
mov byte [ebp - 4], 6
call fcn.006895e2
push dword [ebp - 0x20]
push esi
push str.Connect_exe_copied_from__s_to_localappdata__Error_:__d
call fcn.00677763
add esp, 0x14
lea ecx, [esi - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
lea ecx, [edi - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
call fcn.0049bdee
ret 4