Function at 0x4017c8
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b75c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x153c
call fcn.0046cab0
push edi
mov byte [ebp - 0xe24], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xe23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x218], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1328], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1327]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x520], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x51f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 8], 0
je 0x401878
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40187f
xor eax, eax
jmp 0x401b05
cmp dword [ebp + 0xc], 0
je 0x40188f
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x401896
xor eax, eax
jmp 0x401b05
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x520]
push edx
call fcn.0046c930
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.0046c930
add esp, 8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4018d2
xor eax, eax
jmp 0x401b05
push 0x49e22c
lea eax, [ebp - 0x218]
push eax
push 0x104
call fcn.00401d33
add esp, 0xc
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
mov dword [ebp + 8], eax
push 0x49e234
lea ecx, [ebp - 0x1328]
push ecx
push 0x104
call fcn.00401d33
add esp, 0xc
lea edx, [ebp - 0x1328]
mov dword [ebp + 0xc], edx
push 0x104
lea eax, [ebp - 0x41c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1428]
push ecx
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x1528]
push eax
lea ecx, [ebp - 0x153c]
push ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.0046cbc2
add esp, 0x14
push 0x49e23c
push str.pdfsdk
lea eax, [ebp - 0x1528]
push eax
lea ecx, [ebp - 0x153c]
push ecx
lea edx, [ebp - 0x624]
push edx
call fcn.0046cb31
add esp, 0x14
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4019ab
xor eax, eax
jmp 0x401b05
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x1224], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x49e24c
lea edx, [ebp - 0x1224]
push edx
call fcn.004014e0
add esp, 8
lea eax, [ebp - 0x1224]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4019fb
xor eax, eax
jmp 0x401b05
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1224]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x624]
push ecx
push str.__s____s__stamp___s__output___s_
lea edx, [ebp - 0xe24]
push edx
call fcn.0046cadf
add esp, 0x18
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1540]
push ecx
lea ecx, [ebp - 0x1538]
call fcn.00406010
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1538]
push edx
lea eax, [ebp - 0xe24]
push eax
call fcn.00401526
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401aa5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1544], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1538]
call fcn.004013a0
mov eax, dword [ebp - 0x1544]
jmp 0x401b05
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00477ab0
add esp, 8
test eax, eax
je 0x401acf
push 0
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1548], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1538]
call fcn.004013a0
mov eax, dword [ebp - 0x1548]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret