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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x433080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x52c9190f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x90f322d2
je 0x40a1b5
jmp 0x409f54
mov eax, dword [ebp - 0x28]
sub eax, 0x9f20d48f
je 0x40a25c
jmp 0x409f67
mov eax, dword [ebp - 0x28]
sub eax, 0xa84c17a0
je 0x40a3a9
jmp 0x409f7a
mov eax, dword [ebp - 0x28]
sub eax, 0xa8912f0b
je 0x40a3cb
jmp 0x409f8d
mov eax, dword [ebp - 0x28]
sub eax, 0xbcf2a471
je 0x40a3f0
jmp 0x409fa0
mov eax, dword [ebp - 0x28]
sub eax, 0xc6b8bee8
je 0x40a39d
jmp 0x409fb3
mov eax, dword [ebp - 0x28]
sub eax, 0xdea70779
je 0x40a3b9
jmp 0x409fc6
mov eax, dword [ebp - 0x28]
sub eax, 0xe82e7b79
je 0x40a0d6
jmp 0x409fd9
mov eax, dword [ebp - 0x28]
sub eax, 0xffedb861
je 0x40a36f
jmp 0x409fec
mov eax, dword [ebp - 0x28]
sub eax, 0x151649b3
je 0x40a2ea
jmp 0x409fff
mov eax, dword [ebp - 0x28]
sub eax, 0x28900728
je 0x40a142
jmp 0x40a012
mov eax, dword [ebp - 0x28]
sub eax, 0x4dea6367
je 0x40a136
jmp 0x40a025
mov eax, dword [ebp - 0x28]
sub eax, 0x52c9190f
je 0x40a063
jmp 0x40a038
mov eax, dword [ebp - 0x28]
sub eax, 0x6177031b
je 0x40a277
jmp 0x40a04b
mov eax, dword [ebp - 0x28]
sub eax, 0x7cab7299
je 0x40a37b
jmp 0x40a05e
jmp 0x40a3fa
mov ecx, dword [0x434574]
mov eax, dword [0x434570]
mov edx, ecx
sub edx, 0x95106b5
sub edx, 1
add edx, 0x95106b5
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, 0xdea70779
mov ecx, 0xe82e7b79
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a3fa
mov eax, dword [ebp - 0x24]
push eax
mov ecx, esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x434574]
mov ecx, dword [0x434570]
mov edx, eax
add edx, 0x8d905b8b
sub edx, 1
sub edx, 0x8d905b8b
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, 0xdea70779
mov ecx, 0x4dea6367
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a3fa
mov dword [ebp - 0x20], 0x28900728
jmp 0x40a3fa
mov ecx, dword [0x434574]
mov eax, dword [0x434570]
mov edx, ecx
add edx, 0x4b814bf2
sub edx, 1
sub edx, 0x4b814bf2
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, 0xa8912f0b
mov ecx, 0x90f322d2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a3fa
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, 0xffffffff
xor edx, 2
mov eax, ecx
xor eax, edx
and eax, ecx
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0xd], al
mov ecx, dword [0x434574]
mov eax, dword [0x434570]
mov edx, ecx
add edx, 0xe76c0b68
sub edx, 1
sub edx, 0xe76c0b68
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, 0xa8912f0b
mov ecx, 0x9f20d48f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a3fa
mov dl, byte [ebp - 0xd]
mov eax, 0xa84c17a0
mov ecx, 0x6177031b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a3fa
mov ecx, dword [0x434574]
mov eax, dword [0x434570]
mov edx, ecx
sub edx, 0x437099c3
sub edx, 1
add edx, 0x437099c3
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, 0xbcf2a471
mov ecx, 0x151649b3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a3fa
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [0x434574]
mov eax, dword [0x434570]
mov edx, ecx
add edx, 0x5b2827e7
sub edx, 1
sub edx, 0x5b2827e7
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, 0xbcf2a471
mov ecx, 0xffedb861
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x40a3fa
mov dword [ebp - 0x20], 0x7cab7299
jmp 0x40a3fa
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 0x20], 0xc6b8bee8
jmp 0x40a3fa
mov dword [ebp - 0x20], 0xa84c17a0
jmp 0x40a3fa
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cbe0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0xe82e7b79
jmp 0x40a3fa
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 0x90f322d2
jmp 0x40a3fa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 0x151649b3
jmp 0x409f3e