Function at 0x4e5a78
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4e5a80
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e5e98
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x484e7c]
call fcn.004a39e0
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x484e7c]
call fcn.004a39e0
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4e5e69
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
lea ecx, [ebp - 8]
mov edx, 0x4e5eb4
mov eax, dword [ebp - 0x18]
call fcn.004e5938
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x20]
mov ecx, 1
mov eax, 0x4e5ed4
call fcn.0040b128
dec eax
jne 0x4e5b12
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
mov ecx, 1
mov eax, 0x4e5ef0
call fcn.0040b128
dec eax
jne 0x4e5b3e
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004e48c4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4e5bb8
inc ebx
xor esi, esi
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004e508c
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, 0x4e5f14
call fcn.0040b128
dec eax
jne 0x4e5ba9
lea eax, [ebp - 0xc]
call fcn.0040a058
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4e5b71
mov eax, dword [0x4fb608]
mov edx, 0x4e5f48
call fcn.0040af98
je 0x4e5d5d
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0041fcb0
lea ecx, [ebp - 0x34]
mov edx, 0x4e5f6c
mov eax, dword [ebp - 4]
call fcn.0041fc10
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.0040a480
xor eax, eax
push ebp
push 0x4e5c2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov edx, dword [0x4fb5fc]
call fcn.0040ae60
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e5c78
push 2
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 4]
mov edx, dword [0x4fb5fc]
call fcn.0040ae60
mov eax, dword [ebp - 0x40]
call fcn.0040ac0c
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x4e5cd3
call sub.kernel32.dll_GetLastError_2
lea ecx, [ebp - 0x48]
xor edx, edx
call fcn.0042372c
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x4e5fc8
call fcn.0040ae60
mov edx, dword [ebp - 0x44]
mov eax, dword [0x4f54b4]
call fcn.00407e20
call fcn.00407f20
call fcn.00406b54
push 0x4e6014
push dword [0x4fb5fc]
push dword [ebp - 4]
push 0x4e603c
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.0040aee8
mov eax, dword [ebp - 0x4c]
mov edx, dword [0x4fb3ec]
call fcn.004e52f4
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 4]
mov edx, dword [0x4fb5fc]
call fcn.0040ae60
mov eax, dword [ebp - 0x50]
call fcn.0041fbb4
test al, al
jne 0x4e5e4b
call sub.kernel32.dll_GetLastError_2
lea ecx, [ebp - 0x58]
xor edx, edx
call fcn.0042372c
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x4e604c
call fcn.0040ae60
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4f54b4]
call fcn.00407e20
call fcn.00407f20
call fcn.00406b54
jmp 0x4e5e4b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.0040af98
je 0x4e5d8d
mov eax, dword [0x4f54b4]
mov edx, 0x4e6094
call fcn.00407e20
call fcn.00407f20
call fcn.00406b54
call fcn.00409848
jmp 0x4e5e70
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0041fcb0
lea ecx, [ebp - 0x5c]
mov edx, 0x4e5f6c
mov eax, dword [ebp - 4]
call fcn.0041fc10
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 4]
call fcn.0040a480
xor eax, eax
push ebp
push 0x4e5e00
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x80]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e60e0
call fcn.0040ae60
mov edx, dword [ebp - 0x60]
mov eax, dword [0x4f54b4]
call fcn.00407e20
call fcn.00407f20
call fcn.00406b54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e5e4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5e70
mov eax, dword [ebp - 0x18]
call fcn.00408304
mov eax, dword [ebp - 0x1c]
call fcn.00408304
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5e9f
lea eax, [ebp - 0x64]
mov edx, 0x12
call fcn.0040a0b8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a0b8
ret