Function at 0x13920
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00013020
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x1394f
mov eax, dword [ebp - 0x24]
jmp 0x13c15
cmp dword [ebp - 0x10], 0x40
jae 0x13968
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00013000
mov eax, 0xc000012f
jmp 0x13c15
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1398e
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00013000
mov eax, 0xc000012f
jmp 0x13c15
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x3c]
add eax, 0xf8
cmp dword [ebp - 0x10], eax
jae 0x139b1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00013000
mov eax, 0xc000012f
jmp 0x13c15
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x139db
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00013000
mov eax, 0xc0000359
jmp 0x13c15
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x14]
cmp ecx, 0xe0
je 0x139fd
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00013000
mov eax, 0xc0000359
jmp 0x13c15
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0x1400000
jbe 0x13a1c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00013000
mov eax, 0xc0000359
jmp 0x13c15
mov edx, dword [ebp - 4]
movzx eax, word [edx + 6]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x28
lea edx, [eax + ecx + 0xf8]
cmp dword [ebp - 0x10], edx
jae 0x13a5d
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00013000
mov eax, 0xc0000359
jmp 0x13c15
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x14]
jb 0x13a76
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x50]
cmp edx, dword [ecx + 0x14]
jae 0x13a89
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00013000
mov eax, 0xc0000359
jmp 0x13c15
push 0x73745553
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x50]
push edx
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x13ab9
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00013000
mov eax, 0xc00000a0
jmp 0x13c15
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x13ae2
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jae 0x13bf1
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + ecx + 0x14]
mov eax, dword [ebp - 0x14]
add ecx, dword [eax + edx + 0x10]
cmp dword [ebp - 0x10], ecx
jae 0x13b2f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00013000
push 0x73745553
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc00000a0
jmp 0x13c15
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + eax + 0xc]
mov edx, dword [ebp - 0x14]
add eax, dword [edx + ecx + 8]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x50], eax
jae 0x13b73
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00013000
push 0x73745553
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc00000a0
jmp 0x13c15
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + ecx + 0xc]
mov eax, dword [ebp - 0x14]
add ecx, dword [eax + edx + 0x10]
mov edx, dword [ebp - 4]
cmp dword [edx + 0x50], ecx
jae 0x13bb4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00013000
push 0x73745553
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc00000a0
jmp 0x13c15
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + edx + 0xc]
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
jmp 0x13ad9
cmp dword [ebp + 0xc], 0
je 0x13c02
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
mov dword [edx], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00013000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc