Function at 0x4e9c5c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
xor edx, edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e94
lea eax, [ebp - 0x164]
mov edx, dword [0x407fd4]
call fcn.00405398
xor eax, eax
push ebp
push 0x4e9f01
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404f04
mov eax, dword [ebp - 0x168]
mov edx, 0x4e9f14
call fcn.00404df0
je 0x4e9d09
lea eax, [ebp - 8]
mov ecx, 0x4e9f14
mov edx, dword [ebp - 4]
call fcn.00404cf0
jmp 0x4e9d14
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404a7c
lea eax, [ebp - 0x16c]
mov ecx, 0x4e9f20
mov edx, dword [ebp - 8]
call fcn.00404cf0
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x164]
mov edx, 0x3f
call fcn.0040987c
test eax, eax
jne 0x4e9ebd
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x158]
call fcn.00408f34
mov eax, dword [ebp - 0xc]
mov edx, 0x4e9f2c
call fcn.00404df0
je 0x4e9e9f
mov eax, dword [ebp - 0xc]
mov edx, 0x4e9f38
call fcn.00404df0
je 0x4e9e9f
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 8]
call fcn.00404cf0
mov eax, dword [ebp - 0x15c]
test al, 0x10
je 0x4e9e3a
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404ea4
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0xc]
call fcn.004e9c5c
push 0
lea eax, [ebp - 0x170]
mov ecx, 0x4e9f14
mov edx, dword [ebp - 0xc]
call fcn.00404cf0
mov eax, dword [ebp - 0x170]
call fcn.00404ea4
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x174]
mov ecx, 0x4e9f14
mov edx, dword [ebp - 0xc]
call fcn.00404cf0
mov eax, dword [ebp - 0x174]
call fcn.004e9c5c
push 0
lea eax, [ebp - 0x178]
mov ecx, 0x4e9f44
mov edx, dword [ebp - 0xc]
call fcn.00404cf0
mov eax, dword [ebp - 0x178]
call fcn.00404ea4
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x17c]
mov ecx, 0x4e9f44
mov edx, dword [ebp - 0xc]
call fcn.00404cf0
mov eax, dword [ebp - 0x17c]
call fcn.004e9c5c
jmp 0x4e9e9f
mov edx, eax
and edx, 0x3f
cmp eax, edx
jne 0x4e9e9f
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404ea4
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0xc]
call fcn.0040990c
push 0
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4e9f50
call fcn.00404cf0
mov eax, dword [ebp - 0x180]
call fcn.00404ea4
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4e9f50
call fcn.00404cf0
mov eax, dword [ebp - 0x184]
call fcn.0040990c
lea eax, [ebp - 0x164]
call fcn.004098cc
test eax, eax
je 0x4e9d45
lea eax, [ebp - 0x164]
call fcn.004098f0
mov eax, dword [ebp - 8]
call fcn.00409b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9f08
lea eax, [ebp - 0x184]
mov edx, 8
call fcn.00404a08
lea eax, [ebp - 0x164]
mov edx, dword [0x407fd4]
call fcn.00405468
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a08
ret