Function at 0x40c8c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x40c8c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404208
mov eax, dword [ebp - 8]
call fcn.00404208
mov eax, dword [ebp - 0xc]
call fcn.00404208
xor eax, eax
push ebp
push 0x40cb79
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor edx, edx
push ebp
push 0x40cb47
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
mov ecx, 0x40cb94
mov edx, dword [ebp - 4]
call fcn.00404064
mov eax, dword [ebp - 0x20]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00403f88
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404064
mov eax, dword [ebp - 0x24]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00403f88
mov eax, dword [ebp - 4]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.00403f88
mov eax, dword [ebp - 0x28]
call fcn.0040a458
test al, al
je 0x40cb3d
mov eax, dword [ebp - 0x14]
call fcn.00405ba8
test al, al
je 0x40c99c
mov eax, dword [ebp - 0x14]
call fcn.0040c330
cmp eax, dword [0x4148b8]
je 0x40ca8d
xor edx, edx
push ebp
push 0x40ca83
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00405cec
mov eax, dword [ebp - 0x14]
call fcn.00405d14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca8d
push 0x40cba8
push dword [ebp - 0xc]
push 0x40cbc4
push 0x40cbd0
push 0x40cbc4
push 0x40cbec
push dword [ebp - 0xc]
push 0x40cbc4
push 0x40cc08
push 0x40cbc4
push 0x40cc28
push 0x40cbc4
push 0x40cc50
push dword [ebp - 0xc]
push 0x40cbc4
lea eax, [ebp - 0x2c]
mov edx, 0xf
call fcn.004040d8
mov eax, dword [ebp - 0x2c]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00403f88
mov eax, dword [ebp - 0x14]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00403f88
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00403f88
mov eax, dword [ebp - 0x34]
pop edx
call fcn.0040c290
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x14]
call fcn.0040c330
test eax, eax
je 0x40ca72
mov dword [0x4148b8], eax
push 6
mov eax, dword [ebp - 0x14]
call fcn.00404218
push eax
call sub.kernel32.dll_SetFileAttributesA
ret
mov eax, dword [ebp - 0x18]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00403f88
mov eax, dword [ebp - 0x38]
call fcn.00405ba8
test al, al
je 0x40cae5
mov eax, dword [ebp - 8]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403f88
mov eax, dword [ebp - 0x3c]
call fcn.0040c330
mov ebx, eax
mov eax, dword [ebp - 0x18]
call fcn.00404218
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.00403f88
mov eax, dword [ebp - 0x40]
call fcn.0040c330
cmp ebx, eax
je 0x40cb3d
xor eax, eax
push ebp
push 0x40cb36
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00405cec
mov eax, dword [ebp - 0x18]
call fcn.00405d14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb3d
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404218
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
call fcn.00404218
push eax
call fcn.0040c87c
push 6
push ebx
call sub.kernel32.dll_SetFileAttributesA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40cb51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb80
lea eax, [ebp - 0x40]
mov edx, 0xc
call fcn.00403db4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403db4
ret