Function at 0x410d30
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434062
mov eax, dword fs:[0]
push eax
mov eax, 0x10c4
call fcn.00431f70
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10cc], ecx
lea eax, [ebp - 0xe78]
push eax
mov ecx, dword [ebp - 0x10cc]
call fcn.0040f980
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0xc40], cx
push 0x206
push 0
lea edx, [ebp - 0xc3e]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xe78]
call fcn.004059f0
push eax
push 0x43d01c
lea eax, [ebp - 0xc40]
push eax
call fcn.00412240
add esp, 0xc
lea ecx, [ebp - 0xe90]
push ecx
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::getProgramRunDir_void_]
add esp, 4
mov byte [ebp - 4], 1
call fcn.0040eeb0
add eax, 0x78
push eax
lea ecx, [ebp - 0xea8]
call fcn.00403270
mov byte [ebp - 4], 2
call fcn.0040eeb0
add eax, 0xb4
push eax
lea ecx, [ebp - 0xec0]
call fcn.00403270
mov byte [ebp - 4], 3
call fcn.0040eeb0
add eax, 0x78
push eax
lea ecx, [ebp - 0xe60]
call fcn.00403270
mov byte [ebp - 4], 4
xor edx, edx
mov word [ebp - 0x830], dx
push 0x206
push 0
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xe90]
call fcn.004059f0
push eax
push 0x43d024
lea eax, [ebp - 0x830]
push eax
call fcn.00412240
add esp, 0xc
lea ecx, [ebp - 0xe60]
call fcn.004059f0
push eax
push 0x43d02c
lea ecx, [ebp - 0x218]
push ecx
call fcn.00412240
add esp, 0xc
push 0x43d048
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xc40]
push ecx
mov ecx, dword [ebp - 0x10cc]
call fcn.0040fa20
push str.CInstalltools::CopyiSafeFoder__InstallWithInstFile:_end_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xe48], cx
push 0x206
push 0
lea edx, [ebp - 0xe46]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
mov eax, 1
test eax, eax
je 0x410f88
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.iImportLib.dll_int___cdecl_elex::func::CopyFolder_wchar_t_const___wchar_t_const__]
add esp, 8
mov dword [ebp - 0x10d0], eax
cmp dword [ebp - 0x10d0], 0
jne 0x410f60
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 0x43d148
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
jmp 0x410f83
mov edx, dword [ebp - 0x10d0]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push ecx
push str.CInstalltools::CopyiSafeFoder__CopyFolder_failed__src___s__dst___s__err___d_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0x10
jmp 0x41101f
xor edx, edx
mov word [ebp - 0xa38], dx
push 0x206
push 0
lea eax, [ebp - 0xa36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x43cf2c
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa38]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.ors.dat
lea edx, [ebp - 0xe48]
push edx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41101f
push 0
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10c8]
call fcn.00403bc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10c8]
call fcn.0040ef40
push str.CInstalltools::CopyiSafeFoder__RestoreIgnoreFiles:_end_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c8]
call fcn.0040f530
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe60]
call fcn.00405b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xec0]
call fcn.00405b70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xea8]
call fcn.00405b70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe90]
call fcn.00405b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe78]
call fcn.00405b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret