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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x733eac2d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x8067ed2f
je 0x4043be
jmp 0x403f8c
mov eax, dword [ebp - 0x2c]
sub eax, 0xbf531a2e
je 0x40419c
jmp 0x403f9f
mov eax, dword [ebp - 0x2c]
sub eax, 0xda946068
je 0x404132
jmp 0x403fb2
mov eax, dword [ebp - 0x2c]
sub eax, 0xf0050c85
je 0x4042ac
jmp 0x403fc5
mov eax, dword [ebp - 0x2c]
sub eax, 0xf222021f
je 0x4042be
jmp 0x403fd8
mov eax, dword [ebp - 0x2c]
sub eax, 0xf8475a0e
je 0x404205
jmp 0x403feb
mov eax, dword [ebp - 0x2c]
sub eax, 0xf85c5e1
je 0x4042a0
jmp 0x403ffe
mov eax, dword [ebp - 0x2c]
sub eax, 0x26da25b3
je 0x4042e0
jmp 0x404011
mov eax, dword [ebp - 0x2c]
sub eax, 0x384f2a5a
je 0x4041b7
jmp 0x404024
mov eax, dword [ebp - 0x2c]
sub eax, 0x3dc168ef
je 0x4040bf
jmp 0x404037
mov eax, dword [ebp - 0x2c]
sub eax, 0x4c877b54
je 0x4043c6
jmp 0x40404a
mov eax, dword [ebp - 0x2c]
sub eax, 0x50e2c389
je 0x4043de
jmp 0x40405d
mov eax, dword [ebp - 0x2c]
sub eax, 0x5ce89c7d
je 0x4043d2
jmp 0x404070
mov eax, dword [ebp - 0x2c]
sub eax, 0x6db41c38
je 0x40434b
jmp 0x404083
mov eax, dword [ebp - 0x2c]
sub eax, 0x733eac2d
je 0x40409b
jmp 0x404096
jmp 0x4043e5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0x3dc168ef
jmp 0x4043e5
mov ecx, dword [0x41c38c]
mov eax, dword [0x41c388]
mov edx, ecx
sub edx, 0x8991206a
sub edx, 1
add edx, 0x8991206a
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, 0x4c877b54
mov ecx, 0xda946068
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4043e5
mov ecx, dword [ebp - 0x20]
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 - 0x15], al
mov eax, dword [0x41c38c]
mov ecx, dword [0x41c388]
mov edx, eax
sub edx, 0xdbab4210
sub edx, 1
add edx, 0xdbab4210
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, 0x4c877b54
mov ecx, 0xbf531a2e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4043e5
mov dl, byte [ebp - 0x15]
mov eax, 0x26da25b3
mov ecx, 0x384f2a5a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4043e5
mov eax, dword [0x41c38c]
mov ecx, dword [0x41c388]
mov edx, eax
sub edx, 0x9e1139a1
sub edx, 1
add edx, 0x9e1139a1
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, 0x5ce89c7d
mov ecx, 0xf8475a0e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4043e5
mov ecx, dword [ebp - 0x20]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x30], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0x22c14743
and eax, 0x22c14743
and ecx, edx
mov edi, esi
and edi, 0x22c14743
mov ebx, edx
and ebx, 2
or eax, ecx
mov ecx, dword [ebp - 0x30]
or edi, ebx
xor eax, edi
or ecx, esi
xor ecx, 0xffffffff
or edx, 0x22c14743
and ecx, edx
or eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x41c38c]
mov ecx, dword [0x41c388]
mov edx, eax
sub edx, 0xe3c71bf7
sub edx, 1
add edx, 0xe3c71bf7
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, 0x5ce89c7d
mov ecx, 0xf85c5e1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4043e5
mov dword [ebp - 0x24], 0xf0050c85
jmp 0x4043e5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0xf222021f
jmp 0x4043e5
mov eax, dword [ebp - 0x14]
mov ecx, 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 - 0x24], 0x26da25b3
jmp 0x4043e5
mov ecx, dword [0x41c38c]
mov eax, dword [0x41c388]
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, 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, 0x50e2c389
mov ecx, 0x6db41c38
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4043e5
mov ecx, dword [0x41c38c]
mov eax, dword [0x41c388]
mov edx, ecx
sub edx, 0x2e220d14
sub edx, 1
add edx, 0x2e220d14
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, 0x50e2c389
mov ecx, 0x8067ed2f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4043e5
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0xda946068
jmp 0x4043e5
mov dword [ebp - 0x24], 0xf8475a0e
jmp 0x4043e5
mov dword [ebp - 0x24], 0x6db41c38
jmp 0x403f76