Function at 0x10007da1
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x10025604
mov eax, 0x100381d9
call fcn.10001a8f
sub esp, 0x4ac
mov eax, dword [0x1003b164]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x494], ebx
call fcn.1002bfb6
xor esi, esi
xor eax, eax
mov dword [ebp - 0x48c], esi
mov dword [ebp - 0x488], esi
mov ecx, 0x96
lea edi, [ebp - 0x484]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x498], esi
call fcn.10027523
cmp eax, esi
mov dword [ebp - 0x490], eax
jge 0x1002570b
cmp eax, 0x8007000e
je 0x1002569e
cmp eax, 0x800705af
je 0x1002569e
cmp eax, 0x8007045b
je 0x1002569e
push 0xb2
push 0x10004bf8
push eax
call fcn.100280bc
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.1002c13a
cmp dword [ebp - 0x490], esi
jge 0x100256db
mov eax, dword [0x1003bed0]
cmp eax, esi
je 0x100256cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x1003bed0], esi
mov eax, dword [ebp - 0x494]
mov dword [0x1003bec0], esi
mov dword [eax], esi
mov esi, dword [ebp - 0x490]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a8]
call fcn.1002c18d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.10023cf0
leave
ret 4
cmp dword [0x1003bec0], esi
je 0x1002587c
call fcn.100347d2
test eax, eax
je 0x10025750
cmp dword [0x1003bed0], esi
jne 0x1002573c
push 0xba
push 0x10004bf8
push 0x10004bd8
call fcn.100280bc
mov eax, dword [0x1003bed0]
mov dword [ebx], eax
mov eax, dword [0x1003bed0]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x100256e1
cmp dword [ebp - 0x490], esi
jne 0x100257c8
call fcn.10018194
test eax, eax
jne 0x10025795
push 4
pop ecx
mov edi, 0x1003b708
lea esi, [ebp - 0x22c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10025793
push 0xc5
push 0x10004bf8
push 0x10004c80
call fcn.100280bc
mov esi, 0x8004d012
jmp 0x100256e1
xor esi, esi
cmp dword [0x1003bed0], esi
jne 0x100257b1
push 0xca
push 0x10004bf8
push 0x10004bd8
call fcn.100280bc
mov eax, dword [0x1003bed0]
mov dword [ebx], eax
mov eax, dword [0x1003bed0]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x100256db
cmp dword [ebp - 0x490], 1
jne 0x10025860
push 0xd4
push 0x10004bf8
push 0x10025800
call fcn.100280bc
mov esi, 0x8000ffff
mov dword [ebp - 0x490], esi
jmp 0x100256e1
cmp dword [0x1003bec0], esi
je 0x1002587c
push 0xdb
push 0x10004bf8
push 0x10025b4c
call fcn.100280bc
cmp dword [0x1003bed0], esi
je 0x10025898
push 0xde
push 0x10004bf8
push 0x10025b20
call fcn.100280bc
lea ecx, [ebp - 0x4a8]
call fcn.1002c020
cmp eax, esi
mov dword [ebp - 0x490], eax
jl 0x1002569e
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1003bec0], 1
xor edi, edi
mov esi, 0x288
push 1
push dword [ebp - 0x498]
lea eax, [ebp - 0x48c]
push eax
call fcn.10023f47
add eax, esi
push eax
call fcn.1002470d
test eax, eax
mov dword [ebp - 0x490], eax
jl 0x10025acf
mov eax, dword [ebp - 0x484]
mov dword [0x1003bec8], eax
mov eax, dword [ebp - 0x480]
mov dword [0x1003becc], eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10023f47
add eax, esi
push eax
call fcn.1002553d
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1002598c
call ebx
test eax, eax
jg 0x10025b82
call ebx
push 0xf5
push 0x10004bf8
push 0x10025af0
mov dword [ebp - 0x490], eax
call fcn.100280bc
cmp dword [ebp - 0x490], 0x80070002
jne 0x10025acf
xor eax, eax
inc eax
cmp edi, eax
je 0x10025acf
inc edi
cmp edi, 2
mov dword [ebp - 0x498], eax
jl 0x100258c8
mov eax, dword [0x1003be90]
test eax, eax
je 0x10025a3b
mov ecx, dword [0x1003bec8]
and dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b0], ecx
mov ecx, dword [0x1003becc]
mov dword [ebp - 0x4ac], ecx
push 1
lea edx, [ebp - 0x49c]
lea ecx, [ebp - 0x4b8]
push edx
mov dword [ebp - 0x49c], 0x10
mov dword [ebp - 0x498], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
mov dword [ebp - 0x490], eax
mov esi, 0x10025ad8
je 0x100259fc
push 0x10d
push 0x10004bf8
push esi
call fcn.100280bc
cmp dword [ebp - 0x490], 0
jl 0x10025acf
mov eax, dword [0x1003be90]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
mov dword [ebp - 0x490], eax
je 0x10025a2e
push 0x111
push 0x10004bf8
push esi
call fcn.100280bc
cmp dword [ebp - 0x490], 0
jl 0x10025acf
xor esi, esi
push 0x1003bed0
push 0x10303
lea eax, [ebp - 0x21c]
push eax
call fcn.100347bc
cmp eax, 0x80070005
mov dword [ebp - 0x490], eax
jne 0x10025a91
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10025a91
test al, 1
je 0x10025a91
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10025a91
inc esi
cmp esi, 2
jl 0x10025a3d
cmp dword [ebp - 0x490], 0
jl 0x10025acf
mov eax, dword [0x1003bed0]
mov ecx, dword [eax]
push 0x10002bbc
push eax
call dword [ecx + 0xb4]
test eax, eax
mov dword [ebp - 0x490], eax
jl 0x10025acf
mov eax, dword [0x1003bed0]
mov ecx, dword [ebp - 0x494]
mov dword [ecx], eax
mov eax, dword [0x1003bed0]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
xor esi, esi
jmp 0x1002569e
call ebx
and eax, 0xffff
or eax, 0x80070000
jmp 0x10025947