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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfe11
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x513200]
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, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x380], ebx
call fcn.00403480
push 1
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0
call fcn.004056f0
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
cmove eax, dword [ebp - 0x12c]
xor ecx, ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x134]
mov dword [ebp - 4], ecx
push eax
mov ecx, esi
call fcn.00410b30
test al, al
je 0x4107b6
push ecx
push ebx
lea ecx, [ebp - 0x134]
call fcn.00410100
test al, al
je 0x4108fe
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4107c5
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x4107fd
shr eax, 4
not al
and al, 1
je 0x4107fd
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4107f2
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x41080c
mov eax, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
jne 0x41081b
mov ecx, dword [edi + 8]
push 0xb
add eax, 4
push eax
lea eax, [ecx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea eax, [esi + 0xc]
jne 0x410902
cmp byte [esi + 0x11c], 0
jne 0x410842
mov eax, dword [esi + 8]
sub esp, 0x10
lea ecx, [ebp - 0x37c]
add eax, 4
push 0
push eax
call fcn.0040e650
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
cmp byte [edi + 0x11c], 0
jne 0x410869
mov eax, dword [edi + 8]
sub esp, 0x10
lea ecx, [ebp - 0x258]
add eax, 4
push 0
push eax
call fcn.0040e650
mov ecx, dword [ebp - 0x380]
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 2
push eax
push 0x4fd210
call fcn.00427350
mov ecx, eax
call fcn.00427810
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4108d2
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x4108d2
push eax
call fcn.00496f41
add esp, 4
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4108fe
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x4108fe
push eax
call fcn.00496f41
add esp, 4
xor bl, bl
jmp 0x410944
cmp byte [esi + 0x11c], 0
jne 0x41090e
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x410928
mov ecx, dword [esi + 8]
push 1
push ecx
add ecx, 4
mov edx, 1
call fcn.004353a0
add esp, 8
mov ecx, esi
call fcn.00412b40
mov bl, 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x41096d
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x41096d
push eax
call fcn.00496f41
add esp, 4
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.00489940
mov esp, ebp
pop ebp
ret 0xc