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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0xca5744bc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
sub eax, 0x90400952
je 0x4088fe
jmp 0x408518
mov eax, dword [ebp - 0x1c]
sub eax, 0x93376292
je 0x4087e6
jmp 0x40852b
mov eax, dword [ebp - 0x1c]
sub eax, 0x93d107d5
je 0x408702
jmp 0x40853e
mov eax, dword [ebp - 0x1c]
sub eax, 0xa8ac1ce4
je 0x408893
jmp 0x408551
mov eax, dword [ebp - 0x1c]
sub eax, 0xa991d390
je 0x408905
jmp 0x408564
mov eax, dword [ebp - 0x1c]
sub eax, 0xbd2af028
je 0x40871d
jmp 0x408577
mov eax, dword [ebp - 0x1c]
sub eax, 0xca5744bc
je 0x408627
jmp 0x40858a
mov eax, dword [ebp - 0x1c]
sub eax, 0xd938d568
je 0x40891d
jmp 0x40859d
mov eax, dword [ebp - 0x1c]
sub eax, 0xe3fea2a5
je 0x408814
jmp 0x4085b0
mov eax, dword [ebp - 0x1c]
sub eax, 0xe865b4f6
je 0x40868b
jmp 0x4085c3
mov eax, dword [ebp - 0x1c]
sub eax, 0xf597fdd8
je 0x408820
jmp 0x4085d6
mov eax, dword [ebp - 0x1c]
sub eax, 0x5b58f00
je 0x408645
jmp 0x4085e9
mov eax, dword [ebp - 0x1c]
sub eax, 0x2419adfd
je 0x4087f2
jmp 0x4085fc
mov eax, dword [ebp - 0x1c]
sub eax, 0x42cbd94e
je 0x408763
jmp 0x40860f
mov eax, dword [ebp - 0x1c]
sub eax, 0x6cf0e982
je 0x408911
jmp 0x408622
jmp 0x408924
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x5b58f00
jmp 0x408924
mov eax, dword [0x43257c]
mov ecx, dword [0x432578]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
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, 0xa991d390
mov ecx, 0xe865b4f6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x408924
mov eax, dword [ebp - 0x14]
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 2
mov ecx, 0xffffffff
xor ecx, 0xd040ec54
or eax, edx
or ecx, 0xd040ec54
xor eax, 0xffffffff
and eax, ecx
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0xd], al
mov eax, dword [0x43257c]
mov ecx, dword [0x432578]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
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, 0xa991d390
mov ecx, 0x93d107d5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x408924
mov dl, byte [ebp - 0xd]
mov eax, 0xf597fdd8
mov ecx, 0xbd2af028
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x408924
mov eax, dword [0x43257c]
mov ecx, dword [0x432578]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
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, 0x6cf0e982
mov ecx, 0x42cbd94e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x408924
mov ecx, dword [ebp - 0x14]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [0x43257c]
mov eax, dword [0x432578]
mov edx, ecx
add edx, 0x314bb888
sub edx, 1
sub edx, 0x314bb888
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, 0x6cf0e982
mov ecx, 0x93376292
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x408924
mov dword [ebp - 0x18], 0x2419adfd
jmp 0x408924
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x18], 0xe3fea2a5
jmp 0x408924
mov dword [ebp - 0x18], 0xf597fdd8
jmp 0x408924
mov ecx, dword [0x43257c]
mov eax, dword [0x432578]
mov edx, ecx
sub edx, 0xb27f6572
sub edx, 1
add edx, 0xb27f6572
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, 0xd938d568
mov ecx, 0xa8ac1ce4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x408924
mov ecx, dword [0x43257c]
mov eax, dword [0x432578]
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, 0xd938d568
mov ecx, 0x90400952
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x408924
add esp, 0x1c
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], 0xe865b4f6
jmp 0x408924
mov dword [ebp - 0x18], 0x42cbd94e
jmp 0x408924
mov dword [ebp - 0x18], 0xa8ac1ce4
jmp 0x408502