Function at 0x4fb10c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004060c4
xor eax, eax
push ebp
push 0x4fb464
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004f6104
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00406130
cmp dword [ebp - 4], 0
jne 0x4fb16c
lea eax, [ebp - 4]
call fcn.0040e2a4
movzx eax, byte [0x4fb478]
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0041363c
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x78]
call fcn.00406500
mov eax, dword [ebp - 0x24]
mov ecx, 0x4fb488
mov edx, 0x4fb498
call fcn.00413ce0
mov eax, dword [ebp - 8]
test eax, eax
je 0x4fb1c0
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4fb1c0
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004056d0
test eax, eax
je 0x4fb1c9
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x4fb1f9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, 0x4fb4a8
mov dl, 1
mov eax, dword [0x4faf48]
call fcn.00412094
call fcn.00404c60
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xa5], 0
je 0x4fb212
mov eax, dword [ebp - 8]
call fcn.0040da0c
jmp 0x4fb42f
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0040df98
mov eax, dword [ebp - 0x30]
call fcn.0040da0c
xor edx, edx
push ebp
push 0x4fb412
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.0040d9a0
test al, al
je 0x4fb2eb
mov eax, dword [ebp - 0xc]
cmp word [eax + 0xd2], 0
je 0x4fb2da
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x19]
push eax
lea ecx, [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0xd4]
call dword [esi + 0xd0]
movzx eax, byte [ebp - 0x19]
sub al, 1
jb 0x4fb285
je 0x4fb296
dec al
je 0x4fb2ab
dec al
je 0x4fb2d3
jmp 0x4fb2eb
mov byte [ebp - 0xd], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fb42f
push 0x80
mov eax, dword [ebp - 8]
call fcn.00406168
push eax
call sub.kernel32.dll_SetFileAttributesW
jmp 0x4fb2eb
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0040df98
mov eax, dword [ebp - 0x34]
call fcn.0040d9e8
test al, al
jne 0x4fb2eb
mov byte [ebp - 0xd], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fb42f
call fcn.00412044
jmp 0x4fb2eb
mov byte [ebp - 0xd], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fb42f
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41fb18]
call fcn.00424b84
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4fb338
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov ecx, ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004fb904
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb33f
mov eax, dword [ebp - 0x14]
call fcn.0040426c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb46b
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004060d4
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004060d4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004060d4
ret