Function at 0x535920
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x62a040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6310cc], 0
push ebx
push esi
push edi
mov ebx, edx
je 0x535948
mov edi, 0xc0000510
jmp 0x535dc6
mov dword [0x6310cc], 0
cmp dword [ecx], 0xfffe
movzx esi, word [ecx]
mov eax, dword [ecx + 4]
mov word [ebp - 0x28], si
mov dword [ebp - 0x24], eax
lea edi, [esi + 2]
mov word [ebp - 0x26], di
jbe 0x535978
mov edi, 0xc0000106
jmp 0x535dc6
push 0x23
push 0
push dword [0x631034]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov word [ebp - 0x18], si
mov word [ebp - 0x16], di
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x535dc1
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov word [esi + 0x20], ax
mov byte [esi + 0x22], al
lea eax, [ebp - 0x28]
mov dword [esi + 4], 0x100700
mov dword [esi + 8], 0x50544c46
mov dword [esi + 0xc], 0x54524f
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esi + 0x14], eax
xor eax, eax
cmp dword [0x62abb0], 0x64
mov word [esi + 0x18], ax
push 0x23
push esi
mov dword [ebp - 0x3c], eax
sbb eax, eax
push 0
push 3
and eax, 0xfffff000
mov dword [ebp - 0x20], 0x3c003a
add eax, 0x1040
mov dword [ebp - 0x1c], str.FileSystemFiltersFltMgrMsg
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x18
push eax
push 0x100003
push 0x6310cc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ntdll.dll_NtCreateFile]
push esi
push 0
push dword [0x631034]
mov edi, eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
js 0x535dc6
mov eax, 0x633440
mov byte [0x62ab02], 0
mov dword [0x6310d0], ebx
mov dword [0x633420], 0
test al, 7
jne 0x535dde
xor eax, eax
mov dword [0x63344c], 0x10
mov dword [0x633440], eax
mov dword [0x633444], eax
mov dword [0x633448], eax
mov ax, word [0x630f0e]
mov dword [0x633450], 0xfe8
cmp ax, 2
jb 0x535ae8
movzx esi, ax
add esi, esi
lea eax, [esi + esi]
mov dword [0x6310d4], eax
cmp eax, 0x400
jbe 0x535af7
mov dword [0x6310d4], 0x400
jmp 0x535af7
mov esi, 2
mov dword [0x6310d4], 4
push 0
push 0x6310e0
call dword [sym.imp.ntdll.dll_TpAllocPool]
mov edi, eax
test edi, edi
js 0x535dc6
push 2
push dword [0x6310e0]
call dword [sym.imp.ntdll.dll_TpSetPoolMinThreads]
push esi
push dword [0x6310e0]
call dword [sym.imp.ntdll.dll_TpSetPoolMaxThreads]
test byte [0x62e5a4], 1
mov edi, dword [0x6310e0]
jne 0x535b99
mov esi, 0x62e5a4
lock bts dword [esi], 0x1f
setb al
test al, al
jne 0x535b87
lea edx, ds:[ebp - 0x20]
mov dword [ebp - 0x20], 0x12
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5ce8b8
call fcn.00522860
test eax, eax
je 0x535b7c
push 0
mov edx, str.TpSetPoolThreadBasePriority
mov ecx, eax
call fcn.00522940
mov dword [0x633324], eax
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x535b99
test byte [0x62e5a4], 1
jne 0x535b99
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov esi, dword [0x633324]
nop
test esi, esi
je 0x535bb1
push 2
push edi
mov ecx, esi
call dword [0x5a08ec]
call esi
mov eax, dword [0x6310e0]
push 0x29
mov dword [0x633464], eax
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x48]
mov dword [0x633460], 3
push eax
push dword [0x6310cc]
mov dword [0x633468], 0
mov dword [0x63346c], 0
mov dword [0x633470], 0
mov dword [0x633478], 0
mov dword [0x63347c], 0
mov dword [0x633484], 0x28
mov dword [0x633474], 0xffffffff
mov dword [0x633480], 0
mov dword [ebp - 0x24], 2
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push 0x633460
push 0
push 0x5357a0
push dword [0x6310cc]
push 0x6310d8
call dword [sym.imp.ntdll.dll_TpAllocIoCompletion]
mov edi, eax
test edi, edi
js 0x535dc6
mov esi, dword [0x6310d4]
shl esi, 0xc
push esi
push 0
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
je 0x535db7
push esi
push 0
push edi
call fcn.0057e450
xor ebx, ebx
mov dword [0x6310dc], edi
add esp, 0xc
cmp dword [0x6310d4], ebx
jbe 0x535da2
xor esi, esi
nop
push 0
push 0
push 0
lea eax, [edi + 0xff8]
push 0x1f0003
add eax, esi
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov edi, eax
test edi, edi
js 0x535dc6
mov eax, dword [0x6310dc]
push dword [esi + eax + 0xff8]
call dword [sym.imp.ntdll.dll_NtSetEventBoostPriority]
mov eax, dword [0x6310dc]
xor ecx, ecx
mov dword [esi + eax + 0xfe8], ecx
mov dword [esi + eax + 0xfec], ecx
mov dword [esi + eax + 0xff0], ecx
mov dword [esi + eax + 0xff4], ecx
push dword [0x6310d8]
call dword [sym.imp.ntdll.dll_TpStartAsyncIoOperation]
mov ecx, dword [0x6310dc]
mov edi, dword [0x6310cc]
add ecx, esi
push 0xfe8
push ecx
push 0
lea eax, [ecx + 0xfe8]
push 0
push 0x8401f
test eax, eax
je 0x535d48
push eax
push eax
push 0
push dword [eax + 0x10]
mov dword [eax], 0x103
push edi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x535d78
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
lea esp, [esp]
cmp eax, 0x103
jne 0x535d99
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
cmovns eax, dword [ebp - 0x20]
cmp eax, 0x103
jne 0x535d99
inc ebx
add esi, 0x1000
cmp ebx, dword [0x6310d4]
jae 0x535da2
mov edi, dword [0x6310dc]
jmp 0x535ca0
mov edi, 0xc01c000a
jmp 0x535dc6
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
mov dword [0x6310dc], 0
mov edi, 0xc000009a
call fcn.00535e00
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057c26f
mov esp, ebp
pop ebp
ret
push 0x80000002
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3