Function at 0x42c755
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x46df18
call fcn.0043f03c
sub esp, 0x80
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp dword [ebp + 0x20], esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], esi
jne 0x42c783
cmp dword [ebp + 0xc], esi
jne 0x42c783
xor al, al
jmp 0x42c9f3
lea ecx, [ebp - 0x8c]
call fcn.0042ac50
push dword [ebp + 8]
lea eax, [ebp - 0x8c]
mov ecx, ebx
mov dword [ebp - 4], esi
push eax
call fcn.0042b992
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.0045b618
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 1
cmp eax, esi
jne 0x42c7d4
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x8c]
push eax
call fcn.0042b5f8
mov dword [ebp - 0x10], 1
mov eax, dword [eax]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x18]
call fcn.0045b618
test byte [ebp - 0x10], 1
push 4
pop edi
mov dword [ebp - 4], edi
je 0x42c7f5
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp + 0xc]
call fcn.0045b5aa
mov esi, 0x48855c
lea ecx, [ebp - 0x14]
push esi
call fcn.0045987e
cmp byte [ebp + 0x10], 0
push dword [ebp - 0x18]
je 0x42c821
lea eax, [ebp - 0x20]
push eax
call fcn.0042c36b
or dword [ebp - 0x10], 2
pop ecx
pop ecx
mov byte [ebp - 4], 5
jmp 0x42c836
lea eax, [ebp + 0x14]
push eax
call fcn.0042c416
or dword [ebp - 0x10], edi
pop ecx
pop ecx
mov dword [ebp - 4], 6
push eax
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0045b8b3
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 7
call fcn.0045b9c2
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.0045b5aa
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 5
je 0x42c876
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp + 0x14]
call fcn.0045b5aa
test byte [ebp - 0x10], 2
mov dword [ebp - 4], edi
je 0x42c887
lea ecx, [ebp - 0x20]
call fcn.0045b5aa
push dword [ebp + 8]
mov ecx, ebx
call fcn.0042c632
test al, al
je 0x42c8d8
push dword [ebp - 0x14]
call fcn.0042c4a7
pop ecx
push dword [ebp - 0x68]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0045b5aa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0045b5aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0042acce
mov al, 1
jmp 0x42c9f3
push dword [ebp + 8]
mov ecx, ebx
call fcn.0042bb31
test al, al
jne 0x42c8ed
xor bl, bl
jmp 0x42c9ca
push dword [ebp - 0x14]
lea eax, [ebp + 0x10]
push eax
call fcn.0042c2a9
push dword [eax]
mov byte [ebp - 4], 8
call fcn.0042c4a7
add esp, 0xc
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
call fcn.0045b5aa
lea ecx, [ebp - 0x3c]
call fcn.004603dc
xor ebx, ebx
lea ecx, [ebp - 0x3c]
push ebx
push 0x1021
push dword [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.004604ee
test eax, eax
jne 0x42c93d
xor bl, bl
jmp 0x42c9be
cmp dword [ebp + 0x18], ebx
je 0x42c94f
lea ecx, [ebp - 0x8c]
call fcn.0042b5b8
mov ebx, eax
xor edi, edi
lea ecx, [ebp - 0x2c]
push edi
push dword [ebp + 0x20]
call fcn.0042d31e
mov byte [ebp - 4], 0xa
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x28]
call fcn.0042bcba
mov esi, eax
test esi, esi
je 0x42c998
push esi
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x28]
call fcn.00460645
add edi, esi
cmp dword [ebp + 0x18], 0
je 0x42c998
push dword [ebp + 0x1c]
push edi
push ebx
call dword [ebp + 0x18]
add esp, 0xc
test al, al
je 0x42c99d
cmp esi, dword [ebp - 0x24]
je 0x42c961
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push eax
call fcn.0042bede
mov ebx, eax
lea ecx, [ebp - 0x2c]
dec ebx
mov byte [ebp - 4], 9
neg ebx
sbb bl, bl
inc bl
call fcn.0042d342
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00460431
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0045b5aa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0045b5aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0042acce
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c