Function at 0x45e700
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590cf5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e0
push ebx
push esi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.0045ea10
add esp, 4
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x3c], eax
cmp ecx, eax
je 0x45e9f5
jmp 0x45e750
mov eax, dword [ecx]
mov ecx, 0x593544
test eax, eax
mov dword [ebp - 0x10], 0
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0046b5e0
mov eax, dword [ebp - 0x10]
mov ecx, 0x593544
test eax, eax
mov byte [ebp - 4], 1
mov edx, 0x62d3f8
cmovne ecx, eax
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x45e7a2
test bl, bl
je 0x45e79e
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x45e7a2
add ecx, 2
add edx, 2
test bl, bl
jne 0x45e782
xor ecx, ecx
jmp 0x45e7a7
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x45e7b4
mov byte [ebp - 4], 2
jmp 0x45e9cc
test eax, eax
mov ecx, 0x593544
cmovne ecx, eax
lea eax, [ebp - 0x38]
push ecx
push str._spackage
push eax
call fcn.0046aaa0
add esp, 0xc
test byte [ebp - 0x29], 0x80
mov byte [ebp - 4], 3
je 0x45e7e8
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x45e7eb
mov eax, 0x593544
jmp 0x45e7eb
lea eax, [ebp - 0x38]
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x54]
mov dword [eax], str..manifest
call fcn.004708f0
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x54]
call fcn.00472180
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
jne 0x45e84f
lea ecx, [ebp - 0x54]
call fcn.00470bd0
test byte [ebp - 0x29], 0x80
mov byte [ebp - 4], 5
je 0x45e846
call fcn.00480220
push 0
push dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 6
jmp 0x45e9cc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 4
test byte [ebp - 0x29], 0x80
je 0x45e87b
mov ebx, dword [ebp - 0x38]
test ebx, ebx
jne 0x45e87e
mov ebx, 0x593544
jmp 0x45e87e
lea ebx, [ebp - 0x38]
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x24], eax
push 4
push 0
push 0
push eax
mov byte [ebp - 4], 7
mov byte [ebp - 0x1c], 1
call fcn.0046dc90
mov esi, eax
push esi
call fcn.0056bbcb
push 0
mov edi, eax
lea eax, [ebp - 0x2c0]
push esi
push edi
push eax
mov dword [ebp - 0x28], edi
call fcn.0046dc90
add esp, 0x24
push ebx
push ecx
mov eax, esp
lea ecx, [ebp - 0x48]
mov dword [eax], edi
call fcn.004708f0
push edi
mov byte [ebp - 4], 9
call fcn.0056bbd4
add esp, 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x1c], 0
push 0
push 0
push 3
push 0
push 4
push 0x10000000
call fcn.00472180
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45e97b
push 0x34
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0056d4f0
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x45e974
test dword [ebp - 0x9c], 0x410
jne 0x45e974
lea ecx, [ebp - 0x48]
call fcn.00472180
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45e974
test al, 3
je 0x45e96d
and eax, 0xfffffffc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 1
sete al
test al, al
je 0x45e974
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
call fcn.00470bd0
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x2ec]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45e867
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x54]
call fcn.00470bd0
test byte [ebp - 0x29], 0x80
mov byte [ebp - 4], 0xa
je 0x45e9c8
call fcn.00480220
push 0
push dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 0xb
call fcn.00480220
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x3c]
jne 0x45e750
lea ecx, [ebp - 0x68]
call fcn.0045aeb0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret