Function at 0x10060820
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1012b067
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x374], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x38c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x39c]
mov esi, dword [esp + 0x3a0]
mov ebp, ecx
lea ecx, [esp + 0x264]
mov dword [esp + 0x18], edi
call fcn.1005f360
push esi
lea ebx, [esp + 0x268]
mov dword [esp + 0x398], 0
call fcn.10060ca0
test al, al
je 0x100608dc
push 0
push edi
mov ecx, ebx
call fcn.100602f0
test al, al
jne 0x100608dc
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x380], 0
jne 0x100608d5
mov eax, dword [esp + 0x26c]
lea ecx, [esp + 0x270]
cmp eax, ecx
je 0x100608d5
push eax
call fcn.100cf89b
add esp, 4
xor al, al
jmp 0x10060ad4
cmp byte [esp + 0x3a4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, 0xa
jne 0x10060937
cmp byte [esi + 0x11c], 0
mov edi, 0xb
lea eax, [esi + 0xc]
jne 0x10060905
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10060937
shr eax, 4
not al
and al, 1
je 0x10060937
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x1006092c
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x10060946
mov ecx, dword [esi + 8]
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x10060955
mov eax, dword [ebp + 8]
push edi
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10060a5d
cmp byte [esi + 0x11c], al
je 0x10060979
add esi, 0xc
jmp 0x1006097c
mov esi, dword [esi + 8]
lea edi, [esp + 0x1c]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
cmp byte [ebp + 0x11c], 0
lea esi, [ebp + 0xc]
jne 0x1006099e
mov esi, dword [ebp + 8]
lea edi, [esp + 0x140]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
mov byte [esp + 0x394], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x18]
mov ecx, ebx
mov edi, eax
call fcn.100619a0
mov esi, eax
call fcn.100621c0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.100619a0
lea edx, [esp + 0x140]
push edx
mov esi, eax
push 0x101452d0
lea eax, [esp + 0x24]
call fcn.100623c0
cmp byte [esp + 0x25c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x140], esi
jne 0x10060a2e
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x10060a2e
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], esi
jne 0x10060a51
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x10060a51
push eax
call fcn.100cf89b
add esp, 4
mov dword [esp + 0x264], esi
jmp 0x100608b0
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x10060a6c
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x10060a86
mov eax, dword [esi + 8]
push 1
push 0x10000000
add eax, 4
push 1
push eax
call fcn.10064f50
add esp, 0x10
mov eax, esi
call fcn.10061230
cmp byte [esp + 0x380], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x10060ad2
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x10060ad2
push eax
call fcn.100cf89b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.100cf604
add esp, 0x384
ret 0xc