Function at 0x409b00
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 eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0xdbafbc8a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
sub eax, 0x9cd6ea17
je 0x409e69
jmp 0x409b41
mov eax, dword [ebp - 0x28]
sub eax, 0xac9dd350
je 0x409d8c
jmp 0x409b54
mov eax, dword [ebp - 0x28]
sub eax, 0xb53e7bff
je 0x409cfe
jmp 0x409b67
mov eax, dword [ebp - 0x28]
sub eax, 0xcd76e863
je 0x409c37
jmp 0x409b7a
mov eax, dword [ebp - 0x28]
sub eax, 0xdbafbc8a
je 0x409c17
jmp 0x409b8d
mov eax, dword [ebp - 0x28]
sub eax, 0xf294db00
je 0x409d19
jmp 0x409ba0
mov eax, dword [ebp - 0x28]
sub eax, 0xfbc3e0ad
je 0x409e61
jmp 0x409bb3
mov eax, dword [ebp - 0x28]
sub eax, 0x3f5eb65
je 0x409dec
jmp 0x409bc6
mov eax, dword [ebp - 0x28]
sub eax, 0x39d082ce
je 0x409e55
jmp 0x409bd9
mov eax, dword [ebp - 0x28]
sub eax, 0x546bbb1b
je 0x409caa
jmp 0x409bec
mov eax, dword [ebp - 0x28]
sub eax, 0x5e7c3f0c
je 0x409de0
jmp 0x409bff
mov eax, dword [ebp - 0x28]
sub eax, 0x65408a66
je 0x409e78
jmp 0x409c12
jmp 0x409e7f
mov ecx, dword [ebp - 0x1c]
mov edx, 0xffffffff
xor edx, 2
mov eax, ecx
xor eax, edx
and eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0xcd76e863
jmp 0x409e7f
mov ecx, dword [0x435574]
mov eax, dword [0x435570]
mov edx, ecx
add edx, 0x8e128cd1
sub edx, 1
sub edx, 0x8e128cd1
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, 0x9cd6ea17
mov ecx, 0x546bbb1b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409e7f
mov eax, dword [ebp - 0x18]
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0x11], al
mov eax, dword [0x435574]
mov ecx, dword [0x435570]
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, 0x9cd6ea17
mov ecx, 0xb53e7bff
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409e7f
mov dl, byte [ebp - 0x11]
mov eax, 0xfbc3e0ad
mov ecx, 0xf294db00
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409e7f
mov ecx, dword [0x435574]
mov eax, dword [0x435570]
mov edx, ecx
add edx, 0xb749c4c7
sub edx, 1
sub edx, 0xb749c4c7
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, 0x65408a66
mov ecx, 0xac9dd350
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409e7f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [0x435574]
mov ecx, dword [0x435570]
mov edx, eax
add edx, 0x78517852
sub edx, 1
sub edx, 0x78517852
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, 0x65408a66
mov ecx, 0x5e7c3f0c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x409e7f
mov dword [ebp - 0x24], 0x3f5eb65
jmp 0x409e7f
mov ecx, dword [ebp - 0x10]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0x583349f5
and eax, 0x583349f5
and ecx, edx
mov edi, esi
and edi, 0x583349f5
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, 0x583349f5
and ecx, edx
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x24], 0x39d082ce
jmp 0x409e7f
mov dword [ebp - 0x24], 0xfbc3e0ad
jmp 0x409e7f
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x546bbb1b
jmp 0x409e7f
mov dword [ebp - 0x24], 0xac9dd350
jmp 0x409b2b