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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x6b5d79fe
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
sub eax, 0x89cd894e
je 0x409f22
jmp 0x409ddf
mov eax, dword [ebp - 0x24]
sub eax, 0xd0e7cf2a
je 0x409ff9
jmp 0x409df2
mov eax, dword [ebp - 0x24]
sub eax, 0xf14f672a
je 0x409f70
jmp 0x409e05
mov eax, dword [ebp - 0x24]
sub eax, 0xeebfd13
je 0x40a019
jmp 0x409e18
mov eax, dword [ebp - 0x24]
sub eax, 0x1a711285
je 0x40a011
jmp 0x409e2b
mov eax, dword [ebp - 0x24]
sub eax, 0x2b57e9c9
je 0x40a005
jmp 0x409e3e
mov eax, dword [ebp - 0x24]
sub eax, 0x2d486f3c
je 0x409ec9
jmp 0x409e51
mov eax, dword [ebp - 0x24]
sub eax, 0x58e6edd0
je 0x409e9a
jmp 0x409e64
mov eax, dword [ebp - 0x24]
sub eax, 0x6b5d79fe
je 0x409e7c
jmp 0x409e77
jmp 0x40a036
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 dword [ebp - 0x20], 0x58e6edd0
jmp 0x40a036
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, 0xffffffff
xor ecx, 2
mov edx, eax
xor edx, ecx
and edx, eax
mov eax, 0x1a711285
mov ecx, 0x2d486f3c
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a036
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0x63283258
and eax, 0x63283258
and ecx, edx
mov edi, esi
and edi, 0x63283258
mov ebx, edx
and ebx, 2
or eax, ecx
mov ecx, dword [ebp - 0x28]
or edi, ebx
xor eax, edi
or ecx, esi
xor ecx, 0xffffffff
or edx, 0x63283258
and ecx, edx
or eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x89cd894e
jmp 0x40a036
mov eax, dword [0x43358c]
mov ecx, dword [0x433588]
mov edx, eax
sub edx, 0x7fbdc7f8
sub edx, 1
add edx, 0x7fbdc7f8
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, 0xeebfd13
mov ecx, 0xf14f672a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a036
mov ecx, dword [ebp + 8]
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 ecx, dword [0x43358c]
mov eax, dword [0x433588]
mov edx, ecx
add edx, 0xe2d5077
sub edx, 1
sub edx, 0xe2d5077
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, 0xeebfd13
mov ecx, 0xd0e7cf2a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a036
mov dword [ebp - 0x20], 0x2b57e9c9
jmp 0x40a036
mov dword [ebp - 0x20], 0x1a711285
jmp 0x40a036
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
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], 0xf14f672a
jmp 0x409dc9