Function at 0x11520
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push edi
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
push 7
mov edi, 0x80
push edi
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00010486
cmp eax, ebx
jl 0x116f5
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push 0x42756f44
push 0x20
push 1
call esi
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x1158c
mov esi, 0xc0000001
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
jmp 0x116f4
push 0x2e
push 0x20
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp eax, ebx
jge 0x115b4
cmp eax, 0x80000005
je 0x115b4
cmp eax, 0xc0000004
je 0x115b4
mov esi, eax
jmp 0x1157c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push 0x42756f44
push dword [ebp - 0x10]
push 1
call esi
mov esi, eax
cmp esi, ebx
je 0x11577
push 0x2e
push dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp eax, ebx
jl 0x115b0
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [esi + 4]
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
add esi, 8
mov dword [ebp - 8], ebx
call fcn.000107a0
cmp eax, ebx
jl 0x116f4
jmp 0x1167d
push dword [esi + 0x10]
lea eax, [esi + 0x14]
push eax
push dword [ebp - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00010882
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jl 0x116f4
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x1165a
mov dword [ebp - 0x10], ebx
jmp reloc.ntoskrnl.exe_RtlGetElementGenericTable
mov eax, dword [ebp + 8]
push ebx
push dword [eax + 4]
call fcn.00010ee0
push ebx
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jae 0x116e7
add esi, dword [esi]
mov eax, dword [esi + 0xc]
push 8
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
pop eax
push 8
mov word [ebp - 0x24], ax
pop eax
push ebx
push ebx
mov word [ebp - 0x22], ax
push 0x2000
push 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push 3
mov dword [ebp - 0x48], eax
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], eax
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x4c], 0x18
mov dword [ebp - 0x40], 0x200
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, ebx
jge RtlInitializeGenericTable
jmp 0x116f4
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x10]
pop esi
pop edi
pop ebx
leave
ret 8