Function at 0x4094c0
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 eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0xd695157
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
sub eax, 0x98382073
je 0x409906
jmp 0x4094fb
mov eax, dword [ebp - 0x2c]
sub eax, 0x9bbbc607
je 0x4098f4
jmp 0x40950e
mov eax, dword [ebp - 0x2c]
sub eax, 0x9cd5f4a1
je 0x4097ec
jmp 0x409521
mov eax, dword [ebp - 0x2c]
sub eax, 0xb559bfe8
je 0x4096b2
jmp 0x409534
mov eax, dword [ebp - 0x2c]
sub eax, 0xc05a0bd1
je 0x409783
jmp 0x409547
mov eax, dword [ebp - 0x2c]
sub eax, 0xc0c84d59
je 0x409865
jmp 0x40955a
mov eax, dword [ebp - 0x2c]
sub eax, 0xcb38132b
je 0x409871
jmp 0x40956d
mov eax, dword [ebp - 0x2c]
sub eax, 0xa27969c
je 0x4096be
jmp 0x409580
mov eax, dword [ebp - 0x2c]
sub eax, 0xa534b61
je 0x4098ca
jmp 0x409593
mov eax, dword [ebp - 0x2c]
sub eax, 0xd695157
je 0x40960a
jmp 0x4095a6
mov eax, dword [ebp - 0x2c]
sub eax, 0x142c1a55
je 0x40991e
jmp 0x4095b9
mov eax, dword [ebp - 0x2c]
sub eax, 0x32ffbb70
je 0x409658
jmp 0x4095cc
mov eax, dword [ebp - 0x2c]
sub eax, 0x62bc8bf7
je 0x4098ec
jmp 0x4095df
mov eax, dword [ebp - 0x2c]
sub eax, 0x789052f2
je 0x409704
jmp 0x4095f2
mov eax, dword [ebp - 0x2c]
sub eax, 0x7db5187a
je 0x40979e
jmp 0x409605
jmp 0x409925
mov eax, dword [0x43956c]
mov ecx, dword [0x439568]
mov edx, eax
add edx, 0x5b9f3812
sub edx, 1
sub edx, 0x5b9f3812
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, 0x9bbbc607
mov ecx, 0x32ffbb70
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x409925
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43956c]
mov ecx, dword [0x439568]
mov edx, eax
sub edx, 0x67d94c9b
sub edx, 1
add edx, 0x67d94c9b
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, 0x9bbbc607
mov ecx, 0xb559bfe8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x409925
mov dword [ebp - 0x28], 0xa27969c
jmp 0x409925
mov eax, dword [0x43956c]
mov ecx, dword [0x439568]
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, 0x98382073
mov ecx, 0x789052f2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x409925
mov eax, dword [ebp - 0x1c]
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 2
mov ecx, 0xffffffff
xor ecx, 0xae13af54
or eax, edx
or ecx, 0xae13af54
xor eax, 0xffffffff
and eax, ecx
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0x15], al
mov eax, dword [0x43956c]
mov ecx, dword [0x439568]
mov edx, eax
add edx, 0x27771953
sub edx, 1
sub edx, 0x27771953
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, 0x98382073
mov ecx, 0xc05a0bd1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x409925
mov dl, byte [ebp - 0x15]
mov eax, 0x62bc8bf7
mov ecx, 0x7db5187a
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x409925
mov eax, dword [0x43956c]
mov ecx, dword [0x439568]
mov edx, eax
add edx, 0x884e885e
sub edx, 1
sub edx, 0x884e885e
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, 0x142c1a55
mov ecx, 0x9cd5f4a1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x409925
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x43956c]
mov eax, dword [0x439568]
mov edx, ecx
sub edx, 0x183a27d2
sub edx, 1
add edx, 0x183a27d2
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, 0x142c1a55
mov ecx, 0xc0c84d59
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x409925
mov dword [ebp - 0x28], 0xcb38132b
jmp 0x409925
mov ecx, dword [ebp - 0x14]
mov eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x30], eax
mov esi, 0xffffffff
xor esi, 2
mov edx, 0xffffffff
xor edx, 0x4b30f8dd
and eax, 0x4b30f8dd
and ecx, edx
mov edi, esi
and edi, 0x4b30f8dd
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, 0x4b30f8dd
and ecx, edx
or eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0xa534b61
jmp 0x409925
mov ecx, dword [ebp + 8]
mov eax, 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 - 0x28], 0x62bc8bf7
jmp 0x409925
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0x32ffbb70
jmp 0x409925
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], 0x789052f2
jmp 0x409925
mov dword [ebp - 0x28], 0x9cd5f4a1
jmp 0x4094e5