Function at 0x4ce7f0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x30], 1
xor ecx, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x60], ecx
mov eax, edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp + 0xc]
push edi
push 5
push 0x18
mov dword [ecx], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ecx], 0
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x4cebe2
mov eax, dword [esi + 8]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
cmp eax, 0xffffffff
je 0x4ce88a
test eax, eax
mov ecx, 0x2000000
cmovne ecx, eax
cmp dword [ebp - 0x70], ebx
jg 0x4cebe2
jl 0x4ce88a
cmp dword [ebp - 0x74], ecx
ja 0x4cebe2
mov eax, dword [0x54b5d8]
push 0
test eax, eax
je 0x4ce8a7
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
push 0x548220
push ecx
call eax
jmp 0x4ce8b6
push 0x548220
lea eax, [ebp - 0xc]
push eax
call dword [0x54b5c0]
test eax, eax
je 0x4cebcc
push 0x20
push 4
push dword [0x54b674]
mov dword [ebp - 8], 0x20
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov eax, dword [0x54b5b4]
mov dword [ebp - 0x20], esi
push 0
push esi
test eax, eax
je 0x4ce96c
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call eax
test eax, eax
jne 0x4ce9e4
push esi
push eax
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp - 8]
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0
mov esi, eax
lea eax, [ebp - 8]
push esi
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
push dword [ebp - 0xc]
call dword [0x54b5b4]
test eax, eax
jne 0x4ce9e4
push eax
push dword [ebp - 0xc]
call dword [0x54b5b0]
push esi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [0x54b5e0]
test eax, eax
jne 0x4ce9e4
push esi
push eax
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push dword [ebp - 8]
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
lea eax, [ebp - 8]
push 0
push esi
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
call dword [0x54b5e0]
test eax, eax
jne 0x4ce9e4
push eax
push dword [ebp - 0xc]
call dword [0x54b5b0]
push esi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push 1
push ecx
push esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], eax
call sym.ProcessHacker.exe_PhBufferToHexStringEx
push 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push esi
push dword [ebp - 0x1c]
call dword [0x54b5c8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4ceae9
push 0x20c
lea eax, [ebp - 0x28c]
push 0
push eax
call fcn.004dce30
add esp, 0xc
lea eax, [ebp - 0x6cc]
push 0x440
push 0
push eax
call fcn.004dce30
add esp, 0xc
lea eax, [ebp - 0x28c]
push 0
push eax
push dword [ebp - 0x34]
call dword [0x54b5b8]
test eax, eax
je 0x4cead6
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x58], eax
mov edx, 2
mov dword [ebp - 0x60], 0x28
mov dword [ebp - 0x6cc], 0x440
mov eax, dword [ecx]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x48], esi
push eax
lea eax, [ebp - 0x6cc]
push eax
push 0x548220
lea eax, [ebp - 0x60]
push eax
call fcn.004ce5d0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x4cead0
push eax
call dword [0x54b5d0]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
call dword [0x54b5ac]
jmp 0x4ceb9c
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ebx
cmp dword [ecx + 0xc], ebx
jbe 0x4ceb9c
test edi, edi
je 0x4ceb22
xor esi, esi
test ebx, ebx
je 0x4ceb10
push dword [edi + esi*4]
call dword [0x54b5d0]
inc esi
cmp esi, ebx
jb 0x4ceb02
push edi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, 2
mov ebx, dword [ebp - 0x34]
mov ecx, edi
mov dword [ebp - 0x60], 0x28
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x58], eax
mov eax, dword [edi]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x48], esi
push eax
push 0
push 0x548230
lea eax, [ebp - 0x60]
push eax
call fcn.004ce5d0
mov dword [ebp - 0x30], eax
cmp eax, 2
je 0x4ceb96
inc ebx
mov dword [ebp - 0x34], ebx
cmp ebx, dword [edi + 0xc]
jae 0x4ceb96
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
jmp 0x4ceaf8
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4cebb2
call fcn.004a2a20
push esi
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 0
push dword [ebp - 0x1c]
call dword [0x54b5b0]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc