Function at 0x4e5ebc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e617a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 8]
mov eax, dword [esi]
call fcn.004cc238
test al, al
je 0x4e615f
mov eax, dword [ebx + 0x394]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 8]
jl 0x4e615f
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x394]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
lea edx, [ebp - 8]
mov al, byte [esi + 4]
call fcn.004cc17c
test al, al
je 0x4e615f
mov eax, dword [ebx + 0x310]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 8]
jl 0x4e615f
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov dl, byte [esi + 5]
mov eax, dword [ebx + 0x314]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 8]
mov eax, dword [ebx + 0x31c]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 6]
mov eax, dword [ebx + 0x318]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 9]
mov eax, dword [ebx + 0x390]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 0x40]
mov eax, dword [ebx + 0x3a4]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
xor edx, edx
mov dl, byte [esi + 7]
dec edx
mov eax, dword [ebx + 0x320]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [esi + 0xc]
mov ecx, 0x3e8
cdq
idiv ecx
mov edx, eax
mov eax, dword [ebx + 0x3a0]
call fcn.004b57e8
mov edx, dword [esi + 0x10]
mov eax, dword [ebx + 0x344]
call fcn.004b57e8
mov dl, byte [esi + 0x14]
mov eax, dword [ebx + 0x330]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx + 0x330]
mov edi, eax
mov edx, eax
mov eax, dword [edi + 0x124]
call dword [edi + 0x120]
mov edx, dword [esi + 0x18]
mov eax, dword [ebx + 0x334]
call fcn.004b57e8
mov edx, dword [esi + 0x1c]
mov eax, dword [ebx + 0x340]
call fcn.004b57e8
mov edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x3c4]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov edx, dword [esi + 0x24]
mov eax, dword [ebx + 0x38c]
call fcn.004b57e8
mov eax, dword [0x4f49d4]
cmp byte [eax], 1
sete dl
mov eax, dword [ebx + 0x384]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x384]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [ebx + 0x3c4]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x384]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [ebx + 0x38c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, byte [esi + 0x28]
mov eax, dword [ebx + 0x358]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx + 0x358]
mov edi, eax
mov edx, eax
mov eax, dword [edi + 0x124]
call dword [edi + 0x120]
mov edx, dword [esi + 0x2c]
mov eax, dword [ebx + 0x35c]
call fcn.004b57e8
mov edx, dword [esi + 0x30]
mov eax, dword [ebx + 0x360]
call fcn.004b57e8
mov edx, dword [esi + 0x34]
mov eax, dword [ebx + 0x370]
call fcn.004b57e8
mov edx, dword [esi + 0x38]
mov eax, dword [ebx + 0x378]
call fcn.004b57e8
xor edx, edx
mov dl, byte [esi + 0x3c]
mov eax, dword [ebx + 0x368]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov edx, dword [esi + 0x44]
mov eax, dword [ebx + 0x380]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
call fcn.004ea0a0
test al, al
je 0x4e6140
lea edx, [ebp - 0xc]
mov eax, 0x4e6194
call fcn.004ed60c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x3bc]
call fcn.00466ee0
jmp 0x4e615b
lea edx, [ebp - 0x10]
mov eax, 0x4e61b4
call fcn.004ed60c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3bc]
call fcn.00466ee0
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6181
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004046ec
ret