Function at 0x539120
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x62e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6350dc], 0
push ebx
push esi
push edi
mov ebx, edx
je 0x539148
mov esi, 0xc0000510
jmp 0x5395e6
mov dword [0x6350dc], 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 0x539178
mov esi, 0xc0000106
jmp 0x5395e6
push 0x23
push 0
push dword [0x635044]
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 0x5395e1
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 [0x62ebb0], 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 0x6350dc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ntdll.dll_NtCreateFile]
push edi
push 0
push dword [0x635044]
mov esi, eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
test esi, esi
js 0x5395e6
mov eax, 0x637460
mov byte [0x62eb02], 0
mov dword [0x6350e4], ebx
mov dword [0x637454], 0
test al, 7
jne 0x5395fe
xor eax, eax
mov dword [0x63746c], 0x10
mov dword [0x637460], eax
mov dword [0x637464], eax
mov dword [0x637468], eax
mov ax, word [0x634f1e]
mov dword [0x637470], 0xfe8
cmp ax, 2
jb 0x5392e8
movzx edi, ax
add edi, edi
lea eax, [edi + edi]
mov dword [0x6350e0], eax
cmp eax, 0x400
jbe 0x5392f7
mov dword [0x6350e0], 0x400
jmp 0x5392f7
mov edi, 2
mov dword [0x6350e0], 4
push 0
push 0x6350ec
call dword [sym.imp.ntdll.dll_TpAllocPool]
mov esi, eax
test esi, esi
js 0x5395e6
push 2
push dword [0x6350ec]
call dword [sym.imp.ntdll.dll_TpSetPoolMinThreads]
push edi
push dword [0x6350ec]
call dword [sym.imp.ntdll.dll_TpSetPoolMaxThreads]
test byte [0x6325bc], 1
mov edi, dword [0x6350ec]
jne 0x539399
mov esi, 0x6325bc
lock bts dword [esi], 0x1f
setb al
test al, al
jne 0x539387
lea edx, ds:[ebp - 0x20]
mov dword [ebp - 0x20], 0x12
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5d1be8
call fcn.00528ba0
test eax, eax
je 0x53937c
push 0
mov edx, str.TpSetPoolThreadBasePriority
mov ecx, eax
call fcn.00528c80
mov dword [0x6373a4], eax
mov ecx, esi
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x539399
test byte [0x6325bc], 1
jne 0x539399
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_PhfWaitForEvent
mov esi, dword [0x6373a4]
nop
test esi, esi
je 0x5393b1
push 2
push edi
mov ecx, esi
call dword [0x5a38f4]
call esi
mov eax, dword [0x6350ec]
push 0x29
mov dword [0x637484], eax
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x48]
mov dword [0x637480], 3
push eax
push dword [0x6350dc]
mov dword [0x637488], 0
mov dword [0x63748c], 0
mov dword [0x637490], 0
mov dword [0x637498], 0
mov dword [0x63749c], 0
mov dword [0x6374a4], 0x28
mov dword [0x637494], 0xffffffff
mov dword [0x6374a0], 0
mov dword [ebp - 0x24], 2
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push 0x637480
push 0
push 0x538f80
push dword [0x6350dc]
push 0x6350e8
call dword [sym.imp.ntdll.dll_TpAllocIoCompletion]
mov esi, eax
test esi, esi
js 0x5395e6
mov edi, dword [0x6350e0]
shl edi, 0xc
push edi
push 0
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x5395d7
push edi
push 0
push esi
call fcn.00582250
xor ebx, ebx
mov dword [0x6350f0], esi
add esp, 0xc
cmp dword [0x6350e0], ebx
jbe 0x5395c2
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 0x5395e6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [0x6350f0]
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 [0x6350e8]
call dword [sym.imp.ntdll.dll_TpStartAsyncIoOperation]
mov ecx, dword [0x6350f0]
mov esi, dword [0x6350dc]
add ecx, edi
push 0xfe8
push ecx
push 0
lea eax, [ecx + 0xfe8]
push 0
push 0x8401f
test eax, eax
je 0x53956a
push eax
push eax
push 0
push dword [eax + 0x10]
mov dword [eax], 0x103
push esi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x539598
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x539580
cmp eax, 0x103
jne 0x5395b9
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 0x5395b9
inc ebx
add edi, 0x1000
cmp ebx, dword [0x6350e0]
jae 0x5395c2
mov esi, dword [0x6350f0]
jmp 0x5394a0
mov esi, 0xc01c000a
jmp 0x5395e6
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret
mov dword [0x6350f0], 0
mov esi, 0xc000009a
call fcn.00539620
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005802ef
mov esp, ebp
pop ebp
ret
push 0x80000002
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3