Function at 0x4db830
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov eax, edx
sub eax, ecx
sar eax, 3
mov bl, 1
cmp eax, 5
mov dword [ebp - 0x18], ecx
jbe switch.0x004db87e
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0x10]
cmp edx, eax
ja 0x4dba1b
cmp ebx, edx
ja 0x4db8b2
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 0x18]
cmp eax, edi
je 0x4db8a6
lea ebx, [ecx + 0x10]
mov dword [ebp - 0x10], 0
mov edx, 0x18
jmp 0x4db9d3
jmp dword [eax*4 + 0x5b06e8]
add edi, 0xfffffff8
lea eax, [ecx + 0x10]
lea edx, [ecx + 8]
push edi
push eax
call fcn.0047e600
add esp, 8
jmp case.0x4db87e.0
mov eax, dword [ecx]
cmp dword [edi - 8], eax
jbe case.0x4db87e.0
jmp 0x4dba04
mov bl, 1
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 0x14]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ecx + 0x10]
mov dword [ecx + 8], ebx
mov dword [ebp - 0x10], esi
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x14], edx
cmp eax, ebx
jae 0x4db860
jmp 0x4dbab8
lea eax, [ecx + 0x18]
lea esi, [ecx + 0x10]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + 8]
mov ecx, dword [ebp - 0x18]
push eax
push esi
call fcn.0047e600
mov edx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [edx + 0x18]
cmp dword [edi - 8], eax
jbe case.0x4db87e.0
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 case.0x4db87e.0
mov eax, edx
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [edx + 0x1c]
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], esi
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x1c], edx
cmp edi, ecx
jae case.0x4db87e.0
mov edx, dword [eax]
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], esi
mov dword [eax + 8], ecx
mov esi, dword [ebp - 0x14]
mov dword [eax + 0xc], esi
mov esi, edx
mov dword [eax + 0x10], edi
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x14], edx
cmp esi, ecx
jae case.0x4db87e.0
jmp 0x4dbad1
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ebx, edx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + ebx - 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + ebx - 4]
mov dword [esi + ebx + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + ebx], ecx
cmp ebx, 8
je 0x4db9ec
lea ecx, [ebx - 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x1c]
cmp dword [esi + ebx - 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov ebx, ecx
jb 0x4db97f
add ecx, esi
mov esi, dword [ebp - 0x1c]
mov dword [ecx], esi
mov esi, dword [ebp - 0x20]
mov dword [ecx + 4], esi
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, 8
jne 0x4db9d9
add eax, 8
cmp eax, edi
sete bl
jmp case.0x4db87e.0
mov esi, dword [eax]
cmp esi, dword [ebx]
ja 0x4db96f
mov ebx, eax
lea ecx, [eax + 8]
add edx, 8
mov eax, ecx
cmp ecx, edi
jne 0x4db9d3
jmp 0x4db8a6
mov ecx, esi
jmp 0x4db9af
add edi, 0xfffffff8
lea edx, [ecx + 8]
push edi
call fcn.00556af0
add esp, 4
jmp case.0x4db87e.0
mov edx, dword [ecx + 4]
movsd xmm0, qword [edi - 8]
movsd qword [ecx], xmm0
mov dword [edi - 8], eax
mov dword [edi - 4], edx
jmp case.0x4db87e.0
mov esi, dword [ebp - 0x18]
movzx ecx, word [esi + 4]
mov word [ebp - 0x1c], cx
mov cl, byte [esi + 6]
mov byte [ebp - 0x10], cl
mov cl, byte [esi + 7]
mov byte [ebp - 0x14], cl
cmp ebx, edx
jbe 0x4dba60
mov ebx, dword [ebp - 0x18]
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 - 0x10]
mov byte [ebx + 0x16], al
mov al, byte [ebp - 0x14]
mov byte [ebx + 0x17], al
jmp 0x4db860
mov ecx, dword [ebp - 0x18]
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 - 0x10]
mov byte [ecx + 0xe], dl
mov dl, byte [ebp - 0x14]
mov byte [ecx + 0xf], dl
cmp ebx, eax
jbe 0x4db860
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov dword [ecx + 0xc], esi
mov dword [ecx + 8], edx
mov dword [ecx + 0x10], eax
movzx eax, word [ebp - 0x1c]
mov word [ecx + 0x14], ax
mov al, byte [ebp - 0x10]
mov byte [ecx + 0x16], al
mov al, byte [ebp - 0x14]
mov byte [ecx + 0x17], al
jmp 0x4db860
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov dword [ecx], ebx
mov esi, dword [ebp - 0x10]
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x4db860
mov edx, dword [eax + 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
jmp case.0x4db87e.0