Function at 0x47d2b0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47d697
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x47d2d9
mov byte [ebp - 9], 1
jmp 0x47d674
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x31e0]
call fcn.0047aa50
xor eax, eax
push ebp
push 0x47d66d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 1
mov eax, dword [ebp - 8]
cmp word [eax + 0x38a], 0
je 0x47d3d6
mov eax, dword [ebp - 8]
call fcn.0047acf4
test al, al
je 0x47d3ac
mov eax, dword [ebp - 8]
cmp word [eax + 0x412], 0
je 0x47d380
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x4d8]
call fcn.00405000
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4d8]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x414]
call dword [ebx + 0x410]
cmp dword [ebp - 4], 0
je 0x47d380
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409e44
mov eax, dword [ebp - 0x10]
call fcn.0047e790
mov eax, dword [ebp - 8]
add eax, 0x4d8
mov edx, dword [ebp - 4]
call fcn.00404fbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4b8]
inc eax
push eax
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4d8]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x38c]
call dword [ebx + 0x388]
jmp 0x47d3d6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4b8]
inc eax
push eax
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3208]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x38c]
call dword [ebx + 0x388]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
jne 0x47d3e8
cmp byte [ebp - 0xa], 0
jne 0x47d3f6
mov byte [ebp - 9], 0
call fcn.0040496c
jmp 0x47d674
mov eax, dword [ebp - 8]
call fcn.0047acf4
test al, al
jne 0x47d419
mov byte [ebp - 9], 1
mov eax, dword [ebp - 8]
inc dword [eax + 0x4b8]
call fcn.0040496c
jmp 0x47d674
mov eax, dword [ebp - 8]
cmp byte [eax + 0x365], 0
jne 0x47d44c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x468], 0
sete byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x47d442
mov eax, dword [ebp - 8]
inc dword [eax + 0x4b8]
call fcn.0040496c
jmp 0x47d674
mov eax, dword [ebp - 8]
mov byte [eax + 0x468], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4d8]
call fcn.00409c88
test al, al
je 0x47d615
mov eax, dword [ebp - 8]
cmp word [eax + 0x31fa], 0
je 0x47d5e3
lea eax, [ebp - 4]
call fcn.00404f68
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
add eax, 0x468
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4d8]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x31fc]
call dword [ebx + 0x31f8]
cmp dword [ebp - 4], 0
jne 0x47d4c4
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x4d8]
call fcn.00405000
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00409e44
mov eax, dword [ebp - 0x14]
call fcn.0047e790
mov eax, dword [ebp - 8]
cmp byte [eax + 0x468], 0
jne 0x47d50e
cmp dword [ebp - 4], 0
je 0x47d50e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4d8]
mov edx, dword [ebp - 4]
call fcn.004091f8
test eax, eax
je 0x47d53c
mov eax, dword [ebp - 8]
add eax, 0x4d8
mov edx, dword [ebp - 4]
call fcn.00404fbc
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
jne 0x47d53c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x468], 1
je 0x47d53c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4d8]
call fcn.0047e5f4
test al, al
jne 0x47d47d
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
jne 0x47d615
mov eax, dword [ebp - 8]
cmp byte [eax + 0x468], 1
je 0x47d615
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4d8]
call fcn.0040542c
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x47d615
test ebx, 1
jle 0x47d615
test bl, 4
jne 0x47d5b0
test bl, 0x10
jne 0x47d5b0
push 0x80
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4d8]
call fcn.0040542c
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x47d615
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x524]
push eax
push 0x6230
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4d8]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov byte [ebp - 9], 0
call fcn.0040496c
jmp 0x47d674
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x524]
push eax
push 0x62b6
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4d8]
mov ecx, 0x47d6b0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, dword [ebp - 8]
mov byte [eax + 0x468], 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
jne 0x47d639
mov eax, dword [ebp - 8]
cmp byte [eax + 0x468], 0
jne 0x47d639
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4d8], 0
jne 0x47d63d
xor eax, eax
jmp 0x47d63f
mov al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47d651
mov eax, dword [ebp - 8]
inc dword [eax + 0x4b8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d674
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x31e0]
call fcn.0047aa64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d69e
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404f8c
lea eax, [ebp - 4]
call fcn.00404f68
ret