Function at 0x43fe10
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597458
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43fe7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.332_tKFuncAux::CopyFileW_torigin_file_do_not_exist__error_code_is:__lu
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x43feb2
push str.338_tKFuncAux::CopyFileW_tNewFileName_is_empty
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x43ffce
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4400a4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test edi, 0xffff0000
jne 0x43fef3
movzx eax, di
lea ecx, [ebp - 0x10]
push eax
call fcn.00426130
jmp 0x43ff19
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x43ff00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ff00
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.004263f0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00443130
mov esi, dword [ebp - 0x10]
add esp, 4
cmp dword [esi - 0xc], 0
jne 0x43ff53
push str.348_tKFuncAux::CopyFileW_tnew_file_path_is_empty_after_path_remove_file_spec
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x10
jmp 0x43ff88
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ffbf
push esi
call fcn.004400b0
add esp, 4
test eax, eax
jne 0x43ffbf
push esi
push str.356_tKFuncAux::CopyFileW_tcreate_deep_directory_filed__path_is:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x440079
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00425b40
push 0
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
call ebx
test eax, eax
jne 0x44008d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.365_tKFuncAux::CopyFileW_tcopy_file_failed__error_code_is:__lu
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonapponlyonekfuncaux.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esp, 0x14
cmp dword [ebp + 0x10], 0
je 0x440079
lea ecx, [ebp - 0x10]
call fcn.0043f680
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push str._s_d__x
push eax
call fcn.004289d0
mov esi, dword [ebp - 0x10]
push esi
push edi
call fcn.0054bb13
add esp, 0x18
test eax, eax
jne 0x440071
push eax
push edi
push dword [ebp + 8]
call ebx
push 4
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x10]
call fcn.00425b40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
call fcn.00425b40
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3