Function at 0xc2a550
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc49930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
mov eax, dword [0xc57104]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x144]
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x74], 0
je 0xc2a59a
xor eax, eax
jmp 0xc2a75d
lea ecx, [ebp - 0x38]
call fcn.00c02cc0
mov dword [ebp - 4], 0
push 2
mov edx, dword [ebp + 8]
add edx, 0x3c
push edx
lea ecx, [ebp - 0x38]
call fcn.00c02d90
test eax, eax
jne 0xc2a6ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 5
jne 0xc2a611
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
cmp dword [ecx + 0x18], 0x10
jb 0xc2a5f1
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 4]
mov dword [ebp - 0xcc], eax
jmp 0xc2a5fd
mov ecx, dword [ebp - 0x78]
add ecx, 4
mov dword [ebp - 0xcc], ecx
push 0x80
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0xc2a62f
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00c02d30
mov eax, dword [ebp - 0x40]
jmp 0xc2a75d
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x18], 0x10
jb 0xc2a64f
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 4]
mov dword [ebp - 0xd0], eax
jmp 0xc2a65b
mov ecx, dword [ebp - 0x7c]
add ecx, 4
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x60]
call fcn.00c01920
mov byte [ebp - 4], 1
push 2
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x38]
call fcn.00c02d90
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x41], al
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.00c01f20
movzx ecx, byte [ebp - 0x41]
test ecx, ecx
je 0xc2a6ba
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00c02d30
mov eax, dword [ebp - 0x64]
jmp 0xc2a75d
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x28
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
call dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x28
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
call dword [edx + 4]
push eax
lea ecx, [ebp - 0x38]
call fcn.00c02fb0
test eax, eax
jne 0xc2a70d
lea ecx, [ebp - 0x38]
call fcn.00c02ec0
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00c02d30
mov eax, dword [ebp - 0x68]
jmp 0xc2a75d
lea ecx, [ebp - 0x38]
call fcn.00c02ec0
mov ecx, dword [ebp + 8]
add ecx, 0x28
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
call dword [edx + 0x18]
cmp eax, dword [ebp - 0x10]
je 0xc2a744
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00c02d30
mov eax, dword [ebp - 0x6c]
jmp 0xc2a75d
mov dword [ebp - 0x70], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00c02d30
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00c32666
mov esp, ebp
pop ebp
ret 4