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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x43d080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0xaef80189
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0x90693021
je 0x40dfe8
jmp 0x40de65
mov eax, dword [ebp - 0x2c]
sub eax, 0x9802b7ea
je 0x40df9a
jmp 0x40de78
mov eax, dword [ebp - 0x2c]
sub eax, 0xa1a06fa0
je 0x40e19c
jmp 0x40de8b
mov eax, dword [ebp - 0x2c]
sub eax, 0xaef80189
je 0x40df3b
jmp 0x40de9e
mov eax, dword [ebp - 0x2c]
sub eax, 0xbde7ece5
je 0x40e063
jmp 0x40deb1
mov eax, dword [ebp - 0x2c]
sub eax, 0xdd4f77e8
je 0x40e169
jmp 0x40dec4
mov eax, dword [ebp - 0x2c]
sub eax, 0xfbc45c38
je 0x40e1ab
jmp 0x40ded7
mov eax, dword [ebp - 0x2c]
sub eax, 0xb0dc6bb
je 0x40e15d
jmp 0x40deea
mov eax, dword [ebp - 0x2c]
sub eax, 0x18eed7e5
je 0x40e0da
jmp 0x40defd
mov eax, dword [ebp - 0x2c]
sub eax, 0x3e55c9c1
je 0x40df71
jmp 0x40df10
mov eax, dword [ebp - 0x2c]
sub eax, 0x4833d01e
je 0x40e18b
jmp 0x40df23
mov eax, dword [ebp - 0x2c]
sub eax, 0x4a782a17
je 0x40e06f
jmp 0x40df36
jmp 0x40e1bb
mov eax, dword [ebp - 0x28]
push eax
mov ecx, esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x3e55c9c1
jmp 0x40e1bb
mov eax, dword [ebp - 0x18]
mov ecx, 0xffffffff
xor ecx, 2
mov edx, eax
xor edx, ecx
and edx, eax
mov eax, 0x4833d01e
mov ecx, 0x9802b7ea
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40e1bb
mov eax, dword [0x43e544]
mov ecx, dword [0x43e540]
mov edx, eax
sub edx, 0xa9e50fdd
sub edx, 1
add edx, 0xa9e50fdd
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, 0xa1a06fa0
mov ecx, 0x90693021
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40e1bb
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x43e544]
mov eax, dword [0x43e540]
mov edx, ecx
add edx, 0xf9635a36
sub edx, 1
sub edx, 0xf9635a36
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, 0xa1a06fa0
mov ecx, 0xbde7ece5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40e1bb
mov dword [ebp - 0x24], 0x4a782a17
jmp 0x40e1bb
mov ecx, dword [0x43e544]
mov eax, dword [0x43e540]
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, 0xfbc45c38
mov ecx, 0x18eed7e5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40e1bb
mov ecx, dword [ebp - 0x14]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43e544]
mov eax, dword [0x43e540]
mov edx, ecx
sub edx, 0x2310f77c
sub edx, 1
add edx, 0x2310f77c
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, 0xfbc45c38
mov ecx, 0xb0dc6bb
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x40e1bb
mov dword [ebp - 0x24], 0xdd4f77e8
jmp 0x40e1bb
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 0x24], 0x4833d01e
jmp 0x40e1bb
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00426c20
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0x90693021
jmp 0x40e1bb
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0x18eed7e5
jmp 0x40de4f