Function at 0x478538
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4d
push 0
push 0
dec ecx
jne 0x478540
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x6d]
mov ecx, 0x1a
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
lea eax, [ebp - 0x6d]
mov edx, dword [0x463278]
call fcn.00406098
xor eax, eax
push ebp
push 0x47890e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 4]
mov eax, esi
call fcn.00423070
test al, al
je 0x4785c0
mov eax, dword [ebp - 4]
call fcn.00405858
mov ebx, eax
mov edx, ebx
lea eax, [ebp - 0x240]
call fcn.004055c0
mov eax, dword [ebp - 0x240]
xor edx, edx
call fcn.004640b0
push 0x20
push ebx
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
jmp 0x4785d9
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 4]
call fcn.004230f0
mov eax, dword [ebp - 0x244]
call fcn.004233fc
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x23c]
call fcn.004037a0
xor eax, eax
push ebp
push 0x4788d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x23c]
call fcn.00403530
mov edx, 0x478924
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x478934
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x478944
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x47895c
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x47896c
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov ecx, dword [0x633998]
mov ecx, dword [ecx]
lea eax, [ebp - 0x248]
mov edx, 0x478984
call fcn.004056e0
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x478994
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x478984
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x4789ac
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov ecx, dword [0x633998]
mov ecx, dword [ecx + 0x14]
lea eax, [ebp - 0x24c]
mov edx, 0x4789c0
call fcn.004056e0
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x4789d4
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov ecx, dword [0x633998]
mov ecx, dword [ecx]
lea eax, [ebp - 0x250]
mov edx, 0x478984
call fcn.004056e0
mov edx, dword [ebp - 0x250]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x4789e8
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x4789fc
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
lea eax, [ebp - 0x254]
mov ecx, dword [ebp - 0x69]
mov edx, 0x478a14
call fcn.004056e0
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov eax, dword [0x633998]
cmp dword [eax + 0x1c], 0
je 0x4787ea
mov edx, 0x478a24
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov ecx, dword [0x633998]
mov ecx, dword [ecx + 0x1c]
lea eax, [ebp - 0x258]
mov edx, 0x478984
call fcn.004056e0
mov edx, dword [ebp - 0x258]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x478a38
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x478a4c
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
lea eax, [ebp - 0x25c]
mov ecx, dword [ebp - 0x65]
mov edx, 0x478a64
call fcn.004056e0
mov edx, dword [ebp - 0x25c]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
call fcn.00476d88
movzx eax, ax
lea edx, [ebp - 0x264]
call fcn.00422568
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
mov edx, 0x478a78
call fcn.004056e0
mov edx, dword [ebp - 0x260]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
mov edx, 0x478a90
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
lea eax, [ebp - 0x268]
mov ecx, dword [ebp - 0xd]
mov edx, 0x478aa8
call fcn.004056e0
mov edx, dword [ebp - 0x268]
lea eax, [ebp - 0x23c]
call fcn.00405b4c
call fcn.00403ed4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4788da
lea eax, [ebp - 0x23c]
call fcn.00403948
ret