Function at 0x42eea0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, ecx
mov ebp, dword [ecx]
mov ecx, dword [ecx + 4]
mov eax, ecx
sub eax, ebp
cmp eax, 0x19
jl 0x42f1a2
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], edi
sar eax, 3
imul edx, eax, 0xaaaaaaab
movzx eax, byte [ebp]
mov byte [esp + 2], al
movzx eax, byte [ebp + 1]
mov byte [esp + 3], al
movzx eax, word [ebp + 6]
mov word [esp + 0x18], ax
mov eax, dword [ebp + 2]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
lea esi, [edx - 2]
shr esi, 1
xor edi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], esi
jmp 0x42ef54
mov eax, dword [ebx + 8]
mov dword [ebp + 8], eax
movsd xmm0, qword [ebx]
movsd qword [ebp], xmm0
mov word [ebx], 0
movsd xmm0, qword [ebx + 0x10]
movsd qword [ebp + 0x10], xmm0
mov ebp, ebx
cmp edi, esi
jg 0x42efa8
lea eax, [edi + edi*2]
lea ebx, [eax*8 + 0x18]
add ebx, ebp
lea eax, [edi*2 + 2]
lea edi, [edi*2 + 1]
cmp eax, edx
jge 0x42ef8d
mov ecx, dword [ebx + 0x28]
cmp ecx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x2c]
sbb ecx, dword [ebx + 0x14]
setb cl
movzx ecx, cl
lea ecx, [ecx + ecx*2]
lea ebx, [ebx + ecx*8]
cmovb edi, eax
test byte [ebp], 1
je 0x42ef30
push dword [ebp + 8]
mov esi, edx
call sub.libc.dll_operator_delete_void_
mov edx, esi
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x42ef30
mov eax, dword [esp + 0xc]
lea esi, [eax - 0x18]
movzx eax, byte [ebx]
cmp ebx, esi
je 0x42f158
test al, 1
je 0x42efc9
push dword [ebx + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi]
movsd qword [ebx], xmm0
mov esi, dword [esp + 0xc]
mov word [esi - 0x18], 0
movsd xmm0, qword [esi - 8]
movsd qword [ebx + 0x10], xmm0
lea edi, [ebx + 0x18]
test byte [esi - 0x18], 1
mov ebp, dword [esp + 0x20]
je 0x42f003
push dword [esi - 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
movzx eax, byte [esp + 2]
mov byte [esi - 0x18], al
movzx eax, byte [esp + 3]
mov byte [esi - 0x17], al
mov eax, dword [esp + 0x14]
mov dword [esi - 0x16], eax
movzx eax, word [esp + 0x18]
mov word [esi - 0x12], ax
mov eax, dword [esp + 4]
mov dword [esi - 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esi - 4], eax
mov eax, dword [esp + 8]
mov dword [esi - 8], eax
sub edi, ebp
cmp edi, 0x19
jl 0x42f19b
mov ecx, 0xaaaaaaab
mov eax, edi
mul ecx
mov edi, edx
shr edi, 4
add edi, 0xfffffffe
shr edi, 1
lea eax, [edi + edi*2]
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
cmp edx, dword [ebp + eax*8 + 0x10]
mov ecx, esi
sbb ecx, dword [ebp + eax*8 + 0x14]
jae 0x42f19b
mov dword [esp + 0x10], edx
lea eax, [eax*8]
add eax, ebp
movzx ecx, byte [ebx]
mov byte [esp + 0xc], cl
movzx ecx, byte [ebx + 1]
mov byte [esp + 8], cl
movzx ecx, word [ebx + 6]
mov word [esp + 0x28], cx
mov ecx, dword [ebx + 2]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 4], ecx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
nop word cs:[eax + eax]
mov ebp, eax
test byte [ebx], 1
je 0x42f0d2
push dword [ebx + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp]
movsd qword [ebx], xmm0
mov word [ebp], 0
movsd xmm0, qword [ebp + 0x10]
movsd qword [ebx + 0x10], xmm0
test edi, edi
je 0x42f114
dec edi
shr edi, 1
lea eax, [edi + edi*2]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edx + eax*8 + 0x10]
mov ecx, esi
sbb ecx, dword [edx + eax*8 + 0x14]
lea eax, [edx + eax*8]
mov ebx, ebp
jb 0x42f0c0
test byte [ebp], 1
je 0x42f125
push dword [ebp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
movzx eax, byte [esp + 0xc]
mov byte [ebp], al
movzx eax, byte [esp + 8]
mov byte [ebp + 1], al
mov eax, dword [esp + 0x24]
mov dword [ebp + 2], eax
movzx eax, word [esp + 0x28]
mov word [ebp + 6], ax
mov eax, dword [esp + 4]
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], esi
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x10], eax
jmp 0x42f19b
test al, 1
je 0x42f167
push dword [ebx + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
movzx eax, byte [esp + 2]
mov byte [ebx], al
movzx eax, byte [esp + 3]
mov byte [ebx + 1], al
mov eax, dword [esp + 0x14]
mov dword [ebx + 2], eax
movzx eax, word [esp + 0x18]
mov word [ebx + 6], ax
mov eax, dword [esp + 4]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x10], eax
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 4]
lea esi, [ecx - 0x18]
test byte [ecx - 0x18], 1
je 0x42f1b6
push dword [ecx - 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [edi + 4], esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret