Function at 0x40f6d0
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 0x5e1449
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0xac], esi
mov edi, ecx
mov dword [ebp - 0xa4], edi
lea ecx, [ebp - 0x70]
call fcn.004cc450
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0
call fcn.004cc080
push 0x61413c
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004145e0
add esp, 4
push 3
push 0x61d800
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00409220
mov dword [ebp - 0x78], 0
xor ecx, ecx
mov dword [ebp - 0x74], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00408ff0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004cc780
test al, al
je 0x40f918
mov esi, dword [ebp - 0xa8]
nop dword [eax]
mov eax, dword [ebp - 0x50]
and eax, 0x10
or eax, 0
je 0x40f833
lea ecx, [ebp - 0x48]
call fcn.00408d80
test al, al
jne 0x40f833
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x48]
cmp edi, 8
cmovae eax, dword [ebp - 0x48]
cmp word [eax], 0x2e
jne 0x40f82d
lea ecx, [ebp - 0x48]
call fcn.00409050
cmp eax, 1
je 0x40f8ff
cmp edi, 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
cmp word [eax + 2], 0x2e
jne 0x40f82d
lea ecx, [ebp - 0x48]
call fcn.00409050
cmp eax, 2
je 0x40f8ff
mov edi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0xa0]
push 0x61413c
call fcn.004145e0
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.00409220
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
call fcn.00408ff0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x50]
mov eax, ecx
and eax, 0x10
or eax, 0
je 0x40f8d0
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.0040f6d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00408ff0
jmp 0x40f8fb
and ecx, 1
or ecx, 0
je 0x40f8ef
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x80
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00408ff0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.004cc5b0
mov edi, dword [ebp - 0xa4]
test al, al
jne 0x40f7d0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1c
call fcn.00408ff0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
call fcn.004cc740
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.004cc4e0
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.005b75ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret