Function at 0x5388a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x63386c], 0
push ebx
push esi
push edi
mov ebx, edx
je 0x5388c8
mov esi, 0xc0000510
jmp 0x538d86
mov dword [0x63386c], 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 0x5388f8
mov esi, 0xc0000106
jmp 0x538d86
push 0x23
push 0
push dword [0x6337d4]
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 edi, eax
test edi, edi
je 0x538d81
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], ax
mov byte [edi + 0x22], al
lea eax, [ebp - 0x28]
mov dword [edi + 4], 0x100700
mov dword [edi + 8], 0x50544c46
mov dword [edi + 0xc], 0x54524f
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [edi + 0x14], eax
xor eax, eax
cmp dword [0x62dbb0], 0x64
mov word [edi + 0x18], ax
push 0x23
push edi
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 0x63386c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ntdll.dll_NtCreateFile]
push edi
push 0
push dword [0x6337d4]
mov esi, eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test esi, esi
js 0x538d86
mov eax, 0x635bc0
mov byte [0x62db02], 0
mov dword [0x633870], ebx
mov dword [0x635bbc], 0
test al, 7
jne 0x538d9e
xor eax, eax
mov dword [0x635bcc], 0x10
mov dword [0x635bc0], eax
mov dword [0x635bc4], eax
mov dword [0x635bc8], eax
mov ax, word [0x6336ae]
mov dword [0x635bd0], 0xfe8
cmp ax, 2
jb 0x538a68
movzx edi, ax
add edi, edi
lea eax, [edi + edi]
mov dword [0x633874], eax
cmp eax, 0x400
jbe 0x538a77
mov dword [0x633874], 0x400
jmp 0x538a77
mov edi, 2
mov dword [0x633874], 4
push 0
push 0x633880
call dword [sym.imp.ntdll.dll_TpAllocPool]
mov esi, eax
test esi, esi
js 0x538d86
push 2
push dword [0x633880]
call dword [sym.imp.ntdll.dll_TpSetPoolMinThreads]
push edi
push dword [0x633880]
call dword [sym.imp.ntdll.dll_TpSetPoolMaxThreads]
test byte [0x6315ac], 1
mov edi, dword [0x633880]
jne 0x538b54
mov ebx, 0x6315ac
lock bts dword [ebx], 0x1f
jb 0x538b42
lea edx, ds:[ebp - 0x20]
mov dword [ebp - 0x20], 0x12
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5d1880
call fcn.005255a0
test eax, eax
je 0x538afc
push 0
mov edx, str.TpSetPoolThreadBasePriority
mov ecx, eax
call fcn.00525660
mov dword [0x635ac4], eax
lock bts dword [ebx], 0
jb 0x538b54
mov esi, dword [0x6315b0]
test esi, esi
je 0x538b16
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
lock xadd dword [ebx], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x538b54
test esi, esi
je 0x538b54
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x6315b0], 0
jmp 0x538b54
test byte [0x6315ac], 1
jne 0x538b54
xor edx, edx
mov ecx, ebx
call sym.SystemInformer.exe_PhfWaitForEvent
mov esi, dword [0x635ac4]
test esi, esi
je 0x538b6b
push 2
push edi
mov ecx, esi
call dword [0x5a38e4]
call esi
mov eax, dword [0x633880]
push 0x29
mov dword [0x635be4], eax
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x48]
mov dword [0x635be0], 3
push eax
push dword [0x63386c]
mov dword [0x635be8], 0
mov dword [0x635bec], 0
mov dword [0x635bf0], 0
mov dword [0x635bf8], 0
mov dword [0x635bfc], 0
mov dword [0x635c04], 0x28
mov dword [0x635bf4], 0xffffffff
mov dword [0x635c00], 0
mov dword [ebp - 0x24], 2
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push 0x635be0
push 0
push 0x538720
push dword [0x63386c]
push 0x633878
call dword [sym.imp.ntdll.dll_TpAllocIoCompletion]
mov esi, eax
test esi, esi
js 0x538d86
mov edi, dword [0x633874]
shl edi, 0xc
push edi
push 0
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x538d77
push edi
push 0
push esi
call fcn.00581cf0
xor ebx, ebx
mov dword [0x63387c], esi
add esp, 0xc
cmp dword [0x633874], ebx
jbe 0x538d62
xor edi, edi
mov edi, edi
push 0
push 0
push 0
lea eax, [esi + 0xff8]
push 0x1f0003
add eax, edi
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov esi, eax
test esi, esi
js 0x538d86
mov eax, dword [0x63387c]
push dword [edi + eax + 0xff8]
call dword [sym.imp.ntdll.dll_NtSetEventBoostPriority]
mov eax, dword [0x63387c]
xor ecx, ecx
mov dword [edi + eax + 0xfe8], ecx
mov dword [edi + eax + 0xfec], ecx
mov dword [edi + eax + 0xff0], ecx
mov dword [edi + eax + 0xff4], ecx
push dword [0x633878]
call dword [sym.imp.ntdll.dll_TpStartAsyncIoOperation]
mov ecx, dword [0x63387c]
mov esi, dword [0x63386c]
add ecx, edi
push 0xfe8
push ecx
push 0
lea eax, [ecx + 0xfe8]
push 0
push 0x8401f
test eax, eax
je 0x538d08
push eax
push eax
push 0
push dword [eax + 0x10]
mov dword [eax], 0x103
push esi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x538d38
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
lea esp, [esp]
cmp eax, 0x103
jne 0x538d59
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
cmovns eax, dword [ebp - 0x20]
cmp eax, 0x103
jne 0x538d59
inc ebx
add edi, 0x1000
cmp ebx, dword [0x633874]
jae 0x538d62
mov esi, dword [0x63387c]
jmp 0x538c60
mov esi, 0xc01c000a
jmp 0x538d86
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
mov dword [0x63387c], 0
mov esi, 0xc000009a
call fcn.00538dc0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret
push 0x80000002
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3