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

Disassembly:
push 0xffffffffffffffff
push 0x57706d
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5d2020]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d2020]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
xor edi, edi
cmp ecx, edi
je 0x445f9d
cmp word [ecx], di
je 0x445f9d
xor eax, eax
cmp eax, 0x5c6718
je 0x445f9d
lea edx, [esp + 0x18]
push edx
call fcn.00401bd0
lea esi, [esp + 0x18]
mov dword [esp + 0x2a4], edi
call fcn.00442ef0
push 0x24c
lea eax, [esp + 0x4c]
push edi
push eax
mov dword [esp + 0x50], edi
call fcn.0044ea7c
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x445f94
test al, 0x10
je 0x445f94
mov edx, esi
push edx
lea eax, [esp + 0x3c]
push eax
mov ebx, 0x5c3a94
call fcn.00404150
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, 0x5c6718
mov byte [esp + 0x2b4], 1
call fcn.00404150
mov eax, dword [eax]
add esp, 0x10
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.00401b90
lea eax, [esp + 0x38]
mov byte [esp + 0x2a4], 0
call fcn.00401b90
cmp ebx, 0xffffffff
je 0x445f94
cmp ebx, edi
je 0x445f94
lea esi, [esp + 0x1c]
call fcn.004017e0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x2a8], 3
call fcn.004460f0
mov ebp, dword [esp + 0x30]
cmp ebp, edi
je 0x445ed2
nop
test byte [esp + 0x44], 0x10
je 0x445d57
mov ecx, 0x5c3c18
lea eax, [esp + 0x70]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445b9a
cmp dx, di
je 0x445b96
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445b9a
add eax, 4
add ecx, 4
cmp dx, di
jne 0x445b74
xor eax, eax
jmp 0x445b9f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x445db3
mov ecx, 0x5c3b68
lea eax, [esp + 0x70]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445bd6
cmp dx, di
je 0x445bd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445bd6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x445bb0
xor eax, eax
jmp 0x445bdb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x445db3
lea ecx, [esp + 0x18]
push ecx
mov edx, 0x5c3a94
call fcn.00407a20
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x74]
call fcn.00407a20
test dword [esp + 0x44], 0x400
jne 0x445ce2
cmp ebp, 0x104
jae 0x445ce2
lea eax, [esp + 0x18]
lea edi, [esp + 0x1c]
call fcn.004042f0
mov eax, edi
push eax
mov edx, 0x5c3a94
call fcn.00407a20
mov ecx, edi
push ecx
mov edx, 0x5c6718
call fcn.00407a20
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x34], esi
je 0x445c79
test esi, esi
je 0x445c79
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x24]
call fcn.004460f0
mov ebp, dword [esp + 0x30]
mov ebx, esi
jmp 0x445db3
mov edx, dword [esp + 0x18]
push 0x5c
push edx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x445c98
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
jne 0x445ca6
lea esi, [esp + 0x18]
call fcn.004020d0
jmp 0x445db3
lea ecx, [esp + 0x38]
lea edx, [esp + 0x18]
call fcn.00407b90
lea edi, [esp + 0x18]
mov byte [esp + 0x2a4], 4
call fcn.004042f0
mov byte [esp + 0x2a4], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x445d49
mov ecx, dword [esp + 0x18]
push 0x5c
push ecx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
cmp eax, edi
je 0x445d01
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
jne 0x445d0f
lea esi, [esp + 0x18]
call fcn.004020d0
jmp 0x445db3
lea ecx, [esp + 0x40]
lea edx, [esp + 0x18]
call fcn.00407b90
lea edi, [esp + 0x18]
mov byte [esp + 0x2a4], 5
call fcn.004042f0
mov byte [esp + 0x2a4], 3
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x445db3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x445db3
lea eax, [esp + 0x18]
lea edi, [esp + 0x1c]
call fcn.004042f0
mov ecx, edi
push ecx
mov edx, 0x5c3a94
call fcn.00407a20
mov edx, edi
push edx
lea edx, [esp + 0x74]
call fcn.00407a20
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x445d98
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x445db3
mov eax, dword [esp + 0x2ac]
cmp dword [eax], 0
je 0x445f2b
cmp ebx, 0xffffffff
je 0x445f72
test ebx, ebx
je 0x445f72
lea ecx, [esp + 0x44]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x445ec8
jmp 0x445de0
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call edi
test ebp, ebp
je 0x445ed2
sub ebp, 1
mov dword [esp + 0x30], ebp
je 0x445ef7
mov eax, dword [esp + 0x18]
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x445e1b
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x445e35
mov edx, dword [esp + 0x2ac]
cmp dword [edx], eax
je 0x445f01
mov eax, dword [esp + 0x18]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x445e54
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
jne 0x445e5f
lea esi, [esp + 0x18]
call fcn.004020d0
jmp 0x445ea5
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
call fcn.00407b90
lea edi, [esp + 0x18]
mov byte [esp + 0x2a4], 6
call fcn.004042f0
mov byte [esp + 0x2a4], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445ea5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.00446090
mov ebx, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov ebp, dword [esp + 0x30]
je 0x445de0
xor edi, edi
cmp ebp, edi
jne 0x445b60
lea esi, [esp + 0x20]
call fcn.00446170
lea eax, [esp + 0x1c]
call fcn.00401b90
lea eax, [esp + 0x18]
call fcn.00401b90
mov eax, 1
jmp 0x445fa2
mov dword [esp + 0x2c], 0
jmp 0x445ed2
test ebp, ebp
je 0x445f50
lea esi, [esp + 0x20]
call fcn.00446090
mov edx, dword [eax]
push edx
call edi
cmp dword [esp + 0x30], 0
je 0x445f50
sub dword [esp + 0x30], 1
jne 0x445f05
mov dword [esp + 0x2c], 0
jmp 0x445f50
test ebp, ebp
je 0x445f50
nop
lea esi, [esp + 0x20]
call fcn.00446090
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.00446070
cmp dword [esp + 0x30], 0
jne 0x445f30
lea esi, [esp + 0x20]
call fcn.00446170
lea eax, [esp + 0x1c]
call fcn.00401b90
lea eax, [esp + 0x18]
call fcn.00401b90
mov eax, 0xffffff9c
jmp 0x445fa2
lea esi, [esp + 0x20]
call fcn.00446170
lea eax, [esp + 0x1c]
call fcn.00401b90
lea eax, [esp + 0x18]
call fcn.00401b90
mov eax, 0xffffff9e
jmp 0x445fa2
lea eax, [esp + 0x18]
call fcn.00401b90
mov eax, 0xffffff9d
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0044e502
add esp, 0x294
ret