Function at 0x68a2c080
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a55b30
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x68aaf040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x260], ebx
mov eax, dword [ebp + 8]
push eax
push str.__pipe_s
push 0
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x22c], 0
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x25c], 0
push eax
lea eax, [ebp - 0x210]
push 0xff
push eax
call fcn.68a2b3f0
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x68a2c4e2
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x210]
sub eax, ecx
mov byte [ebx + 0xc], 3
and eax, 0xfffffffe
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x264], eax
and ecx, 0xfffe
mov dword [ebp - 0x268], ecx
nop dword [eax]
lea eax, [ebp - 0x210]
mov word [ebp - 0x24c], cx
mov dword [ebp - 0x248], eax
xorps xmm0, xmm0
push 0x20
lea eax, [ebp - 0x24c]
movlpd qword [ebp - 0x218], xmm0
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x244]
mov word [ebp - 0x24a], cx
push eax
push 0xc0100000
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x244], 0x18
push eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0x240
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
call dword [sym.imp.ntdll.dll_ZwOpenFile]
mov edi, eax
test edi, edi
js 0x68a2c474
mov esi, dword [ebp - 0x22c]
xorps xmm0, xmm0
xor al, al
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x220], esi
mov byte [ebp - 0x255], al
mov byte [ebp - 0x21c], al
push 0x17
push 8
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], 0
push eax
push esi
mov dword [ebp - 0x224], 0
call dword [sym.imp.ntdll.dll_ZwSetInformationFile]
mov edi, eax
test edi, edi
js 0x68a2c256
mov eax, dword [ebp - 0x260]
push dword [eax + 0x10]
call dword [sym.imp.ntdll.dll_ZwClose]
mov ecx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x22c]
mov dword [ecx + 0x10], eax
mov al, 1
mov word [ecx + 8], 0
mov byte [ecx + 0xa], 0
jmp 0x68a2c28c
mov eax, dword [ebx + 4]
mov dword [ebp - 0x25c], eax
test eax, eax
je 0x68a2c286
push edi
push str.ZwSetInformationFile___failed_with_an_error:_0x_08x
push 0x3ef
push str.C:BUILDwork_b69487f8af4577daAvast500Scanner_aswPipeLibpipestream.cpp
push 2
mov ecx, eax
call dword [0x68a57338]
call dword [ebp - 0x25c]
add esp, 0x14
mov al, byte [ebp - 0x255]
mov dword [ebp - 4], 0xffffffff
test al, al
jne 0x68a2c29e
push esi
call dword [sym.imp.ntdll.dll_ZwClose]
mov eax, edi
mov dword [ebp - 0x22c], eax
test edi, edi
jns 0x68a2c50a
mov esi, dword [ebx + 4]
test esi, esi
je 0x68a2c2d4
push edi
push str.OpenPipe___failed_with_an_error:_0x_08x
push 0x4ab
push str.C:BUILDwork_b69487f8af4577daAvast500Scanner_aswPipeLibpipestream.cpp
push 3
mov ecx, esi
call dword [0x68a57338]
call esi
add esp, 0x14
mov eax, dword [ebp - 0x264]
movzx eax, ax
mov dword [ebp - 0x25c], eax
cmp edi, 0xc0000034
je 0x68a2c4b1
cmp edi, 0xc00000ac
jne 0x68a2c4a9
push 0x20
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x220022
mov dword [ebp - 0x23c], eax
xorps xmm0, xmm0
push 3
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x218], xmm0
push eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x250], str.DosDevicespipe_
push eax
push 0x100080
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x244], 0x18
push eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0x40
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xffffffff
call dword [sym.imp.ntdll.dll_ZwOpenFile]
mov esi, eax
test esi, esi
js 0x68a2c436
mov eax, dword [ebp - 0x25c]
and eax, 0xfffe
sub eax, 0x12
movzx eax, ax
mov dword [ebp - 0x25c], eax
add eax, 0xe
push 0x68a5835c
push eax
mov dword [ebp - 0x21c], eax
call fcn.68a39888
mov edi, eax
add esp, 8
test edi, edi
je 0x68a2c426
mov eax, dword [ebp - 0x25c]
push eax
mov dword [edi + 8], eax
lea eax, [ebp - 0x1fe]
push eax
lea eax, [edi + 0xe]
mov byte [edi + 0xc], 1
push eax
mov dword [edi], 0xc4653600
mov dword [edi + 4], 0xffffffff
call fcn.68a3b1d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0
push dword [ebp - 0x21c]
push edi
push 0x110018
push eax
push 0
push 0
push 0
push dword [ebp - 0x22c]
call dword [sym.imp.ntdll.dll_ZwFsControlFile]
push edi
mov esi, eax
call fcn.68a39891
add esp, 4
push dword [ebp - 0x22c]
call dword [sym.imp.ntdll.dll_ZwClose]
test esi, esi
jns 0x68a2c45c
mov edi, dword [ebx + 4]
test edi, edi
je 0x68a2c45c
push esi
push str.WaitForBusyPipe___failed_with_an_error:_0x_08x
push 0x44a
push str.C:BUILDwork_b69487f8af4577daAvast500Scanner_aswPipeLibpipestream.cpp
push 2
mov ecx, edi
call dword [0x68a57338]
call edi
add esp, 0x14
mov eax, esi
shr eax, 0x1f
xor al, 1
je 0x68a2c508
mov ecx, dword [ebp - 0x268]
jmp 0x68a2c130
mov esi, dword [ebx + 4]
test esi, esi
je 0x68a2c29e
push edi
push str.ZwOpenFile___failed_with_an_error:_0x_08x
push 0x3f4
push str.C:BUILDwork_b69487f8af4577daAvast500Scanner_aswPipeLibpipestream.cpp
push 2
mov ecx, esi
call dword [0x68a57338]
call esi
add esp, 0x14
mov dword [ebp - 0x22c], edi
jmp 0x68a2c2ae
mov eax, dword [ebp - 0x22c]
jmp 0x68a2c50a
mov esi, dword [ebx + 4]
test esi, esi
je 0x68a2c4db
push 0xc0000034
push str.WaitForPipe___failed_with_an_error:_0x_08x
push 0x47c
push str.C:BUILDwork_b69487f8af4577daAvast500Scanner_aswPipeLibpipestream.cpp
push 2
mov ecx, esi
call dword [0x68a57338]
call esi
add esp, 0x14
mov eax, 0xc0000034
jmp 0x68a2c50a
mov edi, dword [ebx + 4]
test edi, edi
je 0x68a2c50a
push esi
push str.NormalizePipeName___failed_with_an_error:_0x_08x
push 0x4ca
push str.C:BUILDwork_b69487f8af4577daAvast500Scanner_aswPipeLibpipestream.cpp
push 2
mov ecx, edi
call dword [0x68a57338]
call edi
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret 0x1c