Function at 0x408b10
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], 0x80146ca
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0xbc742a19
je 0x408f1d
jmp 0x408b3b
mov eax, dword [ebp - 0x28]
sub eax, 0xcb3b114b
je 0x408f4d
jmp 0x408b4e
mov eax, dword [ebp - 0x28]
sub eax, 0xcbb3f8f4
je 0x408d10
jmp 0x408b61
mov eax, dword [ebp - 0x28]
sub eax, 0xd63c5567
je 0x408e15
jmp 0x408b74
mov eax, dword [ebp - 0x28]
sub eax, 0xf1acd1e6
je 0x408ee8
jmp 0x408b87
mov eax, dword [ebp - 0x28]
sub eax, 0x676e12c
je 0x408d04
jmp 0x408b9a
mov eax, dword [ebp - 0x28]
sub eax, 0x80146ca
je 0x408c4a
jmp 0x408bad
mov eax, dword [ebp - 0x28]
sub eax, 0x2add53d8
je 0x408f16
jmp 0x408bc0
mov eax, dword [ebp - 0x28]
sub eax, 0x2ce64f30
je 0x408d4c
jmp 0x408bd3
mov eax, dword [ebp - 0x28]
sub eax, 0x2f53a375
je 0x408db7
jmp 0x408be6
mov eax, dword [ebp - 0x28]
sub eax, 0x33724e49
je 0x408c98
jmp 0x408bf9
mov eax, dword [ebp - 0x28]
sub eax, 0x3a1829ac
je 0x408e6f
jmp 0x408c0c
mov eax, dword [ebp - 0x28]
sub eax, 0x4736dfc5
je 0x408ef4
jmp 0x408c1f
mov eax, dword [ebp - 0x28]
sub eax, 0x58bc25ad
je 0x408f41
jmp 0x408c32
mov eax, dword [ebp - 0x28]
sub eax, 0x793e1a73
je 0x408e21
jmp 0x408c45
jmp 0x408f54
mov eax, dword [0x433584]
mov ecx, dword [0x433580]
mov edx, eax
add edx, 0xd986ab39
sub edx, 1
sub edx, 0xd986ab39
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, 0xbc742a19
mov ecx, 0x33724e49
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408f54
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 eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x433584]
mov ecx, dword [0x433580]
mov edx, eax
sub edx, 0x86624a77
sub edx, 1
add edx, 0x86624a77
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, 0xbc742a19
mov ecx, 0x676e12c
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408f54
mov dword [ebp - 0x20], 0xcbb3f8f4
jmp 0x408f54
mov edx, dword [ebp - 0x14]
xor edx, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 2
mov eax, 0xffffffff
xor eax, 0x6d2d7a94
or edx, ecx
or eax, 0x6d2d7a94
xor edx, 0xffffffff
and edx, eax
mov eax, 0x2add53d8
mov ecx, 0x2ce64f30
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408f54
mov ecx, dword [0x433584]
mov eax, dword [0x433580]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
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, 0x58bc25ad
mov ecx, 0x2f53a375
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408f54
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x433584]
mov ecx, dword [0x433580]
mov edx, eax
add edx, 0xb6892a8a
sub edx, 1
sub edx, 0xb6892a8a
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, 0x58bc25ad
mov ecx, 0xd63c5567
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408f54
mov dword [ebp - 0x20], 0x793e1a73
jmp 0x408f54
mov eax, dword [0x433584]
mov ecx, dword [0x433580]
mov edx, eax
add edx, 0xb26bfab
sub edx, 1
sub edx, 0xb26bfab
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, 0xcb3b114b
mov ecx, 0x3a1829ac
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408f54
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x433584]
mov eax, dword [0x433580]
mov edx, ecx
sub edx, 0x6f9a875d
sub edx, 1
add edx, 0x6f9a875d
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, 0xcb3b114b
mov ecx, 0xf1acd1e6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408f54
mov dword [ebp - 0x20], 0x4736dfc5
jmp 0x408f54
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], 0x2add53d8
jmp 0x408f54
add esp, 0x28
pop esi
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 - 0x1c], eax
mov dword [ebp - 0x20], 0x33724e49
jmp 0x408f54
mov dword [ebp - 0x20], 0x2f53a375
jmp 0x408f54
mov dword [ebp - 0x20], 0x3a1829ac
jmp 0x408b25