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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f841
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x5c6150]
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 - 0x138]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x390], ebx
call fcn.0044fd40
push 1
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x134], 0
call fcn.00450b00
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
cmove eax, dword [ebp - 0x130]
xor ecx, ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x138]
mov dword [ebp - 4], ecx
push eax
mov ecx, esi
call fcn.00453190
test al, al
je 0x452dc7
push 0
push ebx
lea ecx, [ebp - 0x138]
call fcn.00452800
test al, al
je 0x452f54
cmp byte [ebp + 0x10], 0
mov edx, 0xa
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jne 0x452e29
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
mov dword [ebp - 0x38c], 0xb
jne 0x452df1
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x452e23
shr eax, 4
not al
and al, 1
je 0x452e23
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x452e18
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
mov edx, dword [ebp - 0x38c]
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x452e38
mov eax, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
jne 0x452e47
mov ecx, dword [edi + 8]
push edx
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 0x452f58
cmp byte [esi + 0x11c], 0
jne 0x452e6d
mov eax, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x388]
push eax
call fcn.00451610
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
cmp byte [edi + 0x11c], 0
jne 0x452e99
mov eax, dword [edi + 8]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x260]
push eax
call fcn.00451610
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x390]
push eax
call fcn.00450c80
mov ecx, eax
call fcn.00450ff0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x390]
call fcn.00450c80
lea ecx, [ebp - 0x388]
push ecx
lea ecx, [ebp - 0x260]
push ecx
push 0x59fe78
mov ecx, eax
call fcn.004511c0
cmp byte [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x452f28
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
cmp eax, ecx
je 0x452f28
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x26c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x452f54
mov eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x37c]
cmp eax, ecx
je 0x452f54
push eax
call fcn.004e1b56
add esp, 4
xor bl, bl
jmp 0x452f9c
cmp byte [esi + 0x11c], 0
jne 0x452f64
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x452f7e
mov eax, dword [esi + 8]
push 1
push 0x10000000
add eax, 4
push 1
push eax
call fcn.00464b20
add esp, 0x10
mov ecx, esi
call fcn.00454130
mov bl, 1
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x138], vtable.t_str.0
jne 0x452fc5
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x452fc5
push eax
call fcn.004e1b56
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.004d6cfd
mov esp, ebp
pop ebp
ret 0xc