Function at 0x4a17d4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov esi, eax
cmp byte [esi + 5], 0
je 0x4a1a6b
call fcn.0064e140
mov dword [ebp - 4], eax
push ebp
xor edx, edx
mov dl, byte [esi + 6]
mov al, 5
call fcn.004a17a8
pop ecx
push ebp
xor edx, edx
mov dl, byte [esi + 7]
mov al, 0xa
call fcn.004a17a8
pop ecx
push ebp
xor edx, edx
mov dl, byte [esi + 8]
mov al, 0x14
call fcn.004a17a8
pop ecx
push ebp
xor edx, edx
mov dl, byte [esi + 9]
mov al, 0x1e
call fcn.004a17a8
pop ecx
push ebp
xor edx, edx
mov dl, byte [esi + 0xa]
mov al, 0x23
call fcn.004a17a8
pop ecx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0064ebbc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
shl ecx, 2
mov edx, 0x28
mov eax, dword [ebp - 4]
call fcn.0064e400
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jl 0x4a188e
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
movzx eax, byte [eax + ebx*4]
mov edx, dword [0x66f774]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 4]
call fcn.0064e41c
inc ebx
dec edi
jne 0x4a186f
push ebp
xor edx, edx
mov dl, byte [esi + 0xb]
mov al, 0x32
call fcn.004a17a8
pop ecx
push ebp
xor edx, edx
mov dl, byte [esi + 0x10]
mov al, 0x3c
call fcn.004a17a8
pop ecx
push ebp
xor edx, edx
mov dl, byte [esi + 0x11]
mov al, 0x3e
call fcn.004a17a8
pop ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0x18]
dec ebx
cmp ebx, 0
jl 0x4a18df
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x1c]
cmp dword [edx + ebx*4], 0
je 0x4a18d9
inc eax
dec ebx
cmp ebx, 0xffffffff
jne 0x4a18cc
test eax, eax
jle 0x4a1939
mov ecx, eax
shl ecx, 3
mov edx, 0x46
mov eax, dword [ebp - 4]
call fcn.0064e400
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jl 0x4a1939
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax + ebx*4], 0
je 0x4a1935
xor eax, eax
mov al, bl
mov edx, dword [0x66f774]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 4]
call fcn.0064e41c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 4]
call fcn.0064e41c
inc ebx
dec edi
jne 0x4a1903
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 0x18]
dec ebx
cmp ebx, 0
jl 0x4a1960
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x1c]
cmp dword [edx + ebx*4], 0
je 0x4a195a
inc eax
dec ebx
cmp ebx, 0xffffffff
jne 0x4a194d
test eax, eax
jle 0x4a19ba
mov ecx, eax
shl ecx, 3
mov edx, 0x4b
mov eax, dword [ebp - 4]
call fcn.0064e400
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jl 0x4a19ba
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
cmp dword [eax + ebx*4], 0
je 0x4a19b6
xor eax, eax
mov al, bl
mov edx, dword [0x66f774]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 4]
call fcn.0064e41c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 4]
call fcn.0064e41c
inc ebx
dec edi
jne 0x4a1984
xor ebx, ebx
xor eax, eax
mov al, bl
mov edi, dword [esi + eax*4 + 0x1c]
test edi, edi
je 0x4a1a05
mov edx, dword [edi + 0x18]
shl edx, 2
add edx, 4
shl edx, 0x10
or edx, 0x50
mov eax, dword [ebp - 4]
call fcn.0064e41c
xor eax, eax
mov al, bl
mov edx, dword [0x66f774]
mov edx, dword [edx + eax*4]
mov eax, dword [ebp - 4]
call fcn.0064e41c
mov ecx, dword [edi + 0x18]
shl ecx, 2
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp - 4]
call fcn.0064e488
inc ebx
cmp ebx, 0x20
jne 0x4a19bc
mov eax, dword [esi + 0xa0]
test eax, eax
jle 0x4a1a20
push ebp
mov edx, eax
mov al, 0x64
call fcn.004a17a8
pop ecx
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + 8]
test eax, eax
jle 0x4a1a4b
mov edx, eax
shl edx, 0x10
or edx, 0x6e
mov eax, dword [ebp - 4]
call fcn.0064e41c
mov edx, dword [esi + 0xa4]
mov eax, dword [ebp - 4]
call fcn.0064e374
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00617e34
mov eax, dword [ebp - 4]
call fcn.004028c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret