Function at 0x111ac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x28], esi
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
xor ebx, ebx
mov dword [ebp - 0x10], esi
call fcn.0001093c
cmp eax, esi
mov dword [ebp - 0xc], eax
jl 0x113ab
push 0x206b6444
mov edi, 0x200
push edi
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x113ab
or dword [ebp - 0x14], 0xffffffff
push esi
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 0x18], 0xfffffffe
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
cmp eax, esi
mov dword [ebp - 0xc], eax
jl 0x113ab
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [sym.imp.ntoskrnl.exe_IoFileObjectType]
push esi
push dword [eax]
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
cmp eax, esi
mov dword [ebp - 0xc], eax
jl 0x113ab
mov edx, dword [ebp - 8]
push edx
call fcn.00010d1a
mov edi, eax
cmp edi, esi
je 0x11368
mov eax, dword [edx + 8]
cmp eax, esi
je 0x113dc
mov eax, dword [eax + 8]
cmp eax, esi
je 0x113dc
movsx eax, byte [eax + 0x30]
push esi
push eax
call dword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov ebx, eax
cmp ebx, esi
je 0x113ab
push esi
push 1
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
nop
nop
and byte [ebx + 0x20], 0
lea eax, [ebp - 0x148]
mov dword [ebx + 0x3c], eax
lea eax, [ebp - 0x38]
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 0x20]
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0x800
mov dword [ebx + 0x28], eax
call sub.ntoskrnl.exe_KeGetCurrentThread
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x64], eax
nop
nop
mov eax, dword [ebx + 0x60]
sub eax, 0x24
mov byte [eax], 0xd
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0x18], ecx
mov dword [eax + 0xc], 0x90073
mov dword [eax + 8], 8
mov dword [eax + 4], 0x110
lea ecx, [ebp - 0x28]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x60]
sub eax, 0x24
mov edx, ebx
mov ecx, edi
mov dword [eax + 0x1c], 0x1099c
mov dword [eax + 0x20], esi
mov byte [eax + 3], 0xe0
call fcn.00010cfc
cmp eax, 0x103
mov dword [ebp - 0xc], eax
jne 0x1133f
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], esi
jl 0x113ab
cmp dword [ebp - 0x148], esi
je 0x11368
mov eax, dword [ebp - 0x140]
and eax, dword [ebp - 0x13c]
cmp eax, 0xffffffff
je 0x11368
call fcn.000110de
mov edi, eax
cmp edi, esi
jne 0x11371
mov dword [ebp - 0xc], 0xc0000001
jmp 0x113ab
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
push esi
push dword [section..data]
call sub.ntoskrnl.exe__allmul
mov esi, dword [ebp - 0x10]
xor ecx, ecx
add eax, edi
adc edx, ecx
mov ecx, 0x80
mov edi, 0x11928
mov dword [0x11b50], eax
mov dword [0x11b54], edx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
nop
nop
nop
nop
cmp dword [ebp - 4], esi
je 0x113bd
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp ebx, esi
je 0x113c8
push ebx
call dword [sym.imp.ntoskrnl.exe_IoFreeIrp]
nop
nop
nop
jmp 0x113d7
mov eax, dword [ebp - 0xc]
jmp 0x113e1
mov eax, 0xc0000001
pop edi
pop esi
pop ebx
leave
ret 8