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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48328f
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4ae070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xa8], ebx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x40]
cmp ecx, edi
je 0x4074a1
push 0xffffffffffffffff
push eax
push edi
call fcn.00401fb0
mov eax, dword [ebp - 0x30]
test eax, eax
sete al
test al, al
jne 0x40768a
push 0x17
xor eax, eax
mov dword [ebp - 0x90], 7
push str.CreativeCloudSet_Up.exe
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
call fcn.00401840
push ecx
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00424f90
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x90]
cmp eax, 8
jb 0x407515
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00401e70
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4076db
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.004172a0
lea ecx, [ebp - 0x28]
call fcn.00424bf0
test al, al
je 0x4075d1
push ecx
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.00424f90
add esp, 4
test al, al
je 0x4075d1
push ecx
lea ecx, [ebp - 0x28]
call fcn.00425080
add esp, 4
test al, al
je 0x4075d1
push str.CreativeCloudSet_Up.exe
lea ecx, [ebp - 0xa4]
call fcn.004016d0
push ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0xa4]
mov ebx, 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa8], ebx
call fcn.00424f90
add esp, 4
mov byte [ebp - 0x89], 0
test al, al
jne 0x4075d8
mov byte [ebp - 0x89], 1
mov dword [ebp - 4], 4
test bl, 1
je 0x407622
mov eax, dword [ebp - 0x90]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x407605
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00401e70
xor eax, eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
cmp byte [ebp - 0x89], 0
je 0x407711
mov eax, dword [0x4b29c8]
test eax, eax
jne 0x40766e
push 0x84
call fcn.00459245
mov esi, eax
mov dword [ebp - 0xa8], esi
push 0x84
push 0
push esi
mov byte [ebp - 4], 6
call fcn.0045c4d0
add esp, 0x10
mov ecx, esi
call fcn.00407060
mov byte [ebp - 4], 4
mov dword [0x4b29c8], eax
mov ecx, dword [eax + 4]
add eax, 4
push str.could_not_get_Temp_Folder_path
push 0x49587c
push eax
call dword [ecx + 0x24]
add esp, 0xc
jmp 0x4079fc
mov eax, dword [0x4b29c8]
test eax, eax
jne 0x4076c9
push 0x84
call fcn.00459245
mov esi, eax
mov dword [ebp - 0xa8], esi
push 0x84
push 0
push esi
mov byte [ebp - 4], 2
call fcn.0045c4d0
add esp, 0x10
mov ecx, esi
call fcn.00407060
mov byte [ebp - 4], 0
mov dword [0x4b29c8], eax
mov ecx, dword [eax + 4]
add eax, 4
push str.Empty_LBS_Path_received._Getting_LBS_Path_of_Utils...
push eax
call dword [ecx + 0x14]
add esp, 8
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00407a90
test al, al
jne 0x40752f
call fcn.00407220
mov ecx, dword [eax + 4]
add eax, 4
push str.Failed_to_get_executable_path_for_ACC_LBS
push 0x49587c
push eax
call dword [ecx + 0x24]
add esp, 0xc
xor bl, bl
jmp 0x407a59
push ecx
lea ecx, [ebp - 0x28]
call fcn.00425130
add esp, 4
test al, al
jne 0x40774e
call fcn.00407220
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x28]
add eax, 4
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
push edx
push str.could_not_delete_file:__s
push 0x49587c
push eax
call dword [ecx + 0x24]
add esp, 0x10
jmp 0x4079fc
xor eax, eax
mov dword [ebp - 0x90], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xa4], ax
lea ecx, [ebp - 0xa4]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x94], 0
push eax
call fcn.00401fb0
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0xa4]
push 0
cmovae ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [ebp - 0x90]
je 0x4079b1
cmp eax, 8
jb 0x4077cc
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00401e70
call fcn.00407220
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea esi, [eax + 4]
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x40]
push edx
push ecx
push str.Copied_LBS_from__s_to__s
push 0x49587c
push esi
call dword [eax + 0x14]
xor eax, eax
mov dword [ebp - 0x44], 7
add esp, 0x14
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x40782a
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00401fb0
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x40783d
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00401fb0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
push str.AdobePIM.dll
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.004016d0
push ecx
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.00424f90
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.004015e0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40799d
lea ecx, [ebp - 0x70]
call fcn.00424bf0
test al, al
je 0x407910
push ecx
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x70]
call fcn.00424f90
add esp, 4
test al, al
je 0x407910
push ecx
lea ecx, [ebp - 0x70]
call fcn.00425080
add esp, 4
test al, al
je 0x407910
push str.AdobePIM.dll
lea ecx, [ebp - 0xa4]
call fcn.004016d0
push ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xa4]
or ebx, 2
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xa8], ebx
call fcn.00424f90
add esp, 4
mov byte [ebp - 0x89], 0
test al, al
jne 0x407917
mov byte [ebp - 0x89], 1
mov dword [ebp - 4], 8
test bl, 2
je 0x40792e
lea ecx, [ebp - 0xa4]
call fcn.004015e0
cmp byte [ebp - 0x89], 0
je 0x407955
call fcn.00407220
mov ecx, dword [eax + 4]
add eax, 4
push str.could_not_get_Temp_Folder_path
push 0x49587c
push eax
call dword [ecx + 0x24]
add esp, 0xc
jmp 0x40799d
sub esp, 0x10
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004252f0
add esp, 0x10
test al, al
jne 0x40799d
call fcn.00407220
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 8
lea esi, [eax + 4]
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x58]
push edx
push ecx
push str.could_not_copy_PIM_from__s_to__s
push 0x49587c
push esi
call dword [eax + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x70]
mov bl, 1
call fcn.004015e0
lea ecx, [ebp - 0x58]
call fcn.004015e0
jmp 0x4079fe
cmp eax, 8
jb 0x4079c9
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00401e70
call fcn.00407220
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea esi, [eax + 4]
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x40]
push edx
push ecx
push str.could_not_copy_LBS_from__s_to__s
push 0x49587c
push esi
call dword [eax + 0x24]
add esp, 0x14
xor bl, bl
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x407a19
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00401e70
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x407a45
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401e70
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x407a6e
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00401e70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045922f
mov esp, ebp
pop ebp
ret 4