Function at 0x4c0a28
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4c0a30
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404e50
xor eax, eax
push ebp
push 0x4c0d2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.004096f8
test al, al
je 0x4c0a74
push 0
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x14]
mov eax, 0x4c0d44
call fcn.004baac8
xor eax, eax
push ebp
push 0x4c0cf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
mov edx, 0x4c0d78
call fcn.0044d8b0
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
push ebp
push 0x4c0b8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x58]
lea edx, [ebp - 0x1c]
mov eax, dword [0x4cc624]
call fcn.00409ff0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004bdb88
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x338]
call fcn.004b7fa8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c0b83
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c60
push eax
lea eax, [ebp - 0xc]
call fcn.00404eb8
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
call fcn.004c2ff0
test al, al
je 0x4c0b83
mov byte [ebp - 5], 1
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
mov edx, 0x4c0d90
call fcn.0044d8b0
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0b97
cmp byte [ebp - 5], 0
jne 0x4c0ca9
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
mov edx, 0x4c0da8
call fcn.0044d8b0
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
push ebp
push 0x4c0c9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x58]
lea edx, [ebp - 0x24]
mov eax, dword [0x4cc628]
call fcn.00409ff0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.004bdb88
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0xc]
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x338]
call fcn.004b7fa8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c0c95
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c60
push eax
lea eax, [ebp - 0xc]
call fcn.00404eb8
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
call fcn.004c2ff0
test al, al
je 0x4c0c95
mov byte [ebp - 5], 1
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
mov edx, 0x4c0dc0
call fcn.0044d8b0
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0ca9
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x58]
lea eax, [ebp - 0xc]
call fcn.004049a0
cmp byte [ebp - 5], 0
jne 0x4c0cec
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
mov edx, 0x4c0dd8
call fcn.0044d8b0
mov eax, dword [0x4ce5c8]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0d32
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004049c4
lea eax, [ebp - 0xc]
call fcn.004049a0
lea eax, [ebp - 4]
call fcn.004049a0
ret