Function at 0x2c15ec0
Capabilities:
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2c33c8b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x2c43064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.02c17310
mov dword [ebp - 4], 0
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
push 6
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 0x228]
mov eax, 0x7ffffffe
sub eax, edx
mov dword [ebp - 0x254], edx
cmp eax, 0xd
jb 0x2c1618f
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
lea ecx, [edx + 0xd]
mov dword [ebp - 0x264], 0
cmovae eax, dword [ebp - 0x238]
lea esi, [ebp - 0x274]
mov edi, 7
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 0
xorps xmm0, xmm0
mov dword [ebp - 0x258], ecx
movups xmmword [ebp - 0x274], xmm0
cmp ecx, edi
jbe 0x2c1604f
mov edi, ecx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x2c15fd6
mov eax, 0x7fffffff
mov edi, 0x7ffffffe
add eax, eax
jmp 0x2c15ff7
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x2c16199
add eax, eax
cmp eax, 0x1000
jb 0x2c1602a
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x2c16199
push ecx
call fcn.02c1a4ce
add esp, 4
test eax, eax
je 0x2c16194
mov ecx, dword [ebp - 0x258]
lea esi, [eax + 0x23]
mov edx, dword [ebp - 0x254]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x2c16049
test eax, eax
je 0x2c16047
push eax
call fcn.02c1a4ce
mov ecx, dword [ebp - 0x258]
add esp, 4
mov edx, dword [ebp - 0x254]
mov esi, eax
jmp 0x2c16049
xor esi, esi
mov dword [ebp - 0x274], esi
movups xmm0, xmmword [str._c_attrib_h]
mov dword [ebp - 0x264], ecx
lea ecx, [esi + 0x1a]
mov dword [ebp - 0x260], edi
movups xmmword [esi], xmm0
movq xmm0, qword [0x2c3f9a0]
movq qword [esi + 0x10], xmm0
mov ax, word [0x2c3f9a8]
mov word [esi + 0x18], ax
lea eax, [edx + edx]
push eax
push dword [ebp - 0x25c]
push ecx
call fcn.02c1b700
mov eax, dword [ebp - 0x254]
xor ecx, ecx
mov word [esi + eax*2 + 0x1a], cx
push 0x2c3f98c
lea edx, [ebp - 0x274]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x250]
call fcn.02c18160
mov ecx, dword [ebp - 0x260]
add esp, 0x10
cmp ecx, 8
jb 0x2c160f9
mov edx, dword [ebp - 0x274]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c160ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c16194
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp ecx, 8
jb 0x2c16135
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c1612b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c1619e
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x2c16171
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x2c16167
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c1619e
push ecx
push edx
call fcn.02c1a4fe
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.02c1a2be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.02c11450
call fcn.02c20f0c
call fcn.02c113b0
call fcn.02c20f0c
int3