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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4c25dc
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 0x4c28d7
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 0x4c2620
push 0
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x14]
mov eax, 0x4c28f0
call fcn.004baac8
xor eax, eax
push ebp
push 0x4c28a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
mov edx, 0x4c2924
call fcn.0044d8b0
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
push ebp
push 0x4c2739
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x58]
lea edx, [ebp - 0x1c]
mov eax, dword [0x4cb624]
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 [0x4cd5cc]
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 0x4c272f
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.004bfc34
test al, al
je 0x4c272f
mov byte [ebp - 5], 1
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
mov edx, 0x4c293c
call fcn.0044d8b0
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2743
cmp byte [ebp - 5], 0
jne 0x4c2855
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
mov edx, 0x4c2954
call fcn.0044d8b0
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
push ebp
push 0x4c284b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x58]
lea edx, [ebp - 0x24]
mov eax, dword [0x4cb628]
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 [0x4cd5cc]
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 0x4c2841
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.004bfc34
test al, al
je 0x4c2841
mov byte [ebp - 5], 1
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
mov edx, 0x4c296c
call fcn.0044d8b0
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2855
mov eax, dword [0x4cd5cc]
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 0x4c2898
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
mov edx, 0x4c2984
call fcn.0044d8b0
mov eax, dword [0x4cd5cc]
mov eax, dword [eax + 0x318]
call fcn.0044ddbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c28ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c28de
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