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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xb6a1b585
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
sub eax, 0x955e2f96
je 0x40f054
jmp 0x40ee5c
mov eax, dword [ebp - 0x34]
sub eax, 0xac1934cc
je 0x40f0e7
jmp 0x40ee6f
mov eax, dword [ebp - 0x34]
sub eax, 0xb6a1b585
je 0x40ef32
jmp 0x40ee82
mov eax, dword [ebp - 0x34]
sub eax, 0xe9ebc071
je 0x40f135
jmp 0x40ee95
mov eax, dword [ebp - 0x34]
sub eax, 0x131820f4
je 0x40ef4a
jmp 0x40eea8
mov eax, dword [ebp - 0x34]
sub eax, 0x28c07bd8
je 0x40f1b0
jmp 0x40eebb
mov eax, dword [ebp - 0x34]
sub eax, 0x33a6d0c7
je 0x40f0c5
jmp 0x40eece
mov eax, dword [ebp - 0x34]
sub eax, 0x5eaf46f7
je 0x40f1a8
jmp 0x40eee1
mov eax, dword [ebp - 0x34]
sub eax, 0x6183411a
je 0x40f039
jmp 0x40eef4
mov eax, dword [ebp - 0x34]
sub eax, 0x6aeb271d
je 0x40f066
jmp 0x40ef07
mov eax, dword [ebp - 0x34]
sub eax, 0x73011094
je 0x40f1ce
jmp 0x40ef1a
mov eax, dword [ebp - 0x34]
sub eax, 0x75b26a53
je 0x40efbd
jmp 0x40ef2d
jmp 0x40f1d5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0x131820f4
jmp 0x40f1d5
mov ecx, dword [0x441554]
mov eax, dword [0x441550]
mov edx, ecx
add edx, 0xe28809d0
sub edx, 1
sub edx, 0xe28809d0
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, 0x28c07bd8
mov ecx, 0x75b26a53
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x40f1d5
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
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 - 0x19], al
mov eax, dword [0x441554]
mov ecx, dword [0x441550]
mov edx, eax
sub edx, 0x75c432f0
sub edx, 1
add edx, 0x75c432f0
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, 0x28c07bd8
mov ecx, 0x6183411a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x40f1d5
mov dl, byte [ebp - 0x19]
mov eax, 0xac1934cc
mov ecx, 0x955e2f96
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x40f1d5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0x6aeb271d
jmp 0x40f1d5
mov ecx, dword [ebp - 0x18]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x38], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0x12bfa3c5
and eax, 0x12bfa3c5
and ecx, edx
mov edi, esi
and edi, 0x12bfa3c5
mov ebx, edx
and ebx, 2
or eax, ecx
mov ecx, dword [ebp - 0x38]
or edi, ebx
xor eax, edi
or ecx, esi
xor ecx, 0xffffffff
or edx, 0x12bfa3c5
and ecx, edx
or eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0x33a6d0c7
jmp 0x40f1d5
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 - 0x2c], 0xac1934cc
jmp 0x40f1d5
mov eax, dword [0x441554]
mov ecx, dword [0x441550]
mov edx, eax
add edx, 0xe8df4891
sub edx, 1
sub edx, 0xe8df4891
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, 0x73011094
mov ecx, 0xe9ebc071
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x40f1d5
mov ecx, dword [0x441554]
mov eax, dword [0x441550]
mov edx, ecx
add edx, 0xb2eca197
sub edx, 1
sub edx, 0xb2eca197
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, 0x73011094
mov ecx, 0x5eaf46f7
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x40f1d5
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0x75b26a53
jmp 0x40f1d5
mov dword [ebp - 0x2c], 0xe9ebc071
jmp 0x40ee46