Function at 0x491be0
Capabilities:
Enumerate pe sections

Disassembly:
movsx edx, word [ecx + 0x10]
push ebx
mov bx, word [esp + 0xc]
push ebp
push esi
test edx, edx
push edi
movsx eax, bx
je 0x491c21
xor esi, esi
lea edi, [eax + eax - 1]
test edx, edx
jbe 0x491c21
mov ebx, dword [ecx]
lea eax, [edx + esi]
shr eax, 1
mov bp, word [ebx + eax*8]
shl bp, 1
cmp di, bp
jge 0x491c15
mov edx, eax
jmp 0x491c18
lea esi, [eax + 1]
cmp esi, edx
jb 0x491c00
mov bx, word [esp + 0x18]
mov esi, dword [ecx]
mov bp, word [esp + 0x14]
lea eax, [esi + edx*8]
cmp eax, esi
jbe 0x491c66
sub eax, 8
xor edx, edx
mov dl, byte [eax + 6]
mov dx, word [ecx + edx*2 + 0x20]
add dx, word [eax]
cmp dx, bx
jl 0x491c66
mov di, word [ecx + 0x22]
mov dx, word [ecx + 0x26]
add di, word [eax + 2]
add dx, word [eax + 4]
cmp di, bp
jg 0x491c62
cmp dx, bp
jge 0x491df9
cmp eax, esi
ja 0x491c2f
movsx edx, word [ecx + 0x12]
test edx, edx
movsx eax, bp
je 0x491ca4
xor esi, esi
lea edi, [eax + eax + 1]
test edx, edx
jbe 0x491ca4
mov ebx, dword [ecx + 4]
lea eax, [edx + esi]
shr eax, 1
mov bp, word [ebx + eax*8]
shl bp, 1
cmp di, bp
jge 0x491c93
mov edx, eax
jmp 0x491c96
lea esi, [eax + 1]
cmp esi, edx
jb 0x491c7e
mov bp, word [esp + 0x14]
mov bx, word [esp + 0x18]
mov esi, dword [ecx + 4]
lea eax, [esi + edx*8]
movsx edx, word [ecx + 0x12]
lea esi, [esi + edx*8]
cmp eax, esi
jae 0x491cec
xor edx, edx
mov dl, byte [eax + 6]
mov dx, word [ecx + edx*2 + 0x20]
add dx, word [eax]
cmp dx, bp
jg 0x491cec
mov di, word [ecx + 0x24]
mov dx, word [ecx + 0x20]
add di, word [eax + 2]
add dx, word [eax + 4]
cmp di, bx
jg 0x491ce5
cmp dx, bx
jge 0x491df9
add eax, 8
cmp eax, esi
jb 0x491cb5
movsx edx, word [ecx + 0x14]
test edx, edx
je 0x491d2a
movsx eax, bx
xor esi, esi
test edx, edx
lea edi, [eax + eax + 1]
jbe 0x491d2a
mov ebx, dword [ecx + 8]
lea eax, [edx + esi]
shr eax, 1
mov bp, word [ebx + eax*8]
shl bp, 1
cmp di, bp
jge 0x491d19
mov edx, eax
jmp 0x491d1c
lea esi, [eax + 1]
cmp esi, edx
jb 0x491d04
mov bx, word [esp + 0x18]
mov bp, word [esp + 0x14]
mov esi, dword [ecx + 8]
lea eax, [esi + edx*8]
movsx edx, word [ecx + 0x14]
lea esi, [esi + edx*8]
cmp eax, esi
jae 0x491d72
xor edx, edx
mov dl, byte [eax + 6]
mov dx, word [ecx + edx*2 + 0x20]
add dx, word [eax]
cmp dx, bx
jg 0x491d72
mov di, word [ecx + 0x22]
mov dx, word [ecx + 0x26]
add di, word [eax + 2]
add dx, word [eax + 4]
cmp di, bp
jg 0x491d6b
cmp dx, bp
jge 0x491df9
add eax, 8
cmp eax, esi
jb 0x491d3b
movsx edx, word [ecx + 0x16]
test edx, edx
je 0x491db0
movsx eax, bp
xor esi, esi
test edx, edx
lea edi, [eax + eax - 1]
jbe 0x491db0
mov ebx, dword [ecx + 0xc]
lea eax, [edx + esi]
shr eax, 1
mov bp, word [ebx + eax*8]
shl bp, 1
cmp di, bp
jge 0x491d9f
mov edx, eax
jmp 0x491da2
lea esi, [eax + 1]
cmp esi, edx
jb 0x491d8a
mov bp, word [esp + 0x14]
mov bx, word [esp + 0x18]
mov esi, dword [ecx + 0xc]
lea eax, [esi + edx*8]
cmp eax, esi
jbe 0x491e02
sub eax, 8
xor edx, edx
mov dl, byte [eax + 6]
mov dx, word [ecx + edx*2 + 0x20]
add dx, word [eax]
cmp dx, bp
jl 0x491e02
mov di, word [ecx + 0x24]
mov dx, word [ecx + 0x20]
add di, word [eax + 2]
add dx, word [eax + 4]
cmp di, bx
jg 0x491de9
cmp dx, bx
jge 0x491df9
cmp eax, esi
ja 0x491dba
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8