Function at 0x4e0320
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9468
push 0x4d754c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [ebp + 8], 0
jne 0x4e0351
jmp 0x4e060c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
jmp 0x4e036e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x4e0385
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jne 0x4e0383
jmp 0x4e060c
jmp 0x4e0365
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call 0x4e6b64
test eax, eax
je 0x4e039a
jmp 0x4e060c
mov edx, dword [0x4ec9a4]
add edx, 1
mov dword [0x4ec9a4], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x4ebc80]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0x4550
jne 0x4e05c1
cmp dword [0x4ec714], 1
jne 0x4e03fa
cmp dword [ebp + 8], 0x80000000
jbe 0x4e03fa
push 0
push 0
push 0
push 0
call dword [0x4ec80c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x80]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
cmp dword [0x4ec714], 1
jne 0x4e0497
mov dword [ebp - 0x40], 0
jmp 0x4e042b
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x40], eax
jae 0x4e0497
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x38]
lea ecx, [eax + edx + 0x18]
mov edx, dword [ebp - 0x40]
imul edx, edx, 0x28
add ecx, edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x20]
ja 0x4e0495
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x44]
add eax, dword [ecx + 8]
cmp dword [ebp - 0x20], eax
ja 0x4e0495
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and eax, 0x10000000
test eax, eax
je 0x4e0493
push 0
push 0
push 0
push 0
call dword [0x4ec80c]
jmp 0x4e0497
jmp 0x4e0422
mov dword [ebp - 4], 0
jmp 0x4e04be
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x84]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 0
jmp 0x4e04e5
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1c]
jae 0x4e05c1
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x4e052d
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + edx]
test ecx, ecx
jne 0x4e0532
jmp 0x4e05c1
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x50]
push edx
call 0x4e627f
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
mov dword [0x4ebc80], eax
cmp dword [ebp - 0x4c], 0
je 0x4e0573
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004e0320
add esp, 0xc
push 0
call dword [fcn.004ec7ac]
cmp eax, dword [ebp + 8]
je 0x4e05bc
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [0x4f1160]
call 0x4e6b64
test eax, eax
je 0x4e05bc
jmp 0x4e059e
mov edx, dword [ebp - 0x48]
add edx, 4
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x4e05bc
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e0620
add esp, 0xc
jmp 0x4e0595
jmp 0x4e04dc
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004e6c81
mov dword [ebp - 4], 0xffffffff
jmp 0x4e05f5
mov eax, dword [ebp - 0x24]
mov dword [0x4ebc80], eax
mov ecx, dword [0x4ec9a4]
sub ecx, 1
mov dword [0x4ec9a4], ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret