Function at 0x4898b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov esi, ecx
mov eax, edx
sub eax, ecx
sar eax, 3
mov bl, 1
cmp eax, 5
jbe switch.0x0048990a
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x10]
cmp ecx, eax
ja 0x489a82
cmp edx, ecx
ja 0x489973
lea eax, [esi + 0x18]
cmp eax, edi
je 0x489967
lea ebx, [esi + 0x10]
mov dword [ebp - 0x14], 0
mov edx, 0x10
jmp 0x489a40
mov eax, dword [esi]
cmp dword [edi - 8], eax
jbe case.0x48990a.0
jmp 0x489aff
jmp dword [eax*4 + 0x535fd8]
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x10]
cmp ecx, eax
ja 0x489b16
cmp edx, ecx
ja 0x48999e
mov eax, dword [esi + 0x10]
cmp dword [edi - 8], eax
jbe 0x489967
mov ecx, dword [esi + 0x14]
movsd xmm0, qword [edi - 8]
movsd qword [esi + 0x10], xmm0
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
mov edx, dword [esi + 8]
cmp dword [esi + 0x10], edx
jbe 0x489967
mov eax, dword [esi]
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ebx
cmp eax, edi
jb 0x489a6f
mov bl, 1
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [esi + 0x10]
mov dword [esi + 8], ebx
mov dword [ebp - 0x14], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x14], ecx
cmp eax, ebx
jae 0x4898e3
jmp 0x489c36
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [esi + 0x10]
mov dword [esi + 8], ebx
mov dword [ebp - 0x14], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x14], ecx
cmp eax, ebx
jae 0x489925
jmp 0x489c4c
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ebx, edx
mov dword [ebp - 0x18], esi
mov ecx, ebx
mov ebx, dword [esi + ebx]
mov dword [ebp - 0x10], ebx
mov ebx, dword [esi + ecx + 4]
mov dword [esi + ecx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [esi + ecx + 8], ebx
test ecx, ecx
je 0x489a0c
lea ebx, [ecx - 8]
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
cmp dword [ebx + ecx - 8], esi
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
jb 0x4899d9
mov ebx, dword [ebp - 0x1c]
mov dword [esi + ecx], ebx
mov ebx, dword [ebp - 0x20]
mov dword [esi + ecx + 4], ebx
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 8
jne 0x489a46
add eax, 8
cmp eax, edi
sete bl
jmp case.0x48990a.0
mov ecx, dword [eax]
cmp ecx, dword [ebx]
ja 0x4899c9
mov ebx, eax
lea ecx, [eax + 8]
add edx, 8
mov eax, ecx
cmp ecx, edi
jne 0x489a40
jmp 0x489967
add edi, 0xfffffff8
lea edx, [esi + 8]
mov ecx, esi
push edi
call fcn.004e30d0
add esp, 4
jmp case.0x48990a.0
mov edx, dword [esi + 4]
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
jmp 0x489967
movzx ebx, word [esi + 4]
mov word [ebp - 0x10], bx
mov bh, byte [esi + 6]
mov dword [ebp - 0x18], esi
mov bl, byte [esi + 7]
mov byte [ebp - 0x14], bl
cmp edx, ecx
ja 0x489ad8
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi], ecx
mov dword [esi + 8], eax
movzx ecx, word [ebp - 0x10]
mov word [esi + 0xc], cx
mov byte [esi + 0xe], bh
mov cl, byte [ebp - 0x14]
mov byte [esi + 0xf], cl
cmp edx, eax
jbe 0x4898e3
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
jmp 0x489ae6
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x10]
mov word [esi + 0x14], ax
mov byte [esi + 0x16], bh
mov al, byte [ebp - 0x14]
mov byte [esi + 0x17], al
jmp 0x4898e3
mov ecx, dword [esi + 4]
movsd xmm0, qword [edi - 8]
movsd qword [esi], xmm0
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
jmp case.0x48990a.0
movzx ebx, word [esi + 4]
mov word [ebp - 0x10], bx
mov bh, byte [esi + 6]
mov dword [ebp - 0x18], esi
mov bl, byte [esi + 7]
mov byte [ebp - 0x14], bl
cmp edx, ecx
ja 0x489b6c
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi], ecx
mov dword [esi + 8], eax
movzx ecx, word [ebp - 0x10]
mov word [esi + 0xc], cx
mov byte [esi + 0xe], bh
mov cl, byte [ebp - 0x14]
mov byte [esi + 0xf], cl
cmp edx, eax
jbe 0x489925
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
jmp 0x489b7a
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x10]
mov word [esi + 0x14], ax
mov byte [esi + 0x16], bh
mov al, byte [ebp - 0x14]
mov byte [esi + 0x17], al
jmp 0x489925
lea eax, [esi + 0x18]
lea ebx, [esi + 0x10]
lea edx, [esi + 8]
mov ecx, esi
push eax
push ebx
call fcn.004e31b0
add esp, 8
mov eax, dword [esi + 0x18]
cmp dword [edi - 8], eax
jbe 0x489967
mov ebx, esi
mov ecx, dword [ebx + 0x1c]
movsd xmm0, qword [edi - 8]
movsd qword [ebx + 0x18], xmm0
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0x18], edi
jbe 0x489967
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], ecx
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x10], ecx
mov dword [ebp - 0x14], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], edi
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0x1c], esi
cmp eax, ecx
jae 0x489967
mov esi, dword [ebx]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [ebx + 8], ecx
mov edi, dword [ebp - 0x14]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x14], edx
cmp esi, ecx
jae 0x489967
mov edx, dword [ebx + 4]
mov dword [ebx], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
jmp 0x489967
mov ecx, dword [esi + 4]
mov dword [esi], ebx
mov edx, dword [ebp - 0x14]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
jmp 0x4898e3
mov ecx, dword [esi + 4]
mov dword [esi], ebx
mov edx, dword [ebp - 0x14]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
jmp 0x489925