Function at 0x452a90
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f7f1
mov eax, dword fs:[0]
push eax
sub esp, 0x370
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 - 0x134]
mov esi, dword [ebp + 0xc]
call fcn.0044fd40
push 1
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x130], 0
call fcn.00450b00
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.00453190
test al, al
je 0x452b31
push 0
push ebx
lea ecx, [ebp - 0x134]
call fcn.00452800
test al, al
je 0x452c7d
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x452b40
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x11c], 0
lea edx, [esi + 0xc]
jne 0x452b5e
mov edx, dword [esi + 8]
cmp byte [edi + 0x11c], 0
lea ecx, [edi + 0xc]
jne 0x452b6d
mov ecx, dword [edi + 8]
movzx eax, byte [ebp + 0x10]
push eax
lea eax, [edx + 4]
push eax
lea eax, [ecx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x452c81
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.00450c80
mov ecx, eax
call fcn.00450ff0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00450c80
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x452bbb
mov eax, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x37c]
push eax
call fcn.00451610
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
cmp byte [edi + 0x11c], 0
jne 0x452be7
mov eax, dword [edi + 8]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x258]
push eax
call fcn.00451610
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x258]
mov ecx, ebx
push eax
push 0x59fe08
call fcn.00450c80
mov ecx, eax
call fcn.004511c0
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x452c51
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x452c51
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x452c7d
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x452c7d
push eax
call fcn.004e1b56
add esp, 4
xor bl, bl
jmp 0x452ccc
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x452c90
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x452cae
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 - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x452cf5
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x452cf5
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