Function at 0x424200
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 dword [ebp - 0x30], eax
mov eax, dword [0x485080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
mov edx, ecx
add edx, 0x20276a76
sub edx, 1
sub edx, 0x20276a76
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x26], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x25], al
mov dword [ebp - 0x2c], 0xdd8b58ca
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
sub eax, 0x82794f25
je 0x424915
jmp 0x42426f
mov eax, dword [ebp - 0x34]
sub eax, 0x83bf9687
je 0x424ae0
jmp 0x424282
mov eax, dword [ebp - 0x34]
sub eax, 0x9176f117
je 0x4245e3
jmp 0x424295
mov eax, dword [ebp - 0x34]
sub eax, 0x95fd6710
je 0x4246bf
jmp 0x4242a8
mov eax, dword [ebp - 0x34]
sub eax, 0x968ebeff
je 0x424bab
jmp 0x4242bb
mov eax, dword [ebp - 0x34]
sub eax, 0x9f10cebd
je 0x424c10
jmp 0x4242ce
mov eax, dword [ebp - 0x34]
sub eax, 0xa302f601
je 0x424bd5
jmp 0x4242e1
mov eax, dword [ebp - 0x34]
sub eax, 0xa4aed167
je 0x42475b
jmp 0x4242f4
mov eax, dword [ebp - 0x34]
sub eax, 0xab3796da
je 0x42464c
jmp 0x424307
mov eax, dword [ebp - 0x34]
sub eax, 0xace4b4e4
je 0x424988
jmp 0x42431a
mov eax, dword [ebp - 0x34]
sub eax, 0xbc26ec7f
je 0x424a13
jmp 0x42432d
mov eax, dword [ebp - 0x34]
sub eax, 0xc3b1eee3
je 0x424909
jmp 0x424340
mov eax, dword [ebp - 0x34]
sub eax, 0xcc47ca69
je 0x42470d
jmp 0x424353
mov eax, dword [ebp - 0x34]
sub eax, 0xdd8b58ca
je 0x4244ae
jmp 0x424366
mov eax, dword [ebp - 0x34]
sub eax, 0xe5be0069
je 0x424876
jmp 0x424379
mov eax, dword [ebp - 0x34]
sub eax, 0xea449e02
je 0x424803
jmp 0x42438c
mov eax, dword [ebp - 0x34]
sub eax, 0xeb3a75ed
je 0x42458c
jmp 0x42439f
mov eax, dword [ebp - 0x34]
sub eax, 0xedb178dd
je 0x4245fe
jmp 0x4243b2
mov eax, dword [ebp - 0x34]
sub eax, 0xf5454412
je 0x424580
jmp 0x4243c5
mov eax, dword [ebp - 0x34]
sub eax, 0xf552e4c0
je 0x424bc6
jmp 0x4243d8
mov eax, dword [ebp - 0x34]
sub eax, 0xf707f11f
je 0x424bb7
jmp 0x4243eb
mov eax, dword [ebp - 0x34]
sub eax, 0xe4513ab
je 0x4247b5
jmp 0x4243fe
mov eax, dword [ebp - 0x34]
sub eax, 0xfe2f52a
je 0x424bf5
jmp 0x424411
mov eax, dword [ebp - 0x34]
sub eax, 0x12d73f70
je 0x424b99
jmp 0x424424
mov eax, dword [ebp - 0x34]
sub eax, 0x22aae608
je 0x424a6d
jmp 0x424437
mov eax, dword [ebp - 0x34]
sub eax, 0x2c43c2d0
je 0x424c04
jmp 0x42444a
mov eax, dword [ebp - 0x34]
sub eax, 0x36ecc4a1
je 0x4244f9
jmp 0x42445d
mov eax, dword [ebp - 0x34]
sub eax, 0x49d1591c
je 0x424be1
jmp 0x424470
mov eax, dword [ebp - 0x34]
sub eax, 0x54b187e6
je 0x424b2e
jmp 0x424483
mov eax, dword [ebp - 0x34]
sub eax, 0x6037e874
je 0x424a1f
jmp 0x424496
mov eax, dword [ebp - 0x34]
sub eax, 0x76f50e4c
je 0x424767
jmp 0x4244a9
jmp 0x424c2f
mov bl, byte [ebp - 0x26]
mov dh, byte [ebp - 0x25]
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, 0x49d1591c
mov ecx, 0x36ecc4a1
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov ecx, dword [ebp - 0x30]
push eax
mov eax, esp
mov dword [ebp - 0x24], eax
push eax
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
mov edx, ecx
add edx, 0x12dfa39e
sub edx, 1
sub edx, 0x12dfa39e
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, 0x49d1591c
mov ecx, 0xf5454412
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov dword [ebp - 0x2c], 0xeb3a75ed
jmp 0x424c2f
mov eax, dword [ebp - 0x24]
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 - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 2
mov ecx, 0xffffffff
xor ecx, 0x20d4ee3e
or eax, edx
or ecx, 0x20d4ee3e
xor eax, 0xffffffff
and eax, ecx
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x2c], 0x9176f117
jmp 0x424c2f
mov dl, byte [ebp - 0x19]
mov eax, 0x6037e874
mov ecx, 0xedb178dd
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
mov edx, eax
sub edx, 0x8d57b6df
sub edx, 1
add edx, 0x8d57b6df
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, 0xf707f11f
mov ecx, 0xab3796da
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
mov edx, ecx
add edx, 0xcf79e9c6
sub edx, 1
sub edx, 0xcf79e9c6
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, 0xfe2f52a
mov ecx, 0x95fd6710
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
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, 0xfe2f52a
mov ecx, 0xcc47ca69
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
mov edx, eax
sub edx, 0x18b69e41
sub edx, 1
add edx, 0x18b69e41
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, 0xf707f11f
mov ecx, 0xa4aed167
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov dword [ebp - 0x2c], 0x76f50e4c
jmp 0x424c2f
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
mov edx, eax
add edx, 0xf6b7c2d6
sub edx, 1
sub edx, 0xf6b7c2d6
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, 0x2c43c2d0
mov ecx, 0xe4513ab
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
mov edx, eax
add edx, 0xe30fb075
sub edx, 1
sub edx, 0xe30fb075
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, 0x2c43c2d0
mov ecx, 0xea449e02
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
mov edx, ecx
sub edx, 0x2d914e03
sub edx, 1
add edx, 0x2d914e03
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, 0xf552e4c0
mov ecx, 0xe5be0069
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
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, 0xb04a6b18
and eax, 0xb04a6b18
and ecx, edx
mov edi, esi
and edi, 0xb04a6b18
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, 0xb04a6b18
and ecx, edx
or eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
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, 0xf552e4c0
mov ecx, 0xc3b1eee3
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov dword [ebp - 0x2c], 0x82794f25
jmp 0x424c2f
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
mov edx, ecx
sub edx, 0x2df412f1
sub edx, 1
add edx, 0x2df412f1
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, 0x9f10cebd
mov ecx, 0xace4b4e4
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
mov edx, ecx
sub edx, 0x6d760b82
sub edx, 1
add edx, 0x6d760b82
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, 0x9f10cebd
mov ecx, 0xbc26ec7f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov dword [ebp - 0x2c], 0x6037e874
jmp 0x424c2f
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
mov edx, eax
add edx, 0xb2e1b933
sub edx, 1
sub edx, 0xb2e1b933
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, 0x968ebeff
mov ecx, 0x22aae608
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
mov edx, ecx
sub edx, 0xfa4e32e5
sub edx, 1
add edx, 0xfa4e32e5
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, 0x968ebeff
mov ecx, 0x83bf9687
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov eax, dword [0x486600]
mov ecx, dword [0x4865fc]
mov edx, eax
sub edx, 0xa963d004
sub edx, 1
add edx, 0xa963d004
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, 0xa302f601
mov ecx, 0x54b187e6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov ecx, dword [0x486600]
mov eax, dword [0x4865fc]
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, 0xa302f601
mov ecx, 0x12d73f70
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x424c2f
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bd70
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x2c], 0x22aae608
jmp 0x424c2f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0xab3796da
jmp 0x424c2f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0xe5be0069
jmp 0x424c2f
mov dword [ebp - 0x2c], 0x54b187e6
jmp 0x424c2f
mov ecx, dword [ebp - 0x30]
push eax
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x2c], 0x36ecc4a1
jmp 0x424c2f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0x95fd6710
jmp 0x424c2f
mov dword [ebp - 0x2c], 0xe4513ab
jmp 0x424c2f
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 0x2c], 0xace4b4e4
jmp 0x424259