Function at 0x477d34
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x477d3c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x4780c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 4]
mov eax, esi
call fcn.00422bb8
test al, al
je 0x477d9b
mov eax, dword [ebp - 4]
call fcn.0040581c
mov ebx, eax
mov edx, ebx
lea eax, [ebp - 0x10]
call fcn.00405584
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004623e0
push 0x20
push ebx
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
jmp 0x477dae
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00422c38
mov eax, dword [ebp - 0x14]
call fcn.00422f44
call fcn.004261fc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x478098
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, 0x4780d8
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x4780e8
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x4780fc
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x478114
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x478128
call fcn.00424250
push 0x478140
mov eax, dword [0x59e8ec]
push dword [eax + 0x155]
push 0x478150
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x47815c
call fcn.00424250
push 0x478174
mov eax, dword [0x59e8ec]
push dword [eax + 0x159]
push 0x478150
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x478184
call fcn.00424250
push 0x478198
mov eax, dword [0x59e8ec]
push dword [eax + 0x14]
push 0x478150
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x4781ac
call fcn.00424250
push 0x478140
mov eax, dword [0x59e8ec]
push dword [eax]
push 0x478150
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x4781c0
call fcn.00424250
lea edx, [ebp - 0x2c]
mov eax, dword [0x59e8ec]
mov eax, dword [eax + 0x85]
call fcn.00421f58
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x4781d4
call fcn.004056a4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00424250
xor esi, esi
mov edi, dword [0x59e8ec]
mov edi, dword [edi + 0x85]
dec edi
test edi, edi
jl 0x477f7a
inc edi
mov dword [ebp - 8], 0
mov eax, dword [0x59e8ec]
add eax, 0x65
mov edx, dword [ebp - 8]
call fcn.00423c2c
mov ebx, eax
inc esi
push 0x4781ec
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.00421f58
push dword [ebp - 0x34]
push 0x4781fc
push dword [ebx + 4]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00424250
inc dword [ebp - 8]
dec edi
jne 0x477f2f
xor esi, esi
mov edi, dword [0x59e8ec]
mov edi, dword [edi + 0x85]
dec edi
test edi, edi
jl 0x478073
inc edi
mov dword [ebp - 8], 0
mov eax, dword [0x59e8ec]
add eax, 0x65
mov edx, dword [ebp - 8]
call fcn.00423c2c
mov ebx, eax
inc esi
push 0x478208
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.00421f58
push dword [ebp - 0x3c]
push 0x478218
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x478224
call fcn.00424250
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x40]
mov edx, 0x47823c
call fcn.004056a4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00424250
push 0x478250
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0xc]
call fcn.0046f028
push dword [ebp - 0x48]
push 0x478260
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x14]
call fcn.00421f58
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.00424250
mov eax, dword [ebp - 0xc]
mov edx, 0x47826c
call fcn.00424250
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x50]
mov edx, 0x478284
call fcn.004056a4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.00424250
inc dword [ebp - 8]
dec edi
jne 0x477f99
test esi, esi
jle 0x478082
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00424654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47809f
lea eax, [ebp - 0xc]
call fcn.00421d98
ret