Function at 0x4166d0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455bc0
mov eax, dword fs:[0]
push eax
sub esp, 0xa98
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xa80]
push eax
call fcn.00415170
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0xa6c], 8
lea eax, [ebp - 0xa80]
cmovae eax, dword [ebp - 0xa80]
push eax
lea eax, [ebp - 0x830]
push 0x461430
push eax
call fcn.00405ac0
add esp, 0xc
lea ecx, [ebp - 0xa68]
call fcn.0042cdc0
mov byte [ebp - 4], 1
mov eax, dword [0x48277c]
test eax, eax
jne 0x41679f
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0xaa4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x416794
mov ecx, eax
call fcn.004122b0
jmp 0x416796
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x48277c], eax
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0x90
mov word [ebp - 0xa50], cx
push eax
lea ecx, [ebp - 0xa50]
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
call fcn.00406870
xor eax, eax
push 0x206
mov byte [ebp - 4], 3
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0xa54], 8
lea eax, [ebp - 0xa68]
cmovae eax, dword [ebp - 0xa68]
push eax
lea eax, [ebp - 0x628]
push 0x461430
push eax
call fcn.00405ac0
add esp, 0xc
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa50]
push eax
lea eax, [ebp - 0x218]
push 0x461430
push eax
call fcn.00405ac0
mov edi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
push str.CInstalltools::CopyiSafeFoder__InstallWithInstFile:_begin_
call edi
add esp, 4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00415200
push str.CInstalltools::CopyiSafeFoder__InstallWithInstFile:_end_
call edi
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x462244
push eax
lea eax, [ebp - 0x420]
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call esi
push 0x462244
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
push eax
call esi
xorps xmm0, xmm0
movq qword [ebp - 0xa90], xmm0
mov eax, 0x614
mov word [ebp - 0xa90], ax
movq qword [ebp - 0xa98], xmm0
lea eax, [ebp - 0x420]
mov dword [ebp - 0xa98], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa94], eax
lea eax, [ebp - 0xaa0]
movq qword [ebp - 0xaa0], xmm0
mov dword [ebp - 0xa88], 0
mov word [ebp - 0xa84], 0
push eax
mov dword [ebp - 0xa8a], 0
mov dword [ebp - 0xaa0], 0
mov dword [ebp - 0xa86], 0
mov dword [ebp - 0xa9c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4169a7
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push str.CInstalltools::CopyiSafeFoder__CopyFolder_succeed__src___s__des___s_
call edi
add esp, 0xc
jmp 0x4169c0
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push str.CInstalltools::CopyiSafeFoder__CopyFolder_failed__src___s__dst___s__err___d_
call edi
add esp, 0x10
call fcn.00413e50
push str.CInstalltools::CopyiSafeFoder__RestoreIgnoreFiles:_end_
call edi
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xa3c], 8
jb 0x4169e9
push dword [ebp - 0xa50]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa54], 8
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
jb 0x416a1a
push dword [ebp - 0xa68]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa6c], 8
mov dword [ebp - 0xa54], 7
mov dword [ebp - 0xa58], 0
mov word [ebp - 0xa68], ax
jb 0x416a4b
push dword [ebp - 0xa80]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret