Function at 0x4ce1e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x5ac004]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.004cdfa0
push 0x60
push 1
push 5
push 0x80
push 0x120089
push esi
lea eax, [esp + 0x28]
push eax
call sym.ProcessHacker.exe_PhCreateFileWin32
mov edi, eax
test edi, edi
jns 0x4ce23b
lfence
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
push 5
push 0x18
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x4ce283
mov eax, dword [esp + 0x30]
or eax, dword [esp + 0x34]
jne 0x4ce283
push esi
lfence
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
push sym.ProcessHacker.exe_mxml_opaque_cb
push esi
push 0
call sym.ProcessHacker.exe_mxmlLoadFd
mov ebx, eax
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.ntdll.dll_NtClose]
lea ecx, [ecx]
test ebx, ebx
je 0x4ce2af
cmp dword [ebx], 0
je 0x4ce2cb
push ebx
call sym.ProcessHacker.exe_mxmlDelete
mov eax, 0xc0000102
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4ce52b
lea ebx, [ebx]
cmp dword [ebx], 0
jne 0x4ce51c
mov esi, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
test esi, esi
jle 0x4ce51c
mov ecx, dword [edi]
mov eax, str.name
mov edi, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4ce322
test dl, dl
je 0x4ce31c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4ce322
add ecx, 2
add eax, 2
test dl, dl
jne 0x4ce300
xor eax, eax
jmp 0x4ce327
sbb eax, eax
or eax, 1
test eax, eax
je 0x4ce338
dec esi
add edi, 8
test esi, esi
jg 0x4ce2f7
jmp 0x4ce51c
mov edx, dword ds:[edi + 4]
test edx, edx
je 0x4ce51c
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ce350
sub ecx, esi
push ecx
push edx
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x4ce51c
mov ecx, dword [ebx]
cmp ecx, 2
jne 0x4ce37f
mov edx, dword [ebx + 0x18]
jmp 0x4ce393
nop
test ecx, ecx
jne 0x4ce3b8
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x4ce3b8
cmp dword [edx], 2
jne 0x4ce3b8
mov edx, dword [edx + 0x18]
test edx, edx
je 0x4ce3b8
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ce3a0
sub ecx, esi
push ecx
push edx
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x4ce3c3
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov ebx, eax
mov dword [esp + 0x18], eax
mov eax, 0x5b1f44
lock bts dword [eax], 0
jae 0x4ce3d6
mov ecx, eax
call sym.ProcessHacker.exe_PhfAcquireQueuedLockExclusive
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x5b4038]
mov dword [esp + 0x38], ecx
call sym.ProcessHacker.exe_PhFindEntryHashtable
mov esi, eax
test esi, esi
je 0x4ce42a
mov ecx, dword ds:[esi]
mov edx, esi
call fcn.004cd520
mov ecx, dword [esi]
mov edx, ebx
push esi
push ebx
call fcn.004cd300
test al, al
jne 0x4ce4b7
mov ecx, dword [esi]
lea edx, [esi + 0xc]
push esi
push 0
call fcn.004cd300
jmp 0x4ce4b7
push 0x1c
push 4
push dword [0x5b1dac]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
add ebx, 2
push ebx
push 4
push dword [0x5b1dac]
mov dword [esp + 0x28], eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ebx
mov esi, eax
push edi
push esi
call fcn.00521a30
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [ecx + 8], esi
mov eax, dword [edi]
mov dword [ecx + 4], eax
lock inc dword [ebx - 4]
mov esi, dword [0x5b4034]
mov dword [ecx + 0x14], ebx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x4ce4ab
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push dword [esi + 8]
push 4
push dword [0x5b1dac]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, dword [esi]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], edx
inc dword [esi]
or esi, 0xffffffff
mov eax, 0x5b1f44
lock xadd dword [eax], esi
mov eax, esi
and al, 6
cmp al, 2
jne 0x4ce4ee
dec esi
mov edi, 0x5b1f44
mov eax, esi
lea edx, [esi + 4]
mov ecx, edx
lock cmpxchg dword [edi], ecx
mov edi, dword [esp + 0x10]
cmp eax, esi
jne 0x4ce4ee
mov ecx, 0x5b1f44
call fcn.004cc580
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ce505
lea esp, [esp]
call fcn.004b3960
lea ecx, [edi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ce518
call fcn.004b3960
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4ce2e0
push dword [esp + 0x20]
call sym.ProcessHacker.exe_mxmlDelete
call sym.ProcessHacker.exe_PhUpdateCachedSettings
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4