Function at 0x116e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x1c], 0xc000007b
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0x40
jae 0x11729
jmp 0x11995
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0xf8
cmp dword [ebp + 0xc], edx
jae 0x11745
jmp 0x11995
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x1175e
jmp 0x11995
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x5c]
cmp eax, 1
je 0x1176f
jmp 0x11995
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 4]
cmp edx, 0x14c
je 0x11783
jmp 0x11995
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
movzx eax, word [edx + 6]
imul edx, eax, 0x28
add ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x20]
jae 0x117b6
jmp 0x11995
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0x1000
jbe 0x117cd
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x24], eax
jmp 0x117d4
mov dword [ebp - 0x24], 0x1000
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0x1000
jbe 0x117eb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x28], eax
jmp 0x117f2
mov dword [ebp - 0x28], 0x1000
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x24]
lea ecx, [edx + eax - 1]
mov edx, dword [ebp - 0x28]
sub edx, 1
not edx
and ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jae 0x11819
jmp 0x11995
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1000
push ecx
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x11842
mov dword [ebp - 0x1c], 0xc000009a
jmp 0x11995
mov edx, dword [ebp - 0x14]
add edx, 0xfff
and edx, 0xfffff000
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x1188c
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0xc], ecx
jae 0x11960
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
lea eax, [edx + eax - 1]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
sub edx, 1
not edx
and eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0x1000
jbe 0x118d3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x2c], edx
jmp 0x118da
mov dword [ebp - 0x2c], 0x1000
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0x1000
jbe 0x118f1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x30], edx
jmp 0x118f8
mov dword [ebp - 0x30], 0x1000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
lea eax, [ecx + edx - 1]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
not ecx
and eax, ecx
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x38]
cmp dword [ebp - 0x10], eax
jae 0x11922
jmp 0x11960
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
add edx, dword [ebp - 0x34]
cmp dword [ebp + 0xc], edx
jae 0x11932
jmp 0x11960
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
jmp 0x11883
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0xc], ecx
jae 0x1196e
jmp 0x11995
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
xor edx, edx
jne 0x1171e
cmp dword [ebp - 0x1c], 0
jge 0x119ad
cmp dword [ebp - 0x14], 0
je 0x119ad
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 0x14