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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6cf2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xa8
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 0x4bf5b4
lea ecx, [ebp - 0x74]
call fcn.004038f0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.004032e0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x9c]
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 - 0x78]
call fcn.00403970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00403970
cmp dword [ebp - 0x30], 0
jne 0x40ee80
mov byte [ebp - 0x79], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0048c5b4
mov al, byte [ebp - 0x79]
jmp 0x40f1ae
lea ecx, [ebp - 0x44]
call fcn.00483870
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00483870
mov byte [ebp - 4], 4
mov byte [ebp - 0x11], 1
cmp dword [ebp - 0x30], 0
je 0x40ef45
lea ecx, [ebp - 0x2c]
call fcn.0048c28b
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2c]
call fcn.0048c54c
test eax, eax
je 0x40eebf
jmp 0x40ee9c
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0048c850
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.0040fa50
test eax, eax
je 0x40eeeb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00403970
jmp 0x40ee9c
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040fa20
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0048c8e1
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040fa20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00403970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00403970
jmp 0x40ee9c
lea ecx, [ebp - 0x2c]
call fcn.0048c1a5
mov dword [ebp - 0x60], 0
jmp 0x40ef5f
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x44]
call fcn.00416bf0
cmp dword [ebp - 0x60], eax
jge 0x40f178
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x44]
call fcn.0040a6f0
push eax
lea ecx, [ebp - 0x64]
call fcn.004038d0
mov byte [ebp - 4], 7
push 0x4bf5c0
lea ecx, [ebp - 0x84]
call fcn.004038f0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.004032e0
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x58]
call fcn.0040a6f0
push eax
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.004032e0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.00403970
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x84]
call fcn.00403970
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x68]
push edx
call fcn.0040e4f0
add esp, 4
mov byte [ebp - 0xb5], al
movzx eax, byte [ebp - 0xb5]
test eax, eax
je 0x40f0d5
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x40f06b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.00403970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00403970
mov byte [ebp - 4], 4
jmp 0x40ef56
lea ecx, [ebp - 0x68]
call fcn.0040ca60
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x68]
call fcn.0040ca60
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x68]
push edx
call fcn.0040e9d0
add esp, 4
mov byte [ebp - 0xb6], al
mov al, byte [ebp - 0xb6]
mov byte [ebp - 0x69], al
movzx ecx, byte [ebp - 0x69]
test ecx, ecx
jne 0x40f0d5
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.00403970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00403970
mov byte [ebp - 4], 4
jmp 0x40ef56
push 1
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0040e910
add esp, 0xc
jmp 0x40f10b
mov dword [ebp - 4], 0xc
jmp 0x40f15b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.00403970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00403970
jmp 0x40ef56
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x8a], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00483a4d
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 - 0x8a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret