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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6a6d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x57aa54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x2c]
call fcn.0048c58b
mov dword [ebp - 4], 0
push 0x4bf558
lea ecx, [ebp - 0x5c]
call fcn.0040fa70
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.004032e0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x74]
call fcn.0040ca60
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048c623
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00403970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00403970
cmp dword [ebp - 0x30], 0
jne 0x40df25
mov byte [ebp - 0x61], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0048c5b4
mov al, byte [ebp - 0x61]
jmp 0x40e0ad
lea ecx, [ebp - 0x44]
call fcn.00483870
mov byte [ebp - 4], 3
mov byte [ebp - 0x11], 1
cmp dword [ebp - 0x30], 0
je 0x40df9a
lea ecx, [ebp - 0x2c]
call fcn.0048c28b
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2c]
call fcn.0048c54c
test eax, eax
je 0x40df54
jmp 0x40df35
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0048c850
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0040fa50
test eax, eax
je 0x40df80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00403970
jmp 0x40df35
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040fa20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00403970
jmp 0x40df35
lea ecx, [ebp - 0x2c]
call fcn.0048c1a5
mov dword [ebp - 0x4c], 0
jmp 0x40dfb4
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x44]
call fcn.00416bf0
cmp dword [ebp - 0x4c], eax
jge 0x40e089
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x44]
call fcn.0040a6f0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x54]
call fcn.004038d0
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.0040ca60
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x54]
call fcn.0040ca60
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x54]
push ecx
call fcn.0040e9d0
add esp, 4
mov byte [ebp - 0x7d], al
mov dl, byte [ebp - 0x7d]
mov byte [ebp - 0x4d], dl
movzx eax, byte [ebp - 0x4d]
test eax, eax
jne 0x40e02e
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.00403970
jmp 0x40e05b
mov dword [ebp - 4], 3
jmp 0x40e084
jmp 0x40dfab
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x63], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00483a4d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0048c5b4
mov al, byte [ebp - 0x63]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret