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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xd03e7592
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x80f13507
je 0x411b20
jmp 0x4118bc
mov eax, dword [ebp - 0x28]
sub eax, 0x833be4fd
je 0x411aa5
jmp 0x4118cf
mov eax, dword [ebp - 0x28]
sub eax, 0x9ba8984a
je 0x4119cc
jmp 0x4118e2
mov eax, dword [ebp - 0x28]
sub eax, 0xa36891c8
je 0x411a57
jmp 0x4118f5
mov eax, dword [ebp - 0x28]
sub eax, 0xa9f1dfa3
je 0x411b34
jmp 0x411908
mov eax, dword [ebp - 0x28]
sub eax, 0xd03e7592
je 0x411959
jmp 0x41191b
mov eax, dword [ebp - 0x28]
sub eax, 0x3c5db83e
je 0x411a63
jmp 0x41192e
mov eax, dword [ebp - 0x28]
sub eax, 0x452d20ef
je 0x411b2c
jmp 0x411941
mov eax, dword [ebp - 0x28]
sub eax, 0x59756b4d
je 0x411afe
jmp 0x411954
jmp 0x411b50
mov ecx, dword [0x442574]
mov eax, dword [0x442570]
mov edx, ecx
add edx, 0x43e041ef
sub edx, 1
sub edx, 0x43e041ef
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, 0xa9f1dfa3
mov ecx, 0x9ba8984a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x411b50
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 - 0x14], eax
mov ecx, dword [0x442574]
mov eax, dword [0x442570]
mov edx, ecx
sub edx, 0x2679305e
sub edx, 1
add edx, 0x2679305e
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, 0xa9f1dfa3
mov ecx, 0xa36891c8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x411b50
mov dword [ebp - 0x20], 0x3c5db83e
jmp 0x411b50
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
xor edx, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 2
mov eax, 0xffffffff
xor eax, 0xf3ef9051
or edx, ecx
or eax, 0xf3ef9051
xor edx, 0xffffffff
and edx, eax
mov eax, 0x452d20ef
mov ecx, 0x833be4fd
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x411b50
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0xb861c64
and eax, 0xb861c64
and ecx, edx
mov edi, esi
and edi, 0xb861c64
mov ebx, edx
and ebx, 2
or eax, ecx
mov ecx, dword [ebp - 0x2c]
or edi, ebx
xor eax, edi
or ecx, esi
xor ecx, 0xffffffff
or edx, 0xb861c64
and ecx, edx
or eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x59756b4d
jmp 0x411b50
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x20], 0x80f13507
jmp 0x411b50
mov dword [ebp - 0x20], 0x452d20ef
jmp 0x411b50
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
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 - 0x20], 0x9ba8984a
jmp 0x4118a6