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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xc33e3fe1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x8207618e
je 0x410094
jmp 0x40ff0b
mov eax, dword [ebp - 0x28]
sub eax, 0xc33e3fe1
je 0x40ffe1
jmp 0x40ff1e
mov eax, dword [ebp - 0x28]
sub eax, 0xd8aefc73
je 0x41023e
jmp 0x40ff31
mov eax, dword [ebp - 0x28]
sub eax, 0xe009d558
je 0x41022b
jmp 0x40ff44
mov eax, dword [ebp - 0x28]
sub eax, 0xfb492caf
je 0x410021
jmp 0x40ff57
mov eax, dword [ebp - 0x28]
sub eax, 0x9d2c320
je 0x410111
jmp 0x40ff6a
mov eax, dword [ebp - 0x28]
sub eax, 0x235d9f99
je 0x4100da
jmp 0x40ff7d
mov eax, dword [ebp - 0x28]
sub eax, 0x3815f49b
je 0x4100f5
jmp 0x40ff90
mov eax, dword [ebp - 0x28]
sub eax, 0x445db8c4
je 0x410123
jmp 0x40ffa3
mov eax, dword [ebp - 0x28]
sub eax, 0x4f5442ba
je 0x410196
jmp 0x40ffb6
mov eax, dword [ebp - 0x28]
sub eax, 0x6722aa8d
je 0x41021f
jmp 0x40ffc9
mov eax, dword [ebp - 0x28]
sub eax, 0x7d0577c4
je 0x410232
jmp 0x40ffdc
jmp 0x41025b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0xffffffff
xor edx, 2
mov eax, ecx
xor eax, edx
and eax, ecx
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0x11], al
mov dword [ebp - 0x20], 0xfb492caf
jmp 0x41025b
mov ecx, dword [0x442584]
mov eax, dword [0x442580]
mov edx, ecx
add edx, 0xb33d7dcd
sub edx, 1
sub edx, 0xb33d7dcd
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x7d0577c4
mov ecx, 0x8207618e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x41025b
mov eax, dword [0x442584]
mov ecx, dword [0x442580]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x7d0577c4
mov ecx, 0x235d9f99
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x41025b
mov dl, byte [ebp - 0x11]
mov eax, 0xe009d558
mov ecx, 0x3815f49b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x41025b
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x9d2c320
jmp 0x41025b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0x445db8c4
jmp 0x41025b
mov ecx, dword [0x442584]
mov eax, dword [0x442580]
mov edx, ecx
add edx, 0x43398ae4
sub edx, 1
sub edx, 0x43398ae4
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xd8aefc73
mov ecx, 0x4f5442ba
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x41025b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov ecx, dword [0x442584]
mov eax, dword [0x442580]
mov edx, ecx
sub edx, 0x608e716f
sub edx, 1
add edx, 0x608e716f
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xd8aefc73
mov ecx, 0x6722aa8d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x41025b
mov dword [ebp - 0x20], 0xe009d558
jmp 0x41025b
add esp, 0x28
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0x8207618e
jmp 0x41025b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x20], 0x4f5442ba
jmp 0x40fef5