Function at 0x5769a8
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x576e18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x5769eb
mov eax, dword [ebp - 4]
call fcn.00577b14
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004042e8
xor ecx, ecx
mov dl, 1
mov eax, dword [0x53fe28]
call fcn.00540300
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xd8], fcn.00576ee4
mov eax, dword [ebp - 4]
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xe0], 0x576f3c
mov eax, dword [ebp - 4]
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0xf8], 0x577618
mov eax, dword [ebp - 4]
mov dword [ebx + 0x114], eax
mov dword [ebx + 0x110], 0x577660
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x55]
mov byte [ebx + 0x58], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x68]
mov byte [ebx + 0x118], al
lea eax, [ebx + 0xa8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
call fcn.004064f4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
lea eax, [ebp - 8]
mov ecx, 0x576e34
call fcn.004068c8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00543b68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x118], 0
je 0x576aae
mov dword [eax + 0x68], 2
jmp 0x576ab7
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
call fcn.0045cf74
test al, al
je 0x576bbb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.0045cf74
test al, al
je 0x576bbb
xor eax, eax
push ebp
push 0x576b34
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.00406580
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov dl, 1
mov eax, dword [0x471474]
call fcn.00477334
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x576ca7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
call fcn.0045cf74
test al, al
je 0x576be7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
call fcn.00406580
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
push ebp
push 0x576c25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov dl, 1
mov eax, dword [0x471474]
call fcn.00477334
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + 0x84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x576ca7
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x56]
cmp al, 2
jne 0x576d51
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov byte [ebx + 0xc9], 2
lea eax, [ebx + 0xac]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x60]
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x58]
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xbc
xor edx, edx
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc4
xor edx, edx
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc0
xor edx, edx
call fcn.004064f4
jmp 0x576dfd
cmp al, 1
jne 0x576dfd
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov byte [ebx + 0xc9], 2
lea eax, [ebx + 0xac]
xor edx, edx
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb0
xor edx, edx
call fcn.004064f4
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x5c]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x58]
mov eax, 0x576ed8
call fcn.005766d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x58]
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xb8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xbc
xor edx, edx
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc4
xor edx, edx
call fcn.004064f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0xc0
xor edx, edx
call fcn.004064f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576e1f
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004064ec
ret