Function at 0x411310
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 [0x442080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ecx, dword [0x44353c]
mov eax, dword [0x443538]
mov edx, ecx
add edx, 0xd1775e2e
sub edx, 1
sub edx, 0xd1775e2e
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1e], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x24], 0x79192ec6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
sub eax, 0xb76b31f2
je 0x4114fe
jmp 0x41137e
mov eax, dword [ebp - 0x2c]
sub eax, 0xd7803f96
je 0x41150a
jmp 0x411391
mov eax, dword [ebp - 0x2c]
sub eax, 0xe42590ef
je 0x411687
jmp 0x4113a4
mov eax, dword [ebp - 0x2c]
sub eax, 0xe7a03a2
je 0x411610
jmp 0x4113b7
mov eax, dword [ebp - 0x2c]
sub eax, 0x16ab1054
je 0x41157a
jmp 0x4113ca
mov eax, dword [ebp - 0x2c]
sub eax, 0x1b174669
je 0x411698
jmp 0x4113dd
mov eax, dword [ebp - 0x2c]
sub eax, 0x4694454e
je 0x41151c
jmp 0x4113f0
mov eax, dword [ebp - 0x2c]
sub eax, 0x4be9de9a
je 0x4116a4
jmp 0x411403
mov eax, dword [ebp - 0x2c]
sub eax, 0x57019aaf
je 0x4115a0
jmp 0x411416
mov eax, dword [ebp - 0x2c]
sub eax, 0x61e4404a
je 0x4115c2
jmp 0x411429
mov eax, dword [ebp - 0x2c]
sub eax, 0x6569fb88
je 0x41167b
jmp 0x41143c
mov eax, dword [ebp - 0x2c]
sub eax, 0x66764862
je 0x4114b2
jmp 0x41144f
mov eax, dword [ebp - 0x2c]
sub eax, 0x79192ec6
je 0x411467
jmp 0x411462
jmp 0x4116ab
mov bl, byte [ebp - 0x1e]
mov dh, byte [ebp - 0x1d]
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, 0x1b174669
mov ecx, 0x66764862
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4116ab
push eax
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [0x44353c]
mov ecx, dword [0x443538]
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, 0x1b174669
mov ecx, 0xb76b31f2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4116ab
mov dword [ebp - 0x24], 0xd7803f96
jmp 0x4116ab
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x4694454e
jmp 0x4116ab
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
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 eax, dword [ebp - 0x18]
mov edx, dword [eax]
xor edx, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 2
mov eax, 0xffffffff
xor eax, 0x9c604d39
or edx, ecx
or eax, 0x9c604d39
xor edx, 0xffffffff
and edx, eax
mov eax, 0xe42590ef
mov ecx, 0x16ab1054
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4116ab
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0x57019aaf
jmp 0x4116ab
mov eax, dword [ebp - 0x14]
mov ecx, 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], 0x61e4404a
jmp 0x4116ab
mov eax, dword [0x44353c]
mov ecx, dword [0x443538]
mov edx, eax
add edx, 0x3da70e22
sub edx, 1
sub edx, 0x3da70e22
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, 0x4be9de9a
mov ecx, 0xe7a03a2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4116ab
mov ecx, dword [0x44353c]
mov eax, dword [0x443538]
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, 0x4be9de9a
mov ecx, 0x6569fb88
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4116ab
mov dword [ebp - 0x24], 0xe42590ef
jmp 0x4116ab
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042a030
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], 0x66764862
jmp 0x4116ab
mov dword [ebp - 0x24], 0xe7a03a2
jmp 0x411368