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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, ecx
mov esi, str._sefix.exe
lea eax, [ebp - 4]
lea ebx, [edi + 0x18]
push esi
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push esi
mov dword [ebp - 0xc], eax
lea eax, [edi + 0x1c]
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 0xc]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsSafeCentral
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call fcn.00414c27
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
push str.extensionsSafeCentralSafeCentral.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsSafeCentralSafeCentral.dll
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsSafeCentralurlproc.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsSafeCentralurlproc.dll
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsSafeCentralurlprocnet.dll
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsSafeCentralurlprocnet.dll
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsSafeCentralurllibauth.dat
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsSafeCentralurllibauth.dat
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
push str.extensionsSafeCentralurlproc.exe
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push str.extensionsSafeCentralurlproc.exe
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 4]
push eax
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
add edi, 0x10
push str.extensionsSafeCentral
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00410e94
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e625
push dword [ebp - 0x14]
call fcn.00414c27
pop ecx
lea eax, [ebp - 0x14]
push str.esimple.ini
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov edi, dword [eax]
push str.extensionsSafeCentralesimple.ini
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
lea eax, [ebp - 0x14]
push str.SafeProtect.dat
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
mov edi, dword [eax]
push str.extensionsSafeCentralSafeProtect.dat
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
and word [ebp - 0x21c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
push str._sefix.exe_downloadurllib
push dword [ebx]
stosw word es:[edi], ax
push 0x427bd8
lea eax, [ebp - 0x21c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00414608
add esp, 0x20
lea ecx, [ebp - 0x14]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret