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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1d39
mov eax, dword fs:[0]
push eax
sub esp, 0x308
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 0x45e8a3
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x45e892
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x45e8c8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x45e8bb
mov edx, dword [ebp - 0x30]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov word [ebp - 0x30], ax
xor al, al
jmp 0x45ebb3
push str..
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00410b30
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x45e8ec
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x30c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x310], esi
cmp esi, 0xffffffff
jne 0x45e951
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], edi
jb 0x45e91b
mov edx, dword [ebp - 0x68]
push edx
call fcn.0047bd91
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x45e944
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0047bd91
add esp, 4
xor edx, edx
mov word [ebp - 0x30], dx
xor al, al
jmp 0x45ebb3
lea eax, [ebp - 0x2e0]
push eax
push 0x4a7ea8
call fcn.0047bf35
add esp, 8
test eax, eax
je 0x45eb51
lea ecx, [ebp - 0x2e0]
push ecx
push 0x4a7eac
call fcn.0047bf35
add esp, 8
test eax, eax
je 0x45eb51
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.0045fbb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e0]
push ecx
push eax
lea edx, [ebp - 0x4c]
push edx
call fcn.00409780
add esp, 0x14
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa8], edi
jb 0x45e9cc
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0047bd91
add esp, 4
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
cmp dword [ebp - 0x38], edi
jae 0x45e9f1
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x45ea12
mov ecx, dword [ebp - 0x4c]
and eax, 0xfffffffe
cmp dword [ebp - 0x38], edi
jae 0x45ea0a
lea ecx, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x30c], 0x10
mov eax, dword [ebp - 0x4c]
je 0x45eab6
cmp dword [ebp - 0x38], edi
jae 0x45ea2a
lea eax, [ebp - 0x4c]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x45ea44
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0xa0]
call fcn.00408600
mov byte [ebp - 4], 5
mov eax, esi
push eax
call fcn.0045e820
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], edi
jb 0x45ea89
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.0047bd91
add esp, 4
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], dx
cmp dword [ebp - 0x38], edi
jae 0x45eaad
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x45eb26
cmp dword [ebp - 0x38], edi
jae 0x45eabe
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov word [ebp - 0x84], cx
mov ecx, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x45ead2
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x84]
call fcn.00408600
mov byte [ebp - 4], 6
push 1
call fcn.0045ebe0
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x70], edi
jb 0x45eb13
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], 1
cmp dword [ebp - 0x38], edi
jb 0x45eb3b
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0047bd91
add esp, 4
mov esi, dword [ebp - 0x310]
xor edx, edx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
lea eax, [ebp - 0x30c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45e951
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], edi
jb 0x45eb82
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0047bd91
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x45ebab
mov eax, dword [ebp - 0x30]
push eax
call fcn.0047bd91
add esp, 4
xor ecx, ecx
mov word [ebp - 0x30], cx
mov al, 1
mov dword [ebp - 0x1c], esi
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