Function at 0x445cf9
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x4def64
call fcn.004b0604
sub esp, 0x1c
push ebx
push esi
push edi
push 1
pop eax
mov esi, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [str.pRdR]
mov dword [ebp - 0x24], eax
xor edi, edi
push 0x524a50
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.004c75d8
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 1
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov dword [ebp - 0x18], edi
jle 0x445f40
xor ebx, ebx
cmp dword [ebp - 0x10], edi
je 0x445f40
mov eax, dword [esi + 0x28]
test byte [ebx + eax + 8], 0x10
jne 0x445f2e
push dword [ebp - 0x18]
lea ecx, [esi + 0x24]
call fcn.0040c938
mov ecx, eax
call fcn.0040b590
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004c72df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push dword [esi + 0x1c]
inc dword [esi + 0x48]
lea ecx, [esi + 0x24]
push dword [ebp - 0x18]
call fcn.0040c938
mov ecx, eax
call fcn.0040b590
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004c72df
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004462f7
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004c76a3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004c756a
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004c72df
mov ecx, esi
call fcn.0044603b
cmp eax, edi
jne 0x445dec
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov ecx, esi
call fcn.00446088
mov ecx, esi
call fcn.004460eb
test eax, eax
je 0x445e04
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x28]
push dword [ebx + eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp dword [ebp - 0x10], edi
je 0x445f2e
cmp eax, 0xffffffff
jne 0x445e41
push ecx
mov dword [ebp - 0x14], edi
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Delete_failed
mov dword [ebp - 0x10], edi
call fcn.004c75d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x445f2e
test al, 6
je 0x445e50
cmp dword [esi + 0x10], edi
jne 0x445e50
dec dword [esi + 0x44]
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], edi
je 0x445f2e
mov eax, dword [esi + 0x28]
push 0x80
mov eax, dword [ebx + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x445e92
cmp dword [esi + 0xc], edi
mov dword [ebp - 0x14], edi
jne 0x445e92
push ecx
mov dword [ebp - 0x10], edi
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Delete_failed
call fcn.004c75d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x10], edi
je 0x445f2e
mov eax, dword [esi + 0x28]
push dword [ebx + eax + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
test eax, eax
mov ecx, esp
jne 0x445ef0
mov dword [ebp - 0x28], esp
push str.Delete_failed
call fcn.004c75d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [esi + 0xc], edi
mov dword [ebp - 0x14], edi
jne 0x445ece
mov dword [ebp - 0x10], edi
lea edi, [esi + 0x20]
push 0x511868
mov ecx, edi
call fcn.004c7946
mov eax, dword [esi + 0x28]
mov ecx, edi
lea eax, [ebx + eax + 4]
push eax
call fcn.004c7982
xor edi, edi
jmp 0x445f2e
mov dword [ebp - 0x28], esp
push str.Delete_successful
call fcn.004c75d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [esi + 0x14], edi
je 0x445f2e
push dword [ebp - 0x18]
lea ecx, [esi + 0x24]
call fcn.0040c938
mov ecx, eax
call fcn.0040b590
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004c72df
mov ecx, esi
call fcn.00446115
inc dword [ebp - 0x18]
add ebx, 0x38
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x2c]
jl 0x445d48
xor ebx, ebx
cmp dword [esi + 0x2c], edi
jle 0x446004
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x10], edi
je 0x446004
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x18]
test byte [eax + ecx + 8], 0x10
je 0x445ff6
push dword [esi + 0x1c]
inc dword [esi + 0x48]
lea edi, [esi + 0x24]
push ebx
mov ecx, edi
call fcn.0040c938
mov ecx, eax
call fcn.0040b590
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004c72df
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004462f7
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004c76a3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004c756a
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004c72df
mov ecx, esi
call fcn.0044603b
test eax, eax
jne 0x445fd2
and dword [ebp - 0x14], eax
and dword [ebp - 0x10], eax
jmp 0x445ff4
push ebx
mov ecx, edi
call fcn.0040c938
mov ecx, eax
call fcn.0040b590
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.004c72df
mov ecx, esi
call fcn.0044620b
xor edi, edi
add dword [ebp - 0x18], 0x38
inc ebx
cmp ebx, dword [esi + 0x2c]
jl 0x445f4e
push 0x511868
lea ecx, [esi + 0x20]
call fcn.004c43ee
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004c756a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004c756a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret