Function at 0x457670
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x1c]
xor edx, edx
mov dword [esp + 0x18], edx
mov byte [esp + 0x13], dl
add ecx, 8
lea esp, [esp]
movzx eax, word [ecx + 4]
mov ebx, dword [ecx]
add ebx, dword [esp + 0x18]
dec eax
cmp eax, 4
mov dword [esp + 0x14], ebx
ja case.default.0x4576a8
jmp dword [eax*4 + 0x457878]
mov dword [ebx], edx
jmp 0x457741
movzx eax, word [ecx + 6]
mov esi, dword [edi + 0xc]
shl eax, 4
mov eax, dword [eax + esi]
mov dword [esp + 0x18], eax
jmp 0x457741
movzx eax, word [ecx + 6]
mov esi, dword [edi + 0xc]
shl eax, 4
mov eax, dword [eax + esi]
add eax, dword [ecx + 8]
mov dword [ebx], eax
jmp 0x457741
movzx edx, word [ecx + 6]
mov eax, dword [edi + 0xc]
shl edx, 4
mov ebp, dword [edx + eax]
mov edx, dword [ebp + 0x30]
mov esi, dword [ebp + 0x34]
mov eax, edx
lea esi, [edx + esi*4]
cmp eax, esi
je 0x457712
lea esp, [esp]
mov ebx, dword [ecx + 8]
cmp dword [eax], ebx
je 0x45770e
add eax, 4
cmp eax, esi
jne 0x457700
mov ebx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [ebp + 0x34]
sar eax, 2
cmp eax, edx
jae 0x457732
cmp eax, 0xffffffff
je 0x457732
mov edx, dword [ebp + 0x2c]
shl eax, 4
mov eax, dword [eax + edx]
mov dword [ebx], eax
xor edx, edx
jmp 0x457741
mov dword [ebx], 0
xor edx, edx
jmp 0x457741
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x13]
add ecx, 0xc
test al, al
je 0x457690
mov eax, dword [edi + 0x34]
cmp eax, edx
mov ebp, dword [edi + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [ebp + ecx*4 + 0xc]
mov dword [esp + 0x20], ecx
mov dword [edi + 0x28], edx
mov dword [esp + 0x14], edx
jbe 0x457840
mov dword [esp + 0x18], edx
add ebp, 0x1c
mov eax, dword [edi + 4]
mov ebx, dword [eax]
mov edx, dword [eax + 8]
lea eax, [ebx + edx*8]
mov esi, ebx
mov ecx, eax
sub ecx, esi
sar ecx, 3
test ecx, ecx
mov dword [esp + 0x1c], eax
jle 0x4577b9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
sar eax, 1
cmp dword [esi + eax*8], edx
jae 0x4577af
or edx, 0xffffffff
sub edx, eax
lea esi, [esi + eax*8 + 8]
add ecx, edx
jmp 0x4577b1
mov ecx, eax
test ecx, ecx
jg 0x457793
mov eax, dword [esp + 0x1c]
cmp esi, eax
jae 0x4577c4
sub esi, ebx
sar esi, 3
jmp 0x4577c7
or esi, 0xffffffff
mov ecx, dword [edi + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [eax + ecx + 8], esi
mov edx, dword [edi + 0x2c]
mov eax, dword [eax + edx + 8]
mov ecx, dword [edi + 4]
cmp eax, dword [ecx + 8]
jae 0x45781c
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*8 + 4]
test ecx, ecx
je 0x45781c
mov esi, dword [ebp - 0x10]
mov edx, dword [edi + 0x30]
mov ebx, dword [esp + 0x14]
mov dword [edx + ebx*4], esi
mov esi, dword [ebp - 4]
mov ebx, dword [ebp]
mov edx, dword [ecx]
lea eax, [ebp - 0x10]
push esi
mov esi, dword [edi + 0x20]
add esi, ebx
mov ebx, dword [esp + 0x24]
push esi
mov esi, dword [ebp - 8]
add esi, ebx
push esi
push eax
lea eax, [ebp - 0xc]
push eax
push edi
call dword [edx]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [edi + 0x34]
inc eax
add esi, 0x10
add ebp, 0x14
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
jb 0x457777
xor edx, edx
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
cmp eax, edx
je 0x45785d
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
push eax
call dword [edx]
xor edx, edx
mov dword [esi + 0xc], edx
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [edi + 8], edx
mov dword [edi + 0x1c], edx
mov byte [edi + 0x38], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret