Function at 0x41eada
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
xor eax, eax
mov ax, word [edi + 6]
test al, 1
mov dword [ebp - 0xc], eax
je 0x41eb01
push edi
push dword [edi + 0xc]
call sym.ntoskrnl.exe_MmUnmapLockedPages
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
lea ebx, [edi + 0x1c]
and eax, 0xfff
lea edi, [eax + ecx + 0xfff]
shr edi, 0xc
cmp dword [0x48834c], 1
mov edx, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edi
je 0x448116
test esi, esi
jne 0x41ec43
test byte [ebp - 0xb], 8
jne 0x44817b
lea ecx, [edx + edi*4]
mov dword [ebp - 8], ecx
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x422b96
mov esi, dword [0x4884c8]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
mov dword [edx], eax
add edx, 4
cmp edx, ecx
jb 0x41eb49
cmp edi, 0x10
mov esi, ebx
ja 0x423174
mov ecx, 0x47a9b8
call sym.ntoskrnl.exe_ExInterlockedPopEntrySList
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x423174
mov ecx, dword [ebp - 8]
mov ax, word [ebp - 0xc]
sub ecx, esi
sar ecx, 2
mov word [ebx + 4], ax
mov eax, dword [ebp + 8]
mov word [ebx + 6], cx
lea edi, [ebx + 8]
rep movsd dword es:[edi], dword [esi]
and byte [eax + 6], 0xfd
mov dword [ebp + 8], 0x47a9c0
mov esi, dword [0x47a9c0]
mov dword [ebp - 0x10], esi
mov dword [ebx], esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x41ebb2
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, edi
neg eax
add esi, 0x12c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xadd dword [ecx], eax
jmp 0x41eb39
cmp eax, 0xfffff
je 0x42312b
push dword [edi + 0x10]
call fcn.00424d51
and dword [edi + 0x10], 0xfff
jmp 0x42312b
cmp edx, ebx
jne 0x44812b
jmp 0x423168
mov edi, dword [esi]
or dword [edi + 0xc], 1
mov eax, dword [edi + 0x10]
test ah, 4
mov ecx, dword [edi + 0xc]
jne 0x42312b
test cl, 4
jne 0x42312b
shr eax, 0xc
jne 0x422b77
mov ax, word [edi + 0xe]
cmp ax, 2
jne 0x42c12f
cmp dword [edi + 8], 1
jb 0x423145
dec dword [0x47a9c4]
dec word [edi + 0xe]
add esi, 4
cmp esi, dword [ebp - 8]
jb 0x42310c
mov edi, dword [ebp - 0x18]
cmp edi, 0x10
ja 0x423160
push 3
call fcn.0041e6b5
mov cl, bl
call dword [sym.imp.HAL.dll_KfLowerIrql]
mov eax, dword [ebp + 8]
and byte [eax + 6], 0xfd
jmp 0x41ebcd
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
test byte [ebp - 0xc], 0x80
mov bl, al
je 0x42c2a9
jmp 0x42310c
cmp ax, 1
je 0x448138
dec eax
mov word [edi + 0xe], ax
jmp 0x423149
mov eax, dword [esi]
mov cx, word [eax + 0xe]
cmp cx, 2
jne 0x42c2f2
cmp dword [eax + 8], 1
jb 0x42c2c1
dec dword [0x47a9c4]
dec word [eax + 0xe]
add esi, 4
cmp esi, dword [ebp - 8]
jae 0x423154
jmp 0x42c2a9
cmp cx, 1
je 0x448158
dec ecx
mov word [eax + 0xe], cx
jmp 0x42c2c5
push edi
push dword [ebp + 8]
call fcn.0045e7af
mov edx, ebx
jmp 0x41eb31
mov dword [ebp - 8], edx
jmp 0x41eb69
mov eax, edi
sub eax, dword [0x4884c8]
push 0x18
cdq
pop ecx
idiv ecx
dec dword [0x47a9c4]
mov ecx, eax
call fcn.004111f5
jmp 0x423149
sub eax, dword [0x4884c8]
push 0x18
cdq
pop ecx
idiv ecx
dec dword [0x47a9c4]
mov ecx, eax
call fcn.004111f5
jmp 0x42c2c5
lea ebx, [edx + edi*4]
call dword [sym.imp.HAL.dll_KeRaiseIrqlToDpcLevel]
test byte [ebp - 0xc], 0x80
mov byte [ebp - 1], al
je 0x448258
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4482de
cmp eax, dword [0x488520]
ja 0x448246
mov esi, dword [0x483aac]
mov edx, eax
shr edx, 5
mov edx, dword [esi + edx*4]
mov ecx, eax
and ecx, 0x1f
shr edx, cl
xor edi, edi
inc edi
and edx, edi
mov dword [ebp - 0x18], edx
je 0x448246
mov ecx, dword [0x4884c8]
lea eax, [eax + eax*2]
lea esi, [ecx + eax*8]
or dword [esi + 0xc], edi
mov eax, dword [esi + 0x10]
test ah, 4
mov ecx, dword [esi + 0xc]
jne 0x448204
test cl, 4
jne 0x448204
shr eax, 0xc
je 0x448204
cmp eax, 0xfffff
je 0x448204
push dword [esi + 0x10]
call fcn.00424d51
and dword [esi + 0x10], 0xfff
mov ax, word [esi + 0xe]
cmp ax, 2
jne 0x44821f
cmp dword [esi + 8], edi
jb 0x448219
dec dword [0x47a9c4]
dec word [esi + 0xe]
jmp 0x448246
cmp ax, di
je 0x44822b
dec eax
mov word [esi + 0xe], ax
jmp 0x448246
mov eax, esi
sub eax, dword [0x4884c8]
push 0x18
cdq
pop ecx
idiv ecx
dec dword [0x47a9c4]
mov ecx, eax
call fcn.004111f5
add dword [ebp - 8], 4
cmp dword [ebp - 8], ebx
jb 0x448191
jmp 0x4482de
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4482de
cmp eax, dword [0x488520]
ja 0x4482d1
mov esi, dword [0x483aac]
mov edx, eax
shr edx, 5
mov edx, dword [esi + edx*4]
mov ecx, eax
and ecx, 0x1f
shr edx, cl
and edx, 1
mov dword [ebp - 0x18], edx
je 0x4482d1
mov ecx, dword [0x4884c8]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov dx, word [eax + 0xe]
cmp dx, 2
jne 0x4482af
cmp dword [eax + 8], 1
jb 0x4482a9
dec dword [0x47a9c4]
dec word [eax + 0xe]
jmp 0x4482d1
cmp dx, 1
je 0x4482bc
dec edx
mov word [eax + 0xe], dx
jmp 0x4482d1
sub eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
dec dword [0x47a9c4]
mov ecx, eax
call fcn.004111f5
add dword [ebp - 8], 4
cmp dword [ebp - 8], ebx
jb 0x448258
mov cl, byte [ebp - 1]
call dword [sym.imp.HAL.dll_KfLowerIrql]
mov eax, dword [ebp + 8]
and byte [eax + 7], 0xf7
jmp 0x42316b