Function at 0x539580
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6360dc], 0
push ebx
push esi
push edi
mov ebx, edx
je 0x5395a8
mov esi, 0xc0000510
jmp 0x539a46
mov dword [0x6360dc], 0
cmp dword [ecx], 0xfffe
movzx esi, word [ecx]
mov eax, dword [ecx + 4]
mov word [ebp - 0x20], si
mov dword [ebp - 0x1c], eax
lea edi, [esi + 2]
mov word [ebp - 0x1e], di
jbe 0x5395d8
mov esi, 0xc0000106
jmp 0x539a46
push 0x23
push 0
push dword [0x636044]
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 0x539a41
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 - 0x20]
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 [0x62fbb0], 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 - 0x28], 0x3c003a
add eax, 0x1040
mov dword [ebp - 0x24], str.FileSystemFiltersFltMgrMsg
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
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 0x6360dc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ntdll.dll_NtCreateFile]
push edi
push 0
push dword [0x636044]
mov esi, eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test esi, esi
js 0x539a46
mov eax, 0x638460
mov byte [0x62fb02], 0
mov dword [0x6360e4], ebx
mov dword [0x638454], 0
test al, 7
jne 0x539a5e
xor eax, eax
mov dword [0x63846c], 0x10
mov dword [0x638460], eax
mov dword [0x638464], eax
mov dword [0x638468], eax
mov ax, word [0x635f1e]
mov dword [0x638470], 0xfe8
cmp ax, 2
jb 0x539748
movzx edi, ax
add edi, edi
lea eax, [edi + edi]
mov dword [0x6360e0], eax
cmp eax, 0x400
jbe 0x539757
mov dword [0x6360e0], 0x400
jmp 0x539757
mov edi, 2
mov dword [0x6360e0], 4
push 0
push 0x6360ec
call dword [sym.imp.ntdll.dll_TpAllocPool]
mov esi, eax
test esi, esi
js 0x539a46
push 2
push dword [0x6360ec]
call dword [sym.imp.ntdll.dll_TpSetPoolMinThreads]
push edi
push dword [0x6360ec]
call dword [sym.imp.ntdll.dll_TpSetPoolMaxThreads]
test byte [0x6335bc], 1
mov edi, dword [0x6360ec]
jne 0x5397f9
mov esi, 0x6335bc
lock bts dword [esi], 0x1f
setb al
test al, al
jne 0x5397e7
lea edx, ds:[ebp - 0x20]
mov dword [ebp - 0x20], 0x12
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5d2be8
call fcn.00529000
test eax, eax
je 0x5397dc
push 0
mov edx, str.TpSetPoolThreadBasePriority
mov ecx, eax
call fcn.005290e0
mov dword [0x6383a4], eax
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x5397f9
test byte [0x6335bc], 1
jne 0x5397f9
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov esi, dword [0x6383a4]
nop
test esi, esi
je 0x539811
push 2
push edi
mov ecx, esi
call dword [0x5a48f4]
call esi
mov eax, dword [0x6360ec]
push 0x29
mov dword [0x638484], eax
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x48]
mov dword [0x638480], 3
push eax
push dword [0x6360dc]
mov dword [0x638488], 0
mov dword [0x63848c], 0
mov dword [0x638490], 0
mov dword [0x638498], 0
mov dword [0x63849c], 0
mov dword [0x6384a4], 0x28
mov dword [0x638494], 0xffffffff
mov dword [0x6384a0], 0
mov dword [ebp - 0x24], 2
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push 0x638480
push 0
push 0x5393e0
push dword [0x6360dc]
push 0x6360e8
call dword [sym.imp.ntdll.dll_TpAllocIoCompletion]
mov esi, eax
test esi, esi
js 0x539a46
mov edi, dword [0x6360e0]
shl edi, 0xc
push edi
push 0
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x539a37
push edi
push 0
push esi
call fcn.005826f0
xor ebx, ebx
mov dword [0x6360f0], esi
add esp, 0xc
cmp dword [0x6360e0], ebx
jbe 0x539a22
xor edi, edi
nop
push 0
lea eax, [esi + 0xff8]
mov dword [ebp - 0x40], 0x18
add eax, edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
push 0
push eax
push 0x1f0003
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov esi, eax
test esi, esi
js 0x539a46
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [0x6360f0]
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 [0x6360e8]
call dword [sym.imp.ntdll.dll_TpStartAsyncIoOperation]
mov ecx, dword [0x6360f0]
mov esi, dword [0x6360dc]
add ecx, edi
push 0xfe8
push ecx
push 0
lea eax, [ecx + 0xfe8]
push 0
push 0x8401f
test eax, eax
je 0x5399ca
push eax
push eax
push 0
push dword [eax + 0x10]
mov dword [eax], 0x103
push esi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x5399f8
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x5399e0
cmp eax, 0x103
jne 0x539a19
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
cmovns eax, dword [ebp - 0x48]
cmp eax, 0x103
jne 0x539a19
inc ebx
add edi, 0x1000
cmp ebx, dword [0x6360e0]
jae 0x539a22
mov esi, dword [0x6360f0]
jmp 0x539900
mov esi, 0xc01c000a
jmp 0x539a46
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov dword [0x6360f0], 0
mov esi, 0xc000009a
call fcn.00539a80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
push 0x80000002
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3