Function at 0x408760
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], 0xec911bf5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x8c5be7fb
je 0x4089d9
jmp 0x40878c
mov eax, dword [ebp - 0x28]
sub eax, 0x941dc603
je 0x408886
jmp 0x40879f
mov eax, dword [ebp - 0x28]
sub eax, 0x981a1f54
je 0x408a99
jmp 0x4087b2
mov eax, dword [ebp - 0x28]
sub eax, 0xa1cee979
je 0x40894b
jmp 0x4087c5
mov eax, dword [ebp - 0x28]
sub eax, 0xc70a4413
je 0x408adb
jmp 0x4087d8
mov eax, dword [ebp - 0x28]
sub eax, 0xd8d03e40
je 0x408ac7
jmp 0x4087eb
mov eax, dword [ebp - 0x28]
sub eax, 0xdb274510
je 0x408ae7
jmp 0x4087fe
mov eax, dword [ebp - 0x28]
sub eax, 0xec911bf5
je 0x408862
jmp 0x408811
mov eax, dword [ebp - 0x28]
sub eax, 0xfab18ed
je 0x4088d4
jmp 0x408824
mov eax, dword [ebp - 0x28]
sub eax, 0x56cad151
je 0x408ad3
jmp 0x408837
mov eax, dword [ebp - 0x28]
sub eax, 0x600b3391
je 0x408aa5
jmp 0x40884a
mov eax, dword [ebp - 0x28]
sub eax, 0x6f7e16ee
je 0x408966
jmp 0x40885d
jmp 0x408aee
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 dword [ebp - 0x20], 0x941dc603
jmp 0x408aee
mov eax, dword [0x43a574]
mov ecx, dword [0x43a570]
mov edx, eax
add edx, 0xe0a565e7
sub edx, 1
sub edx, 0xe0a565e7
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, 0xc70a4413
mov ecx, 0xfab18ed
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408aee
mov eax, dword [ebp - 0x1c]
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 2
mov ecx, 0xffffffff
xor ecx, 0x4c956b14
or eax, edx
or ecx, 0x4c956b14
xor eax, 0xffffffff
and eax, ecx
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0x11], al
mov eax, dword [0x43a574]
mov ecx, dword [0x43a570]
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, 0xc70a4413
mov ecx, 0xa1cee979
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408aee
mov dl, byte [ebp - 0x11]
mov eax, 0x56cad151
mov ecx, 0x6f7e16ee
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408aee
mov ecx, dword [0x43a574]
mov eax, dword [0x43a570]
mov edx, ecx
add edx, 0xf0972fff
sub edx, 1
sub edx, 0xf0972fff
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, 0xdb274510
mov ecx, 0x8c5be7fb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408aee
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, 0x6e9c450a
and eax, 0x6e9c450a
and ecx, edx
mov edi, esi
and edi, 0x6e9c450a
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, 0x6e9c450a
and ecx, edx
or eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43a574]
mov eax, dword [0x43a570]
mov edx, ecx
add edx, 0x5a01a00
sub edx, 1
sub edx, 0x5a01a00
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, 0xdb274510
mov ecx, 0x981a1f54
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408aee
mov dword [ebp - 0x20], 0x600b3391
jmp 0x408aee
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], 0xd8d03e40
jmp 0x408aee
mov dword [ebp - 0x20], 0x56cad151
jmp 0x408aee
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0xfab18ed
jmp 0x408aee
mov dword [ebp - 0x20], 0x8c5be7fb
jmp 0x408776