Function at 0x491c70
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 0x491cb1
xor esi, esi
lea edi, [eax + eax - 1]
test edx, edx
jbe 0x491cb1
mov ebx, dword [ecx]
lea eax, [edx + esi]
shr eax, 1
mov bp, word [ebx + eax*8]
shl bp, 1
cmp di, bp
jge 0x491ca5
mov edx, eax
jmp 0x491ca8
lea esi, [eax + 1]
cmp esi, edx
jb 0x491c90
mov bx, word [esp + 0x18]
mov esi, dword [ecx]
mov bp, word [esp + 0x14]
lea eax, [esi + edx*8]
cmp eax, esi
jbe 0x491cf6
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 0x491cf6
mov di, word [eax + 2]
mov dx, word [eax + 4]
add di, word [ecx + 0x22]
add dx, word [ecx + 0x26]
cmp di, bp
jg 0x491cf2
cmp dx, bp
jge 0x491e89
cmp eax, esi
ja 0x491cbf
movsx edx, word [ecx + 0x12]
test edx, edx
movsx eax, bp
je 0x491d34
xor esi, esi
lea edi, [eax + eax + 1]
test edx, edx
jbe 0x491d34
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 0x491d23
mov edx, eax
jmp 0x491d26
lea esi, [eax + 1]
cmp esi, edx
jb 0x491d0e
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 0x491d7c
xor edx, edx
mov dl, byte [eax + 6]
mov dx, word [ecx + edx*2 + 0x20]
add dx, word [eax]
cmp dx, bp
jg 0x491d7c
mov di, word [eax + 2]
mov dx, word [eax + 4]
add di, word [ecx + 0x24]
add dx, word [ecx + 0x20]
cmp di, bx
jg 0x491d75
cmp dx, bx
jge 0x491e89
add eax, 8
cmp eax, esi
jb 0x491d45
movsx edx, word [ecx + 0x14]
test edx, edx
je 0x491dba
movsx eax, bx
xor esi, esi
test edx, edx
lea edi, [eax + eax + 1]
jbe 0x491dba
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 0x491da9
mov edx, eax
jmp 0x491dac
lea esi, [eax + 1]
cmp esi, edx
jb 0x491d94
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 0x491e02
xor edx, edx
mov dl, byte [eax + 6]
mov dx, word [ecx + edx*2 + 0x20]
add dx, word [eax]
cmp dx, bx
jg 0x491e02
mov di, word [eax + 2]
mov dx, word [eax + 4]
add di, word [ecx + 0x22]
add dx, word [ecx + 0x26]
cmp di, bp
jg 0x491dfb
cmp dx, bp
jge 0x491e89
add eax, 8
cmp eax, esi
jb 0x491dcb
movsx edx, word [ecx + 0x16]
test edx, edx
je 0x491e40
movsx eax, bp
xor esi, esi
test edx, edx
lea edi, [eax + eax - 1]
jbe 0x491e40
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 0x491e2f
mov edx, eax
jmp 0x491e32
lea esi, [eax + 1]
cmp esi, edx
jb 0x491e1a
mov bp, word [esp + 0x14]
mov bx, word [esp + 0x18]
mov esi, dword [ecx + 0xc]
lea eax, [esi + edx*8]
cmp eax, esi
jbe 0x491e92
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 0x491e92
mov di, word [eax + 2]
mov dx, word [eax + 4]
add di, word [ecx + 0x24]
add dx, word [ecx + 0x20]
cmp di, bx
jg 0x491e79
cmp dx, bx
jge 0x491e89
cmp eax, esi
ja 0x491e4a
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