Function at 0x527dc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov ecx, edx
sub ecx, ebx
sar ecx, 3
mov al, 1
cmp ecx, 5
mov dword [ebp - 0x10], ebx
jbe switch.0x00527e49
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0x10]
cmp edx, eax
ja 0x52800f
cmp ebx, edx
mov ebx, dword [ebp - 0x10]
jbe 0x527f57
mov ebx, dword [ebx + 0x14]
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ecx + 0xc], ebx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x14], edx
mov ebx, dword [ebp - 0x10]
cmp eax, esi
jae 0x527f57
jmp 0x527f46
mov edx, dword [ebx]
cmp dword [edi - 8], edx
jbe case.0x527e49.0
jmp 0x5281ab
jmp dword [ecx*4 + 0x6ee820]
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0x10]
cmp edx, eax
ja 0x528129
cmp ebx, edx
mov ebx, dword [ebp - 0x10]
ja 0x527ef5
mov eax, dword [ebx + 0x10]
cmp dword [edi - 8], eax
jbe 0x527f84
mov ecx, dword [ebx + 0x14]
movsd xmm0, qword [edi - 8]
movsd qword [ebx + 0x10], xmm0
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
mov edx, dword [ebx + 8]
cmp dword [ebx + 0x10], edx
jbe 0x527f84
mov eax, dword [ebx]
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edi
cmp eax, esi
jae 0x527f84
jmp 0x527ffc
mov edx, dword [ebx]
mov ecx, dword [ebx + 8]
mov esi, dword [edi - 8]
cmp ecx, edx
ja 0x5281c2
cmp esi, ecx
jbe case.0x527e49.0
mov edx, dword [ebx + 0xc]
movsd xmm0, qword [edi - 8]
movsd qword [ebx + 8], xmm0
mov dword [edi - 8], ecx
mov dword [edi - 4], edx
mov edx, dword [ebx]
cmp dword [ebx + 8], edx
jbe case.0x527e49.0
jmp 0x52823f
mov ebx, dword [ebx + 0x14]
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ecx + 0xc], ebx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x14], edx
mov ebx, dword [ebp - 0x10]
cmp eax, esi
jae 0x527e6b
mov edx, dword [ebx + 4]
mov dword [ebx], esi
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
jmp 0x527e6b
mov edx, dword [ebx + 4]
mov dword [ebx], esi
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
lea eax, [ebx + 0x18]
cmp eax, edi
je 0x527f84
add ebx, 0x10
xor esi, esi
mov edx, 0x18
nop dword [eax + eax]
mov ecx, dword [eax]
cmp ecx, dword [ebx]
ja 0x527f8e
mov ebx, eax
lea ecx, [eax + 8]
add edx, 8
mov eax, ecx
cmp ecx, edi
jne 0x527f70
mov al, 1
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ecx, edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + ecx - 8]
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + ecx - 4]
mov esi, dword [ebp - 0x10]
mov dword [esi + ecx + 4], ebx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [ebx + ecx], esi
cmp ecx, 8
je 0x527ff8
lea esi, [ecx - 8]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x18]
cmp dword [ebx + ecx - 0x10], esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
jb 0x527fa1
add esi, ebx
mov ecx, dword [ebp - 0x18]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0x1c]
inc esi
cmp esi, 8
jne 0x527f76
add eax, 8
cmp eax, edi
sete al
jmp case.0x527e49.0
mov esi, ebx
jmp 0x527fda
mov edx, dword [ebx + 4]
mov dword [ebx], esi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
jmp 0x527f84
mov esi, dword [ebp - 0x10]
movzx ecx, word [esi + 4]
mov word [ebp - 0x1c], cx
mov cl, byte [esi + 6]
mov byte [ebp - 0x18], cl
mov cl, byte [esi + 7]
mov byte [ebp - 0x14], cl
cmp ebx, edx
ja 0x528067
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ecx + 4], esi
mov dword [ecx], edx
mov dword [ecx + 8], eax
movzx edx, word [ebp - 0x1c]
mov word [ecx + 0xc], dx
mov dl, byte [ebp - 0x18]
mov byte [ecx + 0xe], dl
mov dl, byte [ebp - 0x14]
mov byte [ecx + 0xf], dl
cmp ebx, eax
mov ebx, ecx
jbe 0x527f57
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], edx
jmp 0x528075
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [ebx + 4], esi
mov dword [ebx], edx
mov dword [ebx + 0x10], eax
movzx eax, word [ebp - 0x1c]
mov word [ebx + 0x14], ax
mov al, byte [ebp - 0x18]
mov byte [ebx + 0x16], al
mov al, byte [ebp - 0x14]
mov byte [ebx + 0x17], al
jmp 0x527f57
lea eax, [ebx + 0x18]
lea esi, [ebx + 0x10]
lea edx, [ebx + 8]
mov ecx, ebx
push eax
push esi
call fcn.00667950
add esp, 8
mov eax, dword [ebx + 0x18]
cmp dword [edi - 8], eax
jbe 0x527f84
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x1c]
movsd xmm0, qword [edi - 8]
movsd qword [edx + 0x18], xmm0
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
mov esi, dword [edx + 0x10]
cmp dword [edx + 0x18], esi
jbe 0x527f84
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], edi
cmp edx, ecx
jae 0x527f84
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx]
mov edi, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edi
cmp esi, ecx
jae 0x527f84
mov edi, dword [ebp - 0x10]
mov edx, dword [edi + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], edx
jmp 0x527f84
mov esi, dword [ebp - 0x10]
movzx ecx, word [esi + 4]
mov word [ebp - 0x1c], cx
mov cl, byte [esi + 6]
mov byte [ebp - 0x18], cl
mov cl, byte [esi + 7]
mov byte [ebp - 0x14], cl
cmp ebx, edx
ja 0x528181
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ecx + 4], esi
mov dword [ecx], edx
mov dword [ecx + 8], eax
movzx edx, word [ebp - 0x1c]
mov word [ecx + 0xc], dx
mov dl, byte [ebp - 0x18]
mov byte [ecx + 0xe], dl
mov dl, byte [ebp - 0x14]
mov byte [ecx + 0xf], dl
cmp ebx, eax
mov ebx, ecx
jbe 0x527e6b
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], edx
jmp 0x52818f
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [ebx + 4], esi
mov dword [ebx], edx
mov dword [ebx + 0x10], eax
movzx eax, word [ebp - 0x1c]
mov word [ebx + 0x14], ax
mov al, byte [ebp - 0x18]
mov byte [ebx + 0x16], al
mov al, byte [ebp - 0x14]
mov byte [ebx + 0x17], al
jmp 0x527e6b
mov ecx, dword [ebx + 4]
movsd xmm0, qword [edi - 8]
movsd qword [ebx], xmm0
mov dword [edi - 8], edx
mov dword [edi - 4], ecx
jmp case.0x527e49.0
movzx eax, word [ebx + 4]
mov word [ebp - 0x1c], ax
mov al, byte [ebx + 6]
mov byte [ebp - 0x18], al
mov bl, byte [ebx + 7]
mov byte [ebp - 0x14], bl
cmp esi, ecx
ja 0x528217
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebx + 4], esi
mov dword [ebx], ecx
mov dword [ebx + 8], edx
movzx eax, word [ebp - 0x1c]
mov word [ebx + 0xc], ax
mov cl, byte [ebp - 0x18]
mov byte [ebx + 0xe], cl
mov cl, byte [ebp - 0x14]
mov byte [ebx + 0xf], cl
cmp dword [edi - 8], edx
jbe 0x527f84
movsd xmm0, qword [edi - 8]
mov ecx, dword [ebp - 0x10]
movsd qword [ecx + 8], xmm0
jmp 0x528223
movsd xmm0, qword [edi - 8]
mov ecx, dword [ebp - 0x10]
movsd qword [ecx], xmm0
mov dword [edi - 8], edx
movzx eax, word [ebp - 0x1c]
mov word [edi - 4], ax
mov al, byte [ebp - 0x18]
mov byte [edi - 2], al
mov al, byte [ebp - 0x14]
mov byte [edi - 1], al
jmp 0x527f84
mov ecx, dword [ebx + 4]
movsd xmm0, qword [ebx + 8]
movsd qword [ebx], xmm0
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
jmp case.0x527e49.0