Function at 0x4572e0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ae10
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x28], 2
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x40
call fcn.00408670
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
xor ecx, ecx
mov byte [ebp - 0x21], cl
lea ecx, [ebp - 0x21]
call fcn.004559f0
mov dword [ebp - 0x1c], eax
xor edx, edx
mov byte [ebp - 0x22], dl
lea ecx, [ebp - 0x22]
call fcn.00456f60
mov dword [ebp - 0x18], eax
xor eax, eax
mov byte [ebp - 0x23], al
lea ecx, [ebp - 0x23]
call fcn.00456be0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0
jmp 0x45736d
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 3
jae 0x457515
xor edx, edx
mov byte [ebp - 0x24], dl
lea ecx, [ebp - 0x24]
call fcn.004571b0
push eax
mov eax, dword [ebp - 0x30]
add eax, 0x34
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0042cda0
add esp, 0xc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + edx*4 - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00457270
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + ecx*4 - 0x1c]
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x40
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0042cda0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00408670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457400
push 0
lea ecx, [ebp - 0x34]
call fcn.00408670
push eax
lea ecx, [ebp - 0x20]
call fcn.00408670
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4574f5
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + edx*4 - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x34
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0042cda0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004100a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004083d0
lea ecx, [ebp - 0x20]
call fcn.00408670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457472
push 0
lea ecx, [ebp - 0x34]
call fcn.00408670
push eax
lea ecx, [ebp - 0x20]
call fcn.00408670
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4574f5
xor edx, edx
mov byte [ebp - 0x25], dl
lea ecx, [ebp - 0x25]
call fcn.00455920
push eax
mov eax, dword [ebp - 0x30]
add eax, 0x34
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0042cda0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x20]
call fcn.004100a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004083d0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + ecx*4 - 0x1c]
push edx
lea ecx, [ebp - 0x20]
call fcn.00457270
lea ecx, [ebp - 0x20]
call fcn.00408670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4574f5
push 0
lea ecx, [ebp - 0x34]
call fcn.00408670
push eax
lea ecx, [ebp - 0x20]
call fcn.00408670
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004083d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004083d0
jmp 0x457364
mov ecx, dword [ebp - 0x30]
call fcn.00457750
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret 4