Function at 0x45e500
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a135e
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4bf6bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x30], cx
push eax
mov esi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
call fcn.00407860
mov dword [ebp - 4], ebx
lea eax, [esi + 0x19]
lea ecx, [ebp - 0x30]
call fcn.004691c0
lea edi, [esi + 1]
cmp dword [ebp - 0x20], ebx
je 0x45e583
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x45e572
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x45e5ab
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x45e59b
mov edx, dword [ebp - 0x30]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x1c], esi
mov al, 1
jmp 0x45e7ff
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047bb12
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x45e5d7
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
push esi
call fcn.0047edf0
mov edx, dword [ebp - 0x20]
xor eax, eax
xor ecx, ecx
mov word [esi + edx*2], cx
mov ecx, dword [ebp - 0x20]
mov word [esi + ecx*2 + 2], ax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov word [ebp - 0x8c], ax
mov edx, 0x414
or ax, dx
mov ecx, 0xffbf
add esp, 0xc
lea edx, [ebp - 0xa8]
and ax, cx
push edx
mov dword [ebp - 0x92], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x8e], ebx
mov dword [ebp - 0xa4], 3
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], ebx
mov word [ebp - 0x98], ax
mov byte [ebp - 0x85], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x45e7c7
lea eax, [ebp - 0x144]
push eax
call fcn.004059f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push ecx
push ecx
push str.._strTmp:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x144]
push str.bRt__false._GetLastError:
push edx
call fcn.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
add esp, 4
push eax
call fcn.004090a0
add esp, 0xc
push eax
call fcn.00410900
add esp, 8
push 0x17
mov edi, 0xf
push str.CFileUtility::DeleteDir
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00407f60
mov byte [ebp - 4], 2
push edi
push str.FileUtility.cpp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.00407f60
mov byte [ebp - 4], 3
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 4
push eax
push 0x34b
push ebx
call fcn.004061f0
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x68]
call fcn.00462280
mov byte [ebp - 4], 3
cmp dword [ebp - 0x70], 8
jb 0x45e75d
mov edx, dword [ebp - 0x84]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x54], 0x10
jb 0x45e786
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0x10
jb 0x45e7a5
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x144]
call fcn.004039b0
mov byte [ebp - 0x85], bl
mov edi, 8
cmp esi, ebx
je 0x45e7d4
push esi
call fcn.0047c53b
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x45e7ec
mov eax, dword [ebp - 0x30]
push eax
call fcn.0047bd91
add esp, 4
mov al, byte [ebp - 0x85]
xor ecx, ecx
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047bd9c
mov esp, ebp
pop ebp
ret