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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c81a9
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
lea ecx, [ebp - 0x50]
call fcn.005c2380
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc8]
add ecx, 0x54
call fcn.00403c80
push eax
lea ecx, [ebp - 0x88]
call fcn.00404560
mov byte [ebp - 4], 1
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x50]
call fcn.005c23a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00403d10
push 0x5db708
lea ecx, [ebp - 0xa4]
call fcn.00404560
mov byte [ebp - 4], 2
push str.InternetShortcut
lea ecx, [ebp - 0xc0]
call fcn.00404560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.005c23c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc0]
call fcn.00403d10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00403d10
mov ecx, dword [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00409b20
add esp, 8
movzx eax, al
test eax, eax
je 0x4caf83
mov byte [ebp - 0xc1], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.005c2360
mov al, byte [ebp - 0xc1]
jmp 0x4cb100
lea ecx, [ebp - 0x6c]
call fcn.00403ca0
mov byte [ebp - 4], 7
push str._000214A0_0000_0000_C000_000000000046__r_n
lea ecx, [ebp - 0x6c]
call fcn.004035b0
push str.Prop319_2_r_n
lea ecx, [ebp - 0x6c]
call fcn.004035b0
push str._InternetShortcut__r_n
lea ecx, [ebp - 0x6c]
call fcn.004035b0
push str.URL
lea ecx, [ebp - 0x6c]
call fcn.004035b0
mov ecx, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00403590
push 0x5db77c
lea ecx, [ebp - 0x6c]
call fcn.004035b0
push str.IDList_r_n
lea ecx, [ebp - 0x6c]
call fcn.004035b0
push str.IconFile
lea ecx, [ebp - 0x6c]
call fcn.004035b0
mov edx, dword [ebp - 0xc8]
add edx, 0x38
push edx
lea ecx, [ebp - 0x6c]
call fcn.00403590
push 0x5db798
lea ecx, [ebp - 0x6c]
call fcn.004035b0
push str.IconIndex0_r_n
lea ecx, [ebp - 0x6c]
call fcn.004035b0
mov dword [ebp - 0x34], 0x80
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x54
call fcn.00403c80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x5db7ac
mov ecx, dword [ebp - 0xc8]
add ecx, 0x54
call fcn.00403c80
push eax
call fcn.00595172
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4cb0a0
mov byte [ebp - 0xc2], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.00403d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.005c2360
mov al, byte [ebp - 0xc2]
jmp 0x4cb100
mov ecx, dword [ebp - 0x10]
push ecx
push 1
lea ecx, [ebp - 0x6c]
call fcn.00414da0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403c80
push eax
call fcn.0059502c
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.00594e4e
add esp, 4
mov byte [ebp - 0xc3], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.00403d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.005c2360
mov al, byte [ebp - 0xc3]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret