Function at 0x4078ef
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xa4
mov eax, 0x470d38
call fcn.0045d47b
xor esi, esi
cmp dword [ebp + 8], esi
je 0x407b09
push dword [ebp + 8]
call fcn.0045a12c
pop ecx
cmp eax, 4
jb 0x407b09
push 0x497a28
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
call fcn.004037fc
mov dword [ebp - 4], esi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x30], str..DLL
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 1
call fcn.0042df63
pop ecx
pop ecx
test al, al
jne 0x40796d
mov esi, 0x8007000e
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00403af7
mov eax, esi
jmp 0x407b1d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x407ac8
push dword [ebp + 0xc]
call fcn.0042d372
pop ecx
test eax, eax
jne 0x407ac8
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
mov ebx, 0x1f01ff
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x498c88
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x48]
push eax
push 1
movsd dword es:[edi], dword [esi]
call fcn.0041c25e
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x498c88
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
pop ecx
lea eax, [ebp - 0xb0]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00406c26
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
xor ecx, ecx
inc ecx
mov byte [ebp - 4], 2
call fcn.0041c2e2
add esp, 0xc
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.00406b81
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x498c88
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xb0]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00406c05
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
xor ecx, ecx
inc ecx
mov byte [ebp - 4], 3
call fcn.0041c2e2
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00406b81
push dword [ebp + 0xc]
call fcn.0042d372
pop ecx
test eax, eax
jne 0x407ac8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 0xc]
push str.DING::CUtils::CopyFiles_504__:_CreateDirectory_failed:__s___lu__r_n
call fcn.00416f04
add esp, 0xc
mov esi, 0x80070005
jmp 0x40795b
lea eax, [ebp - 0x30]
push eax
push 0x408fa4
push 1
push 0
push 0x47de90
push dword [ebp + 8]
call fcn.00408049
add esp, 0x18
test eax, eax
jge 0x407afa
cmp eax, 0x80070490
je 0x407afa
mov esi, 0x80004005
jmp 0x40795b
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00403af7
xor eax, eax
jmp 0x407b1d
push dword [ebp + 8]
push str.DING::CUtils::CopyFiles_471__:_invalid_path:__s
call fcn.00416f04
pop ecx
pop ecx
mov eax, 0x80070057
call fcn.0045d520
ret