Function at 0x408c60
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 [0x438080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x3a7f17df
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub eax, 0x850a82fa
je 0x408f99
jmp 0x408c94
mov eax, dword [ebp - 0x28]
sub eax, 0x9c035bfc
je 0x408e92
jmp 0x408ca7
mov eax, dword [ebp - 0x28]
sub eax, 0xe58b0ced
je 0x408fb5
jmp 0x408cba
mov eax, dword [ebp - 0x28]
sub eax, 0xbfa4d5b
je 0x408eb6
jmp 0x408ccd
mov eax, dword [ebp - 0x28]
sub eax, 0x18d179e7
je 0x408d98
jmp 0x408ce0
mov eax, dword [ebp - 0x28]
sub eax, 0x221a56c1
je 0x408fa5
jmp 0x408cf3
mov eax, dword [ebp - 0x28]
sub eax, 0x28afde2d
je 0x408f26
jmp 0x408d06
mov eax, dword [ebp - 0x28]
sub eax, 0x3a7f17df
je 0x408d6a
jmp 0x408d19
mov eax, dword [ebp - 0x28]
sub eax, 0x3c8cdf09
je 0x408ed8
jmp 0x408d2c
mov eax, dword [ebp - 0x28]
sub eax, 0x44ffaf14
je 0x408de6
jmp 0x408d3f
mov eax, dword [ebp - 0x28]
sub eax, 0x5894138a
je 0x408e77
jmp 0x408d52
mov eax, dword [ebp - 0x28]
sub eax, 0x7b45b567
je 0x408fc4
jmp 0x408d65
jmp 0x408fcb
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]
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 dword [ebp - 0x20], 0x18d179e7
jmp 0x408fcb
mov eax, dword [0x439574]
mov ecx, dword [0x439570]
mov edx, eax
add edx, 0x114ceb76
sub edx, 1
sub edx, 0x114ceb76
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, 0xe58b0ced
mov ecx, 0x44ffaf14
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408fcb
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 - 0x11], al
mov ecx, dword [0x439574]
mov eax, dword [0x439570]
mov edx, ecx
add edx, 0x4ad9ebc2
sub edx, 1
sub edx, 0x4ad9ebc2
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, 0xe58b0ced
mov ecx, 0x5894138a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408fcb
mov dl, byte [ebp - 0x11]
mov eax, 0x221a56c1
mov ecx, 0x9c035bfc
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408fcb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xbfa4d5b
jmp 0x408fcb
mov eax, dword [ebp - 0x10]
mov ecx, 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], 0x3c8cdf09
jmp 0x408fcb
mov eax, dword [0x439574]
mov ecx, dword [0x439570]
mov edx, eax
add edx, 0x57dbc9d8
sub edx, 1
sub edx, 0x57dbc9d8
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, 0x7b45b567
mov ecx, 0x28afde2d
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408fcb
mov ecx, dword [0x439574]
mov eax, dword [0x439570]
mov edx, ecx
sub edx, 0xdfb0676e
sub edx, 1
add edx, 0xdfb0676e
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, 0x7b45b567
mov ecx, 0x850a82fa
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x408fcb
mov dword [ebp - 0x20], 0x221a56c1
jmp 0x408fcb
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00421bd0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 0x44ffaf14
jmp 0x408fcb
mov dword [ebp - 0x20], 0x28afde2d
jmp 0x408c7e